diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-01-14 06:14:31 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-01-14 06:14:31 +0000 |
| commit | 321a859ba5f5279c02bb613b4aa31dd608299192 (patch) | |
| tree | c9bf42703f31d8268053ddba17eda48aca782df8 /dev-python | |
| parent | 52b202b3bb88ec8a4a802c2dc1b802ff322aec3a (diff) | |
| download | baldeagleos-repo-321a859ba5f5279c02bb613b4aa31dd608299192.tar.gz baldeagleos-repo-321a859ba5f5279c02bb613b4aa31dd608299192.tar.xz baldeagleos-repo-321a859ba5f5279c02bb613b4aa31dd608299192.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
34 files changed, 301 insertions, 407 deletions
diff --git a/dev-python/ahocorasick/Manifest b/dev-python/ahocorasick/Manifest index 9215a590d860..72b4c43d0784 100644 --- a/dev-python/ahocorasick/Manifest +++ b/dev-python/ahocorasick/Manifest @@ -1 +1 @@ -DIST pyahocorasick-1.4.4.tar.gz 89581 BLAKE2B c803883561623ef306fb91857dd1da1a85712ed1387c1449e88798018e8785bbcddc5fb8942f640ae454db03c05856169d1abc5c78a27c5962cc2f5b8fa3a60e SHA512 2b2ef6d99abe8e051feb943b02c58e9854118e4408d01b86b422d0576b204de081b2ea5d5fb775a0886e02d38d905e3331016771c67f412f97d0633f805dc250 +DIST pyahocorasick-2.0.0.tar.gz 99662 BLAKE2B 0cc0e7de18c035e3f6b0dff7da421df8ea47c7d2d93ba8b5e2fa4f3b36e11efa688b0d67c5224e7cc55e6d410f86a2af3502d482c7c0a8db6d45d0518216625e SHA512 38bc56c67ada0af6ae124d8c98dc933cbf26861e522288fa6152dde4f75ea49870c35dd041de2cfc2e16f5767c3da3af83b20f35af0788c662da00707b080fa6 diff --git a/dev-python/ahocorasick/ahocorasick-1.4.4.ebuild b/dev-python/ahocorasick/ahocorasick-2.0.0.ebuild index 7328c2794738..ccec27870bcd 100644 --- a/dev-python/ahocorasick/ahocorasick-1.4.4.ebuild +++ b/dev-python/ahocorasick/ahocorasick-2.0.0.ebuild @@ -3,21 +3,19 @@ EAPI=8 +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYPI_PN="py${PN}" +PYPI_NO_NORMALIZE=1 -inherit distutils-r1 - -MY_PN="py${PN}" -MY_P="${MY_PN}-${PV}" +inherit distutils-r1 pypi DESCRIPTION="Python module implementing Aho-Corasick algorithm" HOMEPAGE="https://github.com/WojciechMula/pyahocorasick" -SRC_URI="https://github.com/WojciechMula/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -S="${WORKDIR}/${MY_P}" - distutils_enable_tests pytest diff --git a/dev-python/ahocorasick/ahocorasick-9999.ebuild b/dev-python/ahocorasick/ahocorasick-9999.ebuild deleted file mode 100644 index ed4ead167639..000000000000 --- a/dev-python/ahocorasick/ahocorasick-9999.ebuild +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -EGIT_REPO_URI="https://github.com/WojciechMula/pyahocorasick.git" - -inherit distutils-r1 git-r3 - -DESCRIPTION="Python module implementing Aho-Corasick algorithm" -HOMEPAGE="https://github.com/WojciechMula/pyahocorasick" -SRC_URI="" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="" - -distutils_enable_tests pytest diff --git a/dev-python/ahocorasick/metadata.xml b/dev-python/ahocorasick/metadata.xml index ca56f298f483..c1267aa41072 100644 --- a/dev-python/ahocorasick/metadata.xml +++ b/dev-python/ahocorasick/metadata.xml @@ -2,8 +2,8 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>spiderx@spiderx.dp.ua</email> - <name>Vladimir Pavljuchenkov</name> + <email>davidroman96@gmail.com</email> + <name>David Roman</name> </maintainer> <longdescription lang="en"> pyahocorasick is a fast and memory efficient library for exact or diff --git a/dev-python/black/Manifest b/dev-python/black/Manifest index e61344124f4a..2e03c3f518a4 100644 --- a/dev-python/black/Manifest +++ b/dev-python/black/Manifest @@ -1,3 +1 @@ -DIST black-23.11.0.tar.gz 615416 BLAKE2B eaf2dc20060b9161bb03b8f9ff99afa948f7296fa9d8d1aead10469e4edd4f78c871f0846c66a5673b94e2e4e0dfa9d70906ff4324fec5f40f0983a367df54e1 SHA512 50c9d04f57cae3b8338abd90c54f5025b915e8d50cc79863b3b540a434250475f13cd6c48f15e9b955981a2a6dadec9b4eed4caa277f349a8406d7f8640f2a2e -DIST black-23.12.0.tar.gz 620742 BLAKE2B e94f6456a1bd243632a36ffa0af850ab67b5f74f274fea20bdd7015ae216b227c0e591c486c45995ab82426ca92fe2642923ce31279c50633dbd64634ef92e05 SHA512 bd087688dba8a56743489d4b9bed888e43fe0988deb211d58680a760c799384541d9fcb882d14c3e56b4f9559f46ce5b12bc03569621863b583526cbfea62ac5 DIST black-23.12.1.tar.gz 620809 BLAKE2B 8522183d8004dd094f87fc8efcbbbafede9f94ded2f67d4815059534da91c969067c5c508636c2654894109f91d8fb5b26f23351b5ffff451aeac8ed5d146da4 SHA512 1a90eadbb7ccf1dd6c4c7d858b3360b7c62c04bf1826dd4817ddb8d542c3155fc72a80d53aa3be34375bd7006ab65432e006572bc5d1eeb6ff23cfa460072e93 diff --git a/dev-python/black/black-23.11.0.ebuild b/dev-python/black/black-23.11.0.ebuild deleted file mode 100644 index 34569f441275..000000000000 --- a/dev-python/black/black-23.11.0.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2020-2023 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 ) - -inherit distutils-r1 optfeature pypi - -DESCRIPTION="The uncompromising Python code formatter" -HOMEPAGE=" - https://black.readthedocs.io/en/stable/ - https://github.com/psf/black/ - https://pypi.org/project/black/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -RDEPEND=" - >=dev-python/click-8.0.0[${PYTHON_USEDEP}] - >=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}] - >=dev-python/packaging-22.0[${PYTHON_USEDEP}] - >=dev-python/pathspec-0.9.0[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - >=dev-python/aiohttp-3.7.4[${PYTHON_USEDEP}] - dev-python/aiohttp-cors[${PYTHON_USEDEP}] - dev-python/colorama[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -pkg_postinst() { - optfeature "blackd - HTTP API for black" \ - "dev-python/aiohttp dev-python/aiohttp-cors" -} diff --git a/dev-python/black/black-23.12.0.ebuild b/dev-python/black/black-23.12.0.ebuild deleted file mode 100644 index 70fb000091e4..000000000000 --- a/dev-python/black/black-23.12.0.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2020-2023 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 ) - -inherit distutils-r1 optfeature pypi - -DESCRIPTION="The uncompromising Python code formatter" -HOMEPAGE=" - https://black.readthedocs.io/en/stable/ - https://github.com/psf/black/ - https://pypi.org/project/black/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" - -RDEPEND=" - >=dev-python/click-8.0.0[${PYTHON_USEDEP}] - >=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}] - >=dev-python/packaging-22.0[${PYTHON_USEDEP}] - >=dev-python/pathspec-0.9.0[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - >=dev-python/aiohttp-3.7.4[${PYTHON_USEDEP}] - dev-python/aiohttp-cors[${PYTHON_USEDEP}] - dev-python/colorama[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -pkg_postinst() { - optfeature "blackd - HTTP API for black" \ - "dev-python/aiohttp dev-python/aiohttp-cors" -} diff --git a/dev-python/black/black-23.12.1.ebuild b/dev-python/black/black-23.12.1.ebuild index 9aba7b330868..2bb11860d3f9 100644 --- a/dev-python/black/black-23.12.1.ebuild +++ b/dev-python/black/black-23.12.1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND=" >=dev-python/click-8.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/conway-polynomials/conway-polynomials-0.8.ebuild b/dev-python/conway-polynomials/conway-polynomials-0.8.ebuild index 888bd49bdd0e..5a1fa72e11b4 100644 --- a/dev-python/conway-polynomials/conway-polynomials-0.8.ebuild +++ b/dev-python/conway-polynomials/conway-polynomials-0.8.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 @@ -15,7 +15,7 @@ HOMEPAGE="https://pypi.org/project/conway-polynomials/ LICENSE="GPL-3+" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="" python_test(){ diff --git a/dev-python/crispy-bootstrap3/Manifest b/dev-python/crispy-bootstrap3/Manifest index bd68dc06355a..3d16f2567662 100644 --- a/dev-python/crispy-bootstrap3/Manifest +++ b/dev-python/crispy-bootstrap3/Manifest @@ -1 +1,2 @@ DIST crispy-bootstrap3-2022.1.gh.tar.gz 25773 BLAKE2B 492f8b41fcdbb92bf40213aa31f98db9818cf0810cd5808e0436f838e9a0c3bea2e1cd3d5d8412034ecd3e97c2c80ba379cfbccab6675184eeb90d8e316041d8 SHA512 632bb7ec654227c7a95ea6019742517e5f04b41b570274adc52d1d828168327b8f2fd5e8f0171098500721ef449b408f79c5918b208adca1948ca61b0d2862a6 +DIST crispy-bootstrap3-2024.1.gh.tar.gz 26766 BLAKE2B 40a90ab97755e72a5e46dfcb7a2763bf21acbb5bb53117c92fa419bcc52d2faf46e189d0b00003c09d1c0d835979a137299f3b7b3a503548efc38e4507415791 SHA512 d647da99f0939e3221130a10ca44eb122be2d7796c0f2d29b4c9c4c8948f8cad788a7218bb59b2ccf032298cc7be177a222e14a924c3f543a77eba73699f0c0e diff --git a/dev-python/crispy-bootstrap3/crispy-bootstrap3-2024.1.ebuild b/dev-python/crispy-bootstrap3/crispy-bootstrap3-2024.1.ebuild new file mode 100644 index 000000000000..aec42cdb49e3 --- /dev/null +++ b/dev-python/crispy-bootstrap3/crispy-bootstrap3-2024.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 2023-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} ) + +inherit distutils-r1 + +DESCRIPTION="Bootstrap3 template pack for django-crispy-forms" +HOMEPAGE=" + https://github.com/django-crispy-forms/crispy-bootstrap3/ + https://pypi.org/project/crispy-bootstrap3/ +" +SRC_URI=" + https://github.com/django-crispy-forms/crispy-bootstrap3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/django-crispy-forms[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-django[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/cython/Manifest b/dev-python/cython/Manifest index c1bc7c887f5b..25463b118565 100644 --- a/dev-python/cython/Manifest +++ b/dev-python/cython/Manifest @@ -1,9 +1,6 @@ DIST cython-0.29.36.gh.tar.gz 2115333 BLAKE2B 6d43779c7222ff65d7de3a35ec18ef636480807d53480a8f94cc8c92d462fcc2f4d201a3bbf6e840a11fd33025e32c53f85626b05c131d10eed2859cdca7eb2d SHA512 a086fe1a11290cd3c870b891e61a0a0e2595bab9c26888024a758b6950c07059346d682fa9349e46c0af89805abbdd750059b3189960b8ce18007dfb5eb4391a DIST cython-0.29.37.1.gh.tar.gz 2115631 BLAKE2B b81e527ee1da7d16d074102378b531e4b0c161a3d66e47df46b624b02464cbd5c3d08d0e32f8175d56807ed8c6603108b85953db9f51892cfdf8952b4d287399 SHA512 6038499f13914b8a1957eee4d04e0499f448c89c3d519320e5218bf518aacb7d345f3c48614839222eaee016edf549b719520500b0088d28163635a74d35f3c6 DIST cython-3.0.2.gh.tar.gz 2744583 BLAKE2B f631891870a6ce24acf2bcde75ebcb9775cf0df7840fe9d7b138cfdea64d54e9253a53d35d892a9086f251c1294d9414eec8521218d031840a3cd06903fefb86 SHA512 f55be138efdca6ca61bd39c6f2fab736244328a170a6f6c9bda87036e022c846930b209e9e9101fad889cb179d6e60034ba6f299f14b3056536d46235b438eb7 -DIST cython-3.0.3.gh.tar.gz 2753188 BLAKE2B 0e6d40533f1cebf3c4217dc19aeebc2f873a8bacb94e68810e81d1c6d4cd75176de88516f2d82f43b36107656b6cd5e6990547e93bd8436b1aa93c73ccda6eaf SHA512 c27c16abaf0122ad61e0eeb92aa80a33fc491332b8ebec209cd1810d2b0e3bf14fe1e81838803b86f407520a6d6f7ab8b84d97e495e7d91fd6f7702a46980caa -DIST cython-3.0.4.gh.tar.gz 2754689 BLAKE2B 5418b8c374565894deb07e7a3f2fe242e1ef43eed5d716cbd9c6b9fd3d62088d9982eb156c981fa9f6edcf42592f2249f9eb450d16ef908be464e357ee9bbea7 SHA512 bc87e38f9c188a5311f75f49ba4b9ec1ee0af00ff9ed655ca69972891f8b0801025265f8cad4521670088275c7da3d6136aeda7ebb6a33554f64cc7aef362c73 DIST cython-3.0.5.gh.tar.gz 2756583 BLAKE2B d9b5af97933030fc1ac49677a5f3fd8194ba6e685dccd257f4ef4af206565ae2fa6f72c1268d8d0604b6fd6f2d8147c542501e8e319588bfdc4a7f40622976ff SHA512 585d3fe810ace55278fcc6ea4508b3b5259320f92998cd688da787cd5f88ac5fc2467025f20da6d968969eb3296ae9c517136d24a4dbb475441271227968f6be DIST cython-3.0.6.gh.tar.gz 2759853 BLAKE2B fdcbb870418eebfb2e55e28f7223699fee4fb06d52f9f41db55b30fbe6ba6ee3de42af9bbdd8930d418ec790dec195546486ea45c370e2df122d6fada08d38cf SHA512 f1d33775166d0b6541ea98bee5d4186fc6128aad788323224397c1f3ba0a058141ac84a8b3baa4885204dcbf0979141bc4b5316342003e96208952f040f31753 -DIST cython-3.0.7.gh.tar.gz 2761333 BLAKE2B f19f920726ee9001ecacd3f9a104ecb44ea2a26f40897e1a8856bc7fdc47b4c9b9386d72f4dabeba02a05412dab0d5ddc5de8167e08489ca31587240d6fcd135 SHA512 6d93cfb76265ffe11d4ba6ae2d4e88ce040c64a12b4acc8b236b4b282a82d2f0cc09abdd6149d6b4d0b6c86f182e1185e14ddd4241ebdda899f07524e9833f8e DIST cython-3.0.8.gh.tar.gz 2764668 BLAKE2B 03202ea480fa398d2b0893cc96185467009c783cf4451fc5d1c09ec229398bc084276680ed2b64acf63253744f827427e03674be3e5985d5a2912d9f338c786a SHA512 1070fc278401990595d177b0e6396bc1eba2ea8234a7c5bb26399b6b7284de7791ee5fa60ef74d06d0f4120b9c877bfd7703a7d701838f1634737526c614b860 diff --git a/dev-python/cython/cython-3.0.3.ebuild b/dev-python/cython/cython-3.0.3.ebuild deleted file mode 100644 index c644f619be87..000000000000 --- a/dev-python/cython/cython-3.0.3.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_TESTED=( python3_{8,9,10,11,12} ) -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 multiprocessing toolchain-funcs - -MY_P=${P/_rc/rc} -DESCRIPTION="A Python to C compiler" -HOMEPAGE=" - https://cython.org/ - https://github.com/cython/cython/ - https://pypi.org/project/Cython/ -" -SRC_URI=" - https://github.com/cython/cython/archive/${PV/_rc/rc}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -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" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - ${RDEPEND} - test? ( - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ' "${PYTHON_TESTED[@]}") - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-0.29.22-spawn-multiprocessing.patch" - "${FILESDIR}/${PN}-0.29.23-test_exceptions-py310.patch" - "${FILESDIR}/${PN}-0.29.23-pythran-parallel-install.patch" -) - -distutils_enable_sphinx docs \ - dev-python/jinja \ - dev-python/sphinx-issues \ - dev-python/sphinx-tabs - -python_compile() { - # Python gets confused when it is in sys.path before build. - local -x PYTHONPATH= - - distutils-r1_python_compile -} - -python_test() { - if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then - einfo "Skipping tests on ${EPYTHON} (xfail)" - return - fi - - # Needed to avoid confusing cache tests - unset CYTHON_FORCE_REGEN - - tc-export CC - # https://github.com/cython/cython/issues/1911 - local -x CFLAGS="${CFLAGS} -fno-strict-overflow" - "${PYTHON}" runtests.py \ - -vv \ - -j "$(makeopts_jobs)" \ - --work-dir "${BUILD_DIR}"/tests \ - --no-examples \ - --no-code-style \ - || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - local DOCS=( CHANGES.rst README.rst ToDo.txt USAGE.txt ) - distutils-r1_python_install_all -} diff --git a/dev-python/cython/cython-3.0.4.ebuild b/dev-python/cython/cython-3.0.4.ebuild deleted file mode 100644 index c644f619be87..000000000000 --- a/dev-python/cython/cython-3.0.4.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_TESTED=( python3_{8,9,10,11,12} ) -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 multiprocessing toolchain-funcs - -MY_P=${P/_rc/rc} -DESCRIPTION="A Python to C compiler" -HOMEPAGE=" - https://cython.org/ - https://github.com/cython/cython/ - https://pypi.org/project/Cython/ -" -SRC_URI=" - https://github.com/cython/cython/archive/${PV/_rc/rc}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -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" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - ${RDEPEND} - test? ( - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ' "${PYTHON_TESTED[@]}") - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-0.29.22-spawn-multiprocessing.patch" - "${FILESDIR}/${PN}-0.29.23-test_exceptions-py310.patch" - "${FILESDIR}/${PN}-0.29.23-pythran-parallel-install.patch" -) - -distutils_enable_sphinx docs \ - dev-python/jinja \ - dev-python/sphinx-issues \ - dev-python/sphinx-tabs - -python_compile() { - # Python gets confused when it is in sys.path before build. - local -x PYTHONPATH= - - distutils-r1_python_compile -} - -python_test() { - if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then - einfo "Skipping tests on ${EPYTHON} (xfail)" - return - fi - - # Needed to avoid confusing cache tests - unset CYTHON_FORCE_REGEN - - tc-export CC - # https://github.com/cython/cython/issues/1911 - local -x CFLAGS="${CFLAGS} -fno-strict-overflow" - "${PYTHON}" runtests.py \ - -vv \ - -j "$(makeopts_jobs)" \ - --work-dir "${BUILD_DIR}"/tests \ - --no-examples \ - --no-code-style \ - || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - local DOCS=( CHANGES.rst README.rst ToDo.txt USAGE.txt ) - distutils-r1_python_install_all -} diff --git a/dev-python/cython/cython-3.0.7.ebuild b/dev-python/cython/cython-3.0.7.ebuild deleted file mode 100644 index c644f619be87..000000000000 --- a/dev-python/cython/cython-3.0.7.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_TESTED=( python3_{8,9,10,11,12} ) -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 multiprocessing toolchain-funcs - -MY_P=${P/_rc/rc} -DESCRIPTION="A Python to C compiler" -HOMEPAGE=" - https://cython.org/ - https://github.com/cython/cython/ - https://pypi.org/project/Cython/ -" -SRC_URI=" - https://github.com/cython/cython/archive/${PV/_rc/rc}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -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" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - ${RDEPEND} - test? ( - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ' "${PYTHON_TESTED[@]}") - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-0.29.22-spawn-multiprocessing.patch" - "${FILESDIR}/${PN}-0.29.23-test_exceptions-py310.patch" - "${FILESDIR}/${PN}-0.29.23-pythran-parallel-install.patch" -) - -distutils_enable_sphinx docs \ - dev-python/jinja \ - dev-python/sphinx-issues \ - dev-python/sphinx-tabs - -python_compile() { - # Python gets confused when it is in sys.path before build. - local -x PYTHONPATH= - - distutils-r1_python_compile -} - -python_test() { - if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then - einfo "Skipping tests on ${EPYTHON} (xfail)" - return - fi - - # Needed to avoid confusing cache tests - unset CYTHON_FORCE_REGEN - - tc-export CC - # https://github.com/cython/cython/issues/1911 - local -x CFLAGS="${CFLAGS} -fno-strict-overflow" - "${PYTHON}" runtests.py \ - -vv \ - -j "$(makeopts_jobs)" \ - --work-dir "${BUILD_DIR}"/tests \ - --no-examples \ - --no-code-style \ - || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - local DOCS=( CHANGES.rst README.rst ToDo.txt USAGE.txt ) - distutils-r1_python_install_all -} diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 6659b515747c..1720e2354bde 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -4,3 +4,4 @@ DIST hypothesis-6.92.6.gh.tar.gz 9410707 BLAKE2B 337369c5044682b3404ba0492cdab83 DIST hypothesis-6.92.7.gh.tar.gz 9412316 BLAKE2B eae3a5d46dde5d69ab5fea429178eebeed06bec4ff25744324a3ed75e9433ac9652eb467a3a0a32fbbbe9924913f25ac87b375d1cf27c82fa5b024bdcbcdb791 SHA512 5fd04e49d76ec42dea4575666ed19ee249ef8cdcdca81d8c652b79fa879d51cfecd1851245c9b950627227d42c7520f7396816d2a8cc66991e1abc955a2c6cbd DIST hypothesis-6.92.8.gh.tar.gz 9412899 BLAKE2B 48bd1218f20260b983df4c75def1ad30a48d368975e5cf64bcc0eeb5148bd8cd2afe9b9b912304f13be791ca35f99bade225bcd7e600687a8249060b8b1767bf SHA512 ce5b97360dc45f4cbc26a7c68b1b7200e9906821200207479be80ab0c4bab5f5c363d1e914bc163eda096e575560146cdeb5f129b0ffd1545455df427c00cac2 DIST hypothesis-6.92.9.gh.tar.gz 9413220 BLAKE2B 066b291fe6df2d14a15c77be63196c26d27764ba69c6de4a417a6117a770b3305d8ff981643e62776d8254a7e2248741d4c7da6489adcb1a0fb641776f3520ef SHA512 1e9e81963aaa23d4b6d2290cca4644498a10aadd6a2417511ac57466ee87ebc89cc3b34eb7367af131916b04304aa52c3f736a5557a7e757fda5d40af478332a +DIST hypothesis-6.93.0.gh.tar.gz 9413948 BLAKE2B 1cb75543757163b5ceffd4050f5eea9d1953f607f935af0ac290c56ccd48e62cfbfe6f124a4162c395c30f985dc7426bcc70d348c27dc515b89ca1a1b8fa2e95 SHA512 20f7727ef77cd961ed4368c4441dd1aa49495d19a4f486e84234360f0280f1f4b848915a19f0445b31c3f66b9f25e65a000dc147852bc2fa1ef42e35be31a0d7 diff --git a/dev-python/hypothesis/hypothesis-6.93.0.ebuild b/dev-python/hypothesis/hypothesis-6.93.0.ebuild new file mode 100644 index 000000000000..1f7054962839 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.93.0.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 multiprocessing optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/requests-toolbelt-0.10.1 + ) +" + +distutils_enable_tests pytest + +python_test() { + # subtests are broken by warnings from random plugins + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin + local -x HYPOTHESIS_NO_PLUGINS=1 + + # NB: paths need to be relative to pytest.ini, + # i.e. start with hypothesis-python/ + local EPYTEST_DESELECT=() + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # failing due to warnings from numpy/cython + hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture + ) + ;; + esac + + epytest -o filterwarnings= -n "$(makeopts_jobs)" --dist=worksteal \ + tests/cover tests/pytest tests/quality +} + +python_install() { + distutils-r1_python_install + if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index a11d7c268c91..e9da2ac43cac 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1 +1,3 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db +EBUILD langdetect-1.0.9.ebuild 493 BLAKE2B 0df8bce19bc80f79f8e76bcef5a4c2caf333365fe0cb9a3c076b7858bceded5a3e58921474f866a2709dd657b7ed330c1ec4a7f9d7bab0fcf1bc92d77cabc32d SHA512 ea2a1adcb133ac5fc951ba1aa90ef1ce3dfcc424e59727591763d4875aa044a74188be2d15fd89c6b2e83ed6ea04ec3d9851ed584ae79d2c2c127bde7d994b48 +MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 736a1167c898..020e07f2a3dd 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -1,6 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - - <origin>gentoo-guru-overlay</origin> + <maintainer type="person"> + <email>marcin.deranek@slonko.net</email> + <name>Marcin Deranek</name> + </maintainer> + <upstream> + <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> + </upstream> + <origin>slonko-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/meson-python/meson-python-0.15.0.ebuild b/dev-python/meson-python/meson-python-0.15.0.ebuild index ee840d30bc21..48142df52e98 100644 --- a/dev-python/meson-python/meson-python-0.15.0.ebuild +++ b/dev-python/meson-python/meson-python-0.15.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -24,7 +24,7 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 RDEPEND=" >=dev-python/pyproject-metadata-0.7.1[${PYTHON_USEDEP}] - >=dev-util/meson-0.63.0[${PYTHON_USEDEP}] + >=dev-build/meson-0.63.0[${PYTHON_USEDEP}] !kernel_Darwin? ( dev-util/patchelf ) $(python_gen_cond_dep ' >=dev-python/tomli-1.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/numpy/numpy-1.26.1.ebuild b/dev-python/numpy/numpy-1.26.1.ebuild index 964ec4516b99..cefd7dc69903 100644 --- a/dev-python/numpy/numpy-1.26.1.ebuild +++ b/dev-python/numpy/numpy-1.26.1.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 @@ -35,7 +35,7 @@ RDEPEND=" " BDEPEND=" ${RDEPEND} - >=dev-util/meson-1.1.0 + >=dev-build/meson-1.1.0 >=dev-python/cython-3.0.0[${PYTHON_USEDEP}] lapack? ( virtual/pkgconfig diff --git a/dev-python/numpy/numpy-1.26.2.ebuild b/dev-python/numpy/numpy-1.26.2.ebuild index 689b90c82cbf..f3af63cf4d25 100644 --- a/dev-python/numpy/numpy-1.26.2.ebuild +++ b/dev-python/numpy/numpy-1.26.2.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 @@ -35,7 +35,7 @@ RDEPEND=" " BDEPEND=" ${RDEPEND} - >=dev-util/meson-1.1.0 + >=dev-build/meson-1.1.0 >=dev-python/cython-3.0.0[${PYTHON_USEDEP}] lapack? ( virtual/pkgconfig diff --git a/dev-python/numpy/numpy-1.26.3.ebuild b/dev-python/numpy/numpy-1.26.3.ebuild index 80006dbdd670..f8e42fdd6e2c 100644 --- a/dev-python/numpy/numpy-1.26.3.ebuild +++ b/dev-python/numpy/numpy-1.26.3.ebuild @@ -35,7 +35,7 @@ RDEPEND=" " BDEPEND=" ${RDEPEND} - >=dev-util/meson-1.1.0 + >=dev-build/meson-1.1.0 >=dev-python/cython-3.0.0[${PYTHON_USEDEP}] lapack? ( virtual/pkgconfig diff --git a/dev-python/opentype-sanitizer/opentype-sanitizer-9.0.0.ebuild b/dev-python/opentype-sanitizer/opentype-sanitizer-9.0.0.ebuild index c327d2c930d4..e35c776373c7 100644 --- a/dev-python/opentype-sanitizer/opentype-sanitizer-9.0.0.ebuild +++ b/dev-python/opentype-sanitizer/opentype-sanitizer-9.0.0.ebuild @@ -27,6 +27,6 @@ RDEPEND=" DEPEND="${RDEPEND} dev-cpp/gtest " -BDEPEND="dev-util/meson" +BDEPEND="dev-build/meson" distutils_enable_tests pytest diff --git a/dev-python/opentype-sanitizer/opentype-sanitizer-9.1.0.ebuild b/dev-python/opentype-sanitizer/opentype-sanitizer-9.1.0.ebuild index c327d2c930d4..e35c776373c7 100644 --- a/dev-python/opentype-sanitizer/opentype-sanitizer-9.1.0.ebuild +++ b/dev-python/opentype-sanitizer/opentype-sanitizer-9.1.0.ebuild @@ -27,6 +27,6 @@ RDEPEND=" DEPEND="${RDEPEND} dev-cpp/gtest " -BDEPEND="dev-util/meson" +BDEPEND="dev-build/meson" distutils_enable_tests pytest diff --git a/dev-python/pandas/pandas-2.1.1.ebuild b/dev-python/pandas/pandas-2.1.1.ebuild index 06adea0e97ce..53c5356266da 100644 --- a/dev-python/pandas/pandas-2.1.1.ebuild +++ b/dev-python/pandas/pandas-2.1.1.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 @@ -73,7 +73,7 @@ COMMON_DEPEND=" " BDEPEND=" ${COMMON_DEPEND} - >=dev-util/meson-1.2.1 + >=dev-build/meson-1.2.1 >=dev-python/cython-0.29.33[${PYTHON_USEDEP}] >=dev-python/versioneer-0.28[${PYTHON_USEDEP}] test? ( diff --git a/dev-python/pandas/pandas-2.1.3.ebuild b/dev-python/pandas/pandas-2.1.3.ebuild index bd31af717c29..23a22b8de83f 100644 --- a/dev-python/pandas/pandas-2.1.3.ebuild +++ b/dev-python/pandas/pandas-2.1.3.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 @@ -73,7 +73,7 @@ COMMON_DEPEND=" " BDEPEND=" ${COMMON_DEPEND} - >=dev-util/meson-1.2.1 + >=dev-build/meson-1.2.1 >=dev-python/cython-0.29.33[${PYTHON_USEDEP}] >=dev-python/versioneer-0.28[${PYTHON_USEDEP}] test? ( diff --git a/dev-python/pandas/pandas-2.1.4.ebuild b/dev-python/pandas/pandas-2.1.4.ebuild index 664e56a430df..ede6463d2ec9 100644 --- a/dev-python/pandas/pandas-2.1.4.ebuild +++ b/dev-python/pandas/pandas-2.1.4.ebuild @@ -73,7 +73,7 @@ COMMON_DEPEND=" " BDEPEND=" ${COMMON_DEPEND} - >=dev-util/meson-1.2.1 + >=dev-build/meson-1.2.1 >=dev-python/cython-0.29.33[${PYTHON_USEDEP}] >=dev-python/versioneer-0.28[${PYTHON_USEDEP}] test? ( diff --git a/dev-python/python-mpd2/Manifest b/dev-python/python-mpd2/Manifest index 9f2197ad234c..7ea9e9852029 100644 --- a/dev-python/python-mpd2/Manifest +++ b/dev-python/python-mpd2/Manifest @@ -1 +1,2 @@ DIST python-mpd2-3.1.0.gh.tar.gz 69162 BLAKE2B fb9b13f3e73b654d7e2a6ee84907f84ebf354d8f56ee47f58046a28aef1d43b5ddd52bf51f42a3e56dd6d8036010abc74d5537cfe8cf4f976b0a758506879dfe SHA512 9d8dd774540d9e09804fd293ce362401b2253f8021c1581c0764bac0b61d2e4b5f50bb752e5d774459194a717354f28ad5d96d48f29ef0f54011969ec91ff106 +DIST python-mpd2-3.1.1.gh.tar.gz 69613 BLAKE2B 4769799edb7a5fa8d772e95fdda362845d97ff2e17bc5eed7ec057c0e17389e8ad3b5d1ecd3b169ddea9d33fdfc52d46b86b8e1abc89489cf04f53aa803219d0 SHA512 abd882bc0652ed4a8ee2f4abf0a039e7c62e77b35d278c5fc99bb032c220caac831cc483445516044964f2ea078d2134af61c64d55cb20770b4d32a5aa1ce5e2 diff --git a/dev-python/python-mpd2/python-mpd2-3.1.1.ebuild b/dev-python/python-mpd2/python-mpd2-3.1.1.ebuild new file mode 100644 index 000000000000..ab1e1d830a70 --- /dev/null +++ b/dev-python/python-mpd2/python-mpd2-3.1.1.ebuild @@ -0,0 +1,49 @@ +# 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} ) + +inherit distutils-r1 + +DESCRIPTION="Python MPD client library" +HOMEPAGE=" + https://github.com/Mic92/python-mpd2/ + https://pypi.org/project/python-mpd2/ +" +# as of 3.1.0, sdist is missing some doc files +SRC_URI=" + https://github.com/Mic92/python-mpd2/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="LGPL-3+" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" +SLOT="0" +IUSE="examples +twisted" + +RDEPEND=" + twisted? ( dev-python/twisted[${PYTHON_USEDEP}] ) +" +BDEPEND=" + test? ( + dev-python/twisted[${PYTHON_USEDEP}] + ) +" + +DOCS=( README.rst doc/{changes.rst,commands_header.txt} doc/topics/. ) + +distutils_enable_sphinx doc --no-autodoc +distutils_enable_tests unittest + +python_test() { + eunittest mpd.tests +} + +python_install_all() { + distutils-r1_python_install_all + + use examples && dodoc -r examples/. +} diff --git a/dev-python/scipy/scipy-1.11.3-r1.ebuild b/dev-python/scipy/scipy-1.11.3-r1.ebuild index ead92c4437ea..0bc8e66a60cb 100644 --- a/dev-python/scipy/scipy-1.11.3-r1.ebuild +++ b/dev-python/scipy/scipy-1.11.3-r1.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 @@ -63,7 +63,7 @@ BDEPEND=" >=dev-python/cython-0.29.35[${PYTHON_USEDEP}] >=dev-python/meson-python-0.12.1[${PYTHON_USEDEP}] >=dev-python/pybind11-2.10.4[${PYTHON_USEDEP}] - >=dev-util/meson-1.1.0 + >=dev-build/meson-1.1.0 !kernel_Darwin? ( dev-util/patchelf ) virtual/pkgconfig doc? ( app-arch/unzip ) diff --git a/dev-python/scipy/scipy-1.11.4.ebuild b/dev-python/scipy/scipy-1.11.4.ebuild index 09f6cfeadca2..df5136e764ff 100644 --- a/dev-python/scipy/scipy-1.11.4.ebuild +++ b/dev-python/scipy/scipy-1.11.4.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 @@ -63,7 +63,7 @@ BDEPEND=" >=dev-python/cython-0.29.35[${PYTHON_USEDEP}] >=dev-python/meson-python-0.12.1[${PYTHON_USEDEP}] >=dev-python/pybind11-2.10.4[${PYTHON_USEDEP}] - >=dev-util/meson-1.1.0 + >=dev-build/meson-1.1.0 !kernel_Darwin? ( dev-util/patchelf ) virtual/pkgconfig doc? ( app-arch/unzip ) diff --git a/dev-python/uvloop/Manifest b/dev-python/uvloop/Manifest index b7035611ed1e..6e0b45805324 100644 --- a/dev-python/uvloop/Manifest +++ b/dev-python/uvloop/Manifest @@ -1 +1,2 @@ +DIST uvloop-0.19.0-cython3.patch.xz 6352 BLAKE2B 4a7056299d3d430ce5b6986d43ba4f20726ae4f9635042a43e2995ea373ed53ddce6af2eaa32202f81f80a27bd1d814e635a6be091b5f751bcf6825fd2c8e88a SHA512 aeda541f1327860d23b31ffda9923270a56a8311ec86b06f3bd653478bff591372106e8848af5229e3ad298e950b4c3a728ab4dd9056219b8afe55f5dd58ee3d DIST uvloop-0.19.0.tar.gz 2318492 BLAKE2B 1c46a8bf3e204c261e3a5e60c3583b75b8b9b20086443725c42842f96ea3f6804242470aa9569f8cc74a6e3bd38b5aaa70f9a9d92b5df3e73911acc169185570 SHA512 b6ca7ba7baf61dc930bb92e35013e5abaf7a227a5e99c88ec4b58fa87a40692151d9891b81d9e514a8481df62bb9721baa789ec234dcbbb34f69e0bee489c57c diff --git a/dev-python/uvloop/uvloop-0.19.0-r1.ebuild b/dev-python/uvloop/uvloop-0.19.0-r1.ebuild new file mode 100644 index 000000000000..dfcb4c1d9860 --- /dev/null +++ b/dev-python/uvloop/uvloop-0.19.0-r1.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Ultra-fast implementation of asyncio event loop on top of libuv" +HOMEPAGE=" + https://github.com/magicstack/uvloop/ + https://pypi.org/project/uvloop/ +" +SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-0.19.0-cython3.patch.xz" + +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 -riscv ~sparc ~x86" +LICENSE="MIT" +SLOT="0" +IUSE="examples" + +DEPEND=" + >=dev-libs/libuv-1.11.0:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + >=dev-python/cython-0.29.36[${PYTHON_USEDEP}] + test? ( + dev-python/aiohttp[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-22.0.0[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${WORKDIR}"/${PN}-0.19.0-cython3.patch +) + +distutils_enable_tests pytest + +python_prepare_all() { + rm -r vendor || die + cat <<-EOF >> setup.cfg || die + [build_ext] + use_system_libuv=True + cython_always=True + EOF + + # force cythonization + rm uvloop/loop.c || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local EPYTEST_IGNORE=( + # linting + tests/test_sourcecode.py + ) + local EPYTEST_DESELECT=( + # TODO: expects some... cython_helper? + tests/test_libuv_api.py::Test_UV_libuv::test_libuv_get_loop_t_ptr + # unhappy about sandbox injecting its envvars + tests/test_process.py::Test_UV_Process::test_process_env_2 + tests/test_process.py::Test_AIO_Process::test_process_env_2 + # hangs + tests/test_tcp.py::Test_AIO_TCPSSL::test_remote_shutdown_receives_trailing_data + # crashes on assertion + # https://github.com/MagicStack/uvloop/issues/574 + tests/test_cython.py::TestCythonIntegration::test_cython_coro_is_coroutine + ) + + rm -rf uvloop || die + epytest -s +} + +python_install_all() { + use examples && dodoc -r examples + distutils-r1_python_install_all +} |
