diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-06-07 19:54:16 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-06-07 19:54:16 +0000 |
| commit | dc9933bd621f34764df50b75b7a3cb91d51f9467 (patch) | |
| tree | ab5d8051d3fa9aaee00242cb9ffa108ed13f8bc9 /dev-python | |
| parent | fc7e738648591497c9e7bd73ca626625cae2cad9 (diff) | |
| download | baldeagleos-repo-dc9933bd621f34764df50b75b7a3cb91d51f9467.tar.gz baldeagleos-repo-dc9933bd621f34764df50b75b7a3cb91d51f9467.tar.xz baldeagleos-repo-dc9933bd621f34764df50b75b7a3cb91d51f9467.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/lxml/lxml-5.2.2.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/notebook/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/notebook/notebook-7.2.1.ebuild | 64 | ||||
| -rw-r--r-- | dev-python/pooch/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pooch/pooch-1.8.2.ebuild | 58 | ||||
| -rw-r--r-- | dev-python/pyalsa/pyalsa-1.2.7-r2.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/pyserial/files/pyserial-3.5-unittest-fix.patch | 28 | ||||
| -rw-r--r-- | dev-python/pyserial/pyserial-3.5-r2.ebuild | 6 | ||||
| -rw-r--r-- | dev-python/selenium/selenium-4.21.0.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/urwid/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/urwid/metadata.xml | 1 | ||||
| -rw-r--r-- | dev-python/urwid/urwid-2.6.12.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/urwid/urwid-2.6.13.ebuild (renamed from dev-python/urwid/urwid-2.6.11.ebuild) | 8 | ||||
| -rw-r--r-- | dev-python/ytmusicapi/ytmusicapi-1.7.0.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/zope-exceptions/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/zope-exceptions/zope-exceptions-5.1.ebuild | 45 |
16 files changed, 211 insertions, 14 deletions
diff --git a/dev-python/lxml/lxml-5.2.2.ebuild b/dev-python/lxml/lxml-5.2.2.ebuild index cd24dd87968d..22c7b1d75329 100644 --- a/dev-python/lxml/lxml-5.2.2.ebuild +++ b/dev-python/lxml/lxml-5.2.2.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/lxml-${P} LICENSE="BSD ElementTree GPL-2 PSF-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="doc examples +threads test" RESTRICT="!test? ( test )" diff --git a/dev-python/notebook/Manifest b/dev-python/notebook/Manifest index 219a4b3f88d8..2167d950a8bc 100644 --- a/dev-python/notebook/Manifest +++ b/dev-python/notebook/Manifest @@ -1 +1,2 @@ DIST notebook-7.2.0.tar.gz 4946565 BLAKE2B f29d784c972a2b84b84c67e0e0a225e933468c1097c698690e68f99bd5ace98765d4c0ff5146e4cd0b3be3db0b0affd5a8a41ded262b8ffe50304594cd0ae2ee SHA512 6d76d67ea02493c04287a5571f8f817cf3a4072635995bde3ae7695cd00926519f20ae44a267a38b7b65578be507103f895137e37360c93bf4219b2e8f134935 +DIST notebook-7.2.1.tar.gz 4946671 BLAKE2B 2f78c497b1527c29a911fd0a057df41f3e522e426e3eae940d9adea9f1df982b14c5bb61210357dfc271df51d2534f97408790bffb4e02ff2f12b33769f9836e SHA512 e11415139a21a7dd8692673c2011d11621881cd4b99f69de5f32c23161734b1620560f57654b2e57177cb3ba01152bb76e0c9f79c2f7924b0d8424c21c219677 diff --git a/dev-python/notebook/notebook-7.2.1.ebuild b/dev-python/notebook/notebook-7.2.1.ebuild new file mode 100644 index 000000000000..c5ed968aea82 --- /dev/null +++ b/dev-python/notebook/notebook-7.2.1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi xdg-utils + +DESCRIPTION="Jupyter Interactive Notebook" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter/notebook/ + https://pypi.org/project/notebook/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/jupyter-server-2.4.0[${PYTHON_USEDEP}] + <dev-python/jupyter-server-3[${PYTHON_USEDEP}] + >=dev-python/jupyterlab-4.2.0[${PYTHON_USEDEP}] + <dev-python/jupyterlab-4.3[${PYTHON_USEDEP}] + >=dev-python/jupyterlab-server-2.27.1[${PYTHON_USEDEP}] + <dev-python/jupyterlab-server-3[${PYTHON_USEDEP}] + >=dev-python/notebook-shim-0.2[${PYTHON_USEDEP}] + <dev-python/notebook-shim-0.3[${PYTHON_USEDEP}] + >=dev-python/tornado-6.2.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + dev-python/hatch-jupyter-builder[${PYTHON_USEDEP}] + test? ( + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/nbval[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-unixsocket[${PYTHON_USEDEP}] + dev-python/pytest-console-scripts[${PYTHON_USEDEP}] + dev-python/pytest-jupyter[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-tornasync[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_install_all() { + distutils-r1_python_install_all + mv "${ED}/usr/etc" "${ED}/etc" || die +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} diff --git a/dev-python/pooch/Manifest b/dev-python/pooch/Manifest index 411bcee40c80..1c68480c019b 100644 --- a/dev-python/pooch/Manifest +++ b/dev-python/pooch/Manifest @@ -1 +1,2 @@ DIST pooch-1.8.1.tar.gz 59614 BLAKE2B ff30e6f1a1cc71091d5e822eb0eeda59fb1ff8f53d2dd6dc67dccc955d28f3fa485d03615d544096fdae7786c181a3395b62e3c59212f80b977755e3df0addf0 SHA512 9e78da7839deb443340c925622d5e9b1d7a3f14fdac3eae2528fb91ebf86f88715e8737e869057fe7c703e8423303e15379c07e5d11a7bebd3da63b1ac06ae3f +DIST pooch-1.8.2.tar.gz 59353 BLAKE2B 88b80665ad2af13bebeee9a6864c054eb1bfd5881a6e185b8025ce69896302093637f2a5e3ad58ad8a9af8c6161a30f04074081bfe562b83034b8fd4d36533c7 SHA512 e81c343c0f40f90ecaf347408818ff4b6924404adcaa9572deb55adf6c7bb40c8d91bef69461cc4407dfdba69b35bcfaeacf0070fdd18124008f11532bf7affc diff --git a/dev-python/pooch/pooch-1.8.2.ebuild b/dev-python/pooch/pooch-1.8.2.ebuild new file mode 100644 index 000000000000..0a6ae739677d --- /dev/null +++ b/dev-python/pooch/pooch-1.8.2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Manage your Python library's sample data files" +HOMEPAGE=" + https://github.com/fatiando/pooch/ + https://pypi.org/project/pooch/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +RDEPEND=" + >=dev-python/packaging-20.0[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.5.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.19.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + >=dev-python/paramiko-2.7.0[${PYTHON_USEDEP}] + dev-python/pytest-httpserver[${PYTHON_USEDEP}] + >=dev-python/tqdm-4.41.0[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + # Needs network + pooch/tests/test_core.py::test_check_availability_invalid_downloader + pooch/tests/test_core.py::test_load_registry_from_doi + pooch/tests/test_core.py::test_load_registry_from_doi_zenodo_with_slash + # dev-python/pytest-localftpserver -> dev-python/pyftpdlib has py3.12 issues + # https://github.com/giampaolo/pyftpdlib/issues/560#issuecomment-971377238 + pooch/tests/test_core.py::test_check_availability_on_ftp + pooch/tests/test_downloaders.py::test_invalid_doi_repository + pooch/tests/test_downloaders.py::test_doi_url_not_found + pooch/tests/test_downloaders.py::test_figshare_url_file_not_found + pooch/tests/test_downloaders.py::test_doi_downloader +) + +### docs no included in pypi tarball +# distutils_enable_sphinx doc \ +# dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_httpserver -k "not network" +} diff --git a/dev-python/pyalsa/pyalsa-1.2.7-r2.ebuild b/dev-python/pyalsa/pyalsa-1.2.7-r2.ebuild index 5a8552c9f59d..85c4987f1c89 100644 --- a/dev-python/pyalsa/pyalsa-1.2.7-r2.ebuild +++ b/dev-python/pyalsa/pyalsa-1.2.7-r2.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://www.alsa-project.org/files/pub/pyalsa/${P}.tar.bz2" LICENSE="LGPL-2.1+" SLOT="0" -KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv sparc x86" +KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86" # Needs access to system's alsa configuration/devices RESTRICT="test" diff --git a/dev-python/pyserial/files/pyserial-3.5-unittest-fix.patch b/dev-python/pyserial/files/pyserial-3.5-unittest-fix.patch new file mode 100644 index 000000000000..1576cedcf00c --- /dev/null +++ b/dev-python/pyserial/files/pyserial-3.5-unittest-fix.patch @@ -0,0 +1,28 @@ +From 239f840076bf9da76906dc029f26a423fef4a698 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20Van=C4=9Bk?= <arkamar@atlas.cz> +Date: Fri, 7 Jun 2024 16:45:15 +0200 +Subject: [PATCH] Replace deprecated unittest.findTestCases function + +The unittest.findTestCases function was deprecated in Python 3.11 and +later removed in Python 3.13. The TestLoader methods should be used +instead [1]. + +[1] https://docs.python.org/3.13/whatsnew/3.13.html#unittest + +Upstream-Issue: https://github.com/pyserial/pyserial/issues/754 +Upstream-PR: https://github.com/pyserial/pyserial/issues/757 + +diff --git a/test/run_all_tests.py b/test/run_all_tests.py +index e0797e7e..f09fe9bb 100644 +--- a/test/run_all_tests.py ++++ b/test/run_all_tests.py +@@ -37,7 +37,8 @@ + print("skipping {}".format(modulename)) + else: + module.PORT = PORT +- testsuite = unittest.findTestCases(module) ++ loader = unittest.TestLoader() ++ testsuite = loader.loadTestsFromModule(module) + print("found {} tests in {!r}".format(testsuite.countTestCases(), modulename)) + mainsuite.addTest(testsuite) + diff --git a/dev-python/pyserial/pyserial-3.5-r2.ebuild b/dev-python/pyserial/pyserial-3.5-r2.ebuild index ebbadb57cbe2..927c149f4a53 100644 --- a/dev-python/pyserial/pyserial-3.5-r2.ebuild +++ b/dev-python/pyserial/pyserial-3.5-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -21,6 +21,10 @@ IUSE="examples" DOCS=( CHANGES.rst README.rst ) +PATCHES=( + "${FILESDIR}/${P}-unittest-fix.patch" +) + distutils_enable_sphinx documentation --no-autodoc python_test() { diff --git a/dev-python/selenium/selenium-4.21.0.ebuild b/dev-python/selenium/selenium-4.21.0.ebuild index 51c5a1d8acbe..094e2cd7da1a 100644 --- a/dev-python/selenium/selenium-4.21.0.ebuild +++ b/dev-python/selenium/selenium-4.21.0.ebuild @@ -27,7 +27,7 @@ SRC_URI+=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/certifi-2021.10.8[${PYTHON_USEDEP}] diff --git a/dev-python/urwid/Manifest b/dev-python/urwid/Manifest index 1c0b13f8668f..339cb82d38d3 100644 --- a/dev-python/urwid/Manifest +++ b/dev-python/urwid/Manifest @@ -1,2 +1,2 @@ -DIST urwid-2.6.11.tar.gz 847254 BLAKE2B af0f23f404bc926c378b14a124b5c9504ea282048acd943221ca85f69b86cc8435df7cffc0ed632b3a2067504aca528e560454855acf129518cf69535242a6a6 SHA512 351185673a4ed506a55e2142c0a65150987ac4b6c1176e10c497df6f69c9f4acdabb15ec45564554b9a720387eaa725854fbe4adc4d288ef519b754b17b2fb33 DIST urwid-2.6.12.tar.gz 847508 BLAKE2B 9790f2bcb768ff859115c1eb1dd03899e49eff41a56540d24ab0a2340b43c23e0572bfe6b689033a37c579ed4860e67a6fb3ade913c5a9c9d68d4a7bb41e8dab SHA512 1b2c7de9f523fe6c80155fc039a2b9e9d416c27f7d52a41911443b0a057739526b755fcb9c901ce99ab8e1e7d1bb5ff2be5ab7c0251554d9d933c0235b44a8e8 +DIST urwid-2.6.13.tar.gz 847604 BLAKE2B ce2294f8c1eaf6609790f18e1312eec66fce610832d510a057c8af773675b4ac2ce47c027be10beff14c1e0d67bc9e59cd372ee612e3357c88d3d89fe4d4cb3f SHA512 9989c3f906cca38a32baccef3c4717deb964f15b5cb08135be75d3e2a5a26f4d64cfe6cc2f58cba5e0ba8da1fb52ef71a591a88dbed9f8e2c80960933dff3537 diff --git a/dev-python/urwid/metadata.xml b/dev-python/urwid/metadata.xml index 83de33e11055..d85589e6424f 100644 --- a/dev-python/urwid/metadata.xml +++ b/dev-python/urwid/metadata.xml @@ -24,4 +24,5 @@ useful for text console application developers including: </longdescription> <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/urwid/urwid-2.6.12.ebuild b/dev-python/urwid/urwid-2.6.12.ebuild index 72e829098d7c..139d2a0fd2ba 100644 --- a/dev-python/urwid/urwid-2.6.12.ebuild +++ b/dev-python/urwid/urwid-2.6.12.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ~ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" IUSE="examples" RDEPEND=" diff --git a/dev-python/urwid/urwid-2.6.11.ebuild b/dev-python/urwid/urwid-2.6.13.ebuild index 139d2a0fd2ba..50bb4f9e2856 100644 --- a/dev-python/urwid/urwid-2.6.11.ebuild +++ b/dev-python/urwid/urwid-2.6.13.ebuild @@ -3,7 +3,6 @@ EAPI=8 -DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{8,9,10,11,12} ) PYTHON_REQ_USE="ncurses" @@ -19,7 +18,7 @@ HOMEPAGE=" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="examples" RDEPEND=" @@ -32,11 +31,6 @@ BDEPEND=" distutils_enable_tests unittest -python_test() { - rm -rf urwid || die - eunittest -} - python_install_all() { use examples && dodoc -r examples distutils-r1_python_install_all diff --git a/dev-python/ytmusicapi/ytmusicapi-1.7.0.ebuild b/dev-python/ytmusicapi/ytmusicapi-1.7.0.ebuild index 006c7e44cb09..42c5d110c627 100644 --- a/dev-python/ytmusicapi/ytmusicapi-1.7.0.ebuild +++ b/dev-python/ytmusicapi/ytmusicapi-1.7.0.ebuild @@ -14,7 +14,7 @@ HOMEPAGE="https://ytmusicapi.readthedocs.io/ LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" RESTRICT="test" RDEPEND="dev-python/requests[${PYTHON_USEDEP}]" diff --git a/dev-python/zope-exceptions/Manifest b/dev-python/zope-exceptions/Manifest index 4b2e75c65297..e341ac9f61c0 100644 --- a/dev-python/zope-exceptions/Manifest +++ b/dev-python/zope-exceptions/Manifest @@ -1 +1,2 @@ DIST zope.exceptions-5.0.1.tar.gz 30435 BLAKE2B 66775ace483da20614aa4db31d106f70af5a118cd7b5f3cc3458515cf443cd6c6e0bda26b0817adf063c52ded25ffcc09b722840e90f4975976e54c48763bbf1 SHA512 46ab45feb81682b62f4ab0df31e39b8b438af593d8880eb095fb2994ce6aced5aceb2cb08973234077d9c3846adc57658e06e04aecf55443bf3af691d728291a +DIST zope.exceptions-5.1.tar.gz 31416 BLAKE2B 62e5ddc72f36349a6e4810ee6932dbe9e80fb3c3ac5171cebcb4433832d593bf01edfbd573a5f2dc7546599d018144d28a2968598c3c43e72e3b7639e96f13bf SHA512 08e0b3b895089b35805519002f11302e6529d12257a5582f682257c4b5313c4e183d2b06241729fe542fcd407b1f29fbd6798605930b759daca335ed3df84652 diff --git a/dev-python/zope-exceptions/zope-exceptions-5.1.ebuild b/dev-python/zope-exceptions/zope-exceptions-5.1.ebuild new file mode 100644 index 000000000000..2636c6376b37 --- /dev/null +++ b/dev-python/zope-exceptions/zope-exceptions-5.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="General purpose exceptions for Zope packages" +HOMEPAGE=" + https://pypi.org/project/zope.exceptions/ + https://github.com/zopefoundation/zope.exceptions/ +" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +RDEPEND=" + dev-python/zope-interface[${PYTHON_USEDEP}] + !dev-python/namespace-zope +" + +distutils_enable_tests unittest + +src_prepare() { + # strip rdep specific to namespaces + sed -i -e "/'setuptools'/d" setup.py || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + distutils_write_namespace zope + eunittest +} |
