diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-01-11 00:46:27 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-01-11 00:46:27 +0000 |
| commit | 6c0f684d28eb60e07b5e4d0eb45107431275dde5 (patch) | |
| tree | 6b627255d1dc34f7397dafec115e829023145abb /dev-python | |
| parent | 859a72e91c361d1a2ca854f3d8761ee5199d916b (diff) | |
| download | baldeagleos-repo-6c0f684d28eb60e07b5e4d0eb45107431275dde5.tar.gz baldeagleos-repo-6c0f684d28eb60e07b5e4d0eb45107431275dde5.tar.xz baldeagleos-repo-6c0f684d28eb60e07b5e4d0eb45107431275dde5.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
49 files changed, 41 insertions, 1530 deletions
diff --git a/dev-python/PyGithub/PyGithub-1.57.ebuild b/dev-python/PyGithub/PyGithub-1.57.ebuild index 195f07ccffd9..1768dcfd92fb 100644 --- a/dev-python/PyGithub/PyGithub-1.57.ebuild +++ b/dev-python/PyGithub/PyGithub-1.57.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2022 Gentoo Authors +# 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} ) +PYTHON_COMPAT=( python3_{10..11} ) inherit distutils-r1 diff --git a/dev-python/ansible-compat/ansible-compat-2.2.7.ebuild b/dev-python/ansible-compat/ansible-compat-2.2.7.ebuild index 5e29f11cc6c4..39bd146bfb5d 100644 --- a/dev-python/ansible-compat/ansible-compat-2.2.7.ebuild +++ b/dev-python/ansible-compat/ansible-compat-2.2.7.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2022 Gentoo Authors +# 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} ) +PYTHON_COMPAT=( python3_{10..11} ) inherit distutils-r1 diff --git a/dev-python/aws-sam-translator/aws-sam-translator-1.55.0-r1.ebuild b/dev-python/aws-sam-translator/aws-sam-translator-1.55.0-r1.ebuild index b753c394a2a7..53e124330190 100644 --- a/dev-python/aws-sam-translator/aws-sam-translator-1.55.0-r1.ebuild +++ b/dev-python/aws-sam-translator/aws-sam-translator-1.55.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -21,7 +21,7 @@ S="${WORKDIR}/serverless-application-model-${PV}" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux" RDEPEND=" <dev-python/boto3-2[${PYTHON_USEDEP}] diff --git a/dev-python/aws-sam-translator/aws-sam-translator-1.55.0.ebuild b/dev-python/aws-sam-translator/aws-sam-translator-1.55.0.ebuild deleted file mode 100644 index b72780f342cf..000000000000 --- a/dev-python/aws-sam-translator/aws-sam-translator-1.55.0.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# 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 library that transform SAM templates into AWS CloudFormation templates" -HOMEPAGE=" - https://github.com/aws/serverless-application-model/ - https://pypi.org/project/aws-sam-translator/ -" -SRC_URI=" - https://github.com/aws/serverless-application-model/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/serverless-application-model-${PV}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - <dev-python/boto3-2[${PYTHON_USEDEP}] - >=dev-python/boto3-1.19.5[${PYTHON_USEDEP}] - >=dev-python/jsonschema-3.2[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - tests/validator/test_validator_api.py::TestValidatorApi::test_errors_13_error_definitionuri - tests/unit/test_region_configuration.py::TestRegionConfiguration::test_is_service_supported_positive_4_ec2 - tests/plugins/application/test_serverless_app_plugin.py::TestServerlessAppPlugin_on_before_transform_template_translate::test_sar_success_one_app - tests/plugins/application/test_serverless_app_plugin.py::TestServerlessAppPlugin_on_before_transform_template_translate::test_sar_throttling_doesnt_stop_processing - tests/plugins/application/test_serverless_app_plugin.py::TestServerlessAppPlugin_on_before_transform_template_translate::test_sleep_between_sar_checks - tests/plugins/application/test_serverless_app_plugin.py::TestServerlessAppPlugin_on_before_transform_template_translate::test_unexpected_sar_error_stops_processing - tests/plugins/application/test_serverless_app_plugin.py::TestServerlessAppPlugin_on_before_and_on_after_transform_template::test_time_limit_exceeds_between_combined_sar_calls -) - -python_prepare_all() { - # remove pytest-cov dependency - sed -i -e '/addopts/d' pytest.ini || die - - # deps are installed by ebuild, don't try to reinstall them via pip - truncate --size=0 requirements/*.txt || die - - distutils-r1_python_prepare_all -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/aws-xray-sdk-python/aws-xray-sdk-python-2.11.0-r1.ebuild b/dev-python/aws-xray-sdk-python/aws-xray-sdk-python-2.11.0-r1.ebuild index 585ad0e63fc6..4b7da39f41f4 100644 --- a/dev-python/aws-xray-sdk-python/aws-xray-sdk-python-2.11.0-r1.ebuild +++ b/dev-python/aws-xray-sdk-python/aws-xray-sdk-python-2.11.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/botocore-1.12.122[${PYTHON_USEDEP}] diff --git a/dev-python/aws-xray-sdk-python/aws-xray-sdk-python-2.11.0.ebuild b/dev-python/aws-xray-sdk-python/aws-xray-sdk-python-2.11.0.ebuild deleted file mode 100644 index 3b2e7df5cdab..000000000000 --- a/dev-python/aws-xray-sdk-python/aws-xray-sdk-python-2.11.0.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# 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="AWS X-Ray SDK for Python" -HOMEPAGE=" - https://github.com/aws/aws-xray-sdk-python/ - https://pypi.org/project/aws-xray-sdk/ -" -SRC_URI=" - https://github.com/aws/aws-xray-sdk-python/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/botocore-1.12.122[${PYTHON_USEDEP}] - dev-python/wrapt[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/bottle[${PYTHON_USEDEP}] - <dev-python/flask-sqlalchemy-3[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-1.4[${PYTHON_USEDEP}] - dev-python/webtest[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-2.8.0-fix-py3.10-loops.patch" -) - -distutils_enable_tests pytest - -python_test() { - local -x DJANGO_SETTINGS_MODULE=tests.ext.django.app.settings - local -x AWS_SECRET_ACCESS_KEY=fake_key - local -x AWS_ACCESS_KEY_ID=fake_id - - local EPYTEST_DESELECT=( - # Internet access - tests/test_patcher.py::test_external_file - tests/test_patcher.py::test_external_module - tests/test_patcher.py::test_external_submodules_full - tests/test_patcher.py::test_external_submodules_ignores_file - tests/test_patcher.py::test_external_submodules_ignores_module - # benchmark - tests/test_local_sampling_benchmark.py - # Fails, probably because above is ignored - tests/test_async_local_storage.py::test_localstorage_isolation - tests/test_async_recorder.py::test_capture - tests/test_async_recorder.py::test_concurrent_calls - tests/test_async_recorder.py::test_async_context_managers - ) - local EPYTEST_IGNORE=( - # unpackaged deps - tests/ext/aiobotocore - tests/ext/pg8000 - tests/ext/psycopg2 - tests/ext/pymysql - tests/ext/pynamodb - tests/ext/sqlalchemy_core/test_postgres.py - tests/ext/django/test_db.py - # Internet access - tests/ext/httplib - tests/ext/httpx - tests/ext/requests - # requires old package vesions - tests/ext/django - tests/ext/aiohttp - ) - - epytest -p no:django -} diff --git a/dev-python/boto/boto-2.49.0-r5.ebuild b/dev-python/boto/boto-2.49.0-r5.ebuild index ee16cd16512f..d77bda3ff3a1 100644 --- a/dev-python/boto/boto-2.49.0-r5.ebuild +++ b/dev-python/boto/boto-2.49.0-r5.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +PYTHON_COMPAT=( python3_{10..11} ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 47ac0b4ff1b1..3fe330e3e1be 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -1,8 +1,4 @@ -DIST boto3-1.26.32.gh.tar.gz 581235 BLAKE2B f8decc1e924ff5f5f98566084a55c36ea10ca38596e0f8398a9d5865e6246290e9e09ff3e95622eacca9f32b6f8119156b2ba5a6ce0135e988fad0bcdb161030 SHA512 73c6f8f1e1d5f12887e880cc651399fbd147c65740090bd09303540dcc902efc6b04605551f055341e84cb8b72cdcb9d8d444263fc0131b8f5013197e67c1fb5 DIST boto3-1.26.37.gh.tar.gz 584822 BLAKE2B 08c08502f3defee6365aa19a55cb5bb6c006ce9685421119d1469f90f35e0aeb49fc11a6c5dd133cdfe1138248c0952338adb7b864010825f6f32f40398c2f4f SHA512 4c73b45cae0ed42f219b77d5b58f26560f3ac660d66eaea0c8452053ed38b4c8cc7ab168062483a52e091f7241623466a473368e0545a9fa07c0ac12d0185e31 DIST boto3-1.26.41.gh.tar.gz 586086 BLAKE2B 8f5fac4e26a8ff34e91ee99ab4f93b6c31174cea7fdb1a7e98c942601324fd4128b4609fb1b28d7daf4139dfc1e0fc75760d64693f33e225cc4180c83867aebb SHA512 d87db9db58315de796750d478d6488815cd37307693305d2c6fd0e5f1d04aef51190fa438d942412def7d0075ebb23d440508415459bd9dda83302d29e7cc646 -DIST boto3-1.26.42.gh.tar.gz 586350 BLAKE2B 2dab3f95a6fd17debb1e77fc24f319d1edbd8d0ae1703c339022bad66cf5443860aad122c466a4087ce0954acfd371e41f957c07c972408e3f698c437952501c SHA512 0d8b4b6226c82ed0496baa3db0ef3d6778931d33ba1367738e22fe11fcf24bcfdbc29a5d67aef61648f5d784cb31d0b3f7472b0d64909c1d2ed544dd95ba7c1a -DIST boto3-1.26.43.gh.tar.gz 586684 BLAKE2B 43178ff879cb5b3df585fbd1b4a6f71fe116947df2bdcf58c9223ea81e4500853cf3ba78eb47a98c6b9095a03af88b628914192a76cd7c420223e8569e5ef049 SHA512 18ba125c58a70081ce24c60c6315d7165179a7f7bbfcdefbcab5df99375eb7a7a5bf0b9210e2b47fab13166a425625c48ab5a18c6524171838b30cd235830b2e -DIST boto3-1.26.44.gh.tar.gz 587289 BLAKE2B 33e2c6215a3f9459c3482c349ba68ad39200220a5173a9e3b0001313cbba4a57f42b5e9ea22c5a5a705f018eff89c7514fefbb313de6c829c1c7213543a62ec1 SHA512 7781db03ea01f1fcb21545013a0ef095daf8df70b0927e16fdec10871a2e5ea6a191cb63829fbcdf9dcb6234d213714db94a6cfcaf13e529570f63aac8003e84 DIST boto3-1.26.45.gh.tar.gz 587548 BLAKE2B fca56cad5fa8bf3bfa34f76aa7014d6ee1129653ec8f0b2c0bb0c2b250814d855e732c4ea4252435a1674138ff00e757cec706ac1a1daa8f6e7969d7f0b65811 SHA512 e872efdc764d20b8d264d7a7e984d9427a0f5bd0a78d895812c2e40a4cf97ba0c483129492b5fe698ac8e123a3a23d6fde4e92cc075632ec7b9d0ed55d0b57b4 DIST boto3-1.26.46.gh.tar.gz 588430 BLAKE2B 5df965497f598e8f6b29041c060d4b60cb61a5ac6938f9ec395d4c1abe380f3cf4802addd2b9329019933eb1faa46f0253644a43aef18262cdb6f11548ba2b46 SHA512 27513156a4d47c91f6afd063a4f351fe1d959d89064138e2662dda32a8b55b2ae13d62528bfe84616913e05049122831a1fed8727e1fc3a9a195bda861122fe4 diff --git a/dev-python/boto3/boto3-1.26.32.ebuild b/dev-python/boto3/boto3-1.26.32.ebuild deleted file mode 100644 index 1f8dc6734498..000000000000 --- a/dev-python/boto3/boto3-1.26.32.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# 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/boto3/boto3-1.26.42.ebuild b/dev-python/boto3/boto3-1.26.42.ebuild deleted file mode 100644 index 9523f65d5fb9..000000000000 --- a/dev-python/boto3/boto3-1.26.42.ebuild +++ /dev/null @@ -1,68 +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_{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/boto3/boto3-1.26.43.ebuild b/dev-python/boto3/boto3-1.26.43.ebuild deleted file mode 100644 index 9523f65d5fb9..000000000000 --- a/dev-python/boto3/boto3-1.26.43.ebuild +++ /dev/null @@ -1,68 +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_{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/boto3/boto3-1.26.44.ebuild b/dev-python/boto3/boto3-1.26.44.ebuild deleted file mode 100644 index 9523f65d5fb9..000000000000 --- a/dev-python/boto3/boto3-1.26.44.ebuild +++ /dev/null @@ -1,68 +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_{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 012aa78288f2..07bb2bc8999f 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -1,8 +1,4 @@ -DIST botocore-1.29.32.gh.tar.gz 11048130 BLAKE2B 42c1fd07f0501c5815c05ff8ad2d63d1e90e22835e1df274a7a7dbd77d0edd111c6bd596e2c4489a54982629ad5c525cc558db71f5f06d07cc6a80084f3cb274 SHA512 4ae8f60ee36999848944ebb122fbc3bfde0730d5e2450fa25d7f608e277534bce49fef93e2e21db315edfbda795a130b7ce63644f5a3627cbed4b7905bbb1f99 DIST botocore-1.29.37.gh.tar.gz 11077206 BLAKE2B 59c877edba074d4d5858dbf0a4026c0884cc4fce5bc2c9a7d933cfbff8317825663955205ebc754f8a4713b817b7d775fe208d6946f788a1943989949da58a04 SHA512 e79447fe66a506326c5f6396a32b5f4f6560038c57ab03457c36c838f52c1e48a94cba7624350a738eb937d0f3954984b77fd97ffb4becfa72cc4c61005efd40 DIST botocore-1.29.41.gh.tar.gz 11082628 BLAKE2B a42a66299715159e82bb7bd9ceb5d1d60e88bfe2f59f66231605c909b03110ec18e6f946690c5b33e662fc92719e45fa4cf64ac31176d809908f3574fece5d49 SHA512 b3a5409f3d868c93fd038687d8c864be3c9cacbf4740ba0dd745358cadcce9aa8d76616d7f93316ac14f5f94f18ed42505ec108e2557b234b26c01ca0f3fc22c -DIST botocore-1.29.42.gh.tar.gz 11083372 BLAKE2B 8abca30fbd4bb55d8a0beccc6e81d3da60086230cf55a7ed384491e4bccaf2c5791fccc700ccc737b04b09bdfca4fa4feb3cddb7d0a72c37dccd71d4f6979901 SHA512 56c8859012dcdbf73c2417fc6feb32bf212e07fba5702a51bfb9bbcd446a3a34493a5a9e50369fb223f06c2afa9541eb584252391b09d667a9d13bfda32dfac5 -DIST botocore-1.29.43.gh.tar.gz 11084999 BLAKE2B 8b6d6010639849fdc944820d82c59a95946694a22806f474a6b2778a1581ed35424d66b6bade5a878efe77d4229a001555b4cacff2ab8041f3b901d74b108d72 SHA512 70e26fd5a51ba5760751b8aec2d4b2565f0c75bd263202e8e409c42b37991de03c3a01fa724d9aa9c000034989eb937240a56ea96132ced7a29ef3fee4dd15de -DIST botocore-1.29.44.gh.tar.gz 11087027 BLAKE2B e082d732b9cdeee91df4bae5a4f840ccf89b5408a934c5ffc62e7d5ddfb43a710ee55b2a6b4911bbea55ac319478bbcca5e3291e71dc7d98c147064e0b2239d0 SHA512 f928acfeabfd7c0b362d7f0865d8c1e65e5f4fe6b982da7a3e2b5dd1d395eaa9337d5cc4321005e9e759437828cb016173eb4d69357fac4d668f948b5fd0d43a DIST botocore-1.29.45.gh.tar.gz 11090136 BLAKE2B 4c5cbd6e80a061793276b40124124c6c8e8c0d9f5bfbe4d5089d755b7af8399635107ed94da6602b2d0788159c1d883b7821db989fe47ad02bcf8bbaa7784b08 SHA512 dfbbc2b30449fa7526794489d3f0c3951e81ddbf53d7915d4492697398febd3b4b918604054a85c950c26a2423e969042de395b8b513688dcf8ad3fe305df4f7 DIST botocore-1.29.46.gh.tar.gz 11096104 BLAKE2B 540840e08fb7d8a9a8a220108e624600dd28d494937e0439f4d7ad93e9f2c4f09566e69a95cd5806a0576b458256b1293b0764461fa7c27d0e39074a3591b0d3 SHA512 b7ea07081464c3799fadd736371229ca6dfab8b05f8941daa681905ef135e4c0273f30eb2f19b64fbe85b6913886664f83dff0484413b3018ab6f508b0d51f05 diff --git a/dev-python/botocore/botocore-1.29.32.ebuild b/dev-python/botocore/botocore-1.29.32.ebuild deleted file mode 100644 index 27144e76e2e5..000000000000 --- a/dev-python/botocore/botocore-1.29.32.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# 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/botocore/botocore-1.29.42.ebuild b/dev-python/botocore/botocore-1.29.42.ebuild deleted file mode 100644 index 0f4daaa48e81..000000000000 --- a/dev-python/botocore/botocore-1.29.42.ebuild +++ /dev/null @@ -1,74 +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_{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/botocore/botocore-1.29.43.ebuild b/dev-python/botocore/botocore-1.29.43.ebuild deleted file mode 100644 index 0f4daaa48e81..000000000000 --- a/dev-python/botocore/botocore-1.29.43.ebuild +++ /dev/null @@ -1,74 +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_{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/botocore/botocore-1.29.44.ebuild b/dev-python/botocore/botocore-1.29.44.ebuild deleted file mode 100644 index 0f4daaa48e81..000000000000 --- a/dev-python/botocore/botocore-1.29.44.ebuild +++ /dev/null @@ -1,74 +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_{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/cfn-lint/cfn-lint-0.72.2.ebuild b/dev-python/cfn-lint/cfn-lint-0.72.2.ebuild index a7807ca49ba9..06f14d0cbe77 100644 --- a/dev-python/cfn-lint/cfn-lint-0.72.2.ebuild +++ b/dev-python/cfn-lint/cfn-lint-0.72.2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +PYTHON_COMPAT=( python3_{10..11} ) inherit distutils-r1 diff --git a/dev-python/cfn-lint/cfn-lint-0.72.4.ebuild b/dev-python/cfn-lint/cfn-lint-0.72.4.ebuild index a97ac0834660..d2f168651a4a 100644 --- a/dev-python/cfn-lint/cfn-lint-0.72.4.ebuild +++ b/dev-python/cfn-lint/cfn-lint-0.72.4.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2022 Gentoo Authors +# 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} ) +PYTHON_COMPAT=( python3_{10..11} ) inherit distutils-r1 diff --git a/dev-python/cfn-lint/cfn-lint-0.72.5.ebuild b/dev-python/cfn-lint/cfn-lint-0.72.5.ebuild deleted file mode 100644 index a97ac0834660..000000000000 --- a/dev-python/cfn-lint/cfn-lint-0.72.5.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# 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="CloudFormation Linter" -HOMEPAGE=" - https://github.com/aws-cloudformation/cfn-lint/ - https://pypi.org/project/cfn-lint/ -" -SRC_URI=" - https://github.com/aws-cloudformation/cfn-lint/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/aws-sam-translator-1.55.0[${PYTHON_USEDEP}] - dev-python/jsonpatch[${PYTHON_USEDEP}] - >=dev-python/jschema_to_python-1.2.3[${PYTHON_USEDEP}] - >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] - dev-python/junit-xml[${PYTHON_USEDEP}] - dev-python/networkx[${PYTHON_USEDEP}] - >dev-python/pyyaml-5.4[${PYTHON_USEDEP}] - >=dev-python/requests-2.15.0[${PYTHON_USEDEP}] - >=dev-python/sarif_om-1.0.4[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # TODO - test/unit/module/test_template.py::TestTemplate::test_build_graph - # requires git repo - test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs - # Internet - test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter - test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_2 - test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3 -) - -src_prepare() { - # unpin the deps - sed -e 's:~=[0-9.]*::' -i setup.py || die - distutils-r1_src_prepare -} diff --git a/dev-python/dns-lexicon/dns-lexicon-3.11.7.ebuild b/dev-python/dns-lexicon/dns-lexicon-3.11.7.ebuild index 317ac665d206..fc4f4bfc247b 100644 --- a/dev-python/dns-lexicon/dns-lexicon-3.11.7.ebuild +++ b/dev-python/dns-lexicon/dns-lexicon-3.11.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/gcs-oauth2-boto-plugin/gcs-oauth2-boto-plugin-3.0.ebuild b/dev-python/gcs-oauth2-boto-plugin/gcs-oauth2-boto-plugin-3.0.ebuild index e6a672d4998a..4f7accc40456 100644 --- a/dev-python/gcs-oauth2-boto-plugin/gcs-oauth2-boto-plugin-3.0.ebuild +++ b/dev-python/gcs-oauth2-boto-plugin/gcs-oauth2-boto-plugin-3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/google-api-core/google-api-core-2.11.0.ebuild b/dev-python/google-api-core/google-api-core-2.11.0.ebuild deleted file mode 100644 index 9b1c2d83c110..000000000000 --- a/dev-python/google-api-core/google-api-core-2.11.0.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 2020-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -MY_P=python-api-core-${PV} -DESCRIPTION="Core Library for Google Client Libraries" -HOMEPAGE=" - https://github.com/googleapis/python-api-core/ - https://pypi.org/project/google-api-core/ - https://googleapis.dev/python/google-api-core/latest/index.html -" -SRC_URI=" - https://github.com/googleapis/python-api-core/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" - -RDEPEND=" - >=dev-python/googleapis-common-protos-1.56.2[${PYTHON_USEDEP}] - >=dev-python/google-auth-1.25.0[${PYTHON_USEDEP}] - >=dev-python/protobuf-python-3.19.5[${PYTHON_USEDEP}] - >=dev-python/requests-2.18.0[${PYTHON_USEDEP}] - <dev-python/requests-3[${PYTHON_USEDEP}] - !dev-python/namespace-google -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/proto-plus[${PYTHON_USEDEP}] - dev-python/rsa[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # failing due to missing grpcio-status - tests/asyncio/test_grpc_helpers_async.py::test_wrap_unary_errors - tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_raised - tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_read - tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_aiter - tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_write - tests/unit/test_grpc_helpers.py::test_wrap_unary_errors - tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_invocation - tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_iterator_initialization - tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_during_iteration -) - -python_compile() { - distutils-r1_python_compile - find "${BUILD_DIR}" -name '*.pth' -delete || die -} - -src_test() { - rm -r google || die - distutils-r1_src_test -} - -python_test() { - distutils_write_namespace google - epytest -p no:aiohttp -p no:trio tests -} diff --git a/dev-python/google-api-python-client/google-api-python-client-2.68.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.68.0.ebuild index bd7d4f9ea4a7..dc07f7b1d60d 100644 --- a/dev-python/google-api-python-client/google-api-python-client-2.68.0.ebuild +++ b/dev-python/google-api-python-client/google-api-python-client-2.68.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/google-api-python-client/google-api-python-client-2.70.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.70.0.ebuild index 63e5333c4693..3a772cd1d42a 100644 --- a/dev-python/google-api-python-client/google-api-python-client-2.70.0.ebuild +++ b/dev-python/google-api-python-client/google-api-python-client-2.70.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/google-api-python-client/google-api-python-client-2.71.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.71.0.ebuild deleted file mode 100644 index 3a772cd1d42a..000000000000 --- a/dev-python/google-api-python-client/google-api-python-client-2.71.0.ebuild +++ /dev/null @@ -1,53 +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 - -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/google-auth-httplib2/google-auth-httplib2-0.1.0-r1.ebuild b/dev-python/google-auth-httplib2/google-auth-httplib2-0.1.0-r1.ebuild index f9db2f8771e1..63f4ccb4ab2b 100644 --- a/dev-python/google-auth-httplib2/google-auth-httplib2-0.1.0-r1.ebuild +++ b/dev-python/google-auth-httplib2/google-auth-httplib2-0.1.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/google-auth-oauthlib/google-auth-oauthlib-0.7.1.ebuild b/dev-python/google-auth-oauthlib/google-auth-oauthlib-0.7.1.ebuild index be53ce5c8745..6634ea897bce 100644 --- a/dev-python/google-auth-oauthlib/google-auth-oauthlib-0.7.1.ebuild +++ b/dev-python/google-auth-oauthlib/google-auth-oauthlib-0.7.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/google-auth-oauthlib/google-auth-oauthlib-0.8.0-r1.ebuild b/dev-python/google-auth-oauthlib/google-auth-oauthlib-0.8.0-r1.ebuild index e44c1a23ecb3..428011855aa4 100644 --- a/dev-python/google-auth-oauthlib/google-auth-oauthlib-0.8.0-r1.ebuild +++ b/dev-python/google-auth-oauthlib/google-auth-oauthlib-0.8.0-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2022 Gentoo Authors +# 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} ) +PYTHON_COMPAT=( python3_{10..11} ) inherit distutils-r1 diff --git a/dev-python/google-auth/google-auth-2.15.0.ebuild b/dev-python/google-auth/google-auth-2.15.0.ebuild deleted file mode 100644 index ddd1090e1068..000000000000 --- a/dev-python/google-auth/google-auth-2.15.0.ebuild +++ /dev/null @@ -1,58 +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 - -DESCRIPTION="Google Authentication Library" -HOMEPAGE=" - https://github.com/googleapis/google-auth-library-python/ - https://pypi.org/project/google-auth/ -" -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/cachetools-6.0.0[${PYTHON_USEDEP}] - >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] - >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}] - >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - !dev-python/namespace-google -" -BDEPEND=" - test? ( - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/grpcio[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/moto[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/pytest-localserver[${PYTHON_USEDEP}] - dev-python/pyu2f[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - dev-python/urllib3[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_IGNORE=( - # these are compatibility tests with oauth2client - # disable them to unblock removal of that package - tests/test__oauth2client.py -) - -python_compile() { - distutils-r1_python_compile - find "${BUILD_DIR}" -name '*.pth' -delete || die -} diff --git a/dev-python/httpretty/httpretty-1.1.4-r1.ebuild b/dev-python/httpretty/httpretty-1.1.4-r1.ebuild index 3c8a1670a443..1ae3f0fdd11d 100644 --- a/dev-python/httpretty/httpretty-1.1.4-r1.ebuild +++ b/dev-python/httpretty/httpretty-1.1.4-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2022 Gentoo Authors +# 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} ) +PYTHON_COMPAT=( python3_{10..11} ) inherit distutils-r1 diff --git a/dev-python/ioflo/ioflo-2.0.2-r3.ebuild b/dev-python/ioflo/ioflo-2.0.2-r3.ebuild index 2a60200f1d21..817361dd21c5 100644 --- a/dev-python/ioflo/ioflo-2.0.2-r3.ebuild +++ b/dev-python/ioflo/ioflo-2.0.2-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/keep/keep-2.10.1-r1.ebuild b/dev-python/keep/keep-2.10.1-r1.ebuild index e8e4ffe1cb15..6d9e250a6ab8 100644 --- a/dev-python/keep/keep-2.10.1-r1.ebuild +++ b/dev-python/keep/keep-2.10.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/kombu/kombu-5.3.0_beta2.ebuild b/dev-python/kombu/kombu-5.3.0_beta2.ebuild index 873a42810679..50ea945d3126 100644 --- a/dev-python/kombu/kombu-5.3.0_beta2.ebuild +++ b/dev-python/kombu/kombu-5.3.0_beta2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/moto/moto-4.0.12.ebuild b/dev-python/moto/moto-4.0.12.ebuild deleted file mode 100644 index 4405480b0e77..000000000000 --- a/dev-python/moto/moto-4.0.12.ebuild +++ /dev/null @@ -1,93 +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 - -DESCRIPTION="Mock library for boto" -HOMEPAGE=" - https://github.com/spulec/moto/ - https://pypi.org/project/moto/ -" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86" - -RDEPEND=" - >=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}] - >=dev-python/cfn-lint-0.40.0[${PYTHON_USEDEP}] - >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] - dev-python/cookies[${PYTHON_USEDEP}] - >=dev-python/docker-py-2.5.1[${PYTHON_USEDEP}] - >=dev-python/idna-2.5[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] - >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] - dev-python/boto3[${PYTHON_USEDEP}] - dev-python/botocore[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-cors[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] - >=dev-python/openapi-spec-validator-0.2.8[${PYTHON_USEDEP}] - dev-python/pretty-yaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/python-jose[${PYTHON_USEDEP}] - dev-python/python-sshpubkeys[${PYTHON_USEDEP}] - >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.5[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # TODO - tests/test_firehose/test_firehose_put.py::test_put_record_http_destination - tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination - tests/test_swf/responses/test_decision_tasks.py::test_respond_decision_task_completed_with_schedule_activity_task_boto3 - tests/test_swf/responses/test_timeouts.py::test_activity_task_heartbeat_timeout_boto3 - tests/test_swf/responses/test_timeouts.py::test_decision_task_start_to_close_timeout_boto3 - tests/test_swf/responses/test_timeouts.py::test_workflow_execution_start_to_close_timeout_boto3 - # broken code (local variable used referenced before definition) - tests/test_appsync/test_appsync_schema.py - tests/test_appsync/test_server.py::test_appsync_list_tags_for_resource - # Needs network (or docker?) but not marked as such, bug #807031 - # TODO: report upstream - tests/test_batch/test_batch_jobs.py::test_terminate_job - tests/test_batch/test_batch_jobs.py::test_cancel_pending_job - tests/test_batch/test_batch_jobs.py::test_cancel_running_job - tests/test_batch/test_batch_jobs.py::test_dependencies - tests/test_batch/test_batch_jobs.py::test_container_overrides - tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed - tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function - tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda - tests/test_sqs/test_integration.py::test_invoke_function_from_sqs_exception - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_exception - tests/test_s3/test_server.py::test_s3_server_post_to_bucket_redirect - tests/test_s3/test_multiple_accounts_server.py::TestAccountIdResolution::test_with_custom_request_header - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events0-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events1-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events3-ObjectCreated:Put]" - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -m 'not network' -} diff --git a/dev-python/proto-plus/proto-plus-1.22.1.ebuild b/dev-python/proto-plus/proto-plus-1.22.1.ebuild index 1849b80e6784..e185013a1b40 100644 --- a/dev-python/proto-plus/proto-plus-1.22.1.ebuild +++ b/dev-python/proto-plus/proto-plus-1.22.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2022 Gentoo Authors +# Copyright 2021-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/pytest-salt-factories/Manifest b/dev-python/pytest-salt-factories/Manifest index 37d3cdb24b5e..c6c0b0c7fe21 100644 --- a/dev-python/pytest-salt-factories/Manifest +++ b/dev-python/pytest-salt-factories/Manifest @@ -1,2 +1 @@ -DIST pytest-salt-factories-0.121.1.tar.gz 102121 BLAKE2B 92cd5953b11377f1646f01b86a677a50216d16bcb944235a3f04176aecbb005974c415adcbf23cc391aab41b1ee9596984516ab61ecdd8c944d4ce707c39ab00 SHA512 32252695c6e8b17ef17d3330c4b0b38bdce89201d5573b4efa3531a72e826ee1fb26fea3ad0408401dec867cee405f21031804c32eb8fe6ceaa00925b17725a1 DIST pytest-salt-factories-1.0.0_rc20.gh.tar.gz 160140 BLAKE2B 7ecd9af695626c465e5776ed218bd92f30a556394cf4af0c2b6fb87c182f8aaf2d8f998358a7eef95fae53c85a6be2d4ed5a6ff191496fcac62a97e25cf19063 SHA512 5677c6638b5dc7f90c01f2c2204e1910c2bf6ea2c10b714173d3443d4c682b5f515ad7881e2ceee66f6eaf619e399d6fa10052604fdc9c5157c58348b63c8f2b diff --git a/dev-python/pytest-salt-factories/files/pytest-salt-factories-0.121.1-tests.patch b/dev-python/pytest-salt-factories/files/pytest-salt-factories-0.121.1-tests.patch deleted file mode 100644 index 3e85580c9158..000000000000 --- a/dev-python/pytest-salt-factories/files/pytest-salt-factories-0.121.1-tests.patch +++ /dev/null @@ -1,294 +0,0 @@ -diff --git a/saltfactories/plugin.py b/saltfactories/plugin.py -index b29a115..9d68c34 100644 ---- a/saltfactories/plugin.py -+++ b/saltfactories/plugin.py -@@ -21,7 +21,7 @@ def pytest_tempdir_temproot(): - tempdir = os.environ.get("TMPDIR") or tempfile.gettempdir() - else: - tempdir = "/tmp" -- return os.path.abspath(os.path.realpath(tempdir)) -+ return os.path.abspath(tempdir) - - - def pytest_tempdir_basename(): -diff --git a/tests/functional/markers/test_requires_network.py b/tests/functional/markers/test_requires_network.py -index 8b57368..d58f0a1 100644 ---- a/tests/functional/markers/test_requires_network.py -+++ b/tests/functional/markers/test_requires_network.py -@@ -9,7 +9,10 @@ from unittest import mock - from saltfactories.utils import ports - from saltfactories.utils import socket - -+import pytest - -+ -+@pytest.mark.skip("not compatible with network-sandbox") - def test_has_local_network(testdir): - testdir.makepyfile( - """ -diff --git a/tests/integration/factories/cli/test_salt.py b/tests/integration/factories/cli/test_salt.py -index 17fce6c..7bd2789 100644 ---- a/tests/integration/factories/cli/test_salt.py -+++ b/tests/integration/factories/cli/test_salt.py -@@ -17,6 +17,7 @@ def salt_minion_2(salt_master, salt_minion): - yield factory - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_merged_json_out(salt_cli, salt_minion, salt_minion_2): - ret = salt_cli.run("test.ping", minion_tgt="*") - assert ret.exitcode == 0, ret -@@ -27,6 +28,7 @@ def test_merged_json_out(salt_cli, salt_minion, salt_minion_2): - assert ret.json[salt_minion_2.id] is True - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_merged_json_out_disabled(salt_cli, salt_minion, salt_minion_2): - ret = salt_cli.run("test.ping", minion_tgt="*", merge_json_output=False) - assert ret.exitcode == 0, ret -diff --git a/tests/integration/factories/daemons/api/test_api.py b/tests/integration/factories/daemons/api/test_api.py -index 78b8bb7..e20f28c 100644 ---- a/tests/integration/factories/daemons/api/test_api.py -+++ b/tests/integration/factories/daemons/api/test_api.py -@@ -23,5 +23,6 @@ def salt_api(master): - yield factory - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_api(salt_api): - assert salt_api.is_running() -diff --git a/tests/integration/factories/daemons/api/test_restarts.py b/tests/integration/factories/daemons/api/test_restarts.py -index a6c5472..dd15c17 100644 ---- a/tests/integration/factories/daemons/api/test_restarts.py -+++ b/tests/integration/factories/daemons/api/test_restarts.py -@@ -16,6 +16,7 @@ def master(salt_factories): - yield factory - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_multiple_start_stops(master): - factory = master.get_salt_api_daemon() - assert factory.is_running() is False -diff --git a/tests/integration/factories/daemons/master/test_master.py b/tests/integration/factories/daemons/master/test_master.py -index 2676dfa..cbf598e 100644 ---- a/tests/integration/factories/daemons/master/test_master.py -+++ b/tests/integration/factories/daemons/master/test_master.py -@@ -46,10 +46,12 @@ def salt_key(master): - return master.get_salt_key_cli() - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_master(master): - assert master.is_running() - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_salt_run(master, salt_run): - max_open_files_config_value = master.config["max_open_files"] - ret = salt_run.run("config.get", "max_open_files") -@@ -57,6 +59,7 @@ def test_salt_run(master, salt_run): - assert ret.json == max_open_files_config_value - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_salt_cp(master, minion, salt_cp, tempfiles): - """ - Test copying a file from the master to the minion -@@ -98,6 +101,7 @@ def test_salt_cp(master, minion, salt_cp, tempfiles): - os.unlink(dest) - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_salt_cp_no_match(master, minion, salt_cp, tempfiles): - assert master.is_running() - assert minion.is_running() -@@ -119,6 +123,7 @@ def test_salt_cp_no_match(master, minion, salt_cp, tempfiles): - os.unlink(dest) - - -+@pytest.mark.skip("not compatible with sandbox") - @pytest.mark.skip_on_salt_system_install - def test_salt_key(master, minion, minion_3, salt_key): - ret = salt_key.run("--list-all") -diff --git a/tests/integration/factories/daemons/master/test_restarts.py b/tests/integration/factories/daemons/master/test_restarts.py -index 6a6852d..70415d0 100644 ---- a/tests/integration/factories/daemons/master/test_restarts.py -+++ b/tests/integration/factories/daemons/master/test_restarts.py -@@ -11,6 +11,7 @@ def master(salt_factories): - return factory - - -+@pytest.mark.skip("not compatible with network") - def test_multiple_start_stops(master): - assert master.is_running() is False - pid = None -diff --git a/tests/integration/factories/daemons/minion/test_event_forwarder_engine.py b/tests/integration/factories/daemons/minion/test_event_forwarder_engine.py -index d63e640..653693e 100644 ---- a/tests/integration/factories/daemons/minion/test_event_forwarder_engine.py -+++ b/tests/integration/factories/daemons/minion/test_event_forwarder_engine.py -@@ -28,6 +28,7 @@ def salt_call_cli(minion): - return minion.get_salt_call_cli() - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_event_listener_engine(minion, salt_call_cli, event_listener): - """ - There are some events which the minion fires internally that never reach the master. -diff --git a/tests/integration/factories/daemons/minion/test_minion.py b/tests/integration/factories/daemons/minion/test_minion.py -index 64a3df6..ab82e55 100644 ---- a/tests/integration/factories/daemons/minion/test_minion.py -+++ b/tests/integration/factories/daemons/minion/test_minion.py -@@ -27,6 +27,7 @@ def salt_call_cli(minion): - return minion.get_salt_call_cli() - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_minion(minion, salt_cli): - assert minion.is_running() - ret = salt_cli.run("test.ping", minion_tgt=minion.id) -@@ -34,6 +35,7 @@ def test_minion(minion, salt_cli): - assert ret.json is True - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_no_match(minion, salt_cli): - assert minion.is_running() - ret = salt_cli.run("test.ping", minion_tgt="minion-2") -@@ -41,6 +43,7 @@ def test_no_match(minion, salt_cli): - assert not ret.json - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_show_jid(minion, salt_cli): - assert minion.is_running() - ret = salt_cli.run("--show-jid", "test.ping", minion_tgt=minion.id) -@@ -48,6 +51,7 @@ def test_show_jid(minion, salt_cli): - assert ret.json is True - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_minion_salt_call(minion, salt_call_cli): - assert minion.is_running() - ret = salt_call_cli.run("test.ping") -@@ -59,6 +63,7 @@ def test_minion_salt_call(minion, salt_call_cli): - assert ret.json is True - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_salt_call_exception_handling_doesnt_timeout(minion, salt_call_cli): - ret = salt_call_cli.run( - "test.raise_exception", "OSError", "2", "No such file or directory", "/tmp/foo.txt" -diff --git a/tests/integration/factories/daemons/minion/test_restarts.py b/tests/integration/factories/daemons/minion/test_restarts.py -index a7d9ae0..8f0401b 100644 ---- a/tests/integration/factories/daemons/minion/test_restarts.py -+++ b/tests/integration/factories/daemons/minion/test_restarts.py -@@ -10,6 +10,7 @@ def master(salt_factories): - yield factory - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_multiple_start_stops(master): - factory = master.get_salt_minion_daemon(random_string("minion-")) - assert factory.is_running() is False -diff --git a/tests/integration/factories/daemons/proxy/test_proxy_minion.py b/tests/integration/factories/daemons/proxy/test_proxy_minion.py -index 3bbca21..2e2fb8b 100644 ---- a/tests/integration/factories/daemons/proxy/test_proxy_minion.py -+++ b/tests/integration/factories/daemons/proxy/test_proxy_minion.py -@@ -35,6 +35,7 @@ def salt_call_cli(proxy_minion): - return proxy_minion.get_salt_call_cli() - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_proxy_minion(proxy_minion, salt_cli): - assert proxy_minion.is_running() - ret = salt_cli.run("test.ping", minion_tgt=proxy_minion.id) -@@ -42,6 +43,7 @@ def test_proxy_minion(proxy_minion, salt_cli): - assert ret.json is True - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_no_match(proxy_minion, salt_cli): - assert proxy_minion.is_running() - ret = salt_cli.run("test.ping", minion_tgt="proxy-minion-2") -@@ -49,6 +51,7 @@ def test_no_match(proxy_minion, salt_cli): - assert not ret.json - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_show_jid(proxy_minion, salt_cli): - if platform.is_darwin() and sys.version_info[:2] == (3, 7): - pytest.skip( -@@ -61,6 +64,7 @@ def test_show_jid(proxy_minion, salt_cli): - assert ret.json is True - - -+@pytest.mark.skip("not compatible with network-sandbox") - def test_proxy_minion_salt_call(proxy_minion, salt_call_cli): - assert proxy_minion.is_running() - ret = salt_call_cli.run("test.ping") -diff --git a/tests/integration/factories/daemons/proxy/test_restarts.py b/tests/integration/factories/daemons/proxy/test_restarts.py -index 3101204..28652ff 100644 ---- a/tests/integration/factories/daemons/proxy/test_restarts.py -+++ b/tests/integration/factories/daemons/proxy/test_restarts.py -@@ -17,6 +17,7 @@ def master(salt_factories): - yield factory - - -+@pytest.mark.skip("not compatible with sandbox") - def test_multiple_start_stops(master): - factory = master.get_salt_proxy_minion_daemon(random_string("proxy-minion-")) - assert factory.is_running() is False -diff --git a/tests/integration/factories/daemons/ssh/test_salt_ssh.py b/tests/integration/factories/daemons/ssh/test_salt_ssh.py -index f58eac4..c3df3de 100644 ---- a/tests/integration/factories/daemons/ssh/test_salt_ssh.py -+++ b/tests/integration/factories/daemons/ssh/test_salt_ssh.py -@@ -51,6 +51,7 @@ def salt_ssh_cli(sshd, salt_factories, master): - - - @pytest.mark.skip_on_windows -+@pytest.mark.skip("not compatible with network-sandbox") - def test_salt_ssh(salt_ssh_cli): - ret = salt_ssh_cli.run("--ignore-host-keys", "test.echo", "It Works!", minion_tgt="localhost") - assert ret.exitcode == 0 -diff --git a/tests/integration/factories/daemons/sshd/test_sshd.py b/tests/integration/factories/daemons/sshd/test_sshd.py -index 3b425fc..3e03636 100644 ---- a/tests/integration/factories/daemons/sshd/test_sshd.py -+++ b/tests/integration/factories/daemons/sshd/test_sshd.py -@@ -5,6 +5,7 @@ import pytest - - @pytest.fixture(scope="module") - @pytest.mark.skip_if_binaries_missing("sshd", "ssh-keygen") -+@pytest.mark.skip("not compatible with network-sandbox") - def sshd(salt_factories): - # Set StrictModes to no because our config directory lives in /tmp and those permissions - # are not acceptable by sshd strict paranoia. -@@ -15,12 +16,14 @@ def sshd(salt_factories): - - - @pytest.mark.skip_on_windows -+@pytest.mark.skip("not compatible with network-sandbox") - def test_sshd(sshd): - assert sshd.is_running() - - - @pytest.mark.skip_on_windows - @pytest.mark.skip_if_binaries_missing("ssh") -+@pytest.mark.skip("not compatible with network-sandbox") - def test_connect(sshd): - cmd = subprocess.run( - [ -diff --git a/tests/unit/utils/markers/test_skip_if_no_remote_network.py b/tests/unit/utils/markers/test_skip_if_no_remote_network.py -index 1aa72dc..c4d079e 100644 ---- a/tests/unit/utils/markers/test_skip_if_no_remote_network.py -+++ b/tests/unit/utils/markers/test_skip_if_no_remote_network.py -@@ -9,7 +9,10 @@ from unittest import mock - import saltfactories.utils.markers as markers - from saltfactories.utils import socket - -+import pytest - -+ -+@pytest.mark.skip("not compatible with network-sandbox") - def test_has_remote_network(): - assert markers.skip_if_no_remote_network() is None - diff --git a/dev-python/pytest-salt-factories/pytest-salt-factories-0.121.1-r1.ebuild b/dev-python/pytest-salt-factories/pytest-salt-factories-0.121.1-r1.ebuild deleted file mode 100644 index 055f9887cf3f..000000000000 --- a/dev-python/pytest-salt-factories/pytest-salt-factories-0.121.1-r1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 2020-2021 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="The new generation of the pytest-salt Plugin" -HOMEPAGE="https://github.com/saltstack/pytest-salt-factories" -SRC_URI="https://github.com/saltstack/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" -IUSE="test" - -RDEPEND=" - >=dev-python/pytest-6.1.1[${PYTHON_USEDEP}] - dev-python/attrs[${PYTHON_USEDEP}] - dev-python/pytest-tempdir[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/pyzmq[${PYTHON_USEDEP}] - dev-python/msgpack[${PYTHON_USEDEP}] - >=app-admin/salt-3001.0[${PYTHON_USEDEP}] -" -BDEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}/pytest-salt-factories-0.121.1-tests.patch" -) - -distutils_enable_tests --install pytest - -python_prepare_all() { - sed -r -e "s:use_scm_version=True:version='${PV}', name='${PN//-/.}':" -i setup.py || die - sed -r -e '/(setuptools|setup_requires)/ d' -i setup.cfg || die - - sed -i 's:tool.setuptools_scm:tool.disabled:' pyproject.toml || die - printf '__version__ = "%s"\n' "${PV}" > saltfactories/version.py || die - distutils-r1_python_prepare_all -} - -python_test() { - local tempdir - - # ${T} is too long a path for the tests to work - tempdir="$(mktemp -du --tmpdir=/tmp salt-XXX)" - mkdir "${T}/$(basename "${tempdir}")" - - addwrite "${tempdir}" - ln -s "$(realpath --relative-to=/tmp "${T}/$(basename "${tempdir}")")" "${tempdir}" || die - - distutils_install_for_testing --via-root - - ( - cleanup() { rm -f "${tempdir}" || die; } - - trap cleanup EXIT - SHELL="/bin/bash" TMPDIR="${tempdir}" \ - pytest -vv || die "Tests failed with ${EPYTHON}" - ) -} diff --git a/dev-python/pytest-salt-factories/pytest-salt-factories-1.0.0_rc20-r1.ebuild b/dev-python/pytest-salt-factories/pytest-salt-factories-1.0.0_rc20-r1.ebuild index f130446a700a..fe08ea8fc22b 100644 --- a/dev-python/pytest-salt-factories/pytest-salt-factories-1.0.0_rc20-r1.ebuild +++ b/dev-python/pytest-salt-factories/pytest-salt-factories-1.0.0_rc20-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2022 Gentoo Authors +# Copyright 2020-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/python-keyutils/python-keyutils-0.6.ebuild b/dev-python/python-keyutils/python-keyutils-0.6.ebuild deleted file mode 100644 index 617c86139436..000000000000 --- a/dev-python/python-keyutils/python-keyutils-0.6.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -inherit distutils-r1 - -DESCRIPTION="A set of python bindings for keyutils" -HOMEPAGE="https://github.com/sassoftware/python-keyutils/" -SRC_URI="https://github.com/sassoftware/python-keyutils/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm x86" - -DEPEND="sys-apps/keyutils" -RDEPEND="${DEPEND}" - -distutils_enable_tests pytest - -src_prepare() { - default - sed -i -e '/pytest-runner/d' setup.py || die -} - -python_test() { - ln -s "${S}"/test "${BUILD_DIR}"/test || die - cd "${BUILD_DIR}" || die - distutils-r1_python_test -} diff --git a/dev-python/pyzotero/pyzotero-1.5.5.ebuild b/dev-python/pyzotero/pyzotero-1.5.5.ebuild index 1437e511f135..779fa8ded72c 100644 --- a/dev-python/pyzotero/pyzotero-1.5.5.ebuild +++ b/dev-python/pyzotero/pyzotero-1.5.5.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2022 Gentoo Authors +# 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} ) +PYTHON_COMPAT=( python3_{10..11} ) inherit distutils-r1 diff --git a/dev-python/raet/raet-0.6.8-r4.ebuild b/dev-python/raet/raet-0.6.8-r4.ebuild index 6fa825b7cd4f..486bff2711d1 100644 --- a/dev-python/raet/raet-0.6.8-r4.ebuild +++ b/dev-python/raet/raet-0.6.8-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/s3transfer/s3transfer-0.6.0-r1.ebuild b/dev-python/s3transfer/s3transfer-0.6.0-r1.ebuild index fb661e81e32a..efdb1aa6e19d 100644 --- a/dev-python/s3transfer/s3transfer-0.6.0-r1.ebuild +++ b/dev-python/s3transfer/s3transfer-0.6.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/botocore-1.24.7[${PYTHON_USEDEP}] diff --git a/dev-python/s3transfer/s3transfer-0.6.0.ebuild b/dev-python/s3transfer/s3transfer-0.6.0.ebuild deleted file mode 100644 index 7d4915f07db0..000000000000 --- a/dev-python/s3transfer/s3transfer-0.6.0.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# 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="An Amazon S3 Transfer Manager" -HOMEPAGE=" - https://github.com/boto/s3transfer/ - https://pypi.org/project/s3transfer/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/botocore-1.24.7[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # 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_src_prepare -} - -python_test() { - epytest tests/{unit,functional} -} diff --git a/dev-python/stapler/Manifest b/dev-python/stapler/Manifest index 362284cffa13..8509b2111ea0 100644 --- a/dev-python/stapler/Manifest +++ b/dev-python/stapler/Manifest @@ -1 +1 @@ -DIST stapler-1.0.0_p20220330.tar.gz 43659 BLAKE2B 10c24868d51086b37dd2d517aa84e3c3fc0b6becc7a29ebf496646bdd65494eb0c43488f725241d7bd7b3083ce5703538db3e05de9976a2e5029731fc2e645d2 SHA512 acd2dfec0dfab46b2cf6b440cba6c0db5399be2ba2194ca12530c311c6c5a8028614164af45b850061e7d22cbec33458ceff7757f1b104c722228dc2d02cae0a +DIST stapler-382f1edc62296e071093a5419811a2fca9d78d93.tar.gz 43659 BLAKE2B 10c24868d51086b37dd2d517aa84e3c3fc0b6becc7a29ebf496646bdd65494eb0c43488f725241d7bd7b3083ce5703538db3e05de9976a2e5029731fc2e645d2 SHA512 acd2dfec0dfab46b2cf6b440cba6c0db5399be2ba2194ca12530c311c6c5a8028614164af45b850061e7d22cbec33458ceff7757f1b104c722228dc2d02cae0a diff --git a/dev-python/stapler/stapler-1.0.0_p20220330-r1.ebuild b/dev-python/stapler/stapler-1.0.0_p20220330-r1.ebuild index 5d8a216715c6..c65f3a93e43c 100644 --- a/dev-python/stapler/stapler-1.0.0_p20220330-r1.ebuild +++ b/dev-python/stapler/stapler-1.0.0_p20220330-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,7 @@ COMMIT="382f1edc62296e071093a5419811a2fca9d78d93" DESCRIPTION="Suite of tools for PDF files manipulation written in Python" HOMEPAGE="https://github.com/hellerbarde/stapler" -SRC_URI="https://github.com/hellerbarde/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/hellerbarde/${PN}/archive/${COMMIT}.tar.gz -> ${PN}-${COMMIT}.tar.gz" S="${WORKDIR}/${PN}-${COMMIT}" LICENSE="BSD" diff --git a/dev-python/stapler/stapler-1.0.0_p20220330-r2.ebuild b/dev-python/stapler/stapler-1.0.0_p20220330-r2.ebuild index 128ed8aaebc6..9c94b0452381 100644 --- a/dev-python/stapler/stapler-1.0.0_p20220330-r2.ebuild +++ b/dev-python/stapler/stapler-1.0.0_p20220330-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,7 @@ COMMIT="382f1edc62296e071093a5419811a2fca9d78d93" DESCRIPTION="Suite of tools for PDF files manipulation written in Python" HOMEPAGE="https://github.com/hellerbarde/stapler" -SRC_URI="https://github.com/hellerbarde/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/hellerbarde/${PN}/archive/${COMMIT}.tar.gz -> ${PN}-${COMMIT}.tar.gz" S="${WORKDIR}/${PN}-${COMMIT}" LICENSE="BSD" @@ -25,5 +25,5 @@ RDEPEND=">=dev-python/PyPDF2-3.0.0[${PYTHON_USEDEP}]" distutils_enable_tests unittest PATCHES=( "${FILESDIR}"/${P}-fix-tests-for-PyPDF2-2.x.patch - "${FILESDIR}"/${P}-port-to-PyPDF2-3.0.0.patch + "${FILESDIR}"/${P}-port-to-PyPDF2-3.0.0.patch "${FILESDIR}"/${P}-use-poetry-core-backend-for-PEP517.patch ) diff --git a/dev-python/stapler/stapler-1.0.0_p20220330-r3.ebuild b/dev-python/stapler/stapler-1.0.0_p20220330-r3.ebuild index e3c204016ed2..adaa2d040580 100644 --- a/dev-python/stapler/stapler-1.0.0_p20220330-r3.ebuild +++ b/dev-python/stapler/stapler-1.0.0_p20220330-r3.ebuild @@ -12,7 +12,7 @@ COMMIT="382f1edc62296e071093a5419811a2fca9d78d93" DESCRIPTION="Suite of tools for PDF files manipulation written in Python" HOMEPAGE="https://github.com/hellerbarde/stapler" -SRC_URI="https://github.com/hellerbarde/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/hellerbarde/${PN}/archive/${COMMIT}.tar.gz -> ${PN}-${COMMIT}.tar.gz" S="${WORKDIR}/${PN}-${COMMIT}" LICENSE="BSD" @@ -25,6 +25,6 @@ RDEPEND="dev-python/pypdf[${PYTHON_USEDEP}]" distutils_enable_tests unittest PATCHES=( "${FILESDIR}"/${P}-fix-tests-for-PyPDF2-2.x.patch - "${FILESDIR}"/${P}-port-to-PyPDF2-3.0.0.patch + "${FILESDIR}"/${P}-port-to-PyPDF2-3.0.0.patch "${FILESDIR}"/${P}-use-poetry-core-backend-for-PEP517.patch "${FILESDIR}"/${P}-PyPDF2-to-pypdf.patch ) |
