diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-10-30 07:38:24 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-10-30 07:38:24 +0000 |
| commit | d0b48a4e60d056bda9466abe69007fe01fc644a7 (patch) | |
| tree | 60649acb39abadec925cef23e49c3dc7d1ccaef0 /dev-python | |
| parent | 58c8951ee77c28ff7d3d58184001ed15782da935 (diff) | |
| download | baldeagleos-repo-d0b48a4e60d056bda9466abe69007fe01fc644a7.tar.gz baldeagleos-repo-d0b48a4e60d056bda9466abe69007fe01fc644a7.tar.xz baldeagleos-repo-d0b48a4e60d056bda9466abe69007fe01fc644a7.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
39 files changed, 792 insertions, 26 deletions
diff --git a/dev-python/bleach/Manifest b/dev-python/bleach/Manifest index d01aa6e4e3a5..bd6bd379266a 100644 --- a/dev-python/bleach/Manifest +++ b/dev-python/bleach/Manifest @@ -1 +1,2 @@ DIST bleach-6.1.0.tar.gz 202119 BLAKE2B d2da448feabe61431b176092f713f6f85790c22d3869a8d94f5c9659e481fd4a0b8e230eb72687e4da8914956a8858a2a5f942169ae2324d7762c5e1f20cc0ef SHA512 d7c9e77decd5eb0aceb4b33ad7e213683354aa702508f332dd6be15a14010d3795c2115acbae964cbaeff3e74c15d35eb18268d8fd8286e2cd6ad1c0dc79a838 +DIST bleach-6.2.0.tar.gz 203083 BLAKE2B bd570cc330d02ce1340f326b480827d6a4f522975562b7e78edd1505ec78bdeba6e9233819fc1703a0ad009b23975032fabbaa8c4c5242fa91a94a4f2de93ff3 SHA512 2a5059076756bfe528221bd719a00b1221ae9e07644b53232b268e078ab0d37fb25f6fdd292d39bcc711dcbe771a21dad6549ec1b27dc7d7de6852f85228c48c diff --git a/dev-python/bleach/bleach-6.2.0.ebuild b/dev-python/bleach/bleach-6.2.0.ebuild new file mode 100644 index 000000000000..ae894bffd670 --- /dev/null +++ b/dev-python/bleach/bleach-6.2.0.ebuild @@ -0,0 +1,52 @@ +# 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_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="An easy whitelist-based HTML-sanitizing tool" +HOMEPAGE=" + https://github.com/mozilla/bleach/ + https://pypi.org/project/bleach/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/html5lib-1.0.1-r1[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}"/bleach-6.0.0-py39.patch +) + +EPYTEST_DESELECT=( + # this package is not really maintained anymore + 'tests/test_parse_shim.py::test_urlparse[\t :foo.com \n-expected8]' + 'tests/test_parse_shim.py::test_urlparse[ foo.com -expected9]' +) + +src_prepare() { + # unbundle unpatched broken html5lib + rm -r bleach/_vendor || die + sed -i -e 's:bleach\._vendor\.parse:urllib.parse:' \ + bleach/parse_shim.py || die + sed -i -e 's:bleach\._vendor\.::' \ + bleach/html5lib_shim.py \ + bleach/sanitizer.py \ + tests/test_clean.py || die + # indirect html5lib deps + sed -i -e '/webencodings/d' setup.py || die + rm bleach/six_shim.py || die + + distutils-r1_src_prepare +} diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 01769b952541..0a778784b6ca 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -2,3 +2,4 @@ DIST boto3-1.35.39.gh.tar.gz 872172 BLAKE2B 1baad362b9bfcf68ea89c9ba9ea473fcf245 DIST boto3-1.35.44.gh.tar.gz 875230 BLAKE2B 68c4fa6739a5d9cb720670a1bc14079ffac4b23101bd27367ec81675a34d717341c87257864a658c60d8a0c5fdea298f73db979b6aa64f65e9ea54479005d33b SHA512 6ff24f42088ae9f77b5e1ff033fab34c6a0c0f7fc46cf9cbe172b3151cf259e48c3804981afbc8de893dc2541105a04bc00d6becd3220c18243bda7ed206740b DIST boto3-1.35.49.gh.tar.gz 878577 BLAKE2B 8f9ddf29eaad2f91a9ba670b268ac987f7f813dea52427a559b245111042f84b8593158bf1f3dbec353b9fb92116be39e739326dbdd70366589ee507a994da4d SHA512 3a1aa9bb8c8aa384abdc2a139273364c49f608921ff9c4ce9e96b4b93d11bb145a45ac65df6245912ba3be6d4e8f0df86e407d74610837b149f81712529b3152 DIST boto3-1.35.50.gh.tar.gz 878776 BLAKE2B 23b43830c16657e688bec46b65ae784fa8f70c5849f809bf71a4ab73533d43efd76a56bf0694d99a488bffed42896f034fe0b4680705093bd59d0dd86904c721 SHA512 91b66821f5698f09ef61851fe8419cfbe2b85f1a586858a490d12ef63ef2309af76b5393aeeb3a6b31a74a1d2dc46712750fe4b75dc627dc55fd681a5b019edf +DIST boto3-1.35.51.gh.tar.gz 879889 BLAKE2B 02e4a1713aa5112f4f8aa04b92c07748b1a4e5810ebac8ee62bd7f472852d77f3346106ad969e88cea9a9d0698268df1e7085a151000d2c6fa5efa424e21a829 SHA512 c4a733332ab77fd3b58a679e72893c2ef92e6f995c2993adca51423d5520b2fbf3febf6b97c4bcb6f341b55ffa01c19782b8aa9c822f8a5bc6012cd13c441b0b diff --git a/dev-python/boto3/boto3-1.35.51.ebuild b/dev-python/boto3/boto3-1.35.51.ebuild new file mode 100644 index 000000000000..d91ce27598cf --- /dev/null +++ b/dev-python/boto3/boto3-1.35.51.ebuild @@ -0,0 +1,53 @@ +# 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_{9,10,11,12,13} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}] +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 06ccba1c0a6d..b00188292fc4 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -2,3 +2,4 @@ DIST botocore-1.35.39.gh.tar.gz 13458607 BLAKE2B 631b16d9a4acf1a2c594318f20fb975 DIST botocore-1.35.44.gh.tar.gz 13472693 BLAKE2B a38fd45888ee1e77d7dec3fbd5aeb9f94cd825d1d54bd11a467ef9938753724958fc28eae4316d1802c729f02874113b028a929afb3de64400723c144d5d0eef SHA512 52f6c507efe175deef4e824c038f2db620f35f53f62a1372815b9c75a3638e371d89a8aa19f481f4ee29e58e5c30e5f9083fe14eb08048f80cd0f9aa1730841c DIST botocore-1.35.49.gh.tar.gz 13473579 BLAKE2B 0b1a0e8ec76ad0d4ec677532626c4f34383828415ae6a6dc318a8e7864f2756c5618e0086a02f29726844e585895492b0e80d5e944e67fa5c233122a35a75eab SHA512 abcbcd3e8c5c4704755f83290aa8c65ee703c5f75cecab45d58451e2960f341e73042b61c28fd42a671562b25795255392d13db60c6c9d2f944f04ede6d3e78d DIST botocore-1.35.50.gh.tar.gz 13480380 BLAKE2B c75e98122762a9f061006019c3e8b12b3b374dc98236943e7d566a12faf791606e15e90cabd80e7ebe1b0b8f7cec8f39ca4d0852c80b95347bf5953cfbcdbd15 SHA512 41af923db98efcf885661ee9fc7debdd659df66a56b6bacda3aee5aeaa5eb774668e3617485c06eace75b7aa71f04abf7c6481c7d5a5a0c170f9add37ca8a8db +DIST botocore-1.35.51.gh.tar.gz 13481192 BLAKE2B a1b5689178cf800baf69965a8b69ba317aeb0c8f4752973ea01c4f9ec4720aa1538dbbcf242a834374a7943597d012c2f1961b813a79648690fa06d6f3aee168 SHA512 40a00597ebf30548addef59a0e4c9c78fd7ffcbdff961a8ec15954d3b30b94fb5600c1cbb1e4e98a89c034958bf0ff55f71721cb8637a9a3439cb8cce188e132 diff --git a/dev-python/botocore/botocore-1.35.51.ebuild b/dev-python/botocore/botocore-1.35.51.ebuild new file mode 100644 index 000000000000..7816e9efeb52 --- /dev/null +++ b/dev-python/botocore/botocore-1.35.51.ebuild @@ -0,0 +1,67 @@ +# 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_{9,10,11,12,13} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/braintree/Manifest b/dev-python/braintree/Manifest index a64b86fc1fc9..e2da559e6d3c 100644 --- a/dev-python/braintree/Manifest +++ b/dev-python/braintree/Manifest @@ -1,2 +1,2 @@ -DIST braintree_python-4.29.0.gh.tar.gz 229814 BLAKE2B d4d33aaa8073ec129d4ed791912ebf1ff6ed5c602ec9c91917d493dd0060e59dcc9ae830f2efc9c009036b64bb0f55b3f4476c6c6bf91c6076c8fec9de9c042f SHA512 da2e8daba61c0a9cf76929e5edcb05859f7072e9c13b9bc97556fd370a9f7fbd396513505d3e93617132bfbbb95c6f8cfa4343072e7c16ecdcd30d8c59a7dbff DIST braintree_python-4.30.0.gh.tar.gz 230547 BLAKE2B b789ee0ff9fe925c1db5dc005aae78efca7736e3047c9151329f957862d4c6b145e9d152882c89bfe9240205de38283c40873db087f053bf55c9edaae666d848 SHA512 89fced2e4b69e71b56cac68b694e65f55574dbd84953000f0c8e82743869d72481570f836f721375f91766c1b0963bfec51a2657f732df1f8a4fd2130ce27c60 +DIST braintree_python-4.31.0.gh.tar.gz 239483 BLAKE2B 959f039fa98a6acefb9b114bf8c7fef6d9b848f0a9c2e36dac86704df2e228604b316092022bfa2624c6d5688011e2ad85db6b2270736522497b67bfdbd8a2ff SHA512 5a29ab736f3c535c1e54f9210a148059833d1b56d073a0190407f103b65719cfdd02b3dd77ec61298127017dcc8bc4be0478aba2b386358169f5aaba264f19ea diff --git a/dev-python/braintree/braintree-4.29.0.ebuild b/dev-python/braintree/braintree-4.31.0.ebuild index 55474790e8ae..55474790e8ae 100644 --- a/dev-python/braintree/braintree-4.29.0.ebuild +++ b/dev-python/braintree/braintree-4.31.0.ebuild diff --git a/dev-python/colorlog/Manifest b/dev-python/colorlog/Manifest index 73beec9a0512..f8cd1c2e0581 100644 --- a/dev-python/colorlog/Manifest +++ b/dev-python/colorlog/Manifest @@ -1 +1,2 @@ DIST colorlog-6.8.2.tar.gz 16529 BLAKE2B c745e9deae4f0a96e5b3481268b7ae402f0c7f05a3997753cbc6e117c1f0630338748ca557f5f3ae261694f0ce6c65f486d06d35778b3ee331160d2c0596465f SHA512 cffd4541837e15ed7cfa0e48d8424d6bb10d0de6e227fe16145cfba51ebc2f90e2a4c750db57d37ee2708ec0272de97ad74e946283b7b3cd3628e1bd24a60b6f +DIST colorlog-6.9.0.tar.gz 16624 BLAKE2B 6c4e6db3592bafa0c4ee799681076f9c775200d495e19532b63c11e3cd165eeb1c1dfd1b3b0763be6b033d098afec2a467103f2d73e73a6d0592a4d04e1cc2af SHA512 a1f0fa3858314a770050172c287fca3bbd060ea00ce8d042429edf38f363ac21b689204c2f97140bc58c27f708bb15836de699a4692873118471e4e966a8320f diff --git a/dev-python/colorlog/colorlog-6.9.0.ebuild b/dev-python/colorlog/colorlog-6.9.0.ebuild new file mode 100644 index 000000000000..0c2d5e5f9161 --- /dev/null +++ b/dev-python/colorlog/colorlog-6.9.0.ebuild @@ -0,0 +1,21 @@ +# 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_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Log formatting with colors" +HOMEPAGE=" + https://pypi.org/project/colorlog/ + https://github.com/borntyping/python-colorlog/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86" + +distutils_enable_tests pytest diff --git a/dev-python/croniter/Manifest b/dev-python/croniter/Manifest index cfe47ffb3129..03e837689e73 100644 --- a/dev-python/croniter/Manifest +++ b/dev-python/croniter/Manifest @@ -1,3 +1,4 @@ DIST croniter-3.0.3.tar.gz 53088 BLAKE2B 258eff623e0017dcc1fd1d1b3a0ac8e1e67c387afba15fbb04a077dad9e5c72d4d2d68541e06ac85897857ce2bdb36fe0ddb59812368b9e89e58f6322fe61034 SHA512 4fe703544fd899c80766e6a867d96e655b5269b8798562ad4396b9819072acfd22c69fe72d52e911807acfbabe65b131ca4b6f1311b62e5b99f7d1cd1de39068 DIST croniter-3.0.4.tar.gz 54500 BLAKE2B caba8dd5efda4d56787130d43416ce79d2183e481ae5b4524542a353d40b765112c54961d1aeb0f9c99e0f3d319c31812a866dbaa5c2ee597fbc139eb079963a SHA512 e46e0ac27ed2dd30c5239565b7d9a926b2451febf047f96573699b50baf83157bf30e22f5f7f9be4fc66bb1a6b2eb0b5245a810542dbe808294eefba31af1d8a DIST croniter-4.0.0.tar.gz 55312 BLAKE2B 7733eb55b53e0921a37b4084bf815f3f2032041154083681a6d69a7be23ad48fc84e581af948acb8d7a1505f2a25240cd0cf09eaea14418da8f1a14466604575 SHA512 086cb137589514daf7e996c824c7e2d2e46615ae3150ea9060a21cb6577fa5c2a0132c7d169d38f500642325005be19ea2e9604a76906b0d7d62757e0f88ded9 +DIST croniter-5.0.1.tar.gz 57084 BLAKE2B 5417d548c103dca87e9dff2ad521e82d5cb468332f3dc11bdff74f331ea23f49753cc9135b22ab1c269e8aa96a05dc04e9b92269b5bbb7334688143daad4664b SHA512 410a3b0ada979259bcd9b82d1b83f3384714645bae642ffaf9e118d65417b716b0efaa3a8c592cc3cc8a9a2694d6f70aa8d36af83aab0c8461493ce96f457bbb diff --git a/dev-python/croniter/croniter-5.0.1.ebuild b/dev-python/croniter/croniter-5.0.1.ebuild new file mode 100644 index 000000000000..f8bda937f684 --- /dev/null +++ b/dev-python/croniter/croniter-5.0.1.ebuild @@ -0,0 +1,31 @@ +# 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_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python module to provide iteration for datetime object" +HOMEPAGE=" + https://github.com/kiorky/croniter/ + https://pypi.org/project/croniter/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/tzlocal[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/daiquiri/daiquiri-3.2.3.ebuild b/dev-python/daiquiri/daiquiri-3.2.3.ebuild index 5710a7359d01..692d39cf96ba 100644 --- a/dev-python/daiquiri/daiquiri-3.2.3.ebuild +++ b/dev-python/daiquiri/daiquiri-3.2.3.ebuild @@ -24,6 +24,19 @@ distutils_enable_tests pytest distutils_enable_sphinx doc/source +python_test() { + if [[ ${EPYTHON} =~ python3.1[23] ]]; then + # Broken by Gentoo patches for python-json-logger + local EPYTEST_DESELECT=( + daiquiri/tests/test_daiquiri.py::TestDaiquiri::test_setup_json_formatter + daiquiri/tests/test_daiquiri.py::TestDaiquiri::test_setup_json_formatter_with_extras + daiquiri/tests/test_output.py::TestOutput::test_datadog + ) + fi + + distutils-r1_python_test +} + pkg_postinst() { optfeature "journald support" dev-python/python-systemd } diff --git a/dev-python/django-cors-headers/Manifest b/dev-python/django-cors-headers/Manifest index 231d9c2d991a..ac4d817b49ab 100644 --- a/dev-python/django-cors-headers/Manifest +++ b/dev-python/django-cors-headers/Manifest @@ -1,2 +1,2 @@ -DIST django-cors-headers-4.4.0.gh.tar.gz 31028 BLAKE2B 065ac5a96c3871e8dc0eff48ef54efeb57d60a2a1588b69345f116600fe31ce7b0532ff38ca554eb5a6cff338f10e557c8876486a10db158c24a6097c44d7288 SHA512 7a380512a62420d4b6b47d43fd5d5ced1579db61fc538b4b22665e14a71298a1b1f9ebe93f808245b756d18c494177ef9ecaa01ae8d86f90a2bbf9db9b1997d7 DIST django-cors-headers-4.5.0.gh.tar.gz 31156 BLAKE2B 5f3c16c6524bdb5832579d9313863e8df334cfca4fbb2831c9cd813759e5f6b491c3967117bd04775dc42d01ef290f0fe5c36d708ee13b4c3076d4513988e91d SHA512 084a6809bfb8b15fe23b65c1cca52453c94a7f659174bb06c36dbc6ec925638bc4f8e2303d7b3e6ef1e0953815b5caf642a5ae988f8a65b18b278f28d59cd4d0 +DIST django-cors-headers-4.6.0.gh.tar.gz 29267 BLAKE2B 23bce012b43d191a6e9e2489529d39385946f4eef353e218f770bb72e65e9d89fd37b7a9b4e39fd138222c6e3145c40a7f9825fd2761d1217929cd55db659156 SHA512 c8148af4127dda25cb8a428330672427d8895ed4f51403f557f955da132012ae809f9c60b40825b0cc414fbd487218228e8f0003b5b7dba413145bcc019de67f diff --git a/dev-python/django-cors-headers/django-cors-headers-4.4.0.ebuild b/dev-python/django-cors-headers/django-cors-headers-4.6.0.ebuild index 1d7e525698dc..81e4465bdfea 100644 --- a/dev-python/django-cors-headers/django-cors-headers-4.4.0.ebuild +++ b/dev-python/django-cors-headers/django-cors-headers-4.6.0.ebuild @@ -24,7 +24,7 @@ KEYWORDS="~amd64" RDEPEND=" >=dev-python/asgiref-3.6[${PYTHON_USEDEP}] - >=dev-python/django-3.2[${PYTHON_USEDEP}] + >=dev-python/django-4.2[${PYTHON_USEDEP}] " BDEPEND=" test? ( diff --git a/dev-python/ensurepip-setuptools/Manifest b/dev-python/ensurepip-setuptools/Manifest index 88ccf20ed75b..9666415abc0d 100644 --- a/dev-python/ensurepip-setuptools/Manifest +++ b/dev-python/ensurepip-setuptools/Manifest @@ -1,2 +1,3 @@ DIST setuptools-74.1.3-py3-none-any.whl 1262070 BLAKE2B 967e581556dee96b068a762605e340a7dbdb7eedb62fc2224fa3cbff8c29c6dd8966831bf4d2c4714401c8beca6ff81ba64823ec55ce592ff3bf10ddee370975 SHA512 8dd7f782ccbfcef04462904f3211569a2ca0be7f370a75cd1d77b77c1f38fcfbea8fd401646bbf436c093ad4573e32f0a0eef030644df48817fde43ae59ce0aa DIST setuptools-75.2.0-py3-none-any.whl 1249825 BLAKE2B 10a48572cc684a39fe83ed47115e9e2cf7596421f1b5b9599b0472e3081b2d843b288dff85ad5d35133e80ac29db98856a03a7c8828a7394bcccf928e5b7d26d SHA512 5b30d02ee23ccd4615a2c63f9dc73b80453fa37b905b5c0d1aa18beb3688c24776d02e524db5ab6033ad4ba872ea04601970c1578235f38e0ec8d54597deaca3 +DIST setuptools-75.3.0-py3-none-any.whl 1251070 BLAKE2B 96cb4af06ae6f73f4cf86196d71c4ae3084f4f3ca945cf9873f1f466b0682fbc0816308fc0dff77c70d72966e65052939630c1551d7d04b879aa33319dddf601 SHA512 c3bdd2f5ebd5aaaeba190c847b04a2d789a17bd49cc277e1f5ca9613c17696b934560d64f9f194708ac655f5a4f478519550c3034f980bea1866d38c0d173659 diff --git a/dev-python/ensurepip-setuptools/ensurepip-setuptools-75.3.0.ebuild b/dev-python/ensurepip-setuptools/ensurepip-setuptools-75.3.0.ebuild new file mode 100644 index 000000000000..c48c6a133f1f --- /dev/null +++ b/dev-python/ensurepip-setuptools/ensurepip-setuptools-75.3.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit pypi + +DESCRIPTION="Shared setuptools wheel for ensurepip Python module" +HOMEPAGE="https://pypi.org/project/setuptools/" +SRC_URI="$(pypi_wheel_url "${PN#ensurepip-}")" +S=${DISTDIR} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + !<dev-python/ensurepip-wheels-100 +" + +src_install() { + insinto /usr/lib/python/ensurepip + doins "${A}" +} diff --git a/dev-python/grpcio/Manifest b/dev-python/grpcio/Manifest index 4d6b2e8d2483..21278a97880d 100644 --- a/dev-python/grpcio/Manifest +++ b/dev-python/grpcio/Manifest @@ -1,2 +1,2 @@ -DIST grpcio-1.66.2.tar.gz 12489713 BLAKE2B 054ecefa82cd75a79fbcc371b66cd0688d2b4d977ebe48942f54549b407b71b11c76548d43de6b51f874795a11788ca1de0019dc10b34a77de5295c5ef9234f2 SHA512 910ddd9efaebb99112ef1e1e62befe35347948c953bd9d70fe23fe9e8c0c565a9127d827f4ad5e991f279a6b7cd5832a8fbcc26577b2a93f76e77e6b189af5d6 DIST grpcio-1.67.0.tar.gz 12569330 BLAKE2B 597efd14625898daf8c7aeff65e1d5aac4e08f7152263784c41f6b9bf0b83b8774b01ada85bfd461191d34c547296be82b994694585a57ee306d6aceebf4a9dd SHA512 201ca2548b68561135a06de971dc5a2a87bebbb6e48b4aeca23389fdd3046a11677a440af75730a0ce7cc2b7c9c7e3ab4a43d0e040c803768d04a27be645bc4e +DIST grpcio-1.67.1.tar.gz 12580022 BLAKE2B 304489a252d3e81db7c9846e10d8716e224bf5af3a8922fbbc268abf4a03784a2ffadd306ff04de7a2c892fa345dae120f32704df223a2251877a85cf3b3406b SHA512 a4a9051cd22da624f5624c5a39d7c833593d8733bd2401cb02d29b8baf21bacb73a85508f87ab0b8cb7e0af07f034b794b77a25b43069b526150b8ee26d96ca3 diff --git a/dev-python/grpcio/grpcio-1.66.2.ebuild b/dev-python/grpcio/grpcio-1.67.1.ebuild index 25d98571bc9a..25d98571bc9a 100644 --- a/dev-python/grpcio/grpcio-1.66.2.ebuild +++ b/dev-python/grpcio/grpcio-1.67.1.ebuild diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index e84694f93a63..81a570007b98 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,2 +1,3 @@ DIST hypothesis-6.114.1.gh.tar.gz 9477292 BLAKE2B 3dadb706f7d283febdc30c9e897fa5b648382edd9bba0ed0824abc2f2c1f6562f0ac77003df496d1def1e56092412c14674b5e768f9583607463f92b78770ad5 SHA512 14526a836c71cdec68a3fbd54391d4f6fe6911305fea9b349c77c59a3f352b7105531a44df05e26cd372d457ed07f7c8199967f444ede14b7d66151afe815727 DIST hypothesis-6.115.5.gh.tar.gz 9479622 BLAKE2B 44e21c25fbfb0da48102010a23522a636dd7dba0cbae3e1589710e816cb1f83abd33611750a76fd68c965dff5e0d1c234a5fb87da7cbf6ae0ebb4d3a8152ae9f SHA512 e6528eb48710b61f6ef18cc1415f9977c0a4c10d86f4d92da51859f17dc1b24e16ea7cbce5be2438794edb1002b426fc9911e02bb1ce456d7f812262bcc3bd2f +DIST hypothesis-6.115.6.gh.tar.gz 9479927 BLAKE2B ddfeaebaa4e3687be1cab03fa8517353fcfc392dfe7a38100087534c6e71339e381a425c0e2b0d277d3d6344b69b9498e0b722efb18bbcbb90c3401e997afa96 SHA512 fb5df7b7bb45958e492d69d9375b3847de1ed39467bc119be69a237456e1cb1a2633cafbcd58c90113f0aa35880d5d30395ac9d43ccbc6c7368af46065094eb9 diff --git a/dev-python/hypothesis/hypothesis-6.115.6.ebuild b/dev-python/hypothesis/hypothesis-6.115.6.ebuild new file mode 100644 index 000000000000..902ce1505c8b --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.115.6.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( pypy3 python3_{10..13} ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 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 ~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-8[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/requests-toolbelt-0.10.1 + ) +" + +EPYTEST_XDIST=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= tests/cover tests/pytest tests/quality +} + +src_install() { + local HAD_CLI= + + distutils-r1_src_install + + if [[ ! ${HAD_CLI} ]]; then + rm -r "${ED}/usr/bin" || die + fi +} + +python_install() { + distutils-r1_python_install + if use cli && has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + HAD_CLI=1 + else + rm -r "${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/iuliia/iuliia-0.11.5.ebuild b/dev-python/iuliia/iuliia-0.11.5.ebuild index 3c05676a9de1..21910da97fb3 100644 --- a/dev-python/iuliia/iuliia-0.11.5.ebuild +++ b/dev-python/iuliia/iuliia-0.11.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2023 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/kombu/Manifest b/dev-python/kombu/Manifest index cfc30ac716dc..3b844b9b56b1 100644 --- a/dev-python/kombu/Manifest +++ b/dev-python/kombu/Manifest @@ -1,2 +1,3 @@ DIST kombu-5.4.2.tar.gz 442858 BLAKE2B a613f3a5656c87826345d7e96b4ccf15336afdcd79a77db04140628f8522cb6f348fa31d3ccba66b6d01c423971ae013f157a812e12662bf4639fd4f4dbfc750 SHA512 4224412b8d3ee867af03a1771326681f78d112f31ab7ecd7c0f648bd28e834b296c1b36b7720351ec8e0ba871153caaa6aa06961394c5a9e99cd68291ad20b9b DIST kombu-5.5.0rc1.tar.gz 457246 BLAKE2B 32dda81ea2e3efc22f6f4c2b9da477f26c42eff4657d4a8f680e0fed4c99df5549554e9f5589cc10da755155d799ee43801dec4051444437e7fae1d934f997e3 SHA512 8e4acfb6e6dc42299c4c2a8eacb0a9266e3d893bea4af2fe64c193d9239b7c3f7ef1f6722f4c541b2b8e7492752f36294832e53600c3de0c8e85c97cd431167a +DIST kombu-5.5.0rc2.tar.gz 458112 BLAKE2B 66ad4b8a6230c3fa8b3f85851c767c28e24006f5cb4501e5fc5099b1530db71dfb5eb935ac206665af8d93d46ac3043b1d106bb72a27cc187e76f41b6717f409 SHA512 b0666033a21fab11994508327e727cc3800fb4515844afedb266866cb1805d6692ba1b39daa5d552afbb08ec9f15d1153d3df1a3364bcdd4802849bfb7592bdd diff --git a/dev-python/kombu/kombu-5.5.0_rc2.ebuild b/dev-python/kombu/kombu-5.5.0_rc2.ebuild new file mode 100644 index 000000000000..f237321fba67 --- /dev/null +++ b/dev-python/kombu/kombu-5.5.0_rc2.ebuild @@ -0,0 +1,96 @@ +# 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_{9,10,11,12,13} ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="AMQP Messaging Framework for Python" +HOMEPAGE=" + https://github.com/celery/kombu/ + https://pypi.org/project/kombu/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="examples" + +RDEPEND=" + >=dev-python/amqp-5.1.1[${PYTHON_USEDEP}] + <dev-python/amqp-6.0.0[${PYTHON_USEDEP}] + dev-python/tzdata[${PYTHON_USEDEP}] + dev-python/vine[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + app-arch/brotli[python,${PYTHON_USEDEP}] + >=dev-python/boto3-1.22.2[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + >=dev-python/msgpack-0.3.0[${PYTHON_USEDEP}] + dev-python/pycurl[${PYTHON_USEDEP}] + >=dev-python/pymongo-4.1.1[${PYTHON_USEDEP}] + dev-python/pytest-freezer[${PYTHON_USEDEP}] + dev-python/zstandard[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] + >=dev-python/redis-4.2.2[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/sphinx-celery + +src_prepare() { + distutils-r1_src_prepare + + # unpin deps (notably tzdata, sigh) + > requirements/default.txt || die +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO + t/unit/transport/test_redis.py::test_Channel::test_connparams_health_check_interval_supported + t/unit/transport/test_redis.py::test_Channel::test_global_keyprefix_transaction + # bad filename assumption? + t/unit/asynchronous/aws/test_connection.py::test_AsyncHTTPSConnection::test_request_with_cert_path_https + ) + local EPYTEST_IGNORE=( + # obsolete Pyro4 + t/unit/transport/test_pyro.py + # unpackaged azure + t/unit/transport/test_azurestoragequeues.py + # unpackage google-cloud + t/unit/transport/test_gcpubsub.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + docinto examples + dodoc -r examples/. + fi + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "Amazon SQS backend" "dev-python/boto3 dev-python/pycurl" + optfeature "Etcd backend" dev-python/python-etcd + optfeature "MongoDB backend" dev-python/pymongo + optfeature "Redis backend" dev-python/redis + optfeature "sqlalchemy backend" dev-python/sqlalchemy + optfeature "yaml backend" dev-python/pyyaml + optfeature "MessagePack (de)serializer for Python" dev-python/msgpack + optfeature "brotli compression" "app-arch/brotli[python]" + optfeature "zstd compression" dev-python/zstandard +} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index a11d7c268c91..37a64204a00a 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 494 BLAKE2B 9b3521c5721afa49a58e0c35267f7d82bb56bd7e1d6d3152be0d36cd220180a526cb20b90b1113fbf0fff4a512137570f0b3bcf864498b7b7cc00403cb61ca27 SHA512 16d311400bf84a5f04e15f3da4b68b2810e4b005009f4d03dc8a487176dfc294403c976c412c83dcfa8084a49ef7b7d5389b43fb2ba446ce107ce4595e3558c6 +MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch deleted file mode 100644 index 637368d2f237..000000000000 --- a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch +++ /dev/null @@ -1,13 +0,0 @@ -Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." - ---- a/setup.py -+++ b/setup.py -@@ -18,7 +18,7 @@ setup( - author_email='michal.danilak@gmail.com', - url='https://github.com/Mimino666/langdetect', - keywords='language detection library', -- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], -+ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], - include_package_data=True, - install_requires=['six'], - license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index eb2586280d80..56733bbffc48 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,6 +19,4 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" -PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) - distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index c0f74ac187e2..020e07f2a3dd 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,9 +2,11 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>pastalian46@gmail.com</email> - <name>Takuya Wakazono</name> + <email>marcin.deranek@slonko.net</email> + <name>Marcin Deranek</name> </maintainer> - - <origin>gentoo-guru-overlay</origin> + <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/pyphen/Manifest b/dev-python/pyphen/Manifest index 1d12ab75d1c3..5f4ff32bb543 100644 --- a/dev-python/pyphen/Manifest +++ b/dev-python/pyphen/Manifest @@ -1 +1,2 @@ DIST pyphen-0.16.0.tar.gz 2072790 BLAKE2B c3c5b248a9532abecca09fec66594aa77313cd84f66a3fe569b39306ba937fd1f8459e5140aa2154599d805197e68806e16b51958e52f0c21792c442b7c1e62a SHA512 0469dd043578bd2f4bd12f22c10879c009be1907e34b41f5c6b4ff3d4e824a5320292308d5fd40c645a14589547b3432c7331400b2c4e64723a1e79a1ab66242 +DIST pyphen-0.17.0.tar.gz 2072773 BLAKE2B 14c7700854dfe952ff24f7d8fcd80b2287fda4e53dfd57c8cfc506162641a5f13031a0f49b3e0868e1adf050a6fb736b87b95cb5136b90e545b1328d61774a2a SHA512 2f856e9d7f404c515bc7c4c26f4a60664d1f22e08d078818d008d87809e76e4a56976169a131bb368785bd4b01b4c08b2699702afa721d498eb715eb797dc3e2 diff --git a/dev-python/pyphen/pyphen-0.17.0.ebuild b/dev-python/pyphen/pyphen-0.17.0.ebuild new file mode 100644 index 000000000000..475a9539664b --- /dev/null +++ b/dev-python/pyphen/pyphen-0.17.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python module for hyphenation using hunspell dictionaries" +HOMEPAGE=" + https://github.com/Kozea/Pyphen/ + https://pypi.org/project/pyphen/ +" + +LICENSE="GPL-2+ LGPL-2+ MPL-1.1" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +distutils_enable_tests pytest + +python_test() { + epytest -o addopts= +} diff --git a/dev-python/python-openstackclient/Manifest b/dev-python/python-openstackclient/Manifest index 2a613ad77bcc..97bf88622e12 100644 --- a/dev-python/python-openstackclient/Manifest +++ b/dev-python/python-openstackclient/Manifest @@ -1,2 +1,3 @@ DIST python-openstackclient-7.1.3.tar.gz 946836 BLAKE2B e9e5a4a43619d1681080f3d980017098e615eb624c465bb6d69303b49e69307e336d1a6076eb0bb2198fac7992bf3eeb77a4945197152e270b996222cde0dee4 SHA512 fc97809ffecd051d61f300e82d71a0fe8e4fd4b4e3ae22ce99f3ae2363cfb82c70c8f42dd61ca105f46c691a0fed4e6225dcd7af644e48f2c56b33197ead169e DIST python-openstackclient-7.2.0.tar.gz 947396 BLAKE2B b323d320a5235b5899f5dd03f7e236b0043b432d98ca513f955e00a78bda8b2e392706ab5e565014d3a43c544196e1fb3059e222f6296772ab78ab2dfa21a714 SHA512 36a1314c80320baaf02250aa4140913336f10394b7477b3b3f99c23a2cd43e575b7a2fd9416731f2d12cc78cda84ef076c9a7649852cfb38442b97b3bb4cccf1 +DIST python-openstackclient-7.2.1.tar.gz 947778 BLAKE2B 44274861d6f14852184f89520e08ddc5a0b88a97473708eac092fa8d4992b1174efa698530c917c15e212a28aff4487ffcd3c58bb530dc3450cfe2f7fa1dc09d SHA512 12009df28accc4c6076bc6d4c0a418ee0600bbca73f126ba58caff2c211839b38d8812fded09d93154781586aa6ee7b92a7c1ea6cb07f01a6e31a2a0655d3786 diff --git a/dev-python/python-openstackclient/python-openstackclient-7.2.1.ebuild b/dev-python/python-openstackclient/python-openstackclient-7.2.1.ebuild new file mode 100644 index 000000000000..ca3cf1b09f86 --- /dev/null +++ b/dev-python/python-openstackclient/python-openstackclient-7.2.1.ebuild @@ -0,0 +1,61 @@ +# 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 +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A client for the OpenStack APIs" +HOMEPAGE=" + https://opendev.org/openstack/python-openstackclient/ + https://github.com/openstack/python-openstackclient/ + https://pypi.org/project/python-openstackclient/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + >=dev-python/cliff-3.5.0[${PYTHON_USEDEP}] + >=dev-python/cryptography-2.7[${PYTHON_USEDEP}] + >=dev-python/openstacksdk-3.3.0[${PYTHON_USEDEP}] + >=dev-python/osc-lib-2.3.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >=dev-python/python-keystoneclient-3.22.0[${PYTHON_USEDEP}] + >=dev-python/python-cinderclient-3.3.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.27.0[${PYTHON_USEDEP}] + >=dev-python/stevedore-2.0.1[${PYTHON_USEDEP}] +" +BDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + test? ( + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + >=dev-python/tempest-17.1.0[${PYTHON_USEDEP}] + >=dev-python/wrapt-1.7.0[${PYTHON_USEDEP}] + >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + # Depends on a specific runner + sed -e 's/test_command_has_logger/_&/' \ + -i openstackclient/tests/unit/common/test_command.py || die + + distutils-r1_src_prepare +} + +python_test() { + # functional tests require cloud instance access + eunittest -b openstackclient/tests/unit +} diff --git a/dev-python/python-tests/python-tests-3.13.0.ebuild b/dev-python/python-tests/python-tests-3.13.0.ebuild index f4eb601b1982..864e60267ef2 100644 --- a/dev-python/python-tests/python-tests-3.13.0.ebuild +++ b/dev-python/python-tests/python-tests-3.13.0.ebuild @@ -28,7 +28,7 @@ S="${WORKDIR}/${MY_P}/Lib" LICENSE="PSF-2" SLOT="${PYVER}" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND=" diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest index c2e56400252b..647d8f8057cb 100644 --- a/dev-python/setuptools/Manifest +++ b/dev-python/setuptools/Manifest @@ -1,2 +1,3 @@ DIST setuptools-74.1.3.tar.gz 1356471 BLAKE2B c59476710f10aae77f8b466ce2b072966a889b13c3e2e2a9524497ce43893bcd296412f8e0be8a3ccaa9be46b429680c11fe291095a65a185243701fa667be6c SHA512 7892d1ff0a1cd90f6cd367536392bf2933d354eb61d5177a01218b253bc254b51e74c040601adf35aff1652f1e1c6dbffca3cdce3f4fc32b8bd23c36cd885ddc DIST setuptools-75.2.0.tar.gz 1350308 BLAKE2B ec4e91f12a76075c26f14c82109258d285840a5ac49a57f3b7e96160ef126e477ba969483d8afc3d35874e14d9d3804f5009d62cb2e1a5245d24d31800d48a4a SHA512 1c508ae3028ae991215b1953398aee5fcf6df0ae2294cc2e31bf8f3c67a306b6cbe2b78e4d855271be8df8a82135fccc8baa05df905fe964d45e5888abf51add +DIST setuptools-75.3.0.tar.gz 1351577 BLAKE2B 1f3812a3b6dea6df6a8b3bec2d570405075dc3ed386d8e4fec0d37f2a3c39e93149b8f01b6044a7fa85578e8d39151f1fe1b896d09a87cde9574b98641b8d510 SHA512 281f5cce6fd4aa51b3642a6aae3dce29551ccef083994f0bd267367d3f8b1f81c92cb8f858d7d052ebd7197295316918b3d16a58c6986bdf59bc1d32c7b6277a diff --git a/dev-python/setuptools/setuptools-75.3.0.ebuild b/dev-python/setuptools/setuptools-75.3.0.ebuild new file mode 100644 index 000000000000..332dd0bcec8f --- /dev/null +++ b/dev-python/setuptools/setuptools-75.3.0.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +# please bump dev-python/ensurepip-setuptools along with this package! + +DISTUTILS_USE_PEP517=standalone +PYTHON_TESTED=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Collection of extensions to Distutils" +HOMEPAGE=" + https://github.com/pypa/setuptools/ + https://pypi.org/project/setuptools/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + !<dev-python/setuptools-rust-1.8.0 + dev-python/jaraco-collections[${PYTHON_USEDEP}] + dev-python/jaraco-functools[${PYTHON_USEDEP}] + >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] + >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] + >=dev-python/packaging-24[${PYTHON_USEDEP}] + >=dev-python/platformdirs-4.2.2[${PYTHON_USEDEP}] + >=dev-python/wheel-0.44.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.10) + !<=dev-libs/gobject-introspection-1.76.1-r0 + !=dev-libs/gobject-introspection-1.78.1-r0 + !=dev-libs/gobject-introspection-1.80.1-r1 +" +BDEPEND=" + ${RDEPEND} + test? ( + $(python_gen_cond_dep ' + >=dev-python/build-1.0.3[${PYTHON_USEDEP}] + >=dev-python/ini2toml-0.14[${PYTHON_USEDEP}] + >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}] + >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}] + >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}] + >=dev-python/jaraco-test-5.5[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/pip-run[${PYTHON_USEDEP}] + dev-python/pyproject-hooks[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + >=dev-python/pytest-home-0.5[${PYTHON_USEDEP}] + dev-python/pytest-subprocess[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" +# setuptools-scm is here because installing plugins apparently breaks stuff at +# runtime, so let's pull it early. See bug #663324. +# +# trove-classifiers are optionally used in validation, if they are +# installed. Since we really oughtn't block them, let's always enforce +# the newest version for the time being to avoid errors. +# https://github.com/pypa/setuptools/issues/4459 +PDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + >=dev-python/trove-classifiers-2024.10.16[${PYTHON_USEDEP}] +" + +src_prepare() { + local PATCHES=( + # TODO: remove this when we're 100% PEP517 mode + "${FILESDIR}/setuptools-62.4.0-py-compile.patch" + ) + + distutils-r1_src_prepare + + # breaks tests + sed -i -e '/--import-mode/d' pytest.ini || die + + # remove bundled dependencies + rm -r */_vendor || die +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + return + fi + + local EPYTEST_DESELECT=( + # network + setuptools/tests/test_build_meta.py::test_legacy_editable_install + setuptools/tests/test_distutils_adoption.py + setuptools/tests/test_editable_install.py + setuptools/tests/test_virtualenv.py::test_no_missing_dependencies + setuptools/tests/test_virtualenv.py::test_test_command_install_requirements + # TODO + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors + # expects bundled deps in virtualenv + setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist + setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel + # fails if python-xlib is installed + setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts + # TODO, probably some random package + setuptools/tests/config/test_setupcfg.py::TestOptions::test_cmdclass + # broken by unbundling + setuptools/tests/test_setuptools.py::test_wheel_includes_vendored_metadata + # fails on normalized metadata, perhaps different dep version? + setuptools/tests/test_build_meta.py::TestBuildMetaBackend::test_build_with_pyproject_config + # TODO + setuptools/tests/test_sdist.py::test_sanity_check_setuptools_own_sdist + ) + + local EPYTEST_XDIST=1 + local -x PRE_BUILT_SETUPTOOLS_WHEEL=${DISTUTILS_WHEEL_PATH} + epytest -o tmp_path_retention_policy=all \ + -m "not uses_network" setuptools +} diff --git a/dev-python/simsimd/Manifest b/dev-python/simsimd/Manifest index 406be64ee6aa..4c8e4073a19b 100644 --- a/dev-python/simsimd/Manifest +++ b/dev-python/simsimd/Manifest @@ -1,3 +1,4 @@ DIST SimSIMD-5.8.0.gh.tar.gz 183559 BLAKE2B 2df0eac6eff58bc6c460b37cb7c523eae5d7e77d516bc7182ef3b39d033a1028d40536aaf99ad8ec8c28b4908ff873079ff0ca3d74acd1f763b0faaa5d4e225e SHA512 4e68050379dfe42e6c36a88a0defad0d941c873bda66cb4c65bd8367b07bca99a5c5d6eec7c8e39b15ad1b8e5bcc9dc7f43457d8552e9d72faefb88b03ad6f9b DIST SimSIMD-5.9.2.gh.tar.gz 201732 BLAKE2B 2ca654f964fba71e54b8383390021fe87a731a85cac2509319944a3d0c0f60a09a7c1cf2fdb16a78ca20f3b7618e40960f2eac6c65fae6a06e583504df35890a SHA512 cf32776e05b91784d9a3a7d86a73a91549a22ce4612124f88412bb12bd356c654ce4e70c6a436f731d832a65cba8827d1100ff26f2b88fcaa234057f17d19aeb DIST SimSIMD-5.9.3.gh.tar.gz 201742 BLAKE2B b0bb57f6f2ae787b73a42997126f0bb8dce5dbf0f052d9145a6b79d72ac922e4da5c382e9c1a0104b6f8199c1f23dfa513f8a9134f772e4e25264678b030e908 SHA512 308bd69c41d2b668d4c4a147afdb2ea27aea6d8210affafe321681dc56542f59d241cc4a767d82fe9f85938545ecdd7f96c2533067d503529db730ab10ecc73e +DIST SimSIMD-5.9.6.gh.tar.gz 201831 BLAKE2B 4a3af9caf6eceb98faac93fa4bb5cea56b7bac3f128022c28f5f56504441c16326552c1ee22a1fbaad8740434060ff4c1c47dd18d83134fdff976897df83ede6 SHA512 1c149c622a71feca1dcef99d626fbb080cdaacac7c0b333362220d733a696bc58a5c1952025ad5d13c4bdc33060ebe3f00d9bf8da9ece283c148dac70d32d5a3 diff --git a/dev-python/simsimd/simsimd-5.9.6.ebuild b/dev-python/simsimd/simsimd-5.9.6.ebuild new file mode 100644 index 000000000000..61d7aca0a9fa --- /dev/null +++ b/dev-python/simsimd/simsimd-5.9.6.ebuild @@ -0,0 +1,64 @@ +# Copyright 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_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 toolchain-funcs + +MY_P=SimSIMD-${PV} +DESCRIPTION="Fastest SIMD-Accelerated Vector Similarity Functions for x86 and Arm" +HOMEPAGE=" + https://github.com/ashvardanian/SimSIMD/ + https://pypi.org/project/simsimd/ +" +# no sdist, as of 4.3.1 +# https://github.com/ashvardanian/SimSIMD/issues/113 +SRC_URI=" + https://github.com/ashvardanian/SimSIMD/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="openmp" + +BDEPEND=" + test? ( + dev-python/pytest-repeat[${PYTHON_USEDEP}] + dev-python/tabulate[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]] && use openmp; then + tc-check-openmp + fi +} + +pkg_setup() { + if [[ ${MERGE_TYPE} != binary ]] && use openmp; then + tc-check-openmp + fi +} + +src_prepare() { + sed -i -e '/-O3/d' setup.py || die + if ! use openmp; then + sed -i -e '/-fopenmp/d' setup.py || die + fi + + distutils-r1_src_prepare +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p repeat scripts/test.py +} diff --git a/dev-python/zenlib/Manifest b/dev-python/zenlib/Manifest index 2a13f395e390..f6a0fc2a4ab7 100644 --- a/dev-python/zenlib/Manifest +++ b/dev-python/zenlib/Manifest @@ -1,3 +1,4 @@ DIST zenlib-2.2.0.tar.gz 17727 BLAKE2B 073bbaa252ab000a30602e0a603a8293b8c3a322374ad4172758a6c95d52483b03cc84d4b72aa868168bde03796defb3efca85682ca8f7b7fce6243d8112198f SHA512 4b324e1b56d757536a80d4d5fe31d4087ee8e1a0aa1ff8a19a43252033ea6e5115c55c5c6d69bcae8594bc36c84625b75df2ce93a2f49f7b885179aa05b45d80 DIST zenlib-2.2.4.tar.gz 17734 BLAKE2B 9c054eafaa8a70231f9ffca241aad0fdd49257f77de02d47ca0fed7636c06a95923b1398ce8b11de7e690aa7be6762e4e0576b82edae15977f6f0b20a7c31c10 SHA512 ad1be96b6cd4f46e342e012cbd93b76fd051b7cd2d03d23b0065978b1d0a15a751ad5866322fd69b70890ed18f154355556b9b8402e6f19d17175340c1b5a0d3 DIST zenlib-2.3.1.gh.tar.gz 20491 BLAKE2B 581b847ee79a5a181123225a67f444e42700fed4428a1aa67b033af12aaa53aa971653004539fc56e2a5398be6fa2a89912b7f2fbdb53d10b694fed44ccc6e83 SHA512 9e0be0021df0c60c90429ba1c270f492715e0b09d7911c37f0cd979834556e0dc479374f46f63e2fc78e1925f87a74532311b3daf8a82abd22f63aeff3a2b27e +DIST zenlib-2.3.2.gh.tar.gz 20508 BLAKE2B 78ab80cbd1c4c71045900f6ddf3896a743fec2780a1645a7f10fd5678574cc68972321c28ae69b2fa60bcc6292691421c24e0b5c1c8326577d0a6e19a9a098b6 SHA512 08fec47999cf56d8db2bd585f9246708a0c566b529d9ddb49daca8c97a3b2e188217513087ede0c36d8182ff088d37483bc14539a35f51d2aca5d897c7479a99 diff --git a/dev-python/zenlib/zenlib-2.3.2.ebuild b/dev-python/zenlib/zenlib-2.3.2.ebuild new file mode 100644 index 000000000000..86ec550ccfbe --- /dev/null +++ b/dev-python/zenlib/zenlib-2.3.2.ebuild @@ -0,0 +1,26 @@ +# 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_{9,10,11,12,13} ) + +inherit distutils-r1 + +DESCRIPTION="Useful python decorators and utilities" +HOMEPAGE="https://github.com/desultory/zenlib/" +SRC_URI=" + https://github.com/desultory/zenlib/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +distutils_enable_tests unittest + +python_test() { + eunittest tests +} |
