diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-07-21 18:19:40 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-07-21 18:19:40 +0000 |
| commit | 2e05ce574cec4fa14f588f7093436ac8198cc89f (patch) | |
| tree | 344aebe8f936c9c984f62a07ba9da89ecf39820e /dev-python | |
| parent | eed3533351c8dc742ba4d3e056073bb9f7ca3cbf (diff) | |
| download | baldeagleos-repo-2e05ce574cec4fa14f588f7093436ac8198cc89f.tar.gz baldeagleos-repo-2e05ce574cec4fa14f588f7093436ac8198cc89f.tar.xz baldeagleos-repo-2e05ce574cec4fa14f588f7093436ac8198cc89f.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
61 files changed, 1243 insertions, 778 deletions
diff --git a/dev-python/Faker/Faker-19.2.0.ebuild b/dev-python/Faker/Faker-19.2.0.ebuild new file mode 100644 index 000000000000..9fd3af59256e --- /dev/null +++ b/dev-python/Faker/Faker-19.2.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 2022-2023 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_{7,8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python package that generates fake data for you" +HOMEPAGE=" + https://github.com/joke2k/faker/ + https://pypi.org/project/Faker/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] + !dev-ruby/faker +" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP},tiff] + dev-python/validators[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/Faker/Manifest b/dev-python/Faker/Manifest index c4e4adcc9f94..b29d182ceeb0 100644 --- a/dev-python/Faker/Manifest +++ b/dev-python/Faker/Manifest @@ -2,3 +2,4 @@ DIST Faker-18.11.2.tar.gz 1670644 BLAKE2B 0496e9d2169932fd158b8eb62693d1c7f833c0 DIST Faker-18.13.0.tar.gz 1672316 BLAKE2B c7b3a040276508c8d08c184e90dfd054d62ef635299e637476fedf0d3e01d0e311bd855c4df39dd449244c07c71a1fe216063c07a3abef69f8ec8fa967124769 SHA512 b5cd907d962f39d15001d0218993dd6b4f65ac6252fcb1c72bbb2905a585ad26d0f7c6807cef43b41ce430122fe4730d26f57f119bc3547a432d133e87d98beb DIST Faker-19.0.0.tar.gz 1673020 BLAKE2B f3be24f29eb870535034afdecd57d0172b8cbc4f9228796373eab9f5be3211d39134d94f9c3543a0387579a5ed7d0434b9eede12b824b93652ee4b2d964f5835 SHA512 fdc3d0618dae04fa1f4fc3ce8d10a353d8272059c557729e93891e59c85b0c03e11009febfd5d500ab5425b6ba4446c9df72f84bc1f632c0cec76a761bd8c9f2 DIST Faker-19.1.0.tar.gz 1673101 BLAKE2B 92349e38c72fc85fcb0711555645ca3745015df485ba3e366000e71d620f14bad18b1b26fe5e456e18269ba867daf0ba42779623afbc96e5f64fb0537c842d9b SHA512 4fa11f479e78ac4835f00f17ce99aebf17d88e626548094f122dccb78f6caddde8cd058f33f2dc304725049e75e9f1c42b549ff139ed0d9d798bbb630bb1e80a +DIST Faker-19.2.0.tar.gz 1676517 BLAKE2B f9204266add7bf042c3993196474aeb633986932ee8ab2e83985a88e5e5639219efbadcf54c2359ada4c118744fb0d4af858a4bf70a957f467599dcd2bbfac7a SHA512 96c5b1c02faef86e924ecca68d734f51e41da9e1f9e1f0ca1634b289717ff2af5596e4b713352047156d8478ae80006dc98897b48c8b20ce0e210e65c7dcb81d diff --git a/dev-python/argcomplete/Manifest b/dev-python/argcomplete/Manifest index c1284b38a097..b153419f377c 100644 --- a/dev-python/argcomplete/Manifest +++ b/dev-python/argcomplete/Manifest @@ -1,2 +1 @@ -DIST argcomplete-3.0.8.tar.gz 56035 BLAKE2B 0b63eff175c2780b63d07ef48169054705a4af5b0e7f1097fc74e525592491d42a48615b766e32cb69a673e26d867cae84fb23b98194c9fe618409d3eb312b83 SHA512 4667f0d03485c81048c53ecfd53fa1bbe50beea15f723f3ebd8a92aae37dd2bbca709f9b6a1e0a5a682f9e769883f94614b4fcefc1fd7c9fad9f1d8cbc1429f3 DIST argcomplete-3.1.0.tar.gz 89193 BLAKE2B de081c6c2a053835fde0e6fd446e7f310fae2e39dfd7dd0afd12c350ea6518623115f575a5b4479f466071f6c699ff336ee19dbe4ef02ae8e886ceef53cb0afc SHA512 43c28971661c1af0de9a69b05925ef83b6a8e9b007567d2e4a6344d2c1f34ee280e4306718eb6abad0883a96a2f8b4f4242f1436b0e7709944f4ec48a119e66d diff --git a/dev-python/argcomplete/argcomplete-3.0.8.ebuild b/dev-python/argcomplete/argcomplete-3.0.8.ebuild deleted file mode 100644 index b9b484fa6c48..000000000000 --- a/dev-python/argcomplete/argcomplete-3.0.8.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Bash tab completion for argparse" -HOMEPAGE=" - https://github.com/kislyuk/argcomplete/ - https://pypi.org/project/argcomplete/ -" - -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 ~x64-macos" -IUSE="test" -RESTRICT="!test? ( test )" - -# pip is called as an external tool -BDEPEND=" - test? ( - app-shells/fish - app-shells/tcsh - app-shells/zsh - dev-python/pexpect[${PYTHON_USEDEP}] - >=dev-python/pip-19 - ) -" - -src_prepare() { - sed -i -e 's:timeout=5:timeout=180:' test/test.py || die - distutils-r1_src_prepare -} - -python_test() { - "${EPYTHON}" test/test.py -v || die -} diff --git a/dev-python/argcomplete/argcomplete-3.1.0.ebuild b/dev-python/argcomplete/argcomplete-3.1.0.ebuild index a8131e060a2c..b9b484fa6c48 100644 --- a/dev-python/argcomplete/argcomplete-3.1.0.ebuild +++ b/dev-python/argcomplete/argcomplete-3.1.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" 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 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/backrefs/Manifest b/dev-python/backrefs/Manifest index 76240d75b98c..4d15e056d1c2 100644 --- a/dev-python/backrefs/Manifest +++ b/dev-python/backrefs/Manifest @@ -1,2 +1 @@ -DIST backrefs-5.4.gh.tar.gz 4292341 BLAKE2B 9cbc443b82d2c7339dda30c6790f99d2da38a7e8db78df19e2dc2670c5cc12b1c303870fc63aad16f326b0dfd5d3d1e7c1a85bcde6cb698cd3602488b7e58ef3 SHA512 2949c40bfa60b37eccfd380eb05e5a7f425cad243d6bb332e6f329a1b9747760ca530d4af69daa25441bc9b0d2bd6291699aebf36bd52d055d4e84959ab45100 DIST backrefs-5.5.gh.tar.gz 5401839 BLAKE2B e8674de4b1f9a068bf7439e56fd14de8afed0635b0f6fe3c99c64b678890939186c7aa2d660bee73d51e01cc982186bddeaf2e4bea5754c1a234992d518f8004 SHA512 00074d30a96da6bd0aedcd3cec02f533a264514832d91ff466a50937fae28566fe95db7fbedc7ffd185300b9529adf7f89bd4366e09f2bd864fa4f0f13963475 diff --git a/dev-python/backrefs/backrefs-5.4.ebuild b/dev-python/backrefs/backrefs-5.4.ebuild deleted file mode 100644 index ba32a50f5fba..000000000000 --- a/dev-python/backrefs/backrefs-5.4.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="Wrapper around re or regex that adds additional back references" -HOMEPAGE=" - https://github.com/facelessuser/backrefs/ - https://pypi.org/project/backrefs/ -" -SRC_URI=" - https://github.com/facelessuser/backrefs/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~riscv x86" - -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/regex[${PYTHON_USEDEP}] - dev-vcs/git - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/backrefs/backrefs-5.5.ebuild b/dev-python/backrefs/backrefs-5.5.ebuild index 67130a12abaa..ba32a50f5fba 100644 --- a/dev-python/backrefs/backrefs-5.5.ebuild +++ b/dev-python/backrefs/backrefs-5.5.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" +KEYWORDS="amd64 ~riscv x86" BDEPEND=" test? ( diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 67cc6f8acb25..eac64a3fd286 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -13,3 +13,4 @@ DIST boto3-1.28.3.gh.tar.gz 675019 BLAKE2B 93b29307fbfec4e61dc60d28e4f20392ae2a7 DIST boto3-1.28.4.gh.tar.gz 675638 BLAKE2B e5d4cd28b61a79c54c28355003a097f7b40c5c4246c0f755886053214a50fb118c23999e86ae6afe4effdacd0c6ab6847c295d0420ab69986e84a5167278dc41 SHA512 44e89c1455c51032dae1c6745654edea2e44adf9874d726f35ed9edd1de7bc9a571d3fcfa2477b2178b7b028c33e9044745be0d66239eaeee9065cbce112aa54 DIST boto3-1.28.5.gh.tar.gz 676044 BLAKE2B b54fb3a76b9cf67a07ae95b669b6eb5a1a26aa105ea2d3a36a638099741411103f6714a50cfbd57a25b1aeeafb497d66d0324496e5986efa8aea97fc1e522d84 SHA512 437b332121384def9a16a1e83f39fd83564189421bb9d27d8f7f9f5976ca08c1089729b2ea2f9c66c200cf2f78c27c3da120d4b8fdf76b2a68f9ced2e8576c27 DIST boto3-1.28.6.gh.tar.gz 676887 BLAKE2B 997ea4b082bd427461babcbca5f5a230df0a6479359a40193698eb629be88528799c7912ff8194053f50a7d3b8c5e5e78477be5958943d22166b7f9d3f7bfb91 SHA512 67beb7986d514c8695025d5becad5e562a955b97970e26c878b80fb076d877a1479742aac74563a73569e8f5e4ccd465e564751b236147c8fc64da0855b93368 +DIST boto3-1.28.8.gh.tar.gz 677637 BLAKE2B 19f91014a394b67854ac0fc04a7b8a3e1bfb3df5a1b2f5717a739d8b2461ca049dfff7fefb9145432002742ae8613ef13a7d63b56f63bd6bddb81fb58197f625 SHA512 e6e48c601d6426b94ec648438381f0b9960af760e1a5889677124c41ffe2cff54da84b1a4be6dbfce6fcf57a5fcda74b8b9745f709cf7e1031ec4928d7c73b2d diff --git a/dev-python/boto3/boto3-1.28.8.ebuild b/dev-python/boto3/boto3-1.28.8.ebuild new file mode 100644 index 000000000000..03c610b184f7 --- /dev/null +++ b/dev-python/boto3/boto3-1.28.8.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/boto3" + inherit git-r3 + BOTOCORE_PV=${PV} +else + SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + + # botocore is x.(y+3).z + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" +fi + +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +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() { + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index d4dba08b962d..ce20df69d904 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -13,3 +13,4 @@ DIST botocore-1.31.3.gh.tar.gz 11769948 BLAKE2B 452c494faa430b6782685b9960cc9ea1 DIST botocore-1.31.4.gh.tar.gz 11774619 BLAKE2B aa6abcb1ecc71d22d426b734574b445aa92d646cc8ce489257582b45ee02a86c96b8f348f3cb413dfb58b75035b27893b22d677e3cfecb78be07e2196b6c1fbe SHA512 920cf3efc70fd281ea244c71ffe6f2c1628f5511e5f367d64e26f9f2ac89cb97dd41c4cbf62861df1e71a8f23dcdf8b090fd9281cd48a67f9b73c150d64eb645 DIST botocore-1.31.5.gh.tar.gz 11784692 BLAKE2B f963c251cee13173af440f3e034d71f93195486cc3ae450200ff55284fcaae108905c88a0421b9561165ab6397ba42d3b7740f5d9033448a0bf4b625ee9ecccc SHA512 a566f035b215aec6f1f93e0652d78927b3bf7af4d3b176fd51fee147451ada71bc5a37d97c4011cd8eb563ddd945ee74b4aa5b1fac566ccce71fb9b9265867c3 DIST botocore-1.31.6.gh.tar.gz 11797432 BLAKE2B 64064fd27c75ce647c3bae6957e4faea47b99b8ae14123e483597a0ae1600ebc0cae832ba16d35cf32fe77ea525533f7cd04b1ba22ac95dd9301af76054456fe SHA512 f42485b4de7eab3990d4e3a45c887b2d82dbe4a86740fc766501fff8f2e5fd011a0e190a3563c1fa06b05c457c77bfac0dbd0f67a62d7befe69d4a57143683e4 +DIST botocore-1.31.8.gh.tar.gz 11783366 BLAKE2B e5ec15b22ab291abb13bccab51eb961c2840070d03cb9ba12359d59e88d793421e92ae491c20d5f12820ae4f1a7b16f694bcb5bd62b663c27d65c9b03ac1bcfc SHA512 44a21b37bf4e5459268b7edf4d218f2e044ebf4e6020f7dc603be5dac973c57537d72a77f17a080aca5c61de1b902fb77b720a1630f4c1a143be798cacb1ccab diff --git a/dev-python/botocore/botocore-1.31.8.ebuild b/dev-python/botocore/botocore-1.31.8.ebuild new file mode 100644 index 000000000000..509d06dedf97 --- /dev/null +++ b/dev-python/botocore/botocore-1.31.8.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +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 + # fails on unrelated warnings + tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME + tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME + # TODO + tests/functional/test_credentials.py::SSOSessionTest::test_token_chosen_from_provider + # urllib3-2 compatibility, mock relies on implementation details + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_expect_100_continue_no_response_from_server + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_expect_100_continue_returned + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_expect_100_continue_sends_307 + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_expect_100_sends_connection_header + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_handles_expect_100_with_different_reason_phrase + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_state_reset_on_connection_close + ) + + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +} diff --git a/dev-python/caldav/Manifest b/dev-python/caldav/Manifest index bfc982d8ebfa..f440c3e57fbe 100644 --- a/dev-python/caldav/Manifest +++ b/dev-python/caldav/Manifest @@ -1,2 +1,3 @@ DIST caldav-1.2.1.gh.tar.gz 122700 BLAKE2B 21b8ddf512371d192aa2360a0f7bba4b7377defb1cdd830a4c78be86bf3a44689733cd742337a60894b99d0e80615b4005b620a7e8159d7ca708eb9fe1401402 SHA512 788b92a92f4d986b37fa8e237a5cbb3e18a7f596f7799362cf999b7b4981572de7982b352ffd835a51a583bc61eaf8d62fb5bdd31d07377197db887c54ce65bd DIST caldav-1.3.5.gh.tar.gz 122421 BLAKE2B 049ca9bfa2aee3475a15b388c7ba07f0bdf4c51893fb4cb16ce3d56df269e4514727b28540c2e84176242f8ad5216635885fda5d9ee3789235093136f9a6e586 SHA512 d249548542f70fd15b08275cf9fc086843263d4b54b45816542a01cfeba78cc869623cc8fe010acc31faaa301b7b163e85ff4899e4be1282bd3869cb2c2c2b8e +DIST caldav-1.3.6.tar.gz 104671 BLAKE2B 9792074a91f54d9a300676b4a63ab3fc55650f94038863ebe9045b160f0936192cc597a9d3049d08e42023fe37498ab4fb7850680133ccd2f9ee5fb471fde690 SHA512 16b8b3c89efb97dc1629da075e3573cc87c7bbf5e7800008a02c0db339bdd5cdd72f3e939dd2581983cb6a6c5f1eb9d5715ef3c687cb73ff1777fdb778a51c81 diff --git a/dev-python/caldav/caldav-1.3.6.ebuild b/dev-python/caldav/caldav-1.3.6.ebuild new file mode 100644 index 000000000000..f7bb0bb1de32 --- /dev/null +++ b/dev-python/caldav/caldav-1.3.6.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="CalDAV (RFC4791) client library for Python" +HOMEPAGE=" + https://github.com/python-caldav/caldav/ + https://pypi.org/project/caldav/ +" + +LICENSE="|| ( GPL-3 Apache-2.0 )" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/icalendar[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + >=dev-python/recurring-ical-events-2.0.0[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/vobject[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/tzlocal[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index 032aee244173..2a5e1861e68d 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -1,2 +1,3 @@ DIST cfn-lint-0.77.10.tar.gz 3488571 BLAKE2B 6b828c760bf93f1d31fe7d24d76cea63c91ed3f73837382898c4f60aea30d667b28065e4004a6fe62bee04141baa1b3baf576f30af4c823f7980d48c97e2602b SHA512 e5ca37620d33d199295d43d81c7390e181281418681fedbaaedca01a1128b8680451fba5ce429875c2242fefad8cfd234bb919fe948bbf9cdc442bb064d84972 DIST cfn-lint-0.78.1.tar.gz 3507466 BLAKE2B 2f22cd8241eec3a26a191fc12e6e4781513e45b5ee7540d3e59d6a1f9780142ce114d3ee2ea8e05b5425a2b111dd706447045961d05e7bb3b873eb837dc98a38 SHA512 5862c3efc51e274754a5d7eba9c53a16c87933eaadc0cc8fbb2f211c07040d24d828d30922870e02bdf0758ec4417426d827ab76840332775d765714a67a3850 +DIST cfn-lint-0.78.2.tar.gz 3533168 BLAKE2B 043991f54cd6d793fc91af8d911184d6a98be34fb9a5735fd45113405707802fd0427654cf21de4c15b62fecd149a5d21af1b96ddf8810eb6ea507b5798a8d94 SHA512 63c575ba282cb097b321a8a00e70b1afdffd3c349e031d8a1ff2aacaeb397824e9f19968e2107a00d1aae6d7f644f376174ecc80389ee581727935867d73872e diff --git a/dev-python/cfn-lint/cfn-lint-0.78.2.ebuild b/dev-python/cfn-lint/cfn-lint-0.78.2.ebuild new file mode 100644 index 000000000000..15a3078b7cf3 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-0.78.2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2023 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_{7,8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="CloudFormation Linter" +HOMEPAGE=" + https://github.com/aws-cloudformation/cfn-lint/ + https://pypi.org/project/cfn-lint/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/aws-sam-translator-1.71.0[${PYTHON_USEDEP}] + dev-python/jsonpatch[${PYTHON_USEDEP}] + >=dev-python/jschema_to_python-1.2.3[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] + dev-python/junit-xml[${PYTHON_USEDEP}] + <dev-python/networkx-4[${PYTHON_USEDEP}] + >dev-python/pyyaml-5.4[${PYTHON_USEDEP}] + >=dev-python/requests-2.15.0[${PYTHON_USEDEP}] + dev-python/regex[${PYTHON_USEDEP}] + >=dev-python/sarif_om-1.0.4[${PYTHON_USEDEP}] + >=dev-python/sympy-1.0.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + # unpin the deps + sed -e 's:~=[0-9.]*::' -e '/jsonschema/s:,<4.18::' -i setup.py || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO + test/unit/module/test_template.py::TestTemplate::test_build_graph + # requires git repo + test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs + # Internet + test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter + test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3 + # TODO: it looks as if AWS_DEFAULT_REGION didn't work + test/unit/module/core/test_run_cli.py::TestCli::test_bad_config + test/unit/module/core/test_run_cli.py::TestCli::test_override_parameters + test/unit/module/core/test_run_cli.py::TestCli::test_positional_template_parameters + test/unit/module/core/test_run_cli.py::TestCli::test_template_config + ) + + # from tox.ini + local -x AWS_DEFAULT_REGION=us-east-1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/cssutils/Manifest b/dev-python/cssutils/Manifest index 89724ac003fb..ea82dbfc3ab4 100644 --- a/dev-python/cssutils/Manifest +++ b/dev-python/cssutils/Manifest @@ -1,3 +1 @@ -DIST cssutils-2.6.0.tar.gz 723259 BLAKE2B 6548e87c78fe6b850b98989521c27cebd4170939517edca895c2787c1367e1c6dc94308355f7dd2e1dee7194f88bd025b72c801cd9b90f8a08ab244f6a4e890e SHA512 95ce26cc4816e7750fc0f1e0c4ac60f176e3c7b3ea1871440bf937d442e0f8626f9e4c75622c0ea3a84d68ceb4b768544e9642936beb87eff1b55117ce47b311 -DIST cssutils-2.7.0.tar.gz 724282 BLAKE2B db2b56bc919d266b6f5f3c334c424748b94dc754a7734af3d09551918bff669fcc16b2da4466ebd22439b8056084126cd90c49b1282613ce2242dfdba251d4c9 SHA512 378ae1f263dcc2fc3f523e1e33977ebb5b46a16cf642aa067ea97f2293d94932dea1cddd825562041145995b6d899b8912add6055425b47c3baba97db05a2dab DIST cssutils-2.7.1.tar.gz 724365 BLAKE2B 352525fbc782280dd026ffcd88152cd77ba2bbe0aa57b4dd41ff40f27b5256cc1ccecf038970da0b07d08b0780b5d161b18aecc4343972a335d1bafd97ee1f51 SHA512 719b1b0866dd51e9b464659d861caa5eadfb1821b902824064fbf7843b6a2f5cfceb33f1deb2b7aa5dfc3306c94e8e86441aa014ec0c5bf133d5b1c13463b2db diff --git a/dev-python/cssutils/cssutils-2.6.0.ebuild b/dev-python/cssutils/cssutils-2.6.0.ebuild deleted file mode 100644 index 5c2ad3e26a7c..000000000000 --- a/dev-python/cssutils/cssutils-2.6.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A CSS Cascading Style Sheets library" -HOMEPAGE=" - https://pypi.org/project/cssutils/ - https://github.com/jaraco/cssutils/ -" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 arm arm64 ppc x86" - -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/cssselect[${PYTHON_USEDEP}] - >=dev-python/jaraco-test-5.1[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # network - encutils/__init__.py::encutils - cssutils/tests/test_parse.py::TestCSSParser::test_parseUrl - examples/website.py::website.logging - ) - local EPYTEST_IGNORE=( - # path mismatch with "parse" package - examples/parse.py - ) - - epytest -} diff --git a/dev-python/cssutils/cssutils-2.7.0.ebuild b/dev-python/cssutils/cssutils-2.7.0.ebuild deleted file mode 100644 index 170d26ee976c..000000000000 --- a/dev-python/cssutils/cssutils-2.7.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A CSS Cascading Style Sheets library" -HOMEPAGE=" - https://pypi.org/project/cssutils/ - https://github.com/jaraco/cssutils/ -" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" - -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/cssselect[${PYTHON_USEDEP}] - >=dev-python/jaraco-test-5.1[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # network - encutils/__init__.py::encutils - cssutils/tests/test_parse.py::TestCSSParser::test_parseUrl - examples/website.py::examples.website.logging - ) - local EPYTEST_IGNORE=( - # path mismatch with "parse" package - examples/parse.py - ) - - epytest -} diff --git a/dev-python/cssutils/cssutils-2.7.1.ebuild b/dev-python/cssutils/cssutils-2.7.1.ebuild index 170d26ee976c..2753ecc4d616 100644 --- a/dev-python/cssutils/cssutils-2.7.1.ebuild +++ b/dev-python/cssutils/cssutils-2.7.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" +KEYWORDS="amd64 arm arm64 ppc x86" BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] diff --git a/dev-python/dask/Manifest b/dev-python/dask/Manifest index 6be9929bc869..dd6d93428634 100644 --- a/dev-python/dask/Manifest +++ b/dev-python/dask/Manifest @@ -2,3 +2,4 @@ DIST dask-2023.5.1.gh.tar.gz 8523514 BLAKE2B e34c9d44eaa8ab9b0d6af871503f3eefcf7 DIST dask-2023.6.0.gh.tar.gz 8523493 BLAKE2B 20669d60f6d01b782eb0331735dffde988373f8a16635ca859249857c08942477955c9dcb1a8729bea5ebf4ec667a8b8d05f0bd89bc8f43dae3f53d566160eda SHA512 6cc752b61d767a701288bf037b1690ee152391c9b81348948f6711d988984acc2e59185524af85517817aeeb2d7ff4a541bafa9093ef8d3590c74deae622cd84 DIST dask-2023.6.1.gh.tar.gz 8528028 BLAKE2B 50326b83fc60ab5d615433f1d44d504e9b05c8e6e8f662277b999394c6eb170bd7b9947402f187971c79c96b3a7cc15fcb0970cceb0c70c09341c447b79d4035 SHA512 eb4f01183429f64acf2b779b3e20c16bc0597c13516a79128eadd93176be3a65ddac7a113cbe946051fd7b6b5f1dbcc0e0dfcac8930c90ecbeffc5d1d1539be4 DIST dask-2023.7.0.gh.tar.gz 8529255 BLAKE2B 47aab9c8b8202109936de8473b0e702a08c9f75f08e7b6d980ceb36c3231c34348e1aa2396588c48b08d54ea2b9dda65860798bb3b37f2b2a546372500749515 SHA512 b46a41d0cad189572a5b9e7d849155b24079b9211480f45236932115066a7d5b44a9812462653e573d48e9c0a33d235e1ebf557556a91c78d3cdaa2ce2477907 +DIST dask-2023.7.1.gh.tar.gz 8535789 BLAKE2B 6841a126cc245ff578408f0a30d973f18be0c3d62acb115562fd1a35fcc0262d07678c128428f4caeda78a1bdceec2bd885234f265fbd7d16be12238f1b623bd SHA512 54fca9d54d83ec89705f44df00050fd1d696a555809945a1e0139c565703f2af8ca503ed8e586b72aff0b670e64073877ed4d5713212d21765a859fdb7247ec1 diff --git a/dev-python/dask/dask-2023.7.1.ebuild b/dev-python/dask/dask-2023.7.1.ebuild new file mode 100644 index 000000000000..73d154cee0c2 --- /dev/null +++ b/dev-python/dask/dask-2023.7.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Task scheduling and blocked algorithms for parallel processing" +HOMEPAGE=" + https://www.dask.org/ + https://github.com/dask/dask/ + https://pypi.org/project/dask/ +" +SRC_URI=" + https://github.com/dask/dask/archive/${PV}.tar.gz -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/click-8.0[${PYTHON_USEDEP}] + >=dev-python/cloudpickle-1.5.0[${PYTHON_USEDEP}] + >=dev-python/fsspec-2021.9.0[${PYTHON_USEDEP}] + >=dev-python/importlib-metadata-4.13.0[${PYTHON_USEDEP}] + >=dev-python/numpy-1.21[${PYTHON_USEDEP}] + >=dev-python/pandas-1.3[${PYTHON_USEDEP}] + >=dev-python/packaging-20.0[${PYTHON_USEDEP}] + >=dev-python/partd-1.2.0[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}] + >=dev-python/toolz-0.10.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/toolz[${PYTHON_USEDEP}] + >=dev-python/versioneer-0.28[${PYTHON_USEDEP}] + test? ( + dev-python/moto[${PYTHON_USEDEP}] + dev-python/numexpr[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # more tests relying on -Werror + "dask/array/tests/test_overlap.py::test_map_overlap_no_depth[None]" + dask/array/tests/test_random.py::test_RandomState_only_funcs + # TODO + dask/array/tests/test_reductions.py::test_mean_func_does_not_warn + dask/tests/test_config.py::test__get_paths + dask/array/tests/test_linalg.py::test_solve_assume_a + "dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>0-float-5-1-True]" + "dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>1-float-5-1-True]" + dask/array/tests/test_image.py::test_preprocess + # require sqlalchemy<2.0 + dask/dataframe/io/tests/test_sql.py +) + +src_prepare() { + # fails with sqlalchemy-2.0, even though we don't use it x_x + sed -i -e '/RemovedIn20Warning/d' pyproject.toml || die + sed -i -e 's:--cov-config=pyproject.toml::' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + epytest -p no:flaky -m "not network" +} diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 45e47eb8761c..f28c3fb9bf3b 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,9 +1,3 @@ -DIST hypothesis-6.76.0.gh.tar.gz 9373576 BLAKE2B ed580296f163f9808597aa3a7b2ceaf1ea43431a9049ffdba229dc0f7886c8ee42829c45c98cc8ec0aae7d1f41f455f7ffd818beb1a956498ac4d676cd72b678 SHA512 2e46762a3bcc595c92eb57e65b2c7ef07062df1c393033efd2cb6b3c774ecbbe41f672e7b6c63ca0e8afb732c0f5308dddd6908bc2f43eab5c0713a6d688d5f4 -DIST hypothesis-6.79.0.gh.tar.gz 9377619 BLAKE2B 8e0650967f8552b3968f8627ef61119ea1532656009fcc83899d4c1e5e97e71e7cb14ffe0864008f7e6c658cff864a7a6d94d04365aba99d38383e3c1b4941a6 SHA512 d4268503425805d7ce0800434474b0f582d6114c3323b36abf6ce58e9f8530d7c11ab634671670f1d67387ac8c90d198303129c552130c8127dc0b3bbad2c766 -DIST hypothesis-6.79.1.gh.tar.gz 9377826 BLAKE2B 13bf9383df81bf8aa504e4f1314958c98612bd507a935c749411008a25c9c1502cb157f4e80ae43b707486cfa5c4706c13118ea4c62d2cf8d7c40a8a811aba98 SHA512 aa52b85162ddb1fd1da8d01de4e47a5426831791c402fe589090474070608b98e40e8fcda197c18d7b8b4d13004afd0b04fb6f65f965e1af05b41005d3b38618 -DIST hypothesis-6.79.2.gh.tar.gz 9377998 BLAKE2B 7b9aa513fa6bf535094ebf9b6aad51df0f9d3a3c0da9e1402a86c8f41b840efe76b97a8204ba746e933128b1586d4622ab784ea3f040b599a7b61c6d563e9f09 SHA512 af8573f99d128300d358362c7f1f7ad801d27a29c89be554bbaa5325ff406d7237b98090ce7ec79fb72b04819f22ce0a3bc27c28028615ac9de8fc4a58d24d27 -DIST hypothesis-6.79.3.gh.tar.gz 9378262 BLAKE2B b5feccaa2a3e5af6e0cd688f5b9c78662af9dd044e188f295c922ae6aa7a0bd9e36a461d630c4217f376982e6f47e919b0cb75b8f6bc78056fa8b146b0fc88cb SHA512 6f6b18f6313fcf0d2151ec76d7f97793e181403e8d30c51dd251439f3bc0e204a3b74134017f7e88934eb779a8756f6c541a5ac52041222f1f350f0a7172563e -DIST hypothesis-6.80.0.gh.tar.gz 9376080 BLAKE2B 49aa0e60d520aaf5c76767dfade32d5ebc40c6bc7d6a20937c1134fb0b3904a62778f83e01074060dc1614045d2c4ea559a27fb5ef1634b8adf90a38c359daa7 SHA512 30e0698422d4f1b4c3c592ad86555a7347975ff2ed4d9c50a6672610981dadb2c3c1eae7f42e08075e529b095b13703129c90f22be3f8f40b39482fa8c80118b DIST hypothesis-6.80.1.gh.tar.gz 9376526 BLAKE2B edb7012b17f1634745d81de74934424ac6430b9668a9702ce64a6f60b7ca3239c878acf1f958327ff2b1e18b95003733ce36bc6f0ffceb65f1eab69d61ab9b54 SHA512 38962d6428d98861993a7e29627be377b2dee7ef9da5bf06553a1de645e041c5af33f8674c64104e90c1168815ef81ee82bb30e1d66315bc85ba7ad81ab28f20 DIST hypothesis-6.81.1.gh.tar.gz 9377813 BLAKE2B 6ba0d9bd8fd12d521909151c7bb04ea729df1adb4dc401359de7accf75cf78981c3e2dbda1c22cb05ca48d550f8a97d19deea86249ac056b5fc34fca20ffb2b7 SHA512 54d13f249fe02fdd99726304a87ca1fe174f47137006fe147ed2b47875136f2d77f24be0bb77e91a04edff8db2230563627c75e9d164adf859284e5ce873369d DIST hypothesis-6.81.2.gh.tar.gz 9378154 BLAKE2B d4654e8de621af93fa6ab013bf45ea1c2e8b273f38cf0dddbe00853d197487acf2a9457a33e59fd59b9c5c7dca08a84867a835cdfa8e4a63181df5105889c360 SHA512 41f5e6b8382c08dd0e4285836a3f1308f6666d86387e10899c5ef8839598e097d31a5360cf7d47f2d30c287ad575787ecb44c236ad83c52202cf8895046c56a0 diff --git a/dev-python/hypothesis/hypothesis-6.76.0.ebuild b/dev-python/hypothesis/hypothesis-6.76.0.ebuild deleted file mode 100644 index f9c7b471200a..000000000000 --- a/dev-python/hypothesis/hypothesis-6.76.0.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{10..11} ) -PYTHON_COMPAT=( python3_{7,8,9,10,11} 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-19.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/mock[${PYTHON_USEDEP}] - 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,pytest_forked,_hypothesis_pytestplugin - - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_IGNORE=() - local EPYTEST_DESELECT=( - # these tests can randomly fail with RecursionError when run - # in parallel - # https://github.com/HypothesisWorks/hypothesis/issues/3671 - hypothesis-python/tests/cover/test_lookup.py::test_resolving_mutually_recursive_types - hypothesis-python/tests/cover/test_lookup.py::test_resolving_mutually_recursive_types_with_defaults - ) - 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 - ) - ;; - python3.12) - EPYTEST_DESELECT+=( - hypothesis-python/tests/cover/test_lookup.py - hypothesis-python/tests/cover/test_type_lookup.py - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py - ) - ;; - esac - - epytest -o filterwarnings= -n "$(makeopts_jobs)" \ - 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/hypothesis/hypothesis-6.79.0.ebuild b/dev-python/hypothesis/hypothesis-6.79.0.ebuild deleted file mode 100644 index 5adfa14c0a19..000000000000 --- a/dev-python/hypothesis/hypothesis-6.79.0.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{10..11} ) -PYTHON_COMPAT=( python3_{7,8,9,10,11} 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-19.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/mock[${PYTHON_USEDEP}] - 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,pytest_forked,_hypothesis_pytestplugin - - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_IGNORE=() - local EPYTEST_DESELECT=( - # these tests can randomly fail with RecursionError when run - # in parallel - # https://github.com/HypothesisWorks/hypothesis/issues/3671 - hypothesis-python/tests/cover/test_lookup.py::test_resolving_mutually_recursive_types - hypothesis-python/tests/cover/test_lookup.py::test_resolving_mutually_recursive_types_with_defaults - ) - 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 - ) - ;; - python3.12) - EPYTEST_DESELECT+=( - hypothesis-python/tests/cover/test_lookup.py - hypothesis-python/tests/cover/test_type_lookup.py - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py - ) - ;; - esac - - epytest -o filterwarnings= -n "$(makeopts_jobs)" \ - 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/hypothesis/hypothesis-6.79.1.ebuild b/dev-python/hypothesis/hypothesis-6.79.1.ebuild deleted file mode 100644 index 650d615b5128..000000000000 --- a/dev-python/hypothesis/hypothesis-6.79.1.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{10..11} ) -PYTHON_COMPAT=( python3_{7,8,9,10,11} 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-19.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/mock[${PYTHON_USEDEP}] - 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,pytest_forked,_hypothesis_pytestplugin - - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_IGNORE=() - local EPYTEST_DESELECT=( - # these tests can randomly fail with RecursionError when run - # in parallel - # https://github.com/HypothesisWorks/hypothesis/issues/3671 - hypothesis-python/tests/cover/test_lookup.py::test_resolving_mutually_recursive_types - hypothesis-python/tests/cover/test_lookup.py::test_resolving_mutually_recursive_types_with_defaults - ) - 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)" \ - 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/hypothesis/hypothesis-6.79.2.ebuild b/dev-python/hypothesis/hypothesis-6.79.2.ebuild deleted file mode 100644 index 650d615b5128..000000000000 --- a/dev-python/hypothesis/hypothesis-6.79.2.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{10..11} ) -PYTHON_COMPAT=( python3_{7,8,9,10,11} 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-19.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/mock[${PYTHON_USEDEP}] - 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,pytest_forked,_hypothesis_pytestplugin - - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_IGNORE=() - local EPYTEST_DESELECT=( - # these tests can randomly fail with RecursionError when run - # in parallel - # https://github.com/HypothesisWorks/hypothesis/issues/3671 - hypothesis-python/tests/cover/test_lookup.py::test_resolving_mutually_recursive_types - hypothesis-python/tests/cover/test_lookup.py::test_resolving_mutually_recursive_types_with_defaults - ) - 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)" \ - 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/hypothesis/hypothesis-6.79.3.ebuild b/dev-python/hypothesis/hypothesis-6.79.3.ebuild deleted file mode 100644 index 650d615b5128..000000000000 --- a/dev-python/hypothesis/hypothesis-6.79.3.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{10..11} ) -PYTHON_COMPAT=( python3_{7,8,9,10,11} 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-19.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/mock[${PYTHON_USEDEP}] - 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,pytest_forked,_hypothesis_pytestplugin - - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_IGNORE=() - local EPYTEST_DESELECT=( - # these tests can randomly fail with RecursionError when run - # in parallel - # https://github.com/HypothesisWorks/hypothesis/issues/3671 - hypothesis-python/tests/cover/test_lookup.py::test_resolving_mutually_recursive_types - hypothesis-python/tests/cover/test_lookup.py::test_resolving_mutually_recursive_types_with_defaults - ) - 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)" \ - 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/hypothesis/hypothesis-6.80.0.ebuild b/dev-python/hypothesis/hypothesis-6.80.0.ebuild deleted file mode 100644 index c91fe0d7fdd3..000000000000 --- a/dev-python/hypothesis/hypothesis-6.80.0.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{10..11} ) -PYTHON_COMPAT=( python3_{7,8,9,10,11} 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-19.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/mock[${PYTHON_USEDEP}] - 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,pytest_forked,_hypothesis_pytestplugin - - # 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)" \ - 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/hypothesis/hypothesis-6.80.1.ebuild b/dev-python/hypothesis/hypothesis-6.80.1.ebuild index c91fe0d7fdd3..2375d98ea10e 100644 --- a/dev-python/hypothesis/hypothesis-6.80.1.ebuild +++ b/dev-python/hypothesis/hypothesis-6.80.1.ebuild @@ -25,7 +25,7 @@ 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" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="cli" RDEPEND=" diff --git a/dev-python/jupyter-server/Manifest b/dev-python/jupyter-server/Manifest index ffe221975450..6100e416421a 100644 --- a/dev-python/jupyter-server/Manifest +++ b/dev-python/jupyter-server/Manifest @@ -1 +1,2 @@ DIST jupyter_server-2.5.0.tar.gz 694029 BLAKE2B bea1082709653617c812124378e1e2a639e90b1e0d7fedacd98628c415adad2daa5343b57a19a776c41820e6665c8591c8d2a652f8c791b605bc3a4b65400ef3 SHA512 7145f60a73bf3d9aceff37aaf56b3b3a54c94fd9f13f06659387909cb1727759a082d11e983df4e687cc508461d5afb6e552f3ac09e30bebb1eb5e863992ad14 +DIST jupyter_server-2.7.0.tar.gz 704548 BLAKE2B d328b3254143191627d3f743a2ceb1ef16216e04db714ee75bb7e0002c3cb238b8ec7c7f06599ebb1e9a0b000dcb00c7844bc2c894f450bdf3e99d209dbb9106 SHA512 e8d9ec3b65b25844fbd8e5353a6d1899c07d83ce446c70cae563652b35761d8cbba5d9f5dd52c390e8294dddd70710383e615a7ca07f5e6836ec69708496eb7c diff --git a/dev-python/jupyter-server/jupyter-server-2.7.0.ebuild b/dev-python/jupyter-server/jupyter-server-2.7.0.ebuild new file mode 100644 index 000000000000..8d95253ef563 --- /dev/null +++ b/dev-python/jupyter-server/jupyter-server-2.7.0.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Core services, APIs, and REST endpoints to Jupyter web applications" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter-server/jupyter_server/ + https://pypi.org/project/jupyter-server/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" + +RDEPEND=" + >=dev-python/anyio-3.1.0[${PYTHON_USEDEP}] + dev-python/argon2-cffi[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + >=dev-python/jupyter-client-7.4.4[${PYTHON_USEDEP}] + >=dev-python/jupyter-core-5.1.0[${PYTHON_USEDEP}] + dev-python/jupyter-server-terminals[${PYTHON_USEDEP}] + >=dev-python/jupyter-events-0.6.0[${PYTHON_USEDEP}] + >=dev-python/nbconvert-6.4.4[${PYTHON_USEDEP}] + >=dev-python/nbformat-5.3.0[${PYTHON_USEDEP}] + dev-python/overrides[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/prometheus-client[${PYTHON_USEDEP}] + >=dev-python/pyzmq-24[${PYTHON_USEDEP}] + dev-python/send2trash[${PYTHON_USEDEP}] + >=dev-python/terminado-0.8.3[${PYTHON_USEDEP}] + >=dev-python/tornado-6.2[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.6.0[${PYTHON_USEDEP}] + dev-python/websocket-client[${PYTHON_USEDEP}] + +" +BDEPEND=" + test? ( + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/flaky[${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}] + dev-python/requests[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # This fails if your terminal is zsh (and maybe other non-bash as well?) + tests/test_terminal.py + # Fails because above is ignored + tests/auth/test_authorizer.py + # Fails with additional extensions installed + tests/extension/test_app.py::test_stop_extension +) + +PATCHES=( + "${FILESDIR}/${PN}-2.0.1-skip-npm.patch" +) + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest \ + -p pytest_tornasync.plugin \ + -p jupyter_server.pytest_plugin \ + -p pytest_console_scripts \ + -p pytest_timeout +} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index e9da2ac43cac..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ 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 020e07f2a3dd..ddb5b0f1787e 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,11 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> + <email>cyber+gentoo@sysrq.in</email> + <name>Anna</name> </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/lark/Manifest b/dev-python/lark/Manifest index 82194a759691..60d4d838d418 100644 --- a/dev-python/lark/Manifest +++ b/dev-python/lark/Manifest @@ -1,2 +1,3 @@ DIST lark-1.1.5.tar.gz 246737 BLAKE2B 2111bb6c2f6eaa05b803daf11f0f55641c9b3943a97f943fd27b5dd33f8b511e3b0fc4fb335edbb3926ad19da6cb2696b7f87003b7def068cae1d805b3feb8d9 SHA512 8103e050745c83c99b077667aa8b1d4dfad28f5554d2381534b3518d8d3e8adb70f0304fdc7e1c762d3ea26089181d9632dea155b6cd97237078b89330a6711e DIST lark-1.1.6.tar.gz 251270 BLAKE2B 2f2b81eef82ba2cb774e3aab448a092256a714e7118da08e1e25297c1573d0b833231e6b6158dc88fb19c80af370b1e72946dc929f6379408a9aea6c596f3605 SHA512 347ba7423f15fe38c97446991b4d2d0d6edd50bc656aa9a67c8b6d94b8cdbf2b006f3391c6c06fe000fc4b2657480e6a66a9580ebb0440eeef2b5a6a5418567b +DIST lark-1.1.7.tar.gz 251290 BLAKE2B c6f19eadf29c75257e0b49231e621bffd27ff6c569a07159e9f4934d0bf74abb6df9425fdd971392b415fc19d12421abc67186d844f2ef1c294205a25f4e263a SHA512 59e5567ebff173a25caa2ea4db3ff3f284bd580ce68a6a3ca27ceff34158a9b56fc404ebf3016e2bbb074fd19286a0d511ffaadf2f157185f45b10305c3c8474 diff --git a/dev-python/lark/lark-1.1.7.ebuild b/dev-python/lark/lark-1.1.7.ebuild new file mode 100644 index 000000000000..53dcc9008482 --- /dev/null +++ b/dev-python/lark/lark-1.1.7.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python module to propose a modern general-purpose parsing library for Python" +HOMEPAGE=" + https://github.com/lark-parser/lark/ + https://pypi.org/project/lark/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +BDEPEND=" + test? ( + dev-python/atomicwrites[${PYTHON_USEDEP}] + dev-python/regex[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # require dev-python/js2py which is a really bad quality package + tests/test_nearley/test_nearley.py + ) + + if has "${EPYTHON}" pypy3 python3.{8,9}; then + EPYTEST_IGNORE+=( + # test using Python 3.10+ syntax + tests/test_pattern_matching.py + ) + fi + + epytest +} diff --git a/dev-python/libvirt-python/libvirt-python-9.4.0.ebuild b/dev-python/libvirt-python/libvirt-python-9.4.0.ebuild index ebd99fdd1391..4bafa7cb403f 100644 --- a/dev-python/libvirt-python/libvirt-python-9.4.0.ebuild +++ b/dev-python/libvirt-python/libvirt-python-9.4.0.ebuild @@ -23,7 +23,7 @@ else MY_P="${P/_rc/-rc}" SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz verify-sig? ( https://libvirt.org/sources/python/${MY_P}.tar.gz.asc )" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" RDEPEND="app-emulation/libvirt:0/${PV}" fi S="${WORKDIR}/${P%_rc*}" diff --git a/dev-python/marshmallow/Manifest b/dev-python/marshmallow/Manifest index 298f975b5165..73d811fa1bdc 100644 --- a/dev-python/marshmallow/Manifest +++ b/dev-python/marshmallow/Manifest @@ -1 +1,2 @@ DIST marshmallow-3.19.0.gh.tar.gz 182305 BLAKE2B 2e37e0dcfcab3fa080745ccf6acbaf0fc71a43edfc9227ebf1d5320c61b0f0b51a0f3ea1d75ab1b213f8464d8ac043365ddadc8d9ab4479e21eed92ce5362b4e SHA512 e908ab33703fed5a9290189aa151dfdb425668bebe89063084f10435d2030927ce001c0d34d504d19998863431ded52a7a551085b11212489495d34aadb3b9e1 +DIST marshmallow-3.20.1.gh.tar.gz 183718 BLAKE2B f1e8011be42f6a94d8d2bfde70d2761b3a3efdbce1ca61445d11b8b1e2e2f79953abd4fcefcd9bfcb3370458c9bb0084a2697b8537af8f58d161bb0d19559170 SHA512 8d2eeadad42811b2311f70c8eb0101d88a53fa8d4216a2ab44e67a508f5514c65c35932e1d3d2000b5cbd77ee4aae2be0e29a82576c3917f5db640f4af078b53 diff --git a/dev-python/marshmallow/marshmallow-3.20.1.ebuild b/dev-python/marshmallow/marshmallow-3.20.1.ebuild new file mode 100644 index 000000000000..f57ba98614fc --- /dev/null +++ b/dev-python/marshmallow/marshmallow-3.20.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="A library for converting to and from native Python datatypes" +HOMEPAGE=" + https://github.com/marshmallow-code/marshmallow/ + https://pypi.org/project/marshmallow/ +" +SRC_URI=" + https://github.com/marshmallow-code/marshmallow/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + >=dev-python/packaging-0.17[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/simplejson[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/mkdocstrings-python/Manifest b/dev-python/mkdocstrings-python/Manifest index 6078b73952ff..cab46263e44e 100644 --- a/dev-python/mkdocstrings-python/Manifest +++ b/dev-python/mkdocstrings-python/Manifest @@ -1,2 +1,3 @@ DIST mkdocstrings-python-1.1.2.gh.tar.gz 127162 BLAKE2B 1aa77a6846b8f4787091691c3862428400cf73e5b51f3d7a278e9d871136a3693d80a1fe79d6999dedefe66b0a14402e0d70c448f9260c1528024a56cf223c69 SHA512 40c8247bc6217e73c23555fb3de14ddc8995e1870c7bcee85c12c885b9710cd303da3cec22b4ae44ff5de050486958447d2d489d9739b9860c432e9e00fec0d7 DIST mkdocstrings-python-1.2.0.gh.tar.gz 132100 BLAKE2B 8873ea65a799f5f8d6bf4a792abb94edc70e8acb0140dfa30dda15d9d94e354fe4c32c99dde5c53c2c04af7591762c50c5c2cf4fb7a8e167e2065c6d6da0aba1 SHA512 f2e07ad52a5102b178a5bc9245c018319b52f37d11fdf1650f3568275fe7d7800938d699a2ef1c6343f21187d47b34b0374ddbfb0cc04891a462480533043f72 +DIST mkdocstrings-python-1.2.1.gh.tar.gz 132468 BLAKE2B 287cae20510818c085bf505fea0f74e39df86538e19bfcb90aa7f6d46fb237158979dc65c7f955d73461fadb4ed35263ef47b9771f224b5793026a9f0b3c86e1 SHA512 147849a88c3bb5347c1cb4293c9ee9c54cb33933bc274dc5bc933f72deb64016c7f7b8ba817311e282c68606d0980571d5713dec7a47e8d6c51168d524af7d97 diff --git a/dev-python/mkdocstrings-python/mkdocstrings-python-1.2.1.ebuild b/dev-python/mkdocstrings-python/mkdocstrings-python-1.2.1.ebuild new file mode 100644 index 000000000000..8cebf1528023 --- /dev/null +++ b/dev-python/mkdocstrings-python/mkdocstrings-python-1.2.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +DISTUTILS_USE_PEP517=pdm-backend + +inherit distutils-r1 + +DESCRIPTION="Python handler for dev-python/mkdocstrings" +HOMEPAGE=" + https://mkdocstrings.github.io/python/ + https://github.com/mkdocstrings/python/ + https://pypi.org/project/mkdocstrings-python/ +" +# Tests need files absent from the PyPI tarballs +SRC_URI=" + https://github.com/mkdocstrings/python/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/python-${PV}" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~riscv" + +RDEPEND=" + >=dev-python/griffe-0.30.0[${PYTHON_USEDEP}] + dev-python/mkdocstrings[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mkdocs-material[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export PDM_BUILD_SCM_VERSION=${PV} diff --git a/dev-python/overrides/Manifest b/dev-python/overrides/Manifest new file mode 100644 index 000000000000..586474b1809d --- /dev/null +++ b/dev-python/overrides/Manifest @@ -0,0 +1 @@ +DIST overrides-7.3.1.tar.gz 24766 BLAKE2B c7fc2e22b7ded0208befd483e76b0bdb444f2d2891f6b2fe4751a81c47164b2cd3a51b7d71ec03401629d4427393553aed1146d2ef60ffe966fd502bd84e824e SHA512 94a8a581dfdacc047937824ffb8afae81d92998ec796e44c4ae05778f2b9d381517e37c2c4591a1c118b091f96bd91554aaef65d0372b2fef04f6ee225e10922 diff --git a/dev-python/overrides/metadata.xml b/dev-python/overrides/metadata.xml new file mode 100644 index 000000000000..ea8988e8af6a --- /dev/null +++ b/dev-python/overrides/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + + <origin>gentoo-staging</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/overrides/overrides-7.3.1.ebuild b/dev-python/overrides/overrides-7.3.1.ebuild new file mode 100644 index 000000000000..80cd8d027332 --- /dev/null +++ b/dev-python/overrides/overrides-7.3.1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A decorator to automatically detect mismatch when overriding a method." +HOMEPAGE=" + https://pypi.org/project/overrides/ + https://github.com/mkorpela/overrides +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" + +distutils_enable_tests pytest diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest index 03338ade619f..49ba67aa717e 100644 --- a/dev-python/phonenumbers/Manifest +++ b/dev-python/phonenumbers/Manifest @@ -1,2 +1,3 @@ DIST python-phonenumbers-8.13.15.gh.tar.gz 4912960 BLAKE2B aef5c2524f2ae122bc0b3846fed94c5d8fad219eab72ba1838baca7ce3e839510b2601b967cfdd1c26e5200f05821ef7892f7445074a09c3dde150f5ab4a8c08 SHA512 688425ee6a62b132b865580bd7615235357963c51a49333bf400d01877728374173ff674c82535f67c86c0abb39acbb4373b4760116c3161b5bb633efc6a9f32 DIST python-phonenumbers-8.13.16.gh.tar.gz 4913171 BLAKE2B 07bf7c13669554baf6d6250e0e42ca070966d21ec61836d1ec99d5515a283d891ccdb8496c86d82e0c6f1fe1be227e523262f16e5fe0b1a08bfee13a146f6b66 SHA512 6f655621d9e0e3ac9c8b0972118c81104621e4bf45d541606a82f373e59b8a3bd519d93bfb15bb769c7ab04a0abefa1db3d6125bc59f425de49269fce611f176 +DIST python-phonenumbers-8.13.17.gh.tar.gz 4913309 BLAKE2B fdebb1d3df0c397b02499dfe52dcd31c2e900e1b3f1dce1471e709054e2a2a77b77018e297df9706722731c9c740d0f880b042175f21bf84a6c0b37ba7d6b1fb SHA512 37ed31bf8f01c9c18448deded86435ce76f2c07c30edcdc342a41937c2c173dbf2c3cbbfd3ce2e40023eaee72501421d2bb7c398847adafdbaea315528884131 diff --git a/dev-python/phonenumbers/phonenumbers-8.13.17.ebuild b/dev-python/phonenumbers/phonenumbers-8.13.17.ebuild new file mode 100644 index 000000000000..4ef52501be16 --- /dev/null +++ b/dev-python/phonenumbers/phonenumbers-8.13.17.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +MY_P=python-${P} +DESCRIPTION="Python port of Google's libphonenumber" +HOMEPAGE=" + https://github.com/daviddrysdale/python-phonenumbers/ + https://pypi.org/project/phonenumbers/ +" +SRC_URI=" + https://github.com/daviddrysdale/python-phonenumbers/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P}/python + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + dev-python/protobuf-python[${PYTHON_USEDEP}] + ) +" + +DOCS=( ../README.md ) + +python_test() { + "${EPYTHON}" testwrapper.py -v || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/pyarrow/Manifest b/dev-python/pyarrow/Manifest index 451f3061e63b..fec6d859a687 100644 --- a/dev-python/pyarrow/Manifest +++ b/dev-python/pyarrow/Manifest @@ -1 +1,2 @@ DIST apache-arrow-12.0.0.tar.gz 20159048 BLAKE2B 43b4f36e1d1f84fc83c46a3627ad72cead38310f4325b8d21d17d726cd416016f0839d312c80737c0a921da6aefee537413e30309a656301c19834c2986d734e SHA512 f815be4fb20b6001ba5525270765fe239b5468708a7be34b93b60ee0ce63464727d183c9756fbc33bffd199019e1f06a7fddd306ce8388435cea7771070a2ca9 +DIST apache-arrow-12.0.1.tar.gz 20172604 BLAKE2B bf66761d33ceb778c2f53c2e643e0c2bb4448f29eaa94d17e9815628665f4965fde28bd47fce4a5874717d2161c3f8adbb2e8a0e6658a51ae6d617e4f09d202b SHA512 551ae200551fcc73b7deddcc5f0b06633159ab1308506901a9086e4e2e34e4437f26d609fdbacba0ebe7d1fe83bdb8e92a268e9e41575d655d5b2d4fbef7a7ce diff --git a/dev-python/pyarrow/pyarrow-12.0.1.ebuild b/dev-python/pyarrow/pyarrow-12.0.1.ebuild new file mode 100644 index 000000000000..d36400e26e03 --- /dev/null +++ b/dev-python/pyarrow/pyarrow-12.0.1.ebuild @@ -0,0 +1,71 @@ +# Copyright 2023 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_{7,8,9,10,11} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="Python library for Apache Arrow" +HOMEPAGE=" + https://pypi.org/project/pyarrow/ + https://arrow.apache.org/ +" +SRC_URI="mirror://apache/arrow/arrow-${PV}/apache-arrow-${PV}.tar.gz" +S="${WORKDIR}/apache-arrow-${PV}/python" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="parquet snappy ssl" + +RDEPEND=" + ~dev-libs/apache-arrow-${PV}[compute,dataset,json,parquet?,re2,snappy?,ssl?] + dev-python/numpy[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + <dev-python/pandas-2[${PYTHON_USEDEP}] + dev-python/pytest-lazy-fixture[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # wtf? + tests/test_fs.py::test_localfs_errors + # these require apache-arrow with jemalloc that doesn't seem + # to be supported by the Gentoo package + tests/test_memory.py::test_env_var + tests/test_memory.py::test_specific_memory_pools + tests/test_memory.py::test_supported_memory_backends +) + +src_compile() { + export PYARROW_PARALLEL="$(makeopts_jobs)" + export PYARROW_BUILD_VERBOSE=1 + export PYARROW_CXXFLAGS="${CXXFLAGS}" + export PYARROW_BUNDLE_ARROW_CPP_HEADERS=0 + export PYARROW_CMAKE_GENERATOR=Ninja + export PYARROW_WITH_HDFS=1 + if use parquet; then + export PYARROW_WITH_DATASET=1 + export PYARROW_WITH_PARQUET=1 + use ssl && export PYARROW_WITH_PARQUET_ENCRYPTION=1 + fi + if use snappy; then + export PYARROW_WITH_SNAPPY=1 + fi + + distutils-r1_src_compile +} + +python_test() { + cd "${T}" || die + epytest --pyargs pyarrow +} diff --git a/dev-python/pydantic-core/Manifest b/dev-python/pydantic-core/Manifest index 652da97e79be..d1b0f6e5b071 100644 --- a/dev-python/pydantic-core/Manifest +++ b/dev-python/pydantic-core/Manifest @@ -53,6 +53,7 @@ DIST pydantic_core-2.1.2.tar.gz 305997 BLAKE2B 1893dd2b187303ad50fd8c18842158d1e DIST pydantic_core-2.1.3.tar.gz 303560 BLAKE2B b1ee7d73f4cb5aa192dec3670df66a6f60f157dbf21e5c1e1f62a978dc36838239f7883efbc1e1d98ab5ef8ddd16daf36e792e5f508d93f32405992d956e3c5e SHA512 cbb85b5c459d9f3cd80cba44f242157a8ca5d64eb3ed209a47a7e9be3c687111f8cc750db97269ef6c9b3fe27ae1b58a0a10f022830f1ff90564cbbbe30ab1dc DIST pydantic_core-2.2.0.tar.gz 306423 BLAKE2B 82131892ffaf7ae0c222b19935827db3fe01040383006d7a015bdaee03ea688dfb988642a0c98ecd5caa2b9518a8ad82eb8f991b7c0e5fad89c974a4697f3f78 SHA512 6f6d1e71acc248607c6f643465946e186c0bc0bc4f05dbc0058ddc0db717dac41819470dadc9a584fd7d9cf070d643fdc92f0ddb1e1b2a50f6e59ae37e4d8ded DIST pydantic_core-2.3.0.tar.gz 308473 BLAKE2B 2bdd96989b93bfd00d1db23d30171a315afbb911934e644b0e36239a2d48c6c6eeec519e28719d1756a6f9daebc7623cb34e8b50b9216d1a95a5d3694b0945e1 SHA512 8959f9949ca943db2fe362b3ddb4b3e87c83ce22a63d70ff851fa84ee891390dba69f5d5607df6033023c47a4563066d675f192072278309e02d6dc0891588f1 +DIST pydantic_core-2.3.1.tar.gz 313680 BLAKE2B 90b7ed134e6dd891dd184f651b4907292aac6050ba67b66260885f69026b572b802cdb5436a7cc504b969fcac2499ed557f22c5e0178d4f1eada22b74cab1882 SHA512 a8de5b9b5201d72796851e27e9f6ae5a248e65ca214d5f971d1cd4323033cf8d573640e80b25255cbf548b506d31b8078b2ac9e484193de820a8a7a924b816f2 DIST pyo3-0.19.0.crate 412659 BLAKE2B f8833d39c3c8318466ee5b9010cbdce1a20f844f15a257ae41c5d8c72f645e0c14e7e5ae0b50a8aebec60afd827cd23d5b5b4b70188531e6f5b89ef191066189 SHA512 9cef7f8a73cfea32661eaf8fd8d5af6ca180e3fd71ac956d9fbb96a1d194f238116e3ab31917b15359e7f6b0b3bc4587437463a4c61bca988f16657a64440919 DIST pyo3-0.19.1.crate 418297 BLAKE2B 19ad6aa4fba175961b7fe97ae0bc45050f930859972b1b25cf0139bb3436c050ba76b63894f0df26174f141a52ac6abf10fd84c03c056af5a0665e723ae24195 SHA512 b27500cf49f1c6f217d21344d24ac96c07b82c157dd36fa4550b94059da5715ba7d0e085ec07dd5f8a8ac9de4d7e9239c1cceac4337294eb0dc9f6102049d5ff DIST pyo3-build-config-0.19.0.crate 29172 BLAKE2B 20904ad814ed9a22b801eb7b06851292d50f5716116a5b4a670e8c499878bf6d193525a4579b044ed413823c17ecd1ad0178baae1cab1fe3f431cc9a0f442576 SHA512 3105ce54bff87bef803f30b79d3ab2dbe440d68418f8cdc875f18ceb2bb0d06ed0923cf02af5f8293ca901f40b96c1b99a12a8a8e74813dcf70534d3aec2bfb7 diff --git a/dev-python/pydantic-core/pydantic-core-2.3.1.ebuild b/dev-python/pydantic-core/pydantic-core-2.3.1.ebuild new file mode 100644 index 000000000000..8e7c78ded3c2 --- /dev/null +++ b/dev-python/pydantic-core/pydantic-core-2.3.1.ebuild @@ -0,0 +1,139 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +# pypy3 is waiting for new pyo3 release +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +CRATES=" + ahash@0.8.3 + aho-corasick@1.0.2 + autocfg@1.1.0 + base64@0.13.1 + bitflags@1.3.2 + cc@1.0.79 + cfg-if@1.0.0 + enum_dispatch@0.3.12 + equivalent@1.0.1 + form_urlencoded@1.2.0 + getrandom@0.2.10 + hashbrown@0.14.0 + heck@0.4.1 + idna@0.3.0 + idna@0.4.0 + indexmap@2.0.0 + indoc@1.0.9 + itoa@1.0.8 + libc@0.2.147 + libmimalloc-sys@0.1.33 + lock_api@0.4.10 + memchr@2.5.0 + memoffset@0.9.0 + mimalloc@0.1.37 + num-bigint@0.4.3 + num-integer@0.1.45 + num-traits@0.2.15 + once_cell@1.18.0 + parking_lot@0.12.1 + parking_lot_core@0.9.8 + percent-encoding@2.3.0 + proc-macro2@1.0.64 + pyo3-build-config@0.19.1 + pyo3-ffi@0.19.1 + pyo3-macros-backend@0.19.1 + pyo3-macros@0.19.1 + pyo3@0.19.1 + python3-dll-a@0.2.9 + quote@1.0.29 + redox_syscall@0.3.5 + regex-automata@0.3.2 + regex-syntax@0.7.4 + regex@1.9.1 + rustversion@1.0.13 + ryu@1.0.14 + scopeguard@1.1.0 + serde@1.0.171 + serde_derive@1.0.171 + serde_json@1.0.100 + smallvec@1.11.0 + speedate@0.11.0 + strum@0.25.0 + strum_macros@0.24.3 + strum_macros@0.25.1 + syn@1.0.109 + syn@2.0.25 + target-lexicon@0.12.9 + tinyvec@1.6.0 + tinyvec_macros@0.1.1 + unicode-bidi@0.3.13 + unicode-ident@1.0.10 + unicode-normalization@0.1.22 + unindent@0.1.11 + url@2.4.0 + version_check@0.9.4 + wasi@0.11.0+wasi-snapshot-preview1 + windows-targets@0.48.1 + windows_aarch64_gnullvm@0.48.0 + windows_aarch64_msvc@0.48.0 + windows_i686_gnu@0.48.0 + windows_i686_msvc@0.48.0 + windows_x86_64_gnu@0.48.0 + windows_x86_64_gnullvm@0.48.0 + windows_x86_64_msvc@0.48.0 +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Core validation logic for pydantic written in Rust" +HOMEPAGE=" + https://github.com/pydantic/pydantic-core/ + https://pypi.org/project/pydantic-core/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016 +" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/typing-extensions-4.7.1[${PYTHON_USEDEP}] +" +BDEPEND=" + >=virtual/rust-1.70.0 + test? ( + >=dev-python/dirty-equals-0.5.0[${PYTHON_USEDEP}] + >=dev-python/hypothesis-6.63.0[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.10.0[${PYTHON_USEDEP}] + >=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}] + >=dev-python/pydantic-1.10.4[${PYTHON_USEDEP}] + >=dev-python/pytz-2022.7.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/pydantic_core/_pydantic_core.*.so" + +src_prepare() { + sed -i -e '/--benchmark/d' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_IGNORE=( + tests/benchmarks + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + rm -rf pydantic_core || die + epytest -p pytest_mock -p timeout +} diff --git a/dev-python/pypy3_10-exe-bin/Manifest b/dev-python/pypy3_10-exe-bin/Manifest index 90f830c4259d..1bf19beba2ed 100644 --- a/dev-python/pypy3_10-exe-bin/Manifest +++ b/dev-python/pypy3_10-exe-bin/Manifest @@ -6,3 +6,11 @@ DIST pypy3_10-exe-7.3.12-1.ppc64le-musl.gpkg.tar 6543360 BLAKE2B c8bb60fc0144800 DIST pypy3_10-exe-7.3.12-1.ppc64le.gpkg.tar 10137600 BLAKE2B 773b4b158939842df61dab2c8d3e0ceb6063e88cfbfc30450ede0de4b0089d45f01ae3fccc913c51542c9a8ada0c760f9abb041a0e588a36fdc6096531a0166c SHA512 195140ce7a041682aaff6dc812c5c476ebbf001cea073d636fcebe6b236316f2acc72f3568ad3f01f53c7e727d3033cc53d2d487db46157c47853c6fd3d87fc3 DIST pypy3_10-exe-7.3.12-1.x86-musl.gpkg.tar 8898560 BLAKE2B 8b9e91c69bc726ac48f7c9db1a2722791ce5171e636d25e99ec57f38ea32442400b7e18d07c5f055bd7a68e607ff33f41faf1a235079807dfc15ce3b1138e521 SHA512 54e73b0786e45f4dc0f102f7e975d5ff7b806bcde9779411bbca64c3c2be115257d7e6dd3c44c9bdf8c62de0a101aca1c6c94aa44b6e39535137317f3052a870 DIST pypy3_10-exe-7.3.12-1.x86.gpkg.tar 8775680 BLAKE2B 2e260a89bf5b01a8d13653988dffd86315607f541d176ee2cca50d2a4c26f247b8a77b04c74c3512875eadf7ae00d7643e5450b31e4f0e0b79f660d302e2842f SHA512 734d2817b07d87b7087d74abfc605747990823c8fdd45de1b2e6275025ac46550fae8525dc55048412b0b2a076462ee2c21555f3c9dba72774e67be169766f36 +DIST pypy3_10-exe-7.3.12_p2-1.amd64-musl.gpkg.tar 11919360 BLAKE2B 8be8841e89efd16fea27376487bfae6039d326cf261748c63bc30ab0c9995d3f5924d2ee0ae9074555e9e69c0bc0344ebfc063ed5977d6945a64c6258e11430b SHA512 d218451cd4071e50ea40c1bc98a89894a26d3535cc609e5f79ffb02f57813edcedffd142e6d8927aafed8df8b16ff02cef80773f75a092ec93095f7e2396dc9a +DIST pypy3_10-exe-7.3.12_p2-1.amd64.gpkg.tar 11939840 BLAKE2B b9486bacf4088cb9bbc5e5d5c390736bc67663857d2151493802c4da379a83929d37f430ee4801bbd6538858891231886d0a7f237ad5a71383aa91f146cfef4b SHA512 ea2ee539521e0a49204575600d1b4e626d2a08883cce4b0f520970d68d336ac85ca94a57b8b6248acfd340053b8300df7b5cdae0b444293992444aca3c45ac58 +DIST pypy3_10-exe-7.3.12_p2-1.arm64-musl.gpkg.tar 9953280 BLAKE2B 1400f9c2bb36f0de4acf6aae16f0851989a4c4c80413927adf9f38a62125c3bbd886cc72011e3d7949fef1ff1c6062052b3d8316d6b0e4d6eb2cc5b76ee0d05a SHA512 6524ceb373d9f459c3a4fb78080e1b1094ce780c472316a3236fded91a8dc62d241234c8b39cd2040a91ef4bfd08391d348029f3068fb2fa22850550f0f004cc +DIST pypy3_10-exe-7.3.12_p2-1.arm64.gpkg.tar 9943040 BLAKE2B 767eba506d7d61c3f3e08fbe12b65ed08fb7927c2d696d2169982f833fac1c5ce086ff0b240c74b35bb2d7009e715c0859fab50fd29c210bdfc749c64042191e SHA512 e0dd002e4b484527c40eb3a8f049d38164c597da89f622fe7dc663f961fa7417cdca39c3ca159d5597570c603d9ea9b55f40dde0b0f46ac164867836d0edb0e5 +DIST pypy3_10-exe-7.3.12_p2-1.ppc64le-musl.gpkg.tar 6502400 BLAKE2B fb3c6cf03114cce302f7f9e7f34cc1ccb5ac9131559cae09b0fa3748afa7e1a5ef9b33007b3c876d835ee18106fea50541485b2cbf338601bc4db4d35595fc8f SHA512 cc5244067040b345f40c23405a9168fe601972eb22cd25f5bda47e6b050530e7fb58bd3ce6795e007d9a4287e019afca31c3396832496ca215ee8c2127bbdbad +DIST pypy3_10-exe-7.3.12_p2-1.ppc64le.gpkg.tar 10250240 BLAKE2B 277add3cb777d2eb75538ddd73da80108bde6f2f6fc5fa3574c4f62a6bce4916e1f04bcb03407d946db90e09a0e873ee8d7d11e853fac2a0db9651d8ec0b0855 SHA512 44e6c2f38e31b34b9d74492464cdf56e0be5e3df06b7c247411668c04519d9c17fa7f8d49784e53484a3e59dc20b1ded4a0ae81f9bdcb87654d8107e798e1597 +DIST pypy3_10-exe-7.3.12_p2-1.x86-musl.gpkg.tar 8826880 BLAKE2B 1e4e8cf6448410d256f625e68db6c7d82d99bd7f64bfec6572c4bc99b55e78fd0ca4af9eddddfd872837dfa971d065d4f52f792d4c12ab3ca3c44fdb732e7452 SHA512 cd22319feb39f3a2f8e5d8796f9dae82dc9ca808ea5579bdb1f12a6daf9f9a7adc2e33accf6814a4e0e762bc03569f0c0539b99d4eba3e6cec085e45e5d3d702 +DIST pypy3_10-exe-7.3.12_p2-1.x86.gpkg.tar 8826880 BLAKE2B 7fb7af7e5bd07a91312a21f443a1c58ad828d66a29e67af2b39162e2d7c74965b1f8dfb52169fd71b6b6466aa20ea579723d27520c019bb46211f34e74c4abc2 SHA512 fa7f5cd600efd4f26a7abe27b482b0277a10de7bceaf12d781a96e9916cb37d7166f5afc6c13d941aecda51783e9e2ad853076545575daec14fba50b10fca3ab diff --git a/dev-python/pypy3_10-exe-bin/pypy3_10-exe-bin-7.3.12_p2.ebuild b/dev-python/pypy3_10-exe-bin/pypy3_10-exe-bin-7.3.12_p2.ebuild new file mode 100644 index 000000000000..77878f3bc763 --- /dev/null +++ b/dev-python/pypy3_10-exe-bin/pypy3_10-exe-bin-7.3.12_p2.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit pax-utils unpacker + +PYVER=3.10 +MY_P=pypy3_10-exe-${PV}-1 + +DESCRIPTION="PyPy3 executable (pre-built version)" +HOMEPAGE="https://www.pypy.org/" +SRC_URI=" + elibc_glibc? ( + amd64? ( + https://dev.gentoo.org/~mgorny/binpkg/amd64/pypy/dev-python/pypy3_10-exe/${MY_P}.gpkg.tar + -> ${MY_P}.amd64.gpkg.tar + ) + arm64? ( + https://dev.gentoo.org/~mgorny/binpkg/arm64/pypy/dev-python/pypy3_10-exe/${MY_P}.gpkg.tar + -> ${MY_P}.arm64.gpkg.tar + ) + ppc64? ( + https://dev.gentoo.org/~mgorny/binpkg/ppc64le/pypy/dev-python/pypy3_10-exe/${MY_P}.gpkg.tar + -> ${MY_P}.ppc64le.gpkg.tar + ) + x86? ( + https://dev.gentoo.org/~mgorny/binpkg/x86/pypy/dev-python/pypy3_10-exe/${MY_P}.gpkg.tar + -> ${MY_P}.x86.gpkg.tar + ) + ) + elibc_musl? ( + amd64? ( + https://dev.gentoo.org/~mgorny/binpkg/amd64-musl/pypy/dev-python/pypy3_10-exe/${MY_P}.gpkg.tar + -> ${MY_P}.amd64-musl.gpkg.tar + ) + arm64? ( + https://dev.gentoo.org/~mgorny/binpkg/arm64-musl/pypy/dev-python/pypy3_10-exe/${MY_P}.gpkg.tar + -> ${MY_P}.arm64-musl.gpkg.tar + ) + ppc64? ( + https://dev.gentoo.org/~mgorny/binpkg/ppc64le-musl/pypy/dev-python/pypy3_10-exe/${MY_P}.gpkg.tar + -> ${MY_P}.ppc64le-musl.gpkg.tar + ) + x86? ( + https://dev.gentoo.org/~mgorny/binpkg/x86-musl/pypy/dev-python/pypy3_10-exe/${MY_P}.gpkg.tar + -> ${MY_P}.x86-musl.gpkg.tar + ) + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="${PV%_p*}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +# sys-devel/gcc for libgcc_s.so +RDEPEND=" + app-arch/bzip2:0/1 + dev-libs/expat:0/0 + dev-libs/libffi:0/8 + sys-libs/ncurses:0/6 + >=sys-libs/zlib-1.1.3:0/1 + virtual/libintl:0/0 + elibc_glibc? ( + sys-devel/gcc + >=sys-libs/glibc-2.35 + ) + !dev-python/pypy3_10-exe:${SLOT} +" + +PYPY_PV=${PV%_p*} +QA_PREBUILT=" + usr/bin/pypy${PYVER}-c-${PYPY_PV} +" + +src_install() { + insinto / + doins -r image/usr + fperms +x "/usr/bin/pypy${PYVER}-c-${PYPY_PV}" + pax-mark m "${ED}/usr/bin/pypy${PYVER}-c-${PYPY_PV}" +} diff --git a/dev-python/pypy3_10-exe/Manifest b/dev-python/pypy3_10-exe/Manifest index c61026fd21da..84d565551700 100644 --- a/dev-python/pypy3_10-exe/Manifest +++ b/dev-python/pypy3_10-exe/Manifest @@ -1,2 +1,3 @@ DIST pypy3.10-gentoo-patches-7.3.12.tar.xz 3736 BLAKE2B 9283b05e84b385289900a07a8591d830589c5ae9cb77dc5350cb0c6a4c8f71118ed13d270060d900079ec8f7d57c256a973f55016299d001e8be585ba2a2ad30 SHA512 9ec7d8d6e16719971d43cc37cf3fdfaf76b1a707ae37b02681b0a07d17c60df503e926fa8034c9f4866d46136089a0059ee165a0c222f56f2537f374e915b3ca +DIST pypy3.10-gentoo-patches-7.3.12_p2.tar.xz 7184 BLAKE2B dae373bee65ede20c1e8bc29faedd5413c832bd105045d6953c8c1eca99955de1bab5dfcddacc612874616dabbb58921bebddc2a62177edc822247e6c2eba9c7 SHA512 b4476dc96dfd79a15218e2b7b60f289abeb10605e01a96746c04b9449c201aa8ee032dc3145c36b0b64d07e3948e828b49a874132d595b26e4dd95140d428942 DIST pypy3.10-v7.3.12-src.tar.bz2 23009064 BLAKE2B ad45d90de9ae51803ebcfa202763889f92f7e5c2939331433a496e53ca67dd6eeaf9c61e16cb648945409dff3c6dd6b8a2a01dfe1bed6cd6a9df98f112bff181 SHA512 080520c7de267e17a2823f06cd0a15c108a2c32fc296d6e24782050eb546fa74852d948ede2c381dba110774121b20efc3a07b553acd0ac0db4a844dfc09069e diff --git a/dev-python/pypy3_10-exe/pypy3_10-exe-7.3.12_p2.ebuild b/dev-python/pypy3_10-exe/pypy3_10-exe-7.3.12_p2.ebuild new file mode 100644 index 000000000000..a9b71592d810 --- /dev/null +++ b/dev-python/pypy3_10-exe/pypy3_10-exe-7.3.12_p2.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit check-reqs pax-utils toolchain-funcs + +PYPY_PV=${PV%_p*} +PYVER=3.10 +MY_P="pypy${PYVER}-v${PYPY_PV/_}" +PATCHSET="pypy${PYVER}-gentoo-patches-${PV}" + +DESCRIPTION="PyPy3 executable (build from source)" +HOMEPAGE="https://www.pypy.org/" +SRC_URI=" + https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2 + https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz +" +S="${WORKDIR}/${MY_P}-src" + +LICENSE="MIT" +SLOT="${PYPY_PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+jit low-memory ncurses cpu_flags_x86_sse2" + +RDEPEND=" + app-arch/bzip2:0= + dev-libs/expat:0= + dev-libs/libffi:0= + >=sys-libs/zlib-1.1.3:0= + virtual/libintl:0= + ncurses? ( sys-libs/ncurses:0= ) + !dev-python/pypy3-exe-bin:${SLOT} +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + dev-python/pypy +" + +check_env() { + if use low-memory; then + CHECKREQS_MEMORY="1750M" + use amd64 && CHECKREQS_MEMORY="3500M" + else + CHECKREQS_MEMORY="3G" + use amd64 && CHECKREQS_MEMORY="6G" + fi + + check-reqs_pkg_pretend +} + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && check_env +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && check_env +} + +src_prepare() { + local PATCHES=( + "${WORKDIR}/${PATCHSET}" + ) + default +} + +src_configure() { + tc-export CC + + local jit_backend + if use jit; then + jit_backend='--jit-backend=' + + # We only need the explicit sse2 switch for x86. + # On other arches we can rely on autodetection which uses + # compiler macros. Plus, --jit-backend= doesn't accept all + # the modern values... + + if use x86; then + if use cpu_flags_x86_sse2; then + jit_backend+=x86 + else + jit_backend+=x86-without-sse2 + fi + else + jit_backend+=auto + fi + fi + + local args=( + --no-shared + $(usex jit -Ojit -O2) + + ${jit_backend} + + pypy/goal/targetpypystandalone + --withmod-bz2 + $(usex ncurses --with{,out}mod-_minimal_curses) + ) + + local interp=( pypy ) + if use low-memory; then + local -x PYPY_GC_MAX_DELTA=200MB + interp+=( --jit loop_longevity=300 ) + fi + + # translate into the C sources + # we're going to build them ourselves since otherwise pypy does not + # free up the unneeded memory before spawning the compiler + set -- "${interp[@]}" rpython/bin/rpython --batch --source "${args[@]}" + echo -e "\033[1m${@}\033[0m" + "${@}" || die "translation failed" +} + +src_compile() { + emake -C "${T}"/usession*-0/testing_1 +} + +src_install() { + cd "${T}"/usession*-0 || die + newbin "testing_1/pypy${PYVER}-c" "pypy${PYVER}-c-${PYPY_PV}" + insinto "/usr/include/pypy${PYVER}/${PYPY_PV}" + doins *.h + pax-mark m "${ED}/usr/bin/pypy${PYVER}-c-${PYPY_PV}" +} diff --git a/dev-python/rapidfuzz/Manifest b/dev-python/rapidfuzz/Manifest index 0e591174a695..6f952b1e3a5b 100644 --- a/dev-python/rapidfuzz/Manifest +++ b/dev-python/rapidfuzz/Manifest @@ -1,3 +1,4 @@ DIST rapidfuzz-3.0.0.tar.gz 1230857 BLAKE2B b15bcca17288cc428b485b0c6e1d322027eee5c8c0261b7f0240e4f5908ff2d53e05124855213a1923d96ec7537b75263c17f220bfaf792ab92f2f455d761027 SHA512 bafdb6045baa78154026dc0eb2498eb0031f03c36e8b17a9219d6e0c55041a9b6c164f4fcc0523480903fece0ab4e2e50a8f969a52b6934fcfbad80d8eadba25 DIST rapidfuzz-3.1.0.tar.gz 1251075 BLAKE2B 3a9e3dd4105910ad393efe795c4b7fe603f77ba922a6fa30a7b31f2f14a708651490c1afccbc9a5f217a348a8c20f779172a600331be51298ef746b0ade819ea SHA512 ff583a7b87d64b3b00d785533af3ba76d1ffa5dbc65111f4b72c2e7d84a43fe149e2f5546c6af130617e58e35556a7b2143ff6ed24dcf199d24b81ff7b46abc0 DIST rapidfuzz-3.1.1.tar.gz 1279245 BLAKE2B bd3fa008a29fa9d7c2af8708d498e1b6f4497bf23c42d3692a9d5e61ab605b4511fe26213f405cd6b1a9531f106664577fb741eac1da0a8b70c5ef7b2879b3f8 SHA512 d83e07fd3a0b3085e6b93ddf53207110ae329241c23091c561f07fbcabf630a291c4fda3c5bd2baf91d80f5426ac0cdaeda92e87b617214594bfb67b787b85db +DIST rapidfuzz-3.1.2.tar.gz 1280133 BLAKE2B 5f1d3175bc5ded1900f31c73d0e9fdfd6035533abf3cc9a12be3ba41edd424cb816505d4f82ff2bb4f0a825c53259c3cf1af33cd6b6234680ab93fb5232c91a4 SHA512 462b7b029027a2677ff927285cf614a6b2a6690af622f093633eec1390f0399b70f4240461db493aa9b30a2043f91b44fbbfa8e4bfb65af953516168c2b31409 diff --git a/dev-python/rapidfuzz/rapidfuzz-3.1.2.ebuild b/dev-python/rapidfuzz/rapidfuzz-3.1.2.ebuild new file mode 100644 index 000000000000..d78375311cdf --- /dev/null +++ b/dev-python/rapidfuzz/rapidfuzz-3.1.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +# custom wrapper over setuptools +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Rapid fuzzy string matching in Python using various string metrics" +HOMEPAGE=" + https://github.com/maxbachmann/RapidFuzz/ + https://pypi.org/project/rapidfuzz/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# all these are header-only libraries +DEPEND=" + >=dev-cpp/taskflow-3.0.0 + >=dev-cpp/rapidfuzz-cpp-2.0.0 + dev-python/numpy[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/rapidfuzz_capi[${PYTHON_USEDEP}] + >=dev-python/scikit-build-0.16.2[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # sterilize build flags + sed -i -e '/CMAKE_INTERPROCEDURAL_OPTIMIZATION/d' CMakeLists.txt || die + # remove bundled libraries + rm -r extern || die + + distutils-r1_src_prepare + + # TODO: re-cythonnize when we can reliably dep on Cython >= 3 + export RAPIDFUZZ_BUILD_EXTENSION=1 +} diff --git a/dev-python/setuptools-gettext/Manifest b/dev-python/setuptools-gettext/Manifest new file mode 100644 index 000000000000..5ce91d8aa038 --- /dev/null +++ b/dev-python/setuptools-gettext/Manifest @@ -0,0 +1 @@ +DIST setuptools-gettext-0.1.3.tar.gz 10654 BLAKE2B 801adc5f09facff215009ee61cef6996866efced51424a9dbcc6ace76e132b75d3cc8293eecbe0958372966e9faa64c73d7f743d2bb6187b448d9becf6106c8c SHA512 786e9f9280013759e96fe16551ba2dafef033d7d1faadc9bf9306c6442ba242d638778b45c8c228a2ff04038903958bc1db435c4982b665d73ba15fcc4bd9eee diff --git a/dev-python/setuptools-gettext/metadata.xml b/dev-python/setuptools-gettext/metadata.xml new file mode 100644 index 000000000000..ea8988e8af6a --- /dev/null +++ b/dev-python/setuptools-gettext/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + + <origin>gentoo-staging</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/setuptools-gettext/setuptools-gettext-0.1.3.ebuild b/dev-python/setuptools-gettext/setuptools-gettext-0.1.3.ebuild new file mode 100644 index 000000000000..faa28a52fc90 --- /dev/null +++ b/dev-python/setuptools-gettext/setuptools-gettext-0.1.3.ebuild @@ -0,0 +1,24 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +PYPI_NO_NORMALIZE=1 +inherit distutils-r1 pypi + +DESCRIPTION=" setuptools plugin for building mo files" +HOMEPAGE=" + https://pypi.org/project/setuptools-gettext/ + https://github.com/breezy-team/setuptools-gettext +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + sys-devel/gettext +" diff --git a/dev-python/txredisapi/Manifest b/dev-python/txredisapi/Manifest index c7939e6e5adb..b18523de2cab 100644 --- a/dev-python/txredisapi/Manifest +++ b/dev-python/txredisapi/Manifest @@ -1 +1,2 @@ +DIST txredisapi-1.4.10.gh.tar.gz 54536 BLAKE2B d1224a95516323bfe3cf57b66612cea6b5fe7a4bd9aba0d2202f19575e1607209dc018ad6f754530ba07f09e89f38238f7ae3213898a33f317dc347722e055d7 SHA512 f0ba61c48807de90ec1dde5100b735f7fe0fb8168895d99ee77cbbfe741bae77e0495bf60f719d6cda65d6403c011c9bb15e6057e717afc4051cfdd7e514ddf9 DIST txredisapi-1.4.9.gh.tar.gz 54484 BLAKE2B faf66eecd51f007dae03d34a6fab8c204b01b44d4967281dbf52fce1d3dd0dbf261e0901902cd3484c8edb951d7b318266f7a72e04eee9c55ca1684e12bc2a7f SHA512 b471bd6cbb7c01f5e1a87e1fc45cc6daf7ed08e0e4168e641e4b1b16a92481d0643eafed22efa9d0dbd807dab46359b570176d97a03673987f4a04930e231fdd diff --git a/dev-python/txredisapi/txredisapi-1.4.10.ebuild b/dev-python/txredisapi/txredisapi-1.4.10.ebuild new file mode 100644 index 000000000000..8624ac9f2962 --- /dev/null +++ b/dev-python/txredisapi/txredisapi-1.4.10.ebuild @@ -0,0 +1,84 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +inherit distutils-r1 optfeature + +DESCRIPTION="Non-blocking redis client for python" +HOMEPAGE=" + https://github.com/IlyaSkriblovsky/txredisapi/ + https://pypi.org/project/txredisapi/ +" +# Github is used because PyPI archive does not contain tests, +# see https://github.com/IlyaSkriblovsky/txredisapi/issues/149 +SRC_URI=" + https://github.com/IlyaSkriblovsky/${PN}/archive/refs/tags/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + dev-python/twisted[${PYTHON_USEDEP},ssl(-)] +" +BDEPEND=" + test? ( + dev-db/redis + dev-python/hiredis[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +src_prepare() { + sed -i "/redis_sock =/s:/tmp:${T}:" tests/test_unix_connection.py || die + + distutils-r1_src_prepare +} + +python_test() { + # paralellized tests with -j parameter fail + "${EPYTHON}" -m twisted.trial tests || die "tests failed with ${EPYTHON}" +} + +src_test() { + local redis_pid="${T}"/redis.pid + local redis_port=6379 + + if has_version ">=dev-db/redis-7"; then + local extra_conf=" + enable-debug-command yes + enable-module-command yes + " + fi + + # Spawn Redis itself for testing purposes + einfo "Spawning Redis" + einfo "NOTE: Port ${redis_port} must be free" + "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" + daemonize yes + pidfile ${redis_pid} + port ${redis_port} + bind 127.0.0.1 ::1 + unixsocket ${T}/redis.sock + unixsocketperm 700 + ${extra_conf} + EOF + + # Run the tests + distutils-r1_src_test + + # Clean up afterwards + kill "$(<"${redis_pid}")" || die +} + +pkg_postinst() { + optfeature "Use hiredis protocol parser" dev-python/hiredis +} |
