diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-05-10 08:07:21 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-05-10 08:07:21 +0000 |
| commit | 63d6f6881d8fd84c78825728304b60eb2355c451 (patch) | |
| tree | ea5c31f1600f94c7cfdef03deb3c7174061a50fb /dev-python | |
| parent | 5799b425328eebc17bc05367f17c472310dde08d (diff) | |
| download | baldeagleos-repo-63d6f6881d8fd84c78825728304b60eb2355c451.tar.gz baldeagleos-repo-63d6f6881d8fd84c78825728304b60eb2355c451.tar.xz baldeagleos-repo-63d6f6881d8fd84c78825728304b60eb2355c451.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
40 files changed, 712 insertions, 308 deletions
diff --git a/dev-python/PyGithub/Manifest b/dev-python/PyGithub/Manifest index eb771d6a76bb..7dae511047b3 100644 --- a/dev-python/PyGithub/Manifest +++ b/dev-python/PyGithub/Manifest @@ -1 +1,2 @@ DIST PyGithub-1.58.1.tar.gz 3171074 BLAKE2B e1397db839b2fc194fc67d9ac47adf9faa4a087c9350596e243d8d763a05d50ee1f9b03192bc5b88c0c94893c8d39b798efd07d0c2c8c597072c65306339c03a SHA512 97e316d8bcd47546da2f64afe462b51d183a5385544a57963585a179d844e12865c7b87f08c507c4d3d8c0397a7f98acd84c17f45e9668722459c4c2cc328363 +DIST PyGithub-1.58.2.tar.gz 3171156 BLAKE2B 251964d542eff68b16a4b56740ed3753f80e56f56458cbc1b909b082b6f5deaf805088a24002e1bb95dae46fc7dcd54da6dbfdbd43c79c097a55f118c0bcc755 SHA512 91db0db09c4bfd145013c4b0861d12271a83bce9de7865eaa3e8baeb02bbb262218987556e7df435b50fcd14ea178da7bc23225d4d93ccf1714fa9a894cd46bd diff --git a/dev-python/PyGithub/PyGithub-1.58.2.ebuild b/dev-python/PyGithub/PyGithub-1.58.2.ebuild new file mode 100644 index 000000000000..c22ebb71ed44 --- /dev/null +++ b/dev-python/PyGithub/PyGithub-1.58.2.ebuild @@ -0,0 +1,38 @@ +# 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_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python library to access the Github API v3" +HOMEPAGE=" + https://github.com/PyGithub/PyGithub/ + https://pypi.org/project/PyGithub/ +" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# cryptography via pyjwt[crypto] +RDEPEND=" + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/deprecated[${PYTHON_USEDEP}] + >=dev-python/pyjwt-2.4.0[${PYTHON_USEDEP}] + >=dev-python/pynacl-1.4.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.14.0[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + >=dev-python/httpretty-0.9.6[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 61ee8828fece..f70edbec34cf 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -3,3 +3,4 @@ DIST boto3-1.26.126.gh.tar.gz 642281 BLAKE2B c7a9130cac15843decf4543d6f749040805 DIST boto3-1.26.127.gh.tar.gz 645245 BLAKE2B fb320e064eae4a6755770653f5519e17ea11aa6f7aa566e0a625b1113cc784440c4d519bb2de544340d66c3fe80a510a1dadba3f724395c186ad7ef68b5ce11f SHA512 df6f9082a159e7ae8033ba92652cde9d73fc8b93e6793d3ce021b75135f825f7e4e102467caa179b36959a42b98376e30ada35d4a3259e359fbf417c92a6e487 DIST boto3-1.26.129.gh.tar.gz 645918 BLAKE2B 2de3833e60f8a8b91a35c863fc67e1b098b4d51e296a20677ab0e35b62809118dd105cf9338ccef60eef454cbf4b443bf06aa56206a1db4720305bc23ef19d42 SHA512 6b97bee6947eb05e972877b8326b83c4fe6fd244c0ef63da3f2aec801a00810083bb5d4998ec262394cd130393c85f4a0f0cc22f58def1a425def2b3780a48bc DIST boto3-1.26.130.gh.tar.gz 646289 BLAKE2B a93c3806253f1af6cfa385531fc7b9efbaefd403a20155c5033fd4860f19fa845394a73aa5641d21c5a3992abac92245345567c1286370ea7f0029d0159e0ad7 SHA512 1bf0f7d682437cd5564515b7da622b10201a4d91358f52c2c4bff9a80f1c082b881b87c53a21a0eef6c5f5c36ae622efd0d80225b402c4bf93019405f31d1a9f +DIST boto3-1.26.131.gh.tar.gz 646652 BLAKE2B c28edab15296d5b12aa8d423cba491f0665c8c3b87187cc7e75c75b16533b7cc10789833559cb39852257cac0d22d08f901d7459ddd53e2642f7ee8a42d73d64 SHA512 d7b9a215a895c79c3d8f63c4657d9c9ddf733219a36e7b204edd2602695d92826ba0ce4192fe50037dec672395aaceda3b115bad4d48c3437a1e20f52beaaa3d diff --git a/dev-python/boto3/boto3-1.26.131.ebuild b/dev-python/boto3/boto3-1.26.131.ebuild new file mode 100644 index 000000000000..2a4a7643203e --- /dev/null +++ b/dev-python/boto3/boto3-1.26.131.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_{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 a86090977b49..c07f853ca600 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -3,3 +3,4 @@ DIST botocore-1.29.126.gh.tar.gz 11453877 BLAKE2B 955931ba40d550a12f4cd16cd7f746 DIST botocore-1.29.127.gh.tar.gz 11474348 BLAKE2B 72002e57593e114864bb8d6f0ec30d78fb503a6eee71fd0e61dbe430d976408583e2697db1828e8373bd5ba620b024c2e9bf3e25a69a39625b8ac7f5ae61a63a SHA512 b82f149807970666175222bba27213387782804c41393609011f36564b6a8be209777a575fa088e39440f7bcfe6d47d1183136aa2710ad4315f6f70075cd0ce3 DIST botocore-1.29.129.gh.tar.gz 11476185 BLAKE2B b2601ecd28263e44f4830ccad24402e6c5f62127cd5abbe75fd270bb05fabcc10dee24e6ba8e37629232929990b1f6bd9870eead303642564342da60c3386bda SHA512 c38a8797f7c728755406e334094e0183fd69eb1a7c68e41b065d5d2c999948714390a647c68d0373c1d8a7b6d9d91fd950b10527ee88bca08788921903ff9535 DIST botocore-1.29.130.gh.tar.gz 11473884 BLAKE2B 13d50cd41f690cf1e45324ca311da65f946396ebe3856ff60c06e35edc290d4e1d1b76e2b3bc72c3c0f8578f4cae16a7812f5c742bd8847cc5dfc5e15e98d12d SHA512 0173113f295019bfd968af0651bde9032baa2ebb2018070db8702adc35d73ac98e03a828fed7637ebc76bf5d1ba66b6fadb87a1d2afdae8a23f6279d7d5f10ad +DIST botocore-1.29.131.gh.tar.gz 11477200 BLAKE2B b82be25b352f8d8192e698e06ed7bb5ed56632a355930fef0d3e75eff3cba4ef3b165ad9d9b98a6d2a862fb0ac73b656494e2c33772a8527ee67fc0321ad7ed3 SHA512 b2ebdd6b1abb71a611120413a65b35f27e5962085cb35dc166b7eb04540622e39ef16d2f09f304a41c3692080f4bb8a6593cc60208b7d3f39d01e827a4795067 diff --git a/dev-python/botocore/botocore-1.29.131.ebuild b/dev-python/botocore/botocore-1.29.131.ebuild new file mode 100644 index 000000000000..491b6bbc21f2 --- /dev/null +++ b/dev-python/botocore/botocore-1.29.131.ebuild @@ -0,0 +1,72 @@ +# 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_{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 + ) + + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +} diff --git a/dev-python/cliff/Manifest b/dev-python/cliff/Manifest index c628a42d7fc8..6e128e47a28c 100644 --- a/dev-python/cliff/Manifest +++ b/dev-python/cliff/Manifest @@ -1 +1,2 @@ DIST cliff-4.2.0.tar.gz 83168 BLAKE2B ac2d288ac3728f4266d61edb9b6aedc897e9020d3f8a74ebba4721530942a27335564c2a95406a4d6b5374df49e38bc0aa303d3aff12f83c91e48c59f13aa45f SHA512 6f0c31b49603be5289e6d4c9b2572862e977264df21dc14d976289c627909102d672ee8ffa5b6cd79b3a349158ff8f36444a2d2061e18eeb7121ce79b2d5719b +DIST cliff-4.3.0.tar.gz 82652 BLAKE2B 8d4977e3541fd9de21fb637069abcb92cf38b07f47f0d61d329397ab9d42335f18faa6d7d13862b7f188632af39d46118d0f3ebfcf2475b67c258388aa4bbcc2 SHA512 b4ed6fcec05017c999d54188459aa93c9a35660b0ceb505525f22a6bb7632e3548e91d8dc00db381c314a3818be2a457b7aee3307da35915ea7519c1e13091a3 diff --git a/dev-python/cliff/cliff-4.3.0.ebuild b/dev-python/cliff/cliff-4.3.0.ebuild new file mode 100644 index 000000000000..48bb29902885 --- /dev/null +++ b/dev-python/cliff/cliff-4.3.0.ebuild @@ -0,0 +1,42 @@ +# 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="Command Line Interface Formulation Framework" +HOMEPAGE=" + https://opendev.org/openstack/cliff/ + https://github.com/openstack/cliff/ + https://pypi.org/project/cliff/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/autopage-0.4.0[${PYTHON_USEDEP}] + >=dev-python/cmd2-0.8.0[${PYTHON_USEDEP}] + dev-python/prettytable[${PYTHON_USEDEP}] + >=dev-python/pyparsing-2.1.0[${PYTHON_USEDEP}] + >=dev-python/stevedore-2.0.1[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.12.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/importlib-metadata-4.11.1[${PYTHON_USEDEP}] + ' 3.8 3.9) +" +BDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + test? ( + dev-python/sphinx[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest diff --git a/dev-python/coverage/Manifest b/dev-python/coverage/Manifest index 72a29c721029..2f9e6b63207c 100644 --- a/dev-python/coverage/Manifest +++ b/dev-python/coverage/Manifest @@ -1,4 +1 @@ -DIST coverage-7.2.2.tar.gz 812407 BLAKE2B 901ed01eb8411e01c3386dcecccf975f4ac0e46c14fd2c6086bcf83647ff7e26deccb3926f173a207ef2851c0f8c5f99874659a1ba2e16f85b6eb9a1ac23142c SHA512 7d2ba6540ca42c3a72b65343348a64c58156bac915434249fd8740a6727ebf034590f62a5557f6b2f76e67ed1adc2a153ce61eee71f3bc903538c440e080e3e7 -DIST coverage-7.2.3.tar.gz 757154 BLAKE2B eb2d7e9e52dd9480f806556fbb73864884365215834640a1458c06d137706d3a5ca818c0418ecc6646b0722fd23a0348eddb97521a7cd024c218b872072661ea SHA512 2710424b04f812299777497e526d259a3ac35205b425a53973954c8e51cd39e75c30f8be9d60656e7369d3fa2decd810a8cb395dd433381495db4f6a7cd9a600 -DIST coverage-7.2.4.tar.gz 759129 BLAKE2B 186f5dcd5abd86634cf6cd3c58be47cc68e8d8417df02b4e55ac3d66703664b2069cb3f94fdff726eca99108fd243f6410b0118cf4a2b21a067653f567f8f013 SHA512 f22d475a64828d0613747cf7315053c4830acb9931acfe58e1c29029028f0a48e9c633649bea92ab6bae3b67daf790eb9cf3d6ea22dec1d1f5dce7df673ff3ae DIST coverage-7.2.5.tar.gz 759465 BLAKE2B 79670165a2516047ce3b28c331ec62c7c578fbfe14bd1179be65e52c5e57923ffb0d365f9153a78134ed5d95e4e04a8eadb6df3cbc49559659cf8cb77aa9d611 SHA512 3c4ec5aaba06170c860baa23ba61fe6f19b95a433430f045272839c13cc5bf4fb12a2a030d987ad5713202c75273646639da1257c0a618658f090c8a9fee41a7 diff --git a/dev-python/coverage/coverage-7.2.2.ebuild b/dev-python/coverage/coverage-7.2.2.ebuild deleted file mode 100644 index f88f51079fcd..000000000000 --- a/dev-python/coverage/coverage-7.2.2.ebuild +++ /dev/null @@ -1,77 +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 ) -PYTHON_REQ_USE="threads(+),sqlite(+)" - -inherit distutils-r1 pypi - -DESCRIPTION="Code coverage measurement for Python" -HOMEPAGE=" - https://coverage.readthedocs.io/en/latest/ - https://github.com/nedbat/coveragepy/ - https://pypi.org/project/coverage/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.{8..10}) -" -BDEPEND=" - test? ( - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/unittest-mixins-1.4[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e '/^addopts/s:-q -n auto::' setup.cfg || die - distutils-r1_src_prepare -} - -test_tracer() { - local -x COVERAGE_TEST_TRACER=${1} - einfo " Testing with the ${COVERAGE_TEST_TRACER} tracer ..." - epytest tests -} - -python_test() { - local EPYTEST_IGNORE=( - # pip these days insists on fetching build deps from Internet - tests/test_venv.py - ) - - "${EPYTHON}" igor.py zip_mods || die - - local -x COVERAGE_TESTING=True - # TODO: figure out why they can't be imported inside test env - local -x COVERAGE_NO_CONTRACTS=1 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=_hypothesis_pytestplugin,flaky.flaky_pytest_plugin,xdist.plugin - - local prev_opt=$(shopt -p nullglob) - shopt -s nullglob - local c_ext=( "${BUILD_DIR}/install$(python_get_sitedir)"/coverage/*.so ) - ${prev_opt} - - if [[ -n ${c_ext} ]]; then - cp "${c_ext}" \ - coverage/ || die - test_tracer c - rm coverage/*.so || die - else - test_tracer py - fi -} diff --git a/dev-python/coverage/coverage-7.2.3.ebuild b/dev-python/coverage/coverage-7.2.3.ebuild deleted file mode 100644 index c54a5c0cc45e..000000000000 --- a/dev-python/coverage/coverage-7.2.3.ebuild +++ /dev/null @@ -1,81 +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 ) -PYTHON_REQ_USE="threads(+),sqlite(+)" - -inherit distutils-r1 pypi - -DESCRIPTION="Code coverage measurement for Python" -HOMEPAGE=" - https://coverage.readthedocs.io/en/latest/ - https://github.com/nedbat/coveragepy/ - https://pypi.org/project/coverage/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.{8..10}) -" -BDEPEND=" - test? ( - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/unittest-mixins-1.4[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e '/addopts/s:-q -n auto::' pyproject.toml || die - distutils-r1_src_prepare -} - -test_tracer() { - local -x COVERAGE_TEST_TRACER=${1} - einfo " Testing with the ${COVERAGE_TEST_TRACER} tracer ..." - epytest tests -} - -python_test() { - local EPYTEST_DESELECT=( - # TODO: fails because of additional "Terminated" print on SIGTERM - tests/test_concurrency.py::SigtermTest::test_sigterm_threading_saves_data - ) - local EPYTEST_IGNORE=( - # pip these days insists on fetching build deps from Internet - tests/test_venv.py - ) - - "${EPYTHON}" igor.py zip_mods || die - - local -x COVERAGE_TESTING=True - # TODO: figure out why they can't be imported inside test env - local -x COVERAGE_NO_CONTRACTS=1 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=_hypothesis_pytestplugin,flaky.flaky_pytest_plugin,xdist.plugin - - local prev_opt=$(shopt -p nullglob) - shopt -s nullglob - local c_ext=( "${BUILD_DIR}/install$(python_get_sitedir)"/coverage/*.so ) - ${prev_opt} - - if [[ -n ${c_ext} ]]; then - cp "${c_ext}" \ - coverage/ || die - test_tracer c - rm coverage/*.so || die - else - test_tracer py - fi -} diff --git a/dev-python/coverage/coverage-7.2.4.ebuild b/dev-python/coverage/coverage-7.2.4.ebuild deleted file mode 100644 index bbd159f97106..000000000000 --- a/dev-python/coverage/coverage-7.2.4.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite(+)" - -inherit distutils-r1 pypi - -DESCRIPTION="Code coverage measurement for Python" -HOMEPAGE=" - https://coverage.readthedocs.io/en/latest/ - https://github.com/nedbat/coveragepy/ - https://pypi.org/project/coverage/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.{8..10}) -" -BDEPEND=" - test? ( - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/unittest-mixins-1.4[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e '/addopts/s:-q -n auto::' pyproject.toml || die - distutils-r1_src_prepare -} - -test_tracer() { - local -x COVERAGE_TEST_TRACER=${1} - einfo " Testing with the ${COVERAGE_TEST_TRACER} tracer ..." - epytest tests -} - -python_test() { - local EPYTEST_DESELECT=( - # TODO: fails because of additional "Terminated" print on SIGTERM - tests/test_concurrency.py::SigtermTest::test_sigterm_threading_saves_data - ) - local EPYTEST_IGNORE=( - # pip these days insists on fetching build deps from Internet - tests/test_venv.py - ) - - "${EPYTHON}" igor.py zip_mods || die - - local -x COVERAGE_TESTING=True - # TODO: figure out why they can't be imported inside test env - local -x COVERAGE_NO_CONTRACTS=1 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=_hypothesis_pytestplugin,flaky.flaky_pytest_plugin,xdist.plugin - - local prev_opt=$(shopt -p nullglob) - shopt -s nullglob - local c_ext=( "${BUILD_DIR}/install$(python_get_sitedir)"/coverage/*.so ) - ${prev_opt} - - if [[ -n ${c_ext} ]]; then - cp "${c_ext}" \ - coverage/ || die - test_tracer c - rm coverage/*.so || die - else - test_tracer py - fi -} diff --git a/dev-python/django-environ/Manifest b/dev-python/django-environ/Manifest new file mode 100644 index 000000000000..ad9e3639d0f2 --- /dev/null +++ b/dev-python/django-environ/Manifest @@ -0,0 +1 @@ +DIST django-environ-0.10.0.gh.tar.gz 49508 BLAKE2B 1df34e55fad0072b5be368af880609cb439772ded6446d63e4af03560adc11825e8dda3ac39dddcddf78667a28f0bf26ebc87942c7aaeb5274e56299f240483b SHA512 31296172cb919d2fc295c177618b2af09229943a8683beeeab3da4544bc0aad2eafe64d8ba98c45ede8a0ccd38c63b06425c268c548c47277747b47c21673001 diff --git a/dev-python/django-environ/django-environ-0.10.0.ebuild b/dev-python/django-environ/django-environ-0.10.0.ebuild new file mode 100644 index 000000000000..d13fd26aca8e --- /dev/null +++ b/dev-python/django-environ/django-environ-0.10.0.ebuild @@ -0,0 +1,31 @@ +# 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 Django application to retrieve user's IP address" +HOMEPAGE=" + https://github.com/joke2k/django-environ +" +SRC_URI=" + https://github.com/joke2k/django-environ/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/django-1.11[${PYTHON_USEDEP}] +" + +python_test() { + "${EPYTHON}" tests/manage.py test -v2 myapp || + die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/django-environ/metadata.xml b/dev-python/django-environ/metadata.xml new file mode 100644 index 000000000000..a2df676e20ae --- /dev/null +++ b/dev-python/django-environ/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>core@liguros.net</email> + <name>Development</name> + </maintainer> + + <origin>ports</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/django-guardian/Manifest b/dev-python/django-guardian/Manifest new file mode 100644 index 000000000000..691a475b21b4 --- /dev/null +++ b/dev-python/django-guardian/Manifest @@ -0,0 +1 @@ +DIST django-guardian-2.4.0.gh.tar.gz 160663 BLAKE2B ce53b605f49e4671cd997a45f8fb8d605bed28693a7920e08a9269fe8ef9831864a5a234b927fee87db4d0c29a496c117f1f154d3e42b806eaafdf7bab444f51 SHA512 820dad68d0a7aa5b907803a3b7be2daf3f9d811dc51efcd1adc3c151f1468749943a0ce35514b83d7a64a4d2851ea2eca1581df928f516902a3cf38bca88c6be diff --git a/dev-python/django-guardian/django-guardian-2.4.0.ebuild b/dev-python/django-guardian/django-guardian-2.4.0.ebuild new file mode 100644 index 000000000000..3ab2a6946e58 --- /dev/null +++ b/dev-python/django-guardian/django-guardian-2.4.0.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 + +DESCRIPTION="A Django application to retrieve user's IP address" +HOMEPAGE=" + https://github.com/django-guardian/django-guardian + https://pypi.org/project/django-guardian/ +" +SRC_URI=" + https://github.com/django-guardian/django-guardian/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/django-1.11[${PYTHON_USEDEP}] + dev-python/django-environ + dev-python/mock +" + +python_test() { + "${EPYTHON}" tests/manage.py test -v2 myapp || + die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/django-guardian/metadata.xml b/dev-python/django-guardian/metadata.xml new file mode 100644 index 000000000000..a2df676e20ae --- /dev/null +++ b/dev-python/django-guardian/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>core@liguros.net</email> + <name>Development</name> + </maintainer> + + <origin>ports</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/django-ipware/Manifest b/dev-python/django-ipware/Manifest new file mode 100644 index 000000000000..1522c1618e85 --- /dev/null +++ b/dev-python/django-ipware/Manifest @@ -0,0 +1 @@ +DIST django-ipware-5.0.0.gh.tar.gz 12628 BLAKE2B d7b2a41f255385875348127901acba2b4a7fc7774875f8a53d993a666226b5edadab6480733a961b1eec5b04b3e7283194b57829cb5137ea87a4fe99ba9f71cd SHA512 67acf23a5b91310de2e7b2fac0ce3368cd9c2473f25e22fc237085d158a63d216c2f9c33e647b83b7dfb3bd82276285bbf1dfbdecac7c17a71b81bdfee013e64 diff --git a/dev-python/django-ipware/django-ipware-5.0.0.ebuild b/dev-python/django-ipware/django-ipware-5.0.0.ebuild new file mode 100644 index 000000000000..107f7de72de5 --- /dev/null +++ b/dev-python/django-ipware/django-ipware-5.0.0.ebuild @@ -0,0 +1,32 @@ +# 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 Django application to retrieve user's IP address" +HOMEPAGE=" + https://github.com/un33k/django-ipware + https://pypi.org/project/django-ipware/ +" +SRC_URI=" + https://github.com/un33k/django-ipware/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/django-1.11[${PYTHON_USEDEP}] +" + +python_test() { + "${EPYTHON}" tests/manage.py test -v2 myapp || + die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/django-ipware/metadata.xml b/dev-python/django-ipware/metadata.xml new file mode 100644 index 000000000000..a2df676e20ae --- /dev/null +++ b/dev-python/django-ipware/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>core@liguros.net</email> + <name>Development</name> + </maintainer> + + <origin>ports</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/djangorestframework-guardian/Manifest b/dev-python/djangorestframework-guardian/Manifest new file mode 100644 index 000000000000..3123266e09f2 --- /dev/null +++ b/dev-python/djangorestframework-guardian/Manifest @@ -0,0 +1 @@ +DIST djangorestframework-guardian-0.5.0.gh.tar.gz 9187 BLAKE2B 2a66c894ece4eb9ed3d39f764ce6f0d7522ac9c136d5c31367eeeeb275804d7094eed8a8e2b94e574efb8d16ec7793c43327c44471550acf6722a4210246fd7e SHA512 b34d8d02cd1181e4800e0125a7e41dd2a45b25cb15255921906e336fdaa0334c7ade89e57b918be778274054b6dc2d3297f8660dbc2ca9b65c2b2214d0e14386 diff --git a/dev-python/djangorestframework-guardian/djangorestframework-guardian-0.5.0.ebuild b/dev-python/djangorestframework-guardian/djangorestframework-guardian-0.5.0.ebuild new file mode 100644 index 000000000000..c03b3f804f67 --- /dev/null +++ b/dev-python/djangorestframework-guardian/djangorestframework-guardian-0.5.0.ebuild @@ -0,0 +1,32 @@ +# 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 Django application to retrieve user's IP address" +HOMEPAGE=" + https://github.com/johnthagen/django-rest-framework-guardian2 + https://pypi.org/project/django-guardian/ +" +SRC_URI=" + https://github.com/johnthagen/django-rest-framework-guardian2/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/django-1.11[${PYTHON_USEDEP}] +" + +python_test() { + "${EPYTHON}" tests/manage.py test -v2 myapp || + die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/djangorestframework-guardian/metadata.xml b/dev-python/djangorestframework-guardian/metadata.xml new file mode 100644 index 000000000000..a2df676e20ae --- /dev/null +++ b/dev-python/djangorestframework-guardian/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>core@liguros.net</email> + <name>Development</name> + </maintainer> + + <origin>ports</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/flower/Manifest b/dev-python/flower/Manifest new file mode 100644 index 000000000000..0bcabd831d8b --- /dev/null +++ b/dev-python/flower/Manifest @@ -0,0 +1 @@ +DIST flower-1.2.0.gh.tar.gz 1973872 BLAKE2B 541ea7b9deafa291824f88ba9c84d6f5bdea55f97d14b90f0570fd438fe7fa1bdb01e3d5847cf98d109c8c335e662e2edee7fd5ffff405a86a8dd3fac8e0388b SHA512 23ed8e9c2011ff652eccab7d84617c4216e590bff3645112857fd2a95835eb067045c1dad8f9f3e2d30a4992b29e7aae34962e4eecaf08e02579f644cbcbc793 diff --git a/dev-python/flower/flower-1.2.0.ebuild b/dev-python/flower/flower-1.2.0.ebuild new file mode 100644 index 000000000000..c70ecb8d63b7 --- /dev/null +++ b/dev-python/flower/flower-1.2.0.ebuild @@ -0,0 +1,37 @@ +# 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 Django application to retrieve user's IP address" +HOMEPAGE=" + https://github.com/mher/flower +" +SRC_URI=" + https://github.com/mher/flower/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/django-1.11[${PYTHON_USEDEP}] + >=dev-python/celery-5.0.5 + >=dev-python/prometheus_client-0.8.0 + dev-python/humanize + dev-python/pytz + >=dev-python/tornado-5.0.0 + <dev-python/tornado-7.0.0 +" + +python_test() { + "${EPYTHON}" tests/manage.py test -v2 myapp || + die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/flower/metadata.xml b/dev-python/flower/metadata.xml new file mode 100644 index 000000000000..a2df676e20ae --- /dev/null +++ b/dev-python/flower/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>core@liguros.net</email> + <name>Development</name> + </maintainer> + + <origin>ports</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/hatchling/Manifest b/dev-python/hatchling/Manifest index 8c3d604cab80..a9d71e297459 100644 --- a/dev-python/hatchling/Manifest +++ b/dev-python/hatchling/Manifest @@ -1,3 +1,4 @@ DIST hatch-hatchling-v1.13.0.gh.tar.gz 383610 BLAKE2B 0a3dc20f6c1c504c94c09897e23e6ade844318488093cf849e332cf08f7be178ddb3ae61d8ff01af93438c01216b056a3566e9d8758a0151e4d7498447a9524f SHA512 fb14e1d088676dfc2b76dda207aa514232c3c5b8472d7332c0d53e0bd4dbd1d0e3bd1ac9f261f72e1a32610c565485f5e382fc7071e80066735a04eb8cade13e DIST hatch-hatchling-v1.14.0.gh.tar.gz 378144 BLAKE2B e4fe0b22053e5be1ff330e96ad053e0461aa4e2ad1566313f03f265d42c7b63de8e3e7e7a52fa68639c4bdf4815e22e4040e8511eb43185cb3e7c8cf4d85ff92 SHA512 79a446c327022337c8c9e090c0aea0471fdad0a6c6d384797832bca09ece66c3b854c9626afccbb4fc49a9204ebb1e59a2ee55ff358b0eb1b10b16ddf7b4952a DIST hatch-hatchling-v1.14.1.gh.tar.gz 378265 BLAKE2B ce990341dd4e41e98dbcc97af8e91bed37d4a4c08da7c86baeefb08b27b293c2d3e9a60c780338959bbbfe784603b762718aaf8721c85d3c0252170209d51235 SHA512 87f01d7bd8cc1be060c73a703cc6fe780ec8ef8ab5f1a883fb2b81a821c1be751bcff2301a21ffaec70a272b05cb47c387edfff97682fab402a142f31439677c +DIST hatch-hatchling-v1.15.0.gh.tar.gz 382326 BLAKE2B 14095fc4355baef2bd7ba6156dccb23d21fca4f3942a35fc4341764d4367b94413dc62e3701c43447883137db8261fd5c08ddb3b9688954102ed11c33767d1d4 SHA512 e8d9d557ce277063048ef49c58e8230fb021487c5b4ffafde9caa00c834e6e84aae3d0c7b2a8cbdbdfb18a177afc432da692fab8437630df539ca149dc2ebfc7 diff --git a/dev-python/hatchling/hatchling-1.15.0.ebuild b/dev-python/hatchling/hatchling-1.15.0.ebuild new file mode 100644 index 000000000000..5134aeeb75b5 --- /dev/null +++ b/dev-python/hatchling/hatchling-1.15.0.ebuild @@ -0,0 +1,78 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_TESTED=( python3_{7,8,9,10,11} pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) + +inherit distutils-r1 + +TAG=${P/-/-v} +MY_P=hatch-${TAG} +DESCRIPTION="Modern, extensible Python build backend" +HOMEPAGE=" + https://pypi.org/project/hatchling/ + https://github.com/pypa/hatch/ +" +SRC_URI=" + https://github.com/pypa/hatch/archive/${TAG}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P}/backend + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +# deps are listed in backend/src/hatchling/ouroboros.py +RDEPEND=" + >=dev-python/editables-0.3[${PYTHON_USEDEP}] + >=dev-python/packaging-21.3[${PYTHON_USEDEP}] + >=dev-python/pathspec-0.10.1[${PYTHON_USEDEP}] + >=dev-python/pluggy-1.0.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-1.2.2[${PYTHON_USEDEP}] + ' 3.8 3.9 3.10) + dev-python/trove-classifiers[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + $(python_gen_cond_dep ' + dev-python/atomicwrites[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" + +distutils_enable_tests pytest + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping tests on ${EPYTHON}" + return + fi + + local -x EPYTEST_DESELECT=( + # these run pip to install stuff + tests/backend/dep/test_core.py::test_dependency_found + tests/backend/dep/test_core.py::test_extra_met + tests/backend/dep/test_core.py::test_extra_no_dependencies + tests/backend/dep/test_core.py::test_extra_unmet + tests/backend/dep/test_core.py::test_unknown_extra + tests/backend/dep/test_core.py::test_version_unmet + ) + + # top-level "tests" directory contains tests both for hatch + # and hatchling + cd "${WORKDIR}/${MY_P}" || die + local -x PYTHONPATH="src:${PYTHONPATH}" + epytest tests/backend +} diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest index 02206a5b82eb..cfe0d7da169e 100644 --- a/dev-python/mypy/Manifest +++ b/dev-python/mypy/Manifest @@ -1,2 +1 @@ -DIST mypy-1.1.1.gh.tar.gz 2787425 BLAKE2B e72a4dcb41107e6438b360bb342b7ac42778ab3d6bd557d7fe2a9f92f6427d94d782661ff80bee36aafa676d0cc1553bcfd74cf3e413d4afa525fd8e93e9b87e SHA512 fcd50366837d005f255e2e8ecf20c843374a5d7670d714d1f8cfdaef1c6d44e37e7e84ba91fd1d49513e3aeffc8d5c0ab40ddd7bc9fced75082c9fea60d38f6a DIST mypy-1.2.0.gh.tar.gz 2815323 BLAKE2B d5cdc1bb31d797c49daf5ea0427fdceaf59a131d02a687dc5e72796a03824bff923c6942c6f01ca44025fe153fea02fdaee3959317fda0d4c562c45638e8c380 SHA512 5bee7a5ae4ac608cb3b3855c0ad100ea6ba512900aa557a153e1ae5f8e779125a8ef61103a81a9584b0585a6d4eea78c3585af61fa62986f984ac2b63e6b89b6 diff --git a/dev-python/mypy/mypy-1.1.1.ebuild b/dev-python/mypy/mypy-1.1.1.ebuild deleted file mode 100644 index 2b4d415b626b..000000000000 --- a/dev-python/mypy/mypy-1.1.1.ebuild +++ /dev/null @@ -1,63 +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 multiprocessing - -DESCRIPTION="Optional static typing for Python" -HOMEPAGE=" - https://www.mypy-lang.org/ - https://github.com/python/mypy/ - https://pypi.org/project/mypy/ -" -SRC_URI=" - https://github.com/python/mypy/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -# stubgen collides with this package: https://bugs.gentoo.org/585594 -RDEPEND=" - !dev-util/stubgen - >=dev-python/psutil-4[${PYTHON_USEDEP}] - >=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}] - <dev-python/typed-ast-2[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-3.10[${PYTHON_USEDEP}] - >=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' pypy3 python3_{8..10}) -" -BDEPEND=" - test? ( - >=dev-python/attrs-18.0[${PYTHON_USEDEP}] - >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}] - >=dev-python/lxml-4.4.0[${PYTHON_USEDEP}] - >=dev-python/pytest-6.1.0[${PYTHON_USEDEP}] - >=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}] - >=dev-python/py-1.5.2[${PYTHON_USEDEP}] - >=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}] - >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs/source \ - dev-python/furo -distutils_enable_tests pytest - -# this requires packaging a lot of type stubs -export MYPY_USE_MYPYC=0 - -python_test() { - # Some mypy/test/testcmdline.py::PythonCmdlineSuite tests - # fail with high COLUMNS values - local -x COLUMNS=80 - epytest -n "$(makeopts_jobs)" -} diff --git a/dev-python/mypy/mypy-1.2.0.ebuild b/dev-python/mypy/mypy-1.2.0.ebuild index a43022d8d21e..2b4d415b626b 100644 --- a/dev-python/mypy/mypy-1.2.0.ebuild +++ b/dev-python/mypy/mypy-1.2.0.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" # stubgen collides with this package: https://bugs.gentoo.org/585594 RDEPEND=" diff --git a/dev-python/osc-lib/Manifest b/dev-python/osc-lib/Manifest index 8fb2dfde45b7..58e55807aa52 100644 --- a/dev-python/osc-lib/Manifest +++ b/dev-python/osc-lib/Manifest @@ -1 +1,2 @@ DIST osc-lib-2.7.0.tar.gz 98224 BLAKE2B 9b0d34b628ca413641413ccd92e2a712938eed5a7124e9bae78a281b705be9b4dd2e3c9f5e322f10712361b3e09cfd3edae593a1c4fec6108ba0e946546141ff SHA512 edeff7097e8869b9ef4c888043c44eabea281b89cdac26da4a54fac708a6c9b3c10c57ea3bc76b8ed735c9d803edbb52c77c13c97a07614ce102cdac24a8eb5a +DIST osc-lib-2.8.0.tar.gz 98870 BLAKE2B 29e312caf968f9a725d114c71a32d4d38ba11c785ac5118fe5dc07633f1d71ba5eb387f6fdbe9d90809088f5a1746ea1aea6cf4e55cc3848fa52462ee7969b0f SHA512 a54e3fa13277808d48f98c46aaf3d90670fe8dce21167816e0a8de21133bb95b87fb8172e0cfa6b1e6076635842569849fcddd9450df7ad2372bc079b37ad519 diff --git a/dev-python/osc-lib/osc-lib-2.8.0.ebuild b/dev-python/osc-lib/osc-lib-2.8.0.ebuild new file mode 100644 index 000000000000..042903fd1cad --- /dev/null +++ b/dev-python/osc-lib/osc-lib-2.8.0.ebuild @@ -0,0 +1,51 @@ +# 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="A package of common support modules for writing OSC plugins" +HOMEPAGE=" + https://opendev.org/openstack/osc-lib/ + https://github.com/openstack/osc-lib/ + https://pypi.org/project/osc-lib/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/cliff-3.2.0[${PYTHON_USEDEP}] + >=dev-python/keystoneauth1-3.14.0[${PYTHON_USEDEP}] + >=dev-python/openstacksdk-0.15.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] + >=dev-python/simplejson-3.5.1[${PYTHON_USEDEP}] + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + test? ( + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] + >=dev-python/statsd-3.3.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + # need to skip all tests under TestTagHelps class + # checks exact help message, based on another unittest runner + sed -e '179,$s/test_add_tag_/_&/' -i osc_lib/tests/utils/test_tags.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/pyfuse3/Manifest b/dev-python/pyfuse3/Manifest index 09dab2f84912..ca32fce3098c 100644 --- a/dev-python/pyfuse3/Manifest +++ b/dev-python/pyfuse3/Manifest @@ -1 +1,2 @@ DIST pyfuse3-3.2.2.tar.gz 510868 BLAKE2B a6f11083a3ddec031fdfe5cb810be526cba26d7bc9599a64d28e9a45281aeb04fca8728ff3788e44f1736475c89e64c3c1fd7cb964ff81fc30ce441a5dda7fae SHA512 91787c4198592ff5f0c022141e6c3cb1701108a6635b4d26347c4f7efff2a83aec206e939b44879ad1fd5c6c85aa6731b7465c998ec55ec032a6db024ffee817 +DIST pyfuse3-3.2.3.tar.gz 512352 BLAKE2B 1b5826ea42a72fd5d688b4cd7617c2fd08a7f9b69381d52343e8891c90ba51f8c5c79a2b9c7c42944cd20493ea645a00a26e7c04cebec10322f71241b8b12df3 SHA512 2f35ea5e0f05af7184fe83458b976742f4f500d09098c68b71982e4b8c089485677bf1e704536e037d6f690fce3006a4fdb71697c68999ed412cc9d73aef8b13 diff --git a/dev-python/pyfuse3/pyfuse3-3.2.3.ebuild b/dev-python/pyfuse3/pyfuse3-3.2.3.ebuild new file mode 100644 index 000000000000..78f9953845ba --- /dev/null +++ b/dev-python/pyfuse3/pyfuse3-3.2.3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python 3 bindings for libfuse 3 with asynchronous API" +HOMEPAGE=" + https://github.com/libfuse/pyfuse3/ + https://pypi.org/project/pyfuse3/ +" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +DEPEND=" + sys-fs/fuse:3 +" +RDEPEND=" + ${DEPEND} + dev-python/trio[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-trio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_configure() { + esetup.py build_cython +} diff --git a/dev-python/pyjwt/Manifest b/dev-python/pyjwt/Manifest index 8e121eb05b2c..3b1b89d004d1 100644 --- a/dev-python/pyjwt/Manifest +++ b/dev-python/pyjwt/Manifest @@ -1 +1,2 @@ DIST PyJWT-2.6.0.tar.gz 72984 BLAKE2B d8e9cc85ec80ca8f0414b88bb4bfa4aa93c973e5f3e015dee9433371d8b3c9ba5d701df16073bbacbaca9c9433f8a69259623f2f4e70843dbdf520d4248bb3f3 SHA512 c2f797bbb84469db1332bad61807740d859d0e1fa500ba17981d6c1a7a30a6fab345ff241200e24ce1ffe686591642a858e5eb2e9462fa1ceda7fcd00ae55d30 +DIST PyJWT-2.7.0.tar.gz 77902 BLAKE2B ff1e1c5dfd301a86a42eb6b4b2d6d900b15acdf60875bac49aee980b75b724292ff48b169cd2b9708388860ea93fd94f3cbf891f4606bfeb544e07a14c328bb8 SHA512 0aa886dfdc3c668b45e1c649cc3fbe3c2dec7476f46bd361ff74f6e9c7ea0ad40306a8a8ae84bfd63fe1c1364302b8aa69943013c951b32c9f24e4782b94ca8d diff --git a/dev-python/pyjwt/pyjwt-2.7.0.ebuild b/dev-python/pyjwt/pyjwt-2.7.0.ebuild new file mode 100644 index 000000000000..5da164745ccf --- /dev/null +++ b/dev-python/pyjwt/pyjwt-2.7.0.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 +PYPI_NO_NORMALIZE=1 +PYPI_PN="PyJWT" +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="JSON Web Token implementation in Python" +HOMEPAGE=" + https://github.com/jpadilla/pyjwt/ + https://pypi.org/project/PyJWT/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + !dev-python/python-jwt +" +BDEPEND=" + test? ( + >=dev-python/cryptography-3.4.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +pkg_postinst() { + optfeature "cryptography" dev-python/cryptography +} diff --git a/dev-python/ruamel-yaml/Manifest b/dev-python/ruamel-yaml/Manifest index 25bfa8faf3d8..a2c5e51f9e52 100644 --- a/dev-python/ruamel-yaml/Manifest +++ b/dev-python/ruamel-yaml/Manifest @@ -2,3 +2,4 @@ DIST ruamel.yaml-0.17.21.tar.xz 184612 BLAKE2B cc7e2a336d3c77a9f2d7e5d7233ceb4d1 DIST ruamel.yaml-0.17.22.tar.xz 185000 BLAKE2B dda8163bfa52b29801d115bc64ef52c35086f186b4795df9dfcd785584e2de338ca055dbf07f3eaac548b14d338ac89bbda4e95196fd113a8fda3ecacb30bc61 SHA512 ac1af1c829c0a5dc65a66926d03b50eede405c9dafd811eae1b9567c81b6bb86b7dd91f4b7c6bf84d7c4833f8b17860dcfddaf7992241ac6673d7ffecf15466f DIST ruamel.yaml-0.17.23.tar.xz 185900 BLAKE2B ff283c979474f14e2f0231d64d0a609f262c4b87764eedb2b6060a66a09388670514f341809e6c5f36b0fbe15412209dbd5da9fc31fd8bda83a4d857beade48e SHA512 1a9c22357d61e31464cdead9d0c7715f156839861b8d93b94fa78f00b8d75e803d5bd74fc7d36e1d20f5927f807c3a9ed6af79746177a1d5da0622729597807e DIST ruamel.yaml-0.17.24.tar.xz 186504 BLAKE2B d5bd5240c3ad68309ad9382dd076111f554848a71697ac98015e34449a98c101f37cef0fdead279501976cceb235c8b055675eb63aab4c8121dd30ae5740dd90 SHA512 32fe95c4927197af4f30bc68d26bff956520d69471f802b58be6a07a0c4b2ed45673cd7890a2f49dc2a13791a2dac2fa66a7e6137f5afe813b6d8d56704d0c16 +DIST ruamel.yaml-0.17.26.tar.xz 186752 BLAKE2B ce3d914ac27df2d038a882535f3559b47051a1fb1206a3ab6cab7c2ee0ee9fcfb5fc0babfb3a3488e7d074798bcbdb24d67d2a37a00c9d9210e96f13bb5bcdbb SHA512 40a91002f904621632acaa73b5bd3095f933369d354a8e7579a5afe4c171ceefadb76d5ecbdd3ef6202833874ba19ed518ce5ac5c7dbf15b698dd07b95260d33 diff --git a/dev-python/ruamel-yaml/ruamel-yaml-0.17.26.ebuild b/dev-python/ruamel-yaml/ruamel-yaml-0.17.26.ebuild new file mode 100644 index 000000000000..68ab1d975c37 --- /dev/null +++ b/dev-python/ruamel-yaml/ruamel-yaml-0.17.26.ebuild @@ -0,0 +1,58 @@ +# 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 + +MY_P="${P/-/.}" +DESCRIPTION="YAML parser/emitter that supports roundtrip comment preservation" +HOMEPAGE=" + https://pypi.org/project/ruamel.yaml/ + https://sourceforge.net/projects/ruamel-yaml/ +" +# PyPI tarballs do not include tests +SRC_URI="mirror://sourceforge/ruamel-dl-tagged-releases/${MY_P}.tar.xz" +S="${WORKDIR}"/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/ruamel-yaml-clib[${PYTHON_USEDEP}] + !dev-python/namespace-ruamel +" +BDEPEND=" + test? ( + dev-python/ruamel-std-pathlib[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +python_test() { + local EPYTEST_DESELECT=() + [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( + _test/test_deprecation.py::test_collections_deprecation + ) + local EPYTEST_IGNORE=( + # Old PyYAML tests from lib/ require special set-up and are + # invoked indirectly via test_z_olddata, tell pytest itself + # to leave the subdir alone. + _test/lib/ + ) + + # this is needed to keep the tests working while + # dev-python/namespace-ruamel is still installed + distutils_write_namespace ruamel + epytest +} |
