diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-11-17 08:28:36 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-11-17 08:28:36 +0000 |
| commit | 4f48e4a0f470005931c4befc794484b20d5ceee1 (patch) | |
| tree | 3a6f532af80df6d2e7498761b297b24fb95a1a82 /dev-python | |
| parent | 55c1aeb48f0856d12d2a7d4fbfcf1cfa0e75e7da (diff) | |
| download | baldeagleos-repo-4f48e4a0f470005931c4befc794484b20d5ceee1.tar.gz baldeagleos-repo-4f48e4a0f470005931c4befc794484b20d5ceee1.tar.xz baldeagleos-repo-4f48e4a0f470005931c4befc794484b20d5ceee1.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
55 files changed, 1121 insertions, 127 deletions
diff --git a/dev-python/ablog/Manifest b/dev-python/ablog/Manifest index 556f13f64b76..8de91fa1cf01 100644 --- a/dev-python/ablog/Manifest +++ b/dev-python/ablog/Manifest @@ -1,2 +1,2 @@ -DIST ablog-0.10.29.tar.gz 94309 BLAKE2B 0b4b9cc4537e1c86d456c6294be90455b2a651ec4610e1e5f95b1049186fff2e9f039b108932e420c5534276fb92f2c099a4d341e8a0de25fbe91bf4480f6c27 SHA512 4186a5cf3eecfeebcf7a4158d53901cafb406de1c7ce927816ca947008c8701a384b5aa6125c77340e994a42fbe000df300b00eba50e87a9b8039cd561efa634 DIST ablog-0.10.32.tar.gz 96601 BLAKE2B 59707cfecf2dec9180ac075b65ed6dc613ebfe9b88282251ba1809fee872ca6cc4d3c04995c84774527c561e0e1aa2d80964082f252a7e5e5bbc6b62ed6542c3 SHA512 017650c368144c2bcd25fc22a09bf59879534dae0565be42b1bab3e4decac0600428a7b314d9e0589ca02723cb704fd1a3e3673a24460b4ff272e8b3de26fe20 +DIST ablog-0.10.33.tar.gz 96551 BLAKE2B 5d6ded307572af36f9f87b9f73000378d73ac22b0691c60fca935cc69841e6682b77bc3eacbb1c3bf99719a80bd7ac983680fa7f355d70424586a9fba93e5816 SHA512 0e6fcead0e6a7456063a1fc4836ee4b7f4a157d37eeb3c7b6c8fc8c521a35b30a482287dd4d0d7b298067f1607501f8cfc47da6eb2e0ca2dcfa6cff6324129b4 diff --git a/dev-python/ablog/ablog-0.10.29.ebuild b/dev-python/ablog/ablog-0.10.33.ebuild index 77a46e3c7476..4e7eb8a603f9 100644 --- a/dev-python/ablog/ablog-0.10.29.ebuild +++ b/dev-python/ablog/ablog-0.10.33.ebuild @@ -10,7 +10,7 @@ inherit distutils-r1 DESCRIPTION="Sphinx extension that converts any documentation/website project into a blog." HOMEPAGE="https://ablog.readthedocs.io/" -SRC_URI="https://files.pythonhosted.org/packages/40/a8/3ccc128ca02d7ac9fb1ad6c044854f7120cd420114946021cf31a6107956/${P}.tar.gz" +SRC_URI="https://files.pythonhosted.org/packages/2f/47/ca504c46b85b71dcc39862f26bbec58a6191c1613a1961cb075583eddb82/ablog-0.10.33.tar.gz" LICENSE="LGPL-2.1" SLOT="0" diff --git a/dev-python/aiounittest/aiounittest-1.4.2.ebuild b/dev-python/aiounittest/aiounittest-1.4.2.ebuild index fafaad3ac337..eb036c754a32 100644 --- a/dev-python/aiounittest/aiounittest-1.4.2.ebuild +++ b/dev-python/aiounittest/aiounittest-1.4.2.ebuild @@ -19,7 +19,7 @@ RDEPEND="dev-python/wrapt[${PYTHON_USEDEP}]" distutils_enable_tests unittest -distutils_enable_sphinx docs +#distutils_enable_sphinx docs python_test() { eunittest tests diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index b8a21ecf759e..d2b41ea3a1b5 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -1,5 +1,6 @@ DIST boto3-1.24.96.gh.tar.gz 547933 BLAKE2B 63c347b3abb383f36e4109b2695014dda6b4dd159b8f0e878ea17bcd24c9605dcf403a120b15f63e9a335065a1e3254813998a435d5eb1663f0066f2e7797be6 SHA512 9c3ac6dba99904a54e4b06b02531c2388d235b1926cb5bd7b767c679632b613db4a0d453030295e5f4101efdb7a3df8aca08e3c2e92a6725dc3df733cef37d72 DIST boto3-1.25.5.gh.tar.gz 550814 BLAKE2B 85f345b635fe16a978853d21192f49804837b050539aba650195bf788c7912f8713aa3a826de6f5ae4c28c4c3795e7053a2105622757f3087579e827eda3487f SHA512 6f4cd909b7a6670f74df6c7cac4a140114a0e05f736ed23c5a53351c5c6505f02d40e81ad1314db86db67d16429b38f78708e9cc8ce2cb08f28742ec209c2755 +DIST boto3-1.26.11.gh.tar.gz 561018 BLAKE2B 3bd4ddd23d0752dcaad9795041658909f8df88eb75a89fd727866a25bd0e8a3106a497776c1be8e53274d85302d9185f9bb95b777efd89fed3f5a33edfe04fa1 SHA512 f31e15bf46fa4338418507840ac3961c06f3573502a71892a262bf24bfc38b4058888cccef1abc6e59859a9985f917c4463e698a1a92543519a8da3ff6221a67 DIST boto3-1.26.4.gh.tar.gz 553689 BLAKE2B 0da69cfa0b05ab789fc59938562efb49c3c0a46ae0dd5ca84d5e5782f7ed78f4fae45fa38cfea27c2dbb59bff2604b7f09064d2f4f35578500d379ff9f34513e SHA512 2f7058c405145d66b92412f0941ec705c111132e87121cae3f4be9fd6db4cfee3c1bedc3d952badd5ead13e2e1a4e10d4a1a7bf73b7869225a7615d5038a9086 DIST boto3-1.26.5.gh.tar.gz 555039 BLAKE2B 0f1ca94e7a2c04a760d3452e1e51f883307f82ce9a6cde733a69b0c113d002fd3e757ca7e185b412506af9290c2d70ec78a6987a1b2f7552af95f7eaddd5980e SHA512 862ca971589a5ebe2508a9545eb5de29d3ba0f8d431b334c55770be26d1f03c2b9d250dc5b865faa72d0aaaef3f0fff01274b6c64c7506891d708da9238b7896 DIST boto3-1.26.7.gh.tar.gz 556096 BLAKE2B 3c3b68970b707639dc0d61d04c0d05b01535a01cd8e164d202e726d9225b3a17559e0589fa40601f1a37443986ed370dc40fc4d198d0ce8da1b9ea2eb1582955 SHA512 9a6faa7942ff87827ab47885bc11d2b7f508434b879dfd1ec456ad39f0df4d9a9b0029c9eddda00dae8aad3b2bd13730d42fc2bf2e06de370d60fd28cd0d4ac7 diff --git a/dev-python/boto3/boto3-1.26.11.ebuild b/dev-python/boto3/boto3-1.26.11.ebuild new file mode 100644 index 000000000000..3d7d652a3b69 --- /dev/null +++ b/dev-python/boto3/boto3-1.26.11.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2022 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_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +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 7b8309b1d51d..211a4b62ef25 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -1,5 +1,6 @@ DIST botocore-1.27.96.gh.tar.gz 9792299 BLAKE2B 7d4b388e0dd45a41c794ad8527287fb326c5e828c15998393936b817333055dfbc59f85365f074f6b3017715341d30fed4ea0de8e1ee24ee08d13eff36b369bf SHA512 1050c23a207d089af16e86404db0367936d186c23b8e1fcfa8ebb07737ad411c2771344d535edd5dde43f8473e45ad85c8e5c39f2ddb03449ead3c9daa746a22 DIST botocore-1.28.5.gh.tar.gz 9842427 BLAKE2B ed185346c21eeb0d05b39b55e99e065d9a5448fbe8206de49b3c128d12f4aabe1f6258153710350783846d10e5e10a22ccf77f6d27345297ec64e7ce74e51b87 SHA512 8b41b79826a71ed31c27534129e959e0896d9f4cb1769b4f14f1760d173500563a579aa0e00aaff5058275d5b5e8b921fed34b12825cf16ba4e216b174e4bba5 +DIST botocore-1.29.11.gh.tar.gz 10660645 BLAKE2B 0d5f8a7e34f99947e1488b468699e682acf0077fcc9f3bfb87e00f4966571970e335964edeabb20b41e4f900aee8c5075a004e8e3b09ce7d04a38f4c729d3361 SHA512 f1e2d948b7123316084228b574c8d0a0cc7dac1e615edfc525f9f42e081bf87d107ec948b5f209a6013b37c0f9617d1e585ef602a1f76c106dbd2369ae6e4514 DIST botocore-1.29.4.gh.tar.gz 10587870 BLAKE2B e8007cc2e6aa82bd3223f13c5df0e94dcd6f90cfd86d6137723209191d95b7f1be8df3755eae9190aee44312b9980eb81a5a4ede4d326f4cdf3d4b43febb4486 SHA512 f164b1ab95ea34127d2cdaa6e0ec626e7f8849ac1d112e28384e5e1b105b7e482f386999da52d968023d0f35bff5c6b433b4117f98b85eb060887205fc2f55a4 DIST botocore-1.29.5.gh.tar.gz 10609519 BLAKE2B 814b9409d59e799f47ae536a35fc3677f7eb78f7d4233f846fa66e4bf68b3724dd2bf3ecec777ddc80baf6e7c8201a7649218553db9ad87d1350a2c53a89771d SHA512 6d3d337d9b8f6b3042856df33b016db943059e57a34b3124ea5aca4fb3b6551d476e9cf08e8b6d36caac6db46703b6785fc03f505aa860f029d45f06f254706e DIST botocore-1.29.7.gh.tar.gz 10629818 BLAKE2B 9c74df449411d444d87f43a612741e0a9378214e1382d94e07e557c258808ae2de9d1216e743075b0b63611c1b855ac5c6102733db2320c83213e0b1cbe2888a SHA512 cb7b8ad2661dae376d300ec3d757ec3e9b6702a5064d0aab63af5d81eccb2530a12875568fa9a29d0a83bb7babe165c1d18f10cadeeaf9d57cca9cfceaf2761f diff --git a/dev-python/botocore/botocore-1.29.11.ebuild b/dev-python/botocore/botocore-1.29.11.ebuild new file mode 100644 index 000000000000..40131f66e350 --- /dev/null +++ b/dev-python/botocore/botocore-1.29.11.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2022 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_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +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 + ) + + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +} diff --git a/dev-python/dask/Manifest b/dev-python/dask/Manifest index 484182a01c43..06cdb778cfd9 100644 --- a/dev-python/dask/Manifest +++ b/dev-python/dask/Manifest @@ -1,3 +1,4 @@ DIST dask-2022.10.0.gh.tar.gz 8778168 BLAKE2B d352f574cbf478747a95896c8b074c40c9bb413ccc6cd7b12d344b0dc7dc89bdc0613bf5b142e000b85f1c2a5a02e6eb8ac00b6db459a8580927cb4d7c54cf46 SHA512 d35ee0c710f4cccbdddca028a33f3f855ea26f94bebae1dd2a8c761cd0d116324daa03fd7fb5a4cb57d040f549f922b7373a0c089c9667b4da25fbb3b83efa02 DIST dask-2022.10.1.gh.tar.gz 8781108 BLAKE2B 2030cf0670d054a222123ef836573ae7f5e574a879089a57b9a7730ae5cc33e43da2af3b470ce24174169f9045415cf71543aa05fd368b4471111a01982c5b7c SHA512 58b5515be46086a02a895f97db7120423a51651dcefef6f14d631a719e4faa0315b7a32640e4cd823064ae754319b84cc7c74bb4d4e9d904177816115abc48e5 +DIST dask-2022.11.0.gh.tar.gz 8223664 BLAKE2B d92a393877ecdc24ee20ada65f5a14bb6559c2b266f68a19fe30a8d18b63e543d0115d1a0d3bd3deefa476810722e37016be13035e097a7cc73f196c93052727 SHA512 e4294fa041a64227ecb40cbdb72b5c0f0a7f026ad51da37b778330b01a05a14cf5ab67feafe098388f40edb571ab9c6b688270063433567785048c477cf2a6f4 DIST dask-2022.9.2.gh.tar.gz 8767605 BLAKE2B ad0d9b7f849f984316768f1d1983e13177c3263b6803ce6d861b15b8d88c21c7dce4dae917ca28f8688797573503c6fd518816ca7d993d67c56172ef2adc73ec SHA512 467411933432821413f8440e6434b18c2bf76c616a92ec990bc71c141ea2cab235c1330e888ed77f429b6d00d588042928cd3b06d9b693d51302cf8c114700dd diff --git a/dev-python/dask/dask-2022.11.0.ebuild b/dev-python/dask/dask-2022.11.0.ebuild new file mode 100644 index 000000000000..1155624f33af --- /dev/null +++ b/dev-python/dask/dask-2022.11.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2022 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 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/cloudpickle-0.2.2[${PYTHON_USEDEP}] + >=dev-python/fsspec-0.6.0[${PYTHON_USEDEP}] + >=dev-python/numpy-1.15.1[${PYTHON_USEDEP}] + >=dev-python/pandas-0.25.0[${PYTHON_USEDEP}] + >=dev-python/packaging-20.0[${PYTHON_USEDEP}] + >=dev-python/partd-0.3.10[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}] + >=dev-python/toolz-0.8.2[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/toolz[${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=( + # another test relying on -Werror + "dask/array/tests/test_overlap.py::test_map_overlap_no_depth[None]" + # 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]" +) + +python_test() { + epytest -p no:flaky -m "not network" +} diff --git a/dev-python/diff-match-patch/Manifest b/dev-python/diff-match-patch/Manifest index 98dd5bcdefdc..cd1c017d4faf 100644 --- a/dev-python/diff-match-patch/Manifest +++ b/dev-python/diff-match-patch/Manifest @@ -1,2 +1 @@ -DIST diff-match-patch-20181111.tar.gz 58554 BLAKE2B 2a74294bb9ac88447cdea794a9c3b44d705d93f7e0777d5e5ece4a306f43df47458a4ba0ec8b16624862a6e4540a605695c3a83ee7dad7749b22210ebe65705a SHA512 9b21726b9c0e350553533c14dd86cca823c6f98ab642e7166cf9348952a57b62bcb0576e3d6a3b76655ea1bcc8cef3fe7f33ffb068b5a4bfb4b4b521042484e6 DIST diff-match-patch-20200713.tar.gz 60711 BLAKE2B 9108557050d0aced61e8073e0bfa1969e780e4350dba86e3cb159760d180b09ff2502e8b0a664370e0586bb0ca280f29cfebb983cddf051f10204e3cd1026d8f SHA512 f161efed3d87dd0693c98ee81aedb3868787f040f8f9f31015f9f1de04d50046be75b2351a65a4c26ae1d194b983dbc1420799cf70e7c25737ee4eb3cc78a183 diff --git a/dev-python/diff-match-patch/diff-match-patch-20181111.ebuild b/dev-python/diff-match-patch/diff-match-patch-20181111.ebuild deleted file mode 100644 index 995b941f04c8..000000000000 --- a/dev-python/diff-match-patch/diff-match-patch-20181111.ebuild +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="Diff, match and patch algorithms for plain text" -HOMEPAGE="https://pypi.org/project/diff-match-patch/" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm64 x86" - -distutils_enable_tests pytest diff --git a/dev-python/exceptiongroup/Manifest b/dev-python/exceptiongroup/Manifest index 50c5e1d146ab..f0cd3e10b1c0 100644 --- a/dev-python/exceptiongroup/Manifest +++ b/dev-python/exceptiongroup/Manifest @@ -2,3 +2,4 @@ DIST exceptiongroup-1.0.0.gh.tar.gz 19766 BLAKE2B 2c4aa2c7c096b91971872b2236fad2 DIST exceptiongroup-1.0.1.gh.tar.gz 20267 BLAKE2B 1438e88a51034acd8b032339097640862da323dc46aaab4f64e53a3e8c3ce8a7bbda16cc72eff9c4f3ac44d8c239b9e51d3561781bbd0ed88fe9e1db78e95c2b SHA512 79a678b6d3d152334ff593d15047e4b4c8714d50bd667ff2c878617512fe78b0c1d9df113db221d9ac7ea1e4522427747d85e26ae2d46b16f15538e1a638cc38 DIST exceptiongroup-1.0.2.gh.tar.gz 20586 BLAKE2B 09b1b7bee8f1e379c8ef48d9c8202efd7bc530029c5e2a7b91f0204e99429fade8cfa7427e2a88b52747b3308c0a03b193397b3c35c50ea7a9741c15d6f591f6 SHA512 c93a9b85649d662ae63d8396d262eaaff90b068e60f85e747d2538380a262afd54b16bfb0bae49c3909a39950574b9d777120c86e91344259700224480782759 DIST exceptiongroup-1.0.3.gh.tar.gz 22285 BLAKE2B 4b4d0e46098daf3dd508996d6e566addae53f9ee5da4bccd92cb7c3eefc44c0d815ea94271be1dec8dbf8631b9264c36cd79d063cce3e5c6a326caca778cd53e SHA512 a47242afd9b92c37fd537e253dc0b3c9e6a04e255e9607ff49fc968da24776920dcc36fbda3d2074c44b5cbf7d310f3d7de3d74d396348fc25f22ed3342723c0 +DIST exceptiongroup-1.0.4.gh.tar.gz 22529 BLAKE2B bdf58d36ea59cc7bed17947e4671c92058e7036b20c91df434625d8627db41d646dd0b90ea397c25674753e3ba09654f5978c22220e13007d0af8b1fe659540d SHA512 18f207cb028f1b9ab1073c2859b4aeff357706c3d4c9f05fbe8739f3e19852dd91da5be9c9e18b14b16bd494fc8bf1bd26d058e925084da8c00eac5ad057e2be diff --git a/dev-python/exceptiongroup/exceptiongroup-1.0.4.ebuild b/dev-python/exceptiongroup/exceptiongroup-1.0.4.ebuild new file mode 100644 index 000000000000..0c4187f24fff --- /dev/null +++ b/dev-python/exceptiongroup/exceptiongroup-1.0.4.ebuild @@ -0,0 +1,34 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit_scm +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +MY_P=${P/_} +DESCRIPTION="Backport of PEP 654 (exception groups)" +HOMEPAGE=" + https://github.com/agronholm/exceptiongroup/ + https://pypi.org/project/exceptiongroup/ +" +SRC_URI=" + https://github.com/agronholm/exceptiongroup/archive/${PV/_}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT PSF-2.4" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV/_} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index 7903639dddb5..66381b12c31b 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -1,2 +1,3 @@ DIST google-api-python-client-2.64.0.gh.tar.gz 36028133 BLAKE2B 8e9abadddda17d078210c9cdf5e18db02199bae1ee6f7e5364002266ca9795100fefd8dbbfbaecd5c9e2b74e5125e42535e23f9735fb83b8fe5bc1adae1fe815 SHA512 a525d26224e7b4b647bf5fde82434fbe0e221ff55591b1564b0a3af5e1d49492b3ea157d75bec0328bda754318b9d5e57d78b4d8d532afad2e3b8cbfc650f876 DIST google-api-python-client-2.65.0.gh.tar.gz 36079173 BLAKE2B 32e60989dbc6e02ed2bd128772a71c24670d16da09ca4e5be6d4f56ebf16c94ccac120e233b4efb5fb9c9b8c464d052129eb6305a57fb61f732ca9d593f1297c SHA512 3b215e290c9a63aca914c08478342ab41ef760c135d3d5a13387be52a2993b814568c86cad752de6afe16fb3097989f4d7df06f4c9ce9c453fb7d0cb55f17053 +DIST google-api-python-client-2.66.0.gh.tar.gz 36477219 BLAKE2B 1da02e7747fd1421bdc62180103784af7b50ab0a672ac932f2fe28c22141a922d6f59d9c11ee74b78ff13583bdeee98d35f7b6d616af84fe99aa3d1a0de17342 SHA512 6b3cdf7279067080ff216d184f23c76c74c586e34b70afd936f1d10671fc0c7e7a8ba446a1ca5a9003bab2e3855e939376610ff4e45811fd6ead5e4942f62247 diff --git a/dev-python/google-api-python-client/google-api-python-client-2.66.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.66.0.ebuild new file mode 100644 index 000000000000..63e5333c4693 --- /dev/null +++ b/dev-python/google-api-python-client/google-api-python-client-2.66.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 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="Google API Client for Python" +HOMEPAGE=" + https://github.com/googleapis/google-api-python-client/ + https://pypi.org/project/google-api-python-client/ +" +SRC_URI=" + https://github.com/googleapis/google-api-python-client/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] + <dev-python/httplib2-1[${PYTHON_USEDEP}] + >=dev-python/google-api-core-2.3.1[${PYTHON_USEDEP}] + >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}] + >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] + >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] + <dev-python/uritemplate-5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/oauth2client[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # require Internet access (and credentials) + tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive + tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object + ) + + epytest tests +} diff --git a/dev-python/googleapis-common-protos/Manifest b/dev-python/googleapis-common-protos/Manifest index 3d3628064d0a..cb6dcd331513 100644 --- a/dev-python/googleapis-common-protos/Manifest +++ b/dev-python/googleapis-common-protos/Manifest @@ -1 +1,2 @@ DIST googleapis-common-protos-1.56.4.tar.gz 109551 BLAKE2B 14886a639258c62442f1bd33959f303f280728584d1d2cb2c0f9666b1fd645b9166eea3c149d3081a36ca61b7c48ef0677760d0078f6c46f6c9ce3338d0664b6 SHA512 c4dc3d5390caf5b671b5cf091410d660a96e5e5df5b9584cc757cc5c6929dabd8456965a7721a7573fa28ba8143af8f4c30183193f2e735eb1e25b66b1e15d7c +DIST googleapis-common-protos-1.57.0.tar.gz 115316 BLAKE2B 3514774e537940a06db788646efcb9fbadbd5c0014844eaabcd4f24810cb13f8fc6983b4d451b5d5d3c8188e07548d60a42de9faebc0b6a8d883d61314405e04 SHA512 254f31631508770754a3bcc72a31705fc80aca87186291db73c20dd85ee209c71d97110dc2c9c742243ccb2121d38d77d3e1dc8a05eb4fc77ce07a2f32f7ef31 diff --git a/dev-python/googleapis-common-protos/googleapis-common-protos-1.57.0.ebuild b/dev-python/googleapis-common-protos/googleapis-common-protos-1.57.0.ebuild new file mode 100644 index 000000000000..c452e57ca004 --- /dev/null +++ b/dev-python/googleapis-common-protos/googleapis-common-protos-1.57.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 2020-2022 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="Python classes generated from the common protos in the googleapis repository" +HOMEPAGE=" + https://github.com/googleapis/python-api-common-protos/ + https://pypi.org/project/googleapis-common-protos/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + <dev-python/protobuf-python-5[${PYTHON_USEDEP}] + >=dev-python/protobuf-python-3.15.0[${PYTHON_USEDEP}] + !dev-python/namespace-google +" + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +# no tests as this is all generated code diff --git a/dev-python/jupyter_client/Manifest b/dev-python/jupyter_client/Manifest index 60268e859945..8624835a01da 100644 --- a/dev-python/jupyter_client/Manifest +++ b/dev-python/jupyter_client/Manifest @@ -1,2 +1,3 @@ DIST jupyter_client-7.4.4.tar.gz 327373 BLAKE2B 02f70be181779352706f86515f705addbf68383f16d899a4d30c9d6cb0970e955435a8c934f611f93c9fe2eeb5c0fe3b124f31571ae396995564fb450bf03201 SHA512 6de3b271be03ff90d906fc176ce107799abbf8ac882d32d26d86ab91fd3f8a6fa09e5df4f3955e00bc939a31472d423a0d74396f8ba473440c4bc17cc1a28c2f DIST jupyter_client-7.4.5.tar.gz 327597 BLAKE2B f159d347cf8391c9d3c29327a6c93831e35e7540fb6a0ffe3f59539a7cf5822c562fbb3388ad398a5a6bf87bdd1bc5c6713b9424300d2adb28d93f2a4dafd9c4 SHA512 bef4603222504e40d2ecaf781ea461ba6be8ee32c217e2bf5ec25b83349cec32b3a62e30019ddc75f000bac3fd69ecd6895322f8dcbf953a776dab292b6cca1b +DIST jupyter_client-7.4.7.tar.gz 328801 BLAKE2B 65cd336e99bc6378e78ad99a81907db037fe2271528b06942e056423d9f7e0d45ac595d4dbbb6eced2553d10e36c03e03bb4acc6c25273733043eecf7a3967fb SHA512 ae78496dc130f2188961e61d0874602eb2f8c57586b39377954c1c8247f4dd587eff8e8fd8aec7c8d76beddc661b2aa8f74eb8a37fc667112886232642733195 diff --git a/dev-python/jupyter_client/jupyter_client-7.4.7.ebuild b/dev-python/jupyter_client/jupyter_client-7.4.7.ebuild new file mode 100644 index 000000000000..29f77d2b7ff6 --- /dev/null +++ b/dev-python/jupyter_client/jupyter_client-7.4.7.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 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} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Jupyter protocol implementation and client libraries" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter/jupyter_client/ + https://pypi.org/project/jupyter-client/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/entrypoints[${PYTHON_USEDEP}] + >=dev-python/jupyter_core-4.9.2[${PYTHON_USEDEP}] + >=dev-python/nest_asyncio-1.5.4[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}] + >=dev-python/pyzmq-23.0[${PYTHON_USEDEP}] + >=dev-python/tornado-6.0[${PYTHON_USEDEP}] + dev-python/traitlets[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/ipykernel-6.12[${PYTHON_USEDEP}] + dev-python/ipython[${PYTHON_USEDEP}] + >=dev-python/pytest-asyncio-0.18[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-7.0.6-test-timeout.patch +) + +distutils_enable_tests pytest diff --git a/dev-python/line_profiler/Manifest b/dev-python/line_profiler/Manifest index 342a0a387630..9241f90555b7 100644 --- a/dev-python/line_profiler/Manifest +++ b/dev-python/line_profiler/Manifest @@ -1 +1,2 @@ DIST line_profiler-4.0.0.gh.tar.gz 62856 BLAKE2B 7beb4b63c016d180d1e7e39b0461759593d3ba3ad1c5150b3623890ece3a69ebb65d48f59e8dc3865a19565ab46f2dc8a2a86698abe890d9bd857e1080cbb557 SHA512 d10b9470c686da863c340da7d4af8b6c6b6cb715486a00af1e1d79686c26909b289b8400a4d526520ade6fbbcd58e868a97603345682d5060a9b3ae2fd3495be +DIST line_profiler-4.0.1.gh.tar.gz 63735 BLAKE2B 980298c2f0e2cffac12c1bb8dc87ca7876ac74969aafa77500aeb4ab1ab12e98ca56a2974d1311d560fdd7ff707fe6bb44d010f315a1070dc68accdede9041e9 SHA512 1943b359bc442fff8c35674c6e0ea108cbfb06706ed95dfe961daea5de8797ec01e70a712663fff0dcc727c954ddb8a4da4b45774817b14b903901f9cfe108c6 diff --git a/dev-python/line_profiler/line_profiler-4.0.1.ebuild b/dev-python/line_profiler/line_profiler-4.0.1.ebuild new file mode 100644 index 000000000000..d13e6f14a18b --- /dev/null +++ b/dev-python/line_profiler/line_profiler-4.0.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 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="Line-by-line profiler" +HOMEPAGE=" + https://github.com/pyutils/line_profiler/ + https://pypi.org/project/line-profiler/ +" +SRC_URI=" + https://github.com/pyutils/line_profiler/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/ipython[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/ubelt[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + cd tests || die + epytest +} diff --git a/dev-python/mako/Manifest b/dev-python/mako/Manifest index c18ab0f2fd26..77de8cdab7cb 100644 --- a/dev-python/mako/Manifest +++ b/dev-python/mako/Manifest @@ -1 +1,2 @@ DIST Mako-1.2.3.tar.gz 491336 BLAKE2B 75a393bc91e40adf65b584f829e8f454ec894b6f09581d7511e8d5a3d534c301b8e06418a3aa896953270e54e70282afa6692b43debb8abdf122fcaeb754f1ed SHA512 904b12826b3fc74dec069e1fd4afb67a8a1962d72962c4ee8c9360deb728b8deb40c21e7bf831122ad6b095172a8de015222a97f47675d48d595c8eabd98a14b +DIST Mako-1.2.4.tar.gz 497021 BLAKE2B 61b0d7c681e41128fdeff83414de30ffd2282ec6480af61924e35094f674732562297b977f12a0e5cc842ae0ed3f67c7955bb223a0e4f061c773cd4507208d02 SHA512 9a90d245f2c8b5e5efa283d91f762a2fffa40b7f71e7a4b66de7f66f894ad5ba2fa5c04080200b6633bb61d4308db5b5e763b26ae7d93d18efe4aebb2178006a diff --git a/dev-python/mako/mako-1.2.4.ebuild b/dev-python/mako/mako-1.2.4.ebuild new file mode 100644 index 000000000000..d3891bfa656e --- /dev/null +++ b/dev-python/mako/mako-1.2.4.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2022 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 + +MY_P=${P^} +DESCRIPTION="A Python templating language" +HOMEPAGE=" + https://www.makotemplates.org/ + https://github.com/sqlalchemy/mako/ + https://pypi.org/project/Mako/ +" +SRC_URI="mirror://pypi/${MY_P:0:1}/${PN^}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +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="doc" + +RDEPEND=" + >=dev-python/markupsafe-0.9.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/Babel[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( + test/test_exceptions.py::ExceptionsTest::test_alternating_file_names + ) + epytest +} + +python_install_all() { + rm -r doc/build || die + + use doc && local HTML_DOCS=( doc/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/memory_profiler/Manifest b/dev-python/memory_profiler/Manifest index aaf7b94d12d1..398776b4ae98 100644 --- a/dev-python/memory_profiler/Manifest +++ b/dev-python/memory_profiler/Manifest @@ -1 +1,2 @@ DIST memory_profiler-0.60.gh.tar.gz 142585 BLAKE2B aa7fd9e547eecadc184d4da5830c582a9a9ab9565f3dc9c763caaa7e75698ed6b499d2555e4a93b39d2f80f85fad025b84043e0812cb25dd1511f4ebf8da5a85 SHA512 407e44a410cdb4c7c8cc5ff40198c28012f8b0c6bba88d2d1612681eb621a1b802ef137be62fc64ca9e3c362ca3814433bc12169d7c3827bf97293c5bbb8bfbc +DIST memory_profiler-0.61.gh.tar.gz 144680 BLAKE2B 418ae6e7433dd58b00c8706209a7172c31ccf57d74255aa670b271bc9d76b339bd582b48886bed7b53062abd8eb421678c911b3495de4d541b949f340aad7091 SHA512 02c70a049107ad4df635e20e22eaaa91fd4e4fd29690b0a7c314e08ed6e076bbb81f85dd97924ed35f7f0133cfd3c7e55b35400449489733beb172debe592c4e diff --git a/dev-python/memory_profiler/memory_profiler-0.61.ebuild b/dev-python/memory_profiler/memory_profiler-0.61.ebuild new file mode 100644 index 000000000000..9b2efae5b79b --- /dev/null +++ b/dev-python/memory_profiler/memory_profiler-0.61.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2022 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 module for monitoring memory usage of a python program" +HOMEPAGE=" + https://github.com/pythonprofilers/memory_profiler/ + https://pypi.org/project/memory-profiler/ +" +SRC_URI=" + https://github.com/pythonprofilers/memory_profiler/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" +IUSE="examples" + +# dev-lang/mercury: collision on 'mprof' +# https://bugs.gentoo.org/571176 +RDEPEND=" + dev-python/psutil[${PYTHON_USEDEP}] + !dev-lang/mercury +" + +distutils_enable_tests pytest + +python_test() { + "${EPYTHON}" -m memory_profiler test/test_as.py || die + "${EPYTHON}" -m memory_profiler test/test_func.py || die + "${EPYTHON}" -m memory_profiler test/test_gen.py || die + "${EPYTHON}" -m memory_profiler test/test_loop.py || die + "${EPYTHON}" -m memory_profiler test/test_loop_decorated.py || die + "${EPYTHON}" -m memory_profiler test/test_mprofile.py || die + "${EPYTHON}" -m memory_profiler test/test_nested.py || die + "${EPYTHON}" -m memory_profiler test/test_precision_command_line.py || die + "${EPYTHON}" -m memory_profiler test/test_unicode.py || die + + "${EPYTHON}" test/test_exception.py || die + "${EPYTHON}" test/test_exit_code.py || die + "${EPYTHON}" test/test_global.py || die + "${EPYTHON}" test/test_import.py || die + "${EPYTHON}" test/test_memory_usage.py || die + "${EPYTHON}" test/test_mprof.py || die + "${EPYTHON}" test/test_precision_import.py || die + "${EPYTHON}" test/test_stream_unicode.py || die + "${EPYTHON}" test/test_tracemalloc.py || die +} + +python_install_all() { + use examples && dodoc -r examples + + distutils-r1_python_install_all +} diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest index 8a3faa6a84ef..0f144917cc0c 100644 --- a/dev-python/nuitka/Manifest +++ b/dev-python/nuitka/Manifest @@ -1,2 +1,3 @@ DIST Nuitka-1.1.8.tar.gz 3931273 BLAKE2B 19425e5394f02f4e5dab612e17f80de27569a0d364aaf8597c7bf63f0aa271c3f8cfa987c12b1ae09c5449775b6e4e61aa4d733d0ed81231c4df6ef955dc030e SHA512 f1e594499cd9fcd03873646c41b66a4d89980f408412dcd58db45b3c48238503d03ef25a1b230cfa99960df69f2564b74b02c446e0431dd72634ce277347a551 +DIST Nuitka-1.2.1.tar.gz 3958041 BLAKE2B 461fd91fc2948aa131a5295f3e2f8c99d8de26b32d0dd3008ee130bdc8b722a469e458a717b5cbdbf45cd3720dfff828c3eade1d57c7f0ee391cd062105b4ad1 SHA512 98a95342a78c935ebea88446ee875122baeb66290148cf8c454c8287ecc40b092015d710a1a25b35c3b6869138800d2c654b09a3424512536f06d27860bfa2bb DIST Nuitka-1.2.tar.gz 3957227 BLAKE2B e82c8e30ef326254db255785efd2bab1450c2c496bbef1aae35e6f6c42fee09f2454bdff366ecfcf704aa42bbe9cd62ff5a65f26065b85e95083cb0134829dbc SHA512 65c262109f2341aab607601299ec70c88df46218ecc2bb7a7d39ff66b8d4ec43e44a5d30ac936d6572fb141ca6b19e3c0e0c01975dea82d46a2ec190ed13c21b diff --git a/dev-python/nuitka/nuitka-1.2.1.ebuild b/dev-python/nuitka/nuitka-1.2.1.ebuild new file mode 100644 index 000000000000..d2196214be46 --- /dev/null +++ b/dev-python/nuitka/nuitka-1.2.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2022 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 flag-o-matic optfeature + +DESCRIPTION="Python to native compiler" +HOMEPAGE=" + https://www.nuitka.net/ + https://github.com/Nuitka/Nuitka/ + https://pypi.org/project/Nuitka/ +" +SRC_URI="https://nuitka.net/releases/${P^}.tar.gz" +S=${WORKDIR}/${P^} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~loong ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-util/scons[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( dev-util/ccache ) +" + +DOCS=( Changelog.pdf Developer_Manual.pdf README.pdf ) + +distutils-r1_src_prepare() { + # remove vendored version of SCons that is Python2 only + # this should be removed when upstream removes support for Python2 + rm -vR "${PN}/build/inline_copy/lib/scons-2.3.2/SCons" || die + eapply_user +} + +python_install() { + distutils-r1_python_install + doman doc/nuitka3.1 doc/nuitka3-run.1 +} + +python_test() { + append-ldflags -Wl,--no-warn-search-mismatch + ./tests/basics/run_all.py search || die +} + +pkg_postinst() { + optfeature "support for stand-alone executables" app-admin/chrpath +} diff --git a/dev-python/oslo-log/Manifest b/dev-python/oslo-log/Manifest index 0c369d3ffcb3..19561c40ae2d 100644 --- a/dev-python/oslo-log/Manifest +++ b/dev-python/oslo-log/Manifest @@ -1,2 +1,3 @@ DIST oslo.log-5.0.0.tar.gz 93053 BLAKE2B 640d88e3e7a0f45bbc1407d5e0298a157653d5c2c18a9347057447f0ffbd2d12d878ceefaab6df5e0df2337a85f63945e2af2fb1a58ab51ed2fe039b088c1667 SHA512 fd5cc985a6ba8fecbe052d1036620ae3fd5b6d7a2bbabbdc677fc7db399c6ad806ec032cb595f005ceda74b5477b120df65839cb7904049cab8c2e57a82e8d82 DIST oslo.log-5.0.1.tar.gz 96473 BLAKE2B f5ba28cba56dc56c1180ecf6f9c0bc3a7ef6fd58927220a0369d95f8348706c401598f8016cb06d30891aaf71647945baf717903a63d39367d0f628334d7b89a SHA512 887bf24a34a345464da0677e1e9a30fcb9f180e916e222bf74c21cd3d61288837e8cb9194bba82feacf1ca109d81ca608d2cfc10df0a21705aace1e1c154b037 +DIST oslo.log-5.0.2.tar.gz 96529 BLAKE2B c53de6c2b6576f4f1e1c0de8ed10639962b12a1fd0c1d40fa4c6d1c05a7d2c2cd0c3d3144336ab5984a7e5a91894d5556e20972f07abd5b66a961be63c6262f0 SHA512 1726b736f2c6797dfb65085f07768756a42397a41f7f42505e86df4c0247a3b5d1992dcf42ebd8898f9013cd9d0ecc96747eb0523911474d89f37ee94ffb7272 diff --git a/dev-python/oslo-log/oslo-log-5.0.2.ebuild b/dev-python/oslo-log/oslo-log-5.0.2.ebuild new file mode 100644 index 000000000000..2a98d28e7ecb --- /dev/null +++ b/dev-python/oslo-log/oslo-log-5.0.2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2022 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="OpenStack logging config library, configuration for all openstack projects" +HOMEPAGE=" + https://opendev.org/openstack/oslo.log/ + https://github.com/openstack/oslo.log/ + https://pypi.org/project/oslo.log/ +" +SRC_URI="mirror://pypi/o/oslo.log/oslo.log-${PV}.tar.gz" +S="${WORKDIR}/oslo.log-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/pbr-3.1.1[${PYTHON_USEDEP}] + >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] + >=dev-python/oslo-context-2.20.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.20.0[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.36.0[${PYTHON_USEDEP}] + >=dev-python/oslo-serialization-1.25.0[${PYTHON_USEDEP}] + >=dev-python/debtcollector-1.19.0[${PYTHON_USEDEP}] + >=dev-python/pyinotify-0.9.6[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pbr-3.1.1[${PYTHON_USEDEP}] + test? ( + >=dev-python/testtools-2.3.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.3.0[${PYTHON_USEDEP}] + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest +distutils_enable_sphinx doc/source \ + dev-python/openstackdocstheme \ + dev-python/oslo-config + +src_prepare() { + distutils-r1_src_prepare + # this is used only for eventlet, and eventlet is masked for removal + rm oslo_log/tests/unit/test_pipe_mutex.py || die +} + +python_test() { + eunittest -b +} diff --git a/dev-python/pebble/Manifest b/dev-python/pebble/Manifest index 3f68eaaac340..567675921da2 100644 --- a/dev-python/pebble/Manifest +++ b/dev-python/pebble/Manifest @@ -1 +1,2 @@ DIST Pebble-5.0.2.tar.gz 29066 BLAKE2B 551d5d02964b7d64c7892dafff51c92830d25b77335f251a8b2359e0d53932470545569155e8fd5d4f95945e337a3ca490cdd9791474a1ede4a021524de0561c SHA512 7b66f1af70f6e7a5b28dd53b73124cdc87b37014ee5afafa8d68ccade691f05b20073de7867d28f3a15bf5e8139411fb71316c8f603d8f9cbeac3818e6ab96f1 +DIST Pebble-5.0.3.tar.gz 29076 BLAKE2B d140cc0abd08cb5d6031a3fb8ba6f573e273f865d23e8854e9e540e115b030cabd07d8517f94b542216294abd742960b3addda592f0e7d31662bd10b224c8d7b SHA512 324cba58905b0be76b2cd56e0ee5d3e51a36d46a7754fbccb1f9307af0747c2f02b81d137e2c4bce1c766706b70ce1a909c3b287676db147c202cab7445fc764 diff --git a/dev-python/pebble/pebble-5.0.3.ebuild b/dev-python/pebble/pebble-5.0.3.ebuild new file mode 100644 index 000000000000..f7657a62393c --- /dev/null +++ b/dev-python/pebble/pebble-5.0.3.ebuild @@ -0,0 +1,25 @@ +# Copyright 2020-2022 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=${P^} +DESCRIPTION="Threading and multiprocessing eye-candy" +HOMEPAGE=" + https://pebble.readthedocs.io/ + https://github.com/noxdafox/pebble/ + https://pypi.org/project/Pebble/ +" +SRC_URI="mirror://pypi/${MY_P::1}/${PN^}/${MY_P}.tar.gz" +S=${WORKDIR}/${P^} + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +distutils_enable_tests pytest diff --git a/dev-python/pg8000/pg8000-1.29.2.ebuild b/dev-python/pg8000/pg8000-1.29.2.ebuild index 6646c73724b5..bf878e1c7d61 100644 --- a/dev-python/pg8000/pg8000-1.29.2.ebuild +++ b/dev-python/pg8000/pg8000-1.29.2.ebuild @@ -25,7 +25,7 @@ RDEPEND=" BDEPEND=" test? ( $(python_gen_impl_dep "ssl") - $(epostgres --get-depend) + $(epostgres --get-depend "xml") dev-python/pytest-mock[${PYTHON_USEDEP}] dev-python/pytest-benchmark[${PYTHON_USEDEP}] dev-python/pytz[${PYTHON_USEDEP}] diff --git a/dev-python/pyclipper/Manifest b/dev-python/pyclipper/Manifest index d72b67e33a76..feaa43d1f231 100644 --- a/dev-python/pyclipper/Manifest +++ b/dev-python/pyclipper/Manifest @@ -1 +1,2 @@ +DIST pyclipper-1.3.0.post4.gh.tar.gz 51136 BLAKE2B 983f6003aaafefc4efeecd621094532b44414d8a2c4fc3d11272e3823ce5a78575576e4e3ced018d32bbca5e86afbe6305e3d43d09f66520cc1d95e3c5a988bf SHA512 cfcf195c2d7aca018adf1f59f6bd53ac08f8fca50738767c0d0f3fadf22da61a1cca4bd20b1147b4ffdd06bdd4624f0b63c05e650105660bb0a476ff2b1746d8 DIST pyclipper-1.3.0_p2.tar.gz 51079 BLAKE2B e5af84c15a19bf2ac7f0df78d588d34451c6f0a0bc40fa6a28dd8ef5f697e1d62eb4e14ac184e325ce4d6ad1aab23254d6e91857e3a44636a1652f86aa1778e9 SHA512 08b7f8443b0e98ddf7230824a451b0b0023402c4cecb44c1a264e08d204a3da455aef742b2ffcc0acf44a4ec3b864302af0d7a7ec34bb6a2080340b2320797dd diff --git a/dev-python/pyclipper/pyclipper-1.3.0_p4.ebuild b/dev-python/pyclipper/pyclipper-1.3.0_p4.ebuild new file mode 100644 index 000000000000..929f0c3f97d9 --- /dev/null +++ b/dev-python/pyclipper/pyclipper-1.3.0_p4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 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=${P/_p/.post} +DESCRIPTION="Cython wrapper for the C++ translation of the Angus Johnson's Clipper library" +HOMEPAGE="https://github.com/fonttools/pyclipper" +SRC_URI=" + https://github.com/fonttools/pyclipper/archive/${PV/_p/.post}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +IUSE="" + +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + dev-python/setuptools_scm[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + export SETUPTOOLS_SCM_PRETEND_VERSION="${PV/_p/.post}" +} diff --git a/dev-python/pyghmi/Manifest b/dev-python/pyghmi/Manifest index 137935adc3bd..12b2c4322279 100644 --- a/dev-python/pyghmi/Manifest +++ b/dev-python/pyghmi/Manifest @@ -1 +1,2 @@ DIST pyghmi-1.5.53.tar.gz 245616 BLAKE2B f0dd3d84426c7d1b0e32ae6d666823f2c760b4b6022beb7224af242ab17540f02e47cb321d681ab0153b6cee67c5a35609d45b4af5f9b55896217da8eb089132 SHA512 0f598bcfbfb233ef6a9e7890b914b745c114c67a1c9a5daa6136f498af78c0f6e29e501d5e94a94d47651c11396d154925769d0d7509cc7058a0949545c7eb76 +DIST pyghmi-1.5.54.tar.gz 248634 BLAKE2B 82142cc00972db5e23c893c323d1012b701edeb9844e522b8c2adeeee5f9d96bfc6835a4461f14ae27b595cf4ccdf7c768a403194833f1c6311515c60c2fa9e9 SHA512 6182745a6560f207443042a6f7e56176aabffa32a98b2d20d808b80d8b61febd979281fc207871ec36b26a40c67e453f50e1fc9b2f1581c7a83a561a6e40a435 diff --git a/dev-python/pyghmi/pyghmi-1.5.54.ebuild b/dev-python/pyghmi/pyghmi-1.5.54.ebuild new file mode 100644 index 000000000000..8d1d7490c4aa --- /dev/null +++ b/dev-python/pyghmi/pyghmi-1.5.54.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 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 pure python implementation of IPMI protocol" +HOMEPAGE=" + https://opendev.org/x/pyghmi/ + https://pypi.org/project/pyghmi/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/cryptography-2.1[${PYTHON_USEDEP}] + dev-python/pbr[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] + >=dev-python/six-1.10.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.6.5[${PYTHON_USEDEP}] + >=dev-python/subunit-1.0.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest diff --git a/dev-python/pymemcache/pymemcache-4.0.0.ebuild b/dev-python/pymemcache/pymemcache-4.0.0.ebuild index 72341cf4224f..50ab3182b45d 100644 --- a/dev-python/pymemcache/pymemcache-4.0.0.ebuild +++ b/dev-python/pymemcache/pymemcache-4.0.0.ebuild @@ -36,9 +36,9 @@ EPYTEST_IGNORE=( distutils_enable_tests pytest -distutils_enable_sphinx docs \ - dev-python/sphinxcontrib-apidoc \ - dev-python/sphinx_rtd_theme +#distutils_enable_sphinx docs \ +# dev-python/sphinxcontrib-apidoc \ +# dev-python/sphinx_rtd_theme src_test() { ememcached --start 11221 diff --git a/dev-python/pyphen/Manifest b/dev-python/pyphen/Manifest index a972b919e779..11bb7cf15e97 100644 --- a/dev-python/pyphen/Manifest +++ b/dev-python/pyphen/Manifest @@ -1 +1,2 @@ DIST pyphen-0.13.0.gh.tar.gz 1976723 BLAKE2B 2a2934cabf13f1b77477d131622cd2f03c342557bdfe3b2f7cfbbf31c4538850e021e074798d80300f87b2557f87cbf3bbeafd01da03b38a7036609e61e140ec SHA512 67897cec0b213a755af53ac21c61ddc1ac573a724658543174c3f88adb5f3db367fecf3afb1e7035c0d5b87e624daa2fe7650cb6e44c63d3b9ef6962bbc5d9e2 +DIST pyphen-0.13.1.gh.tar.gz 1976786 BLAKE2B f836467ab8d75f48ed17bccf629193a0c3009a8fc6af114ef86606d468d70aa68f3af5d9dc77318282825cf3d21f661b2a4a93cbf305913ead5cb11de74f474e SHA512 230aec57f0a2db11f30b15115e5ed59ce19aed60120de24783f58ef831854ad7e236ae1da086bca01f9a41cef24f8402d9e0bf9251f6d55c38aa624fd55d4a3b diff --git a/dev-python/pyphen/pyphen-0.13.1.ebuild b/dev-python/pyphen/pyphen-0.13.1.ebuild new file mode 100644 index 000000000000..3538c2fac5ec --- /dev/null +++ b/dev-python/pyphen/pyphen-0.13.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Python module for hyphenation using hunspell dictionaries" +HOMEPAGE=" + https://github.com/Kozea/Pyphen/ + https://pypi.org/project/pyphen/ +" +SRC_URI=" + https://github.com/Kozea/Pyphen/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/${P^} + +LICENSE="GPL-2+ LGPL-2+ MPL-1.1" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +distutils_enable_tests pytest + +python_test() { + epytest -o addopts= +} diff --git a/dev-python/pytest-bdd/Manifest b/dev-python/pytest-bdd/Manifest index 79bed2fd1871..4b55cfe38ae5 100644 --- a/dev-python/pytest-bdd/Manifest +++ b/dev-python/pytest-bdd/Manifest @@ -1,3 +1,2 @@ DIST pytest-bdd-6.0.1.gh.tar.gz 60932 BLAKE2B 67e0dbc251ce94da40033641f37e6c9ad70ca947f71db1a78907a6890d96d8d3112d57a2a63dda526c8f846010d39a575cb5d93a102f4653705d4229ee14ab07 SHA512 30bc697ae177e3f311af0c781e99bde5b491dfef28109359c0d80f33feb8b0b170ffe15c288fe73a624144a1d1c3223b220d591b4acc30d1ad53600482bef87d -DIST pytest-bdd-6.1.0.gh.tar.gz 79270 BLAKE2B 145d1adc6dae8098b30bfd68ce78dcf3c0b6626a32f8da05805f78f176111dd367a62e76eb61d520391c88bf9eda234f63d983bcfa36f00d39d85a026c78f883 SHA512 957b39a9c7c48b8d5e42d301de875579d062744766c55ffa32aed78a5a8a5c9fd9bb3ba281183841bc1da19604659c94ecaa4487dfc7a6dd69b507f5fc9f2dc7 DIST pytest-bdd-6.1.1.gh.tar.gz 79549 BLAKE2B 0de77a2a46c852dcd7b344b385deea6473ec32dfec2eec610ae04d9d192d42eaf7aa3b1455549dc602e46c24edf078c558f2564aa9dd7f42a2beea36458438ea SHA512 69cd345d4a819a84a811ca2a5825f87a46fa4d063b9a852308d36e4f15058a27c45b170dadf684e68322d3380654f985b8ef153e34ad42ef33e0b595f8dc9d96 diff --git a/dev-python/pytest-bdd/pytest-bdd-6.1.0-r1.ebuild b/dev-python/pytest-bdd/pytest-bdd-6.1.0-r1.ebuild deleted file mode 100644 index 7e0b761698d5..000000000000 --- a/dev-python/pytest-bdd/pytest-bdd-6.1.0-r1.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -inherit distutils-r1 - -DESCRIPTION="BDD library for the pytest runner" -HOMEPAGE="https://pypi.org/project/pytest-bdd/" -SRC_URI="https://github.com/pytest-dev/pytest-bdd/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - dev-python/mako[${PYTHON_USEDEP}] - dev-python/parse[${PYTHON_USEDEP}] - dev-python/parse_type[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}]" -BDEPEND="test? ( dev-python/packaging[${PYTHON_USEDEP}] )" - -distutils_enable_tests pytest - -DOCS=( AUTHORS.rst CHANGES.rst README.rst ) - -src_test() { - # terminal_reporter test needs exact wrapping - local -x COLUMNS=80 - - # hooks output parsing may be affected by other pytest-*, e.g. tornasync - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=pytest_bdd.plugin - - distutils-r1_src_test -} diff --git a/dev-python/python-glanceclient/Manifest b/dev-python/python-glanceclient/Manifest index 20f3a7bae116..3fe3016bd183 100644 --- a/dev-python/python-glanceclient/Manifest +++ b/dev-python/python-glanceclient/Manifest @@ -1 +1,2 @@ DIST python-glanceclient-4.1.0.tar.gz 204252 BLAKE2B 484753886663f10b93fc2d9a0c3c2a1359324d989edfa26c0fe26cb7ab74897a5a81a3fac201d53af375d111e0b1e043fce79b1f3d3f153854bd9f63db756a9f SHA512 413d5a77c4b014f6300513552aca33a04e9a34e9bfa9c93ecc9008c79123ba7f20e527f3ad7506d066c0d215aa7fbf57a589a5f015fe1bc52479b8c57c760adf +DIST python-glanceclient-4.2.0.tar.gz 204378 BLAKE2B ee869971f769dd01da2dcf7e1d7ca07e120b5a2ad5a210db7b6cf813a0bb14bb00f8d7f64a4a5c03de61983abfad0448ff3ad9ab4b9acb485a897ae39e4c9409 SHA512 4977db9650ec35ad663fdaa9c576fb1c63efddb9f3df8a92da9e97e530bb5a63016e2492f81239fbb4d01cf260e673c2d489566c10483d2bf6ff9e0653e3bd21 diff --git a/dev-python/python-glanceclient/python-glanceclient-4.2.0.ebuild b/dev-python/python-glanceclient/python-glanceclient-4.2.0.ebuild new file mode 100644 index 000000000000..2eca47ea2c74 --- /dev/null +++ b/dev-python/python-glanceclient/python-glanceclient-4.2.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 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 client for the OpenStack Glance API" +HOMEPAGE=" + https://opendev.org/openstack/python-glanceclient/ + https://github.com/openstack/python-glanceclient/ + https://pypi.org/project/python-glanceclient/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/keystoneauth-3.6.2[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-17.1.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] + >=dev-python/warlock-1.2.0[${PYTHON_USEDEP}] + <dev-python/warlock-2[${PYTHON_USEDEP}] + >=dev-python/wrapt-1.7.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + test? ( + dev-python/ddt[${PYTHON_USEDEP}] + dev-python/fixtures[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + dev-python/tempest[${PYTHON_USEDEP}] + dev-python/testscenarios[${PYTHON_USEDEP}] + dev-python/testtools[${PYTHON_USEDEP}] + dev-python/prettytable[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +python_test() { + # functional tests require cloud instance access + eunittest -b glanceclient/tests/unit +} diff --git a/dev-python/pywebview/Manifest b/dev-python/pywebview/Manifest index e788323ec8aa..a0c9ad5c6cd1 100644 --- a/dev-python/pywebview/Manifest +++ b/dev-python/pywebview/Manifest @@ -1,2 +1,3 @@ DIST pywebview-3.6.1.tar.gz 338235 BLAKE2B 6376ee4f6bea245e1583414a0203bfed518f84cc64480a451e0b445c2b43f1d532c99dbf1403bca54f2e2b71859262e451b23be231578c91372d5691ffcbff37 SHA512 0877981f66c34f72d8c216c5e5167df2bf3c9b4bdd597e1ddde64958ab31e683d722df51e4638510cfa02f382f879340da6ce1b55760b792c215d4c826233f84 +DIST pywebview-3.7.2.tar.gz 440069 BLAKE2B 72a7b53ee72570f3ef0dc2c490f484dca02581490213708b6c45bb487b990d41ca64d477853454549c6cad3543f6381109a2fc54182bb14a720872b1fa240ed9 SHA512 943ce75a29f19b04890e8ae8f3327968b35ba347c8abab9079cfac5e9f93edfa0fbc3999d77a68bb7885d5a7236dc12c75b3a23e1cfbf2fc9fe794089a936db9 DIST pywebview-3.7.tar.gz 339300 BLAKE2B 4cb3fec3566e3ff82f3e515c9ab7e295e6240df62f986f79e2a9de20343bdf0174accd46a26320b302c344ebd098d7ab0f1b51b509c265d5217756db6c0c3a99 SHA512 170ceb106a7382e25b1afc62085deb5d58a6ba52c5fd2afeb7408455e85eba5f537cc9a5f05ab35dbe8e20615e0a65d2629e70283f9a00dc67903d213a8dbf79 diff --git a/dev-python/pywebview/pywebview-3.7.2.ebuild b/dev-python/pywebview/pywebview-3.7.2.ebuild new file mode 100644 index 000000000000..951e8ef77878 --- /dev/null +++ b/dev-python/pywebview/pywebview-3.7.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 2020-2022 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 lightweight cross-platform wrapper around a webview component" +HOMEPAGE="https://github.com/r0x0r/pywebview" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="gtk qt5" +REQUIRED_USE="|| ( gtk qt5 )" + +RDEPEND=" + dev-python/proxy_tools + gtk? ( + dev-python/pygobject[cairo,${PYTHON_USEDEP}] + net-libs/webkit-gtk + ) + qt5? ( + dev-python/pyside2[${PYTHON_USEDEP},webengine] + dev-python/QtPy[${PYTHON_USEDEP},webengine] + ) +" diff --git a/dev-python/resolvelib/Manifest b/dev-python/resolvelib/Manifest index 8b7ab408f486..d168989f8552 100644 --- a/dev-python/resolvelib/Manifest +++ b/dev-python/resolvelib/Manifest @@ -1,2 +1,3 @@ DIST resolvelib-0.5.4.tar.gz 14474 BLAKE2B d1424bf6a019e16e9b662741b6c089258bfef26d5bffcfc9e0c8d9ba105b689654fdce7bf9068f71c49a2ce590f05c16b93c53bbe468fc1a339e7fa489adece2 SHA512 cb027c5478c217f6f8288b42a933665aaf6e59280e7aa88a25f6594e589e34ac2b75734764e331d0889ad9cf0c60b8cbdfa14b01dce023a76870bb21cfc4d926 DIST resolvelib-0.8.1.gh.tar.gz 766632 BLAKE2B 59bb02a08cf0f9bc6070cd5c5109826a7cacc5bda07479358fd591ff018bad761b53ed48f0a330e5ef60b8fa8d5db14ef044b662423e372aad7fc477df5b97ef SHA512 bc99d0661f3605d97074066df3c57edec8db40f66111f0d7a23ad88097ba4a162368ab396ef75632d09cd8a76417fbee2554d0cdb2f797795c246d16e7e3b955 +DIST resolvelib-0.9.0.gh.tar.gz 768502 BLAKE2B a5f0ab89f8b44125da59bc93bbfd78e8f35c3af82459732317097a79db81d5366e9fdfdf75ed12d1726441d1d0275304a953c489e987832134be936b92766878 SHA512 cb263a60e958e190c92dc333afd61eba76e3f1b1cf8f825c39292ea37c90f440afaacfc2d574987e26f6bb1d3a155ea8d878dd29cf82e78d912df36f4a10eb7e diff --git a/dev-python/resolvelib/resolvelib-0.9.0.ebuild b/dev-python/resolvelib/resolvelib-0.9.0.ebuild new file mode 100644 index 000000000000..60bd35aa7b2a --- /dev/null +++ b/dev-python/resolvelib/resolvelib-0.9.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 2021-2022 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 + +DESCRIPTION="Resolve abstract dependencies into concrete ones" +HOMEPAGE=" + https://github.com/sarugaku/resolvelib/ + https://pypi.org/project/resolvelib/ + +" +SRC_URI=" + https://github.com/sarugaku/resolvelib/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +BDEPEND=" + test? ( + dev-python/commentjson[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/rpyc/Manifest b/dev-python/rpyc/Manifest index 454ef371ecf7..92b21b8e61f8 100644 --- a/dev-python/rpyc/Manifest +++ b/dev-python/rpyc/Manifest @@ -1,2 +1 @@ -DIST rpyc-5.1.0.tar.gz 1260651 BLAKE2B 4be17e5de4b0475cd63b99bf20e55e3221149f974b9efec638e0387d71815a5a2e4ea782578152690e019e7b8a4ece17405eed6626578a9c9e379d0f4b589008 SHA512 e9783392f423abca6b488dff5be36dae066980004bd221ca5a1c451f0f9dc7e1daf749650106802f9159de619a8d5e2cd6dc90e9a5f49d16f01bbedd59b504cf DIST rpyc-5.2.3.tar.gz 1267934 BLAKE2B 3c03d587293375f875de31d6a89ba07b47bd4f4ff9fd5c7b23ed0c83e420e9d2bab08844c3538299797203ac90e7e81b955db02de70bf1cee5ea59d8475a6848 SHA512 4be189a719be100886e08d9c2c0769d12b7d1c5e167c197ebee1a3db542e228f2124fea976e5af3680136b298ce4632c79b2f302128dff31ebf45dcf52a9743f diff --git a/dev-python/rpyc/rpyc-5.1.0.ebuild b/dev-python/rpyc/rpyc-5.1.0.ebuild deleted file mode 100644 index 35c6c3ad3390..000000000000 --- a/dev-python/rpyc/rpyc-5.1.0.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="Remote Python Call (RPyC), a transparent and symmetric RPC library" -HOMEPAGE="https://rpyc.readthedocs.io/en/latest/ - https://pypi.org/project/rpyc/ - https://github.com/tomerfiliba-org/rpyc" -SRC_URI="https://github.com/tomerfiliba-org/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" - -# USE flags gdb, numpy are used *only* to run tests depending on these packages -IUSE="test numpy gdb" -RESTRICT="!test? ( test )" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - numpy? ( dev-python/numpy[${PYTHON_USEDEP}] dev-python/pandas[${PYTHON_USEDEP}] ) - gdb? ( sys-devel/gdb )" - -RDEPEND="dev-python/plumbum[${PYTHON_USEDEP}] - dev-python/gevent[${PYTHON_USEDEP}]" - -src_prepare() { - default - - # Windows specific test - rm tests/test_win32pipes.py || die "rm tests/test_win32pipes.py failed" - - # These tests require running sshd - rm tests/test_ssh.py tests/test_deploy.py || die "rm test_ssh.py test_deploy.py failed" - - # This test requires internet access - rm tests/test_registry.py || die "rm test_registry.py failed" - - # This test fails with NO_CIPHERS_AVAILABLE - rm tests/test_ssl.py || die "rm test_ssl.py failed" - - if ! use numpy - then rm tests/test_service_pickle.py || die "rm test_service_pickle.py failed" - fi - - if ! use gdb - then rm tests/test_gdb.py || die "rm test_gdb.py failed" - fi -} - -python_test() { - # for some reason, when tests are run via pytest or nose, some of them hung - pushd tests > /dev/null || die "pushd tests failed" - for x in test_*.py - do ${PYTHON} ${x} || die "${x} failed" - done - popd > /dev/null -} diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index 0f9de2f7b376..18f47a91fbcb 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -1 +1,2 @@ DIST stripe-4.2.0.tar.gz 267578 BLAKE2B 1cd08aa37a3735928e65fb401d8817694cbfceff05722aa96ae4880da6ccb6e3139dcf55804efe26a4e1c1814a6734eed1b5754c06efaf2003d9c28efbdb8731 SHA512 8a2660878838b0a2602afb6716db0dd91c2896b9f27224c2b04c800f32705e876d2915b0c5f4f1bdcf8d3d508ca050660e2e923f999bd0a10f9fdabd3acaa750 +DIST stripe-5.0.0.tar.gz 267241 BLAKE2B 6b4a58a355baf2d16d6de8667d1dff655c3334b58933c6172b25963f90bf072ebb5fae197faafd69285ceaaf06ba952c7012c35222df873d0453ec9fcee45cd5 SHA512 3d782abd3d6983734b6248fcb44cb69609475e14b820062882439c11ba8ba64e19f3db7984902157adaf0a80f9c26d18e7fbe414eb27bfeda95a7fae78a07577 diff --git a/dev-python/stripe/stripe-5.0.0.ebuild b/dev-python/stripe/stripe-5.0.0.ebuild new file mode 100644 index 000000000000..7aea14fa4939 --- /dev/null +++ b/dev-python/stripe/stripe-5.0.0.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2022 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 + +DESCRIPTION="Stripe python bindings" +HOMEPAGE=" + https://github.com/stripe/stripe-python/ + https://pypi.org/project/stripe/ +" +SRC_URI="mirror://pypi/s/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/requests-2.20[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-util/stripe-mock-0.141.0 + dev-python/pytest-mock[${PYTHON_USEDEP}] + net-misc/curl + ) +" + +distutils_enable_tests pytest + +DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md ) + +python_test() { + epytest tests +} + +src_test() { + local stripe_mock_port=12111 + local stripe_mock_max_port=12121 + local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log" + # Try to start stripe-mock until we find a free port + while [[ "${stripe_mock_port}" -le "${stripe_mock_max_port}" ]]; do + ebegin "Trying to start stripe-mock on port ${stripe_mock_port}" + stripe-mock --http-port ${stripe_mock_port} &> "${stripe_mock_logfile}" & + local stripe_mock_pid=$! + sleep 2 + # Did stripe-mock start? + curl --fail -u "sk_test_123:" \ + http://127.0.0.1:${stripe_mock_port}/v1/customers &> /dev/null + eend $? "Port ${stripe_mock_port} unavailable" + if [[ $? -eq 0 ]]; then + einfo "stripe-mock running on port ${stripe_mock_port}" + break + fi + (( stripe_mock_port++ )) + done + if [[ "${stripe_mock_port}" -gt "${stripe_mock_max_port}" ]]; then + eerror "Unable to start stripe-mock for tests" + die "Please see the logfile located at: ${stripe_mock_logfile}" + fi + + local -x STRIPE_MOCK_PORT=${stripe_mock_port} + distutils-r1_src_test + + # Tear down stripe-mock + kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock" +} diff --git a/dev-python/subunit/Manifest b/dev-python/subunit/Manifest index d0a11cdf067e..bc08fe31abae 100644 --- a/dev-python/subunit/Manifest +++ b/dev-python/subunit/Manifest @@ -1,2 +1,3 @@ DIST subunit-1.4.0_p20210729.tar.gz 112644 BLAKE2B 56e785c029f3f2896d0ed3d8005c37403e6aa32d05b653db0e3b679d2157820558e578b53133f4f79404a660f37a710aeeec03ff941fd7cd0819020a0d474515 SHA512 90b1ad071fb5246a7446a4c999142566b9d96c39838905e9020b80f2f0aba0b86dd5185bbd25ff7fc65f69ae68e1e53dfde5b2de05755aa97db9248c6faaa9d7 DIST subunit-1.4.1.gh.tar.gz 112188 BLAKE2B dd09882f13b52e8c1f34f91ee49726f75f473a042b0e025704eb95681e4ff3f313fc6b2f9fbcc78f4fb75c88e3b2a828ffee0f7dfaaa8ad2bff9bfb14bd5c0ea SHA512 c21ab0791ccc92e47df5d741deaae56fffe792777958193727f47c2739135fb77880d30b106e525239c0c35841834dd937e2b30fce27fbe73ca9116753147a65 +DIST subunit-1.4.2.gh.tar.gz 112283 BLAKE2B 195318de120f1fd7cff7173ba056bf5b37983db3527ca7d0f6be7ae9889b99e9c143c92a71d7bd1bada9458b7af402bfbee4153292e58a546e88ca2212ee547b SHA512 21413f0ed26f5f0572249ff4bcf948ea25d9185a1df73421836b9b21e11f323300f93a0275f0d64dc7c81a8e038fa0661a34f818bb038abf79c0637e051bc69e diff --git a/dev-python/subunit/subunit-1.4.2.ebuild b/dev-python/subunit/subunit-1.4.2.ebuild new file mode 100644 index 000000000000..353dd5c55de5 --- /dev/null +++ b/dev-python/subunit/subunit-1.4.2.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2022 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 multilib-minimal autotools + +DESCRIPTION="A streaming protocol for test results" +HOMEPAGE=" + https://launchpad.net/subunit/ + https://pypi.org/project/python-subunit/ +" +SRC_URI=" + https://github.com/testing-cabal/subunit/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0 BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="static-libs test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] + dev-python/extras[${PYTHON_USEDEP}] + dev-lang/perl:= +" +DEPEND=" + ${RDEPEND} + >=dev-libs/check-0.9.11[${MULTILIB_USEDEP}] + >=dev-util/cppunit-1.13.2[${MULTILIB_USEDEP}] + >=virtual/pkgconfig-0-r1 + test? ( + dev-python/fixtures[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/testscenarios[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/subunit-1.4.0-werror.patch" +) + +src_prepare() { + # Install perl modules in vendor_perl, bug 534654. + export PERL_INSTALLDIRS=vendor + + mv all_tests.py python/ || die + + distutils-r1_src_prepare + eautoreconf + multilib_copy_sources +} + +multilib_src_configure() { + ECONF_SOURCE=${S} \ + econf \ + --enable-shared \ + $(use_enable static-libs static) +} + +multilib_src_compile() { + default + multilib_is_native_abi && distutils-r1_src_compile +} + +python_test() { + cd python || die + "${EPYTHON}" -m testtools.run -v all_tests.test_suite || + die "Testing failed with ${EPYTHON}" +} + +multilib_src_test() { + multilib_is_native_abi && distutils-r1_src_test +} + +multilib_src_install() { + local targets=( + install-include_subunitHEADERS + install-pcdataDATA + install-exec-local + install-libLTLIBRARIES + ) + emake DESTDIR="${D}" "${targets[@]}" + + multilib_is_native_abi && distutils-r1_src_install +} + +multilib_src_install_all() { + einstalldocs + find "${D}" -name '*.la' -delete || die +} diff --git a/dev-python/thriftpy2/Manifest b/dev-python/thriftpy2/Manifest index dc299c54ec7e..4b11b2c1160f 100644 --- a/dev-python/thriftpy2/Manifest +++ b/dev-python/thriftpy2/Manifest @@ -1 +1,2 @@ DIST thriftpy2-0.4.15.gh.tar.gz 136581 BLAKE2B 68287057e76ec6f2b91d9fca9a63e1814e2e17f4fb074b5f227b177137452f88921adf4912c66fee206b29d9f32cd0eb43cbbbe275574c21babc12b1f949672e SHA512 c5a17e42ac8a4051714938a4db926a25f41c84e4935fcf18c62ef8b115d9a1df3853800ca6c9fa01cafd6cbdfe31b6b4eabc7a81169a4773e0bda2241c4a26fb +DIST thriftpy2-0.4.16.gh.tar.gz 146991 BLAKE2B 7547ea85106d0929d3e6ee771ff10ad2cd047f4e779c668e4a30ee936ac04d470e16d8321a2771db4404f57e1be41438b4a302bc04b8e4698db03de35dbfa5e9 SHA512 c00b21eb7db3fe91843a5129d16e7af2a29331489e7d8394bcf78eb5c4b8054162b9c5a024eec8080708dbffc491db7922258ecd895477cda49dcc7d56297ecf diff --git a/dev-python/thriftpy2/thriftpy2-0.4.16.ebuild b/dev-python/thriftpy2/thriftpy2-0.4.16.ebuild new file mode 100644 index 000000000000..86f82d9cf94b --- /dev/null +++ b/dev-python/thriftpy2/thriftpy2-0.4.16.ebuild @@ -0,0 +1,47 @@ +# Copyright 2021-2022 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="Pure python approach of Apache Thrift" +HOMEPAGE=" + https://github.com/Thriftpy/thriftpy2/ + https://pypi.org/project/thriftpy2/ +" +SRC_URI=" + https://github.com/Thriftpy/thriftpy2/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/ply[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/tornado[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + tests/test_tornado.py::TornadoRPCTestCase::test_asynchronous_exception + tests/test_tornado.py::TornadoRPCTestCase::test_asynchronous_result + ) + + cd tests || die + epytest +} |
