diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-07-22 18:22:40 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-07-22 18:22:40 +0000 |
| commit | e6fdf91907a817b1b7704a2a164f5e74a09aebb3 (patch) | |
| tree | 82e18505150fb120d2c6185de9f5189115cb9051 /dev-python | |
| parent | 698e9e4fe88a74b8c53e7cefb203eb48c1351fd5 (diff) | |
| download | baldeagleos-repo-e6fdf91907a817b1b7704a2a164f5e74a09aebb3.tar.gz baldeagleos-repo-e6fdf91907a817b1b7704a2a164f5e74a09aebb3.tar.xz baldeagleos-repo-e6fdf91907a817b1b7704a2a164f5e74a09aebb3.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
57 files changed, 960 insertions, 251 deletions
diff --git a/dev-python/aiohttp/Manifest b/dev-python/aiohttp/Manifest index d28b1973586b..36636c3da988 100644 --- a/dev-python/aiohttp/Manifest +++ b/dev-python/aiohttp/Manifest @@ -1,2 +1 @@ -DIST aiohttp-3.8.4.tar.gz 7338512 BLAKE2B 019e39eab7cfafe4ca2781c5efe7cc63ed16b5400c548a9a5169a98b59f4014c79bf1a32def1071ac4e1890dcfa583354a227ed2a541449dc725726216b7750b SHA512 ee193320d57161ba9d96b22502cea4eddb05d9586bde5ba1ce813e0bd149f62286ab8a76f120ef2a69f8bf882ab0605ca42103c0811fe53c7a024682ee31aa1e DIST aiohttp-3.8.5.tar.gz 7358303 BLAKE2B e1a7df12380cded655a57735527607cc95661da99fe4a5c1aec40a2586deecee97592c9ea5e9bd43621bf069fe87f00d7bef712fab2b84783e14ff229495a7c6 SHA512 613dfe836c511832c68eadbd0a76882ec362ff956937aa913fc7567b7e3e1ac2085a70a1eca42fb016f38c076a131b506b22f26879ad06b077cb4a85e9dcd8db diff --git a/dev-python/aiohttp/aiohttp-3.8.4.ebuild b/dev-python/aiohttp/aiohttp-3.8.4.ebuild deleted file mode 100644 index af053ccc0732..000000000000 --- a/dev-python/aiohttp/aiohttp-3.8.4.ebuild +++ /dev/null @@ -1,108 +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 ) - -inherit distutils-r1 multiprocessing pypi - -DESCRIPTION="HTTP client/server for asyncio" -HOMEPAGE=" - https://github.com/aio-libs/aiohttp/ - https://pypi.org/project/aiohttp/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="test-rust" - -RDEPEND=" - app-arch/brotli[python,${PYTHON_USEDEP}] - >=dev-python/aiosignal-1.1.2[${PYTHON_USEDEP}] - >=dev-python/async-timeout-4.0.0_alpha3[${PYTHON_USEDEP}] - >=dev-python/attrs-17.3.0[${PYTHON_USEDEP}] - <dev-python/charset-normalizer-4[${PYTHON_USEDEP}] - >=dev-python/charset-normalizer-2.0[${PYTHON_USEDEP}] - >=dev-python/frozenlist-1.1.1[${PYTHON_USEDEP}] - >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] - >=dev-python/yarl-1.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - test? ( - app-arch/brotli[python,${PYTHON_USEDEP}] - dev-python/freezegun[${PYTHON_USEDEP}] - www-servers/gunicorn[${PYTHON_USEDEP}] - dev-python/pytest-forked[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/re-assert[${PYTHON_USEDEP}] - test-rust? ( - dev-python/trustme[${PYTHON_USEDEP}] - ) - ) -" - -DOCS=( CHANGES.rst CONTRIBUTORS.txt README.rst ) - -distutils_enable_tests pytest - -src_prepare() { - # increase the timeout a little - sed -e '/abs_tol=/s/0.001/0.01/' -i tests/test_helpers.py || die - - # xfail_strict fails on py3.10 - sed -i -e '/--cov/d' -e '/xfail_strict/d' setup.cfg || die - - # which(1)... - sed -i -e 's:which:command -v:' Makefile || die - - distutils-r1_src_prepare -} - -python_configure_all() { - # workaround missing files - mkdir requirements tools || die - > requirements/cython.txt || die - > tools/gen.py || die - chmod +x tools/gen.py || die - # force rehashing first - emake requirements/.hash/cython.txt.hash - > .update-pip || die - > .install-cython || die - emake cythonize -} - -python_test() { - local EPYTEST_IGNORE=( - # proxy is not packaged - tests/test_proxy_functional.py - ) - - local EPYTEST_DESELECT=( - # Internet - tests/test_client_session.py::test_client_session_timeout_zero - # broken by irrelevant deprecation warnings - tests/test_circular_imports.py::test_no_warnings - # TODO - tests/test_client_session.py::test_request_tracing_url_params - ) - - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # C extensions are not used on PyPy3 - tests/test_http_parser.py::test_c_parser_loaded - ) - ;; - esac - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=pytest_mock,xdist.plugin,pytest_forked - rm -rf aiohttp || die - epytest -n "$(makeopts_jobs)" --forked -} diff --git a/dev-python/aiohttp/aiohttp-3.8.5.ebuild b/dev-python/aiohttp/aiohttp-3.8.5.ebuild index ce51efec4cba..adc0024db5b3 100644 --- a/dev-python/aiohttp/aiohttp-3.8.5.ebuild +++ b/dev-python/aiohttp/aiohttp-3.8.5.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" IUSE="test-rust" RDEPEND=" diff --git a/dev-python/ansible-compat/Manifest b/dev-python/ansible-compat/Manifest index eb660108cc36..43c8999f270c 100644 --- a/dev-python/ansible-compat/Manifest +++ b/dev-python/ansible-compat/Manifest @@ -1,2 +1,3 @@ DIST ansible-compat-3.0.2.tar.gz 63328 BLAKE2B d09ae255e08531b26f8cac7082a3ad0cc24f3772b7769b75d644a846dcc1ec0ff65fe1a7e351eeecadd70caae5ef5b5146396df5ec586e10296e116310333e6b SHA512 79f20a25b25104f4f90a4d52317bd01ceb07c00c69dc2e61b74b4c7448805bd966d001893ccf7530bec819ae9ead2515ae70219a887fda733344245cc025dfeb DIST ansible-compat-4.1.2.tar.gz 66934 BLAKE2B 08d17ce6f83b2ac2fc08fab1b3ef54742e75eb0236792fdcf2791a521bc154184d92f6d1f25b241ac6c524352f9cd39be8d3c74d414625a315a468aeb8ce09a8 SHA512 ef6ad4daf7c565de5b1ef1a5ad204e2b8c938f81ef0a736a1af660836ee557d5c88fc06eced2a8a9fb0c6ac5b48cda243052d5ae0b0f634653c9d41211739e64 +DIST ansible-compat-4.1.5.tar.gz 68562 BLAKE2B b28b6e5185b29a55d452e9c72636b31a1a35c68f207cc07376fafd0a70335966d06f927a803582b715b29c090a80aa5aa2663cba54221cb4d2dbcd9a11ec5a7a SHA512 6da0bab56237a6447462ed9ef528711eb4c998de2732ec021e8257d2baf6cbb1e1435707440b4c0d122fb4f938c855693bcd555e147613f230105e3af74c00a6 diff --git a/dev-python/ansible-compat/ansible-compat-4.1.5.ebuild b/dev-python/ansible-compat/ansible-compat-4.1.5.ebuild new file mode 100644 index 000000000000..2219daa996b3 --- /dev/null +++ b/dev-python/ansible-compat/ansible-compat-4.1.5.ebuild @@ -0,0 +1,52 @@ +# 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="Contains functions that facilitate working with various versions of Ansible" +HOMEPAGE=" + https://pypi.org/project/ansible-compat/ + https://github.com/ansible/ansible-compat/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv" + +RDEPEND=" + >=app-admin/ansible-core-2.12[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.6.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + >=dev-python/subprocess-tee-0.4.1[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-plus[${PYTHON_USEDEP}] + ) +" + +# All these tests attempt to connect to galaxy.ansible.com +EPYTEST_DESELECT=( + test/test_runtime.py::test_install_collection + test/test_runtime.py::test_install_collection_dest + test/test_runtime.py::test_prepare_environment_with_collections + test/test_runtime.py::test_prerun_reqs_v1 + test/test_runtime.py::test_prerun_reqs_v2 + test/test_runtime.py::test_require_collection_no_cache_dir + test/test_runtime.py::test_require_collection_wrong_version + test/test_runtime.py::test_require_collection + test/test_runtime.py::test_upgrade_collection + test/test_runtime_example.py::test_runtime +) + +distutils_enable_tests pytest diff --git a/dev-python/beartype/Manifest b/dev-python/beartype/Manifest index a117640105c2..6473b39734cd 100644 --- a/dev-python/beartype/Manifest +++ b/dev-python/beartype/Manifest @@ -1,2 +1,3 @@ DIST beartype-0.14.0.tar.gz 946839 BLAKE2B f1e5f51fc160eac2c87035114a8ad10e550fef464ab9eceb416b811cda84479c1d6b4ca095cb71911477d525fe28174c2c810c27f3ed177916a5738315a63bb6 SHA512 bdf1a9c4323455efbaa74af669e4b31c6701f5cc230d2d185e8d355361c4ed0afa9ffffa314ee42ca773135cef6e88b17b8ccdcd848fbb7758e7de5fcdb5d25d DIST beartype-0.14.1.tar.gz 964899 BLAKE2B 2387be88e33e3b1908caacf967c43ffaf0cae4f42ee0b29e840762707ee45902f2609ce42cf917eff4692d1ee86633844129308b0b4a533989967b282a265a71 SHA512 93e4b1a32cfa0b1465e7ae32177f34118b99e3ea7f5c8b796b3980256755f37dc15be10bf973ef75464e8825a4f4bd1c344bf2c592801cb482ecd78d93db3de5 +DIST beartype-0.15.0.tar.gz 1002709 BLAKE2B 96aa96135c4e361790856bea3e905afe6cc04b9f4de1e51c9287fcc72917fc7e60e5201cbb147b163499034669e219adf88f727fcb32801eff57a76779186a66 SHA512 3736891230aa8e46145a458d9cca1c62ecb8772b0ed82c56d97fd8e6c86d19dd091d74b1ee0ab5fa5d28218a87d378e514242c53488d56ef8363b054db268de2 diff --git a/dev-python/beartype/beartype-0.15.0.ebuild b/dev-python/beartype/beartype-0.15.0.ebuild new file mode 100644 index 000000000000..f67ae7048970 --- /dev/null +++ b/dev-python/beartype/beartype-0.15.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 2022-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="Unbearably fast runtime type checking in pure Python" +HOMEPAGE=" + https://pypi.org/project/beartype/ + https://github.com/beartype/beartype/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + test? ( + dev-python/mypy[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # fragile performance test + beartype_test/a00_unit/a90_decor/test_decorwrapper.py::test_wrapper_fail_obj_large + # test for building docs, apparently broken too + beartype_test/a90_func/z90_lib/a00_sphinx +) diff --git a/dev-python/bitarray/Manifest b/dev-python/bitarray/Manifest index 9952cdf47f84..427692dbbcf1 100644 --- a/dev-python/bitarray/Manifest +++ b/dev-python/bitarray/Manifest @@ -1 +1,2 @@ DIST bitarray-2.7.6.tar.gz 124627 BLAKE2B 2beafbcd4906a56bad3c6310671ab16db27f03c32eb91c73058b859e1642f24edfed07920da853b08aa8f7c4703e05b57b25a83dddaaa14e0921798fbe2b1faa SHA512 e425664bec8976ac42bb62c3f80bf835efe41bff803afc77c82c267af2d831d55dd9b962f157aebc64a2df6a7d427523ec155a67991c49956e13b205e66e55f1 +DIST bitarray-2.8.0.tar.gz 127371 BLAKE2B 59f90afc1bac49de13ee49b29221b0617511f39eb2fb2d9b5b9d96e6ae52b54cfafb037366dff8a1772d9daf97f598bf7565c32fcd5c5abf0c56441d5748286e SHA512 6e30a0a4f0b7058102fa5cb6841565520ac09a938c4ccd51c880c0923f69a15198646e60256914985d06a428f26456965a18c64e2c2e2323b9156a47f0bb577f diff --git a/dev-python/bitarray/bitarray-2.8.0.ebuild b/dev-python/bitarray/bitarray-2.8.0.ebuild new file mode 100644 index 000000000000..0caa62759874 --- /dev/null +++ b/dev-python/bitarray/bitarray-2.8.0.ebuild @@ -0,0 +1,24 @@ +# 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="Efficient arrays of booleans -- C extension" +HOMEPAGE=" + https://github.com/ilanschnell/bitarray/ + https://pypi.org/project/bitarray/ +" + +SLOT="0" +LICENSE="PSF-2" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +python_test() { + "${EPYTHON}" bitarray/test_bitarray.py -v || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index eac64a3fd286..6ac720769c0e 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -14,3 +14,4 @@ DIST boto3-1.28.4.gh.tar.gz 675638 BLAKE2B e5d4cd28b61a79c54c28355003a097f7b40c5 DIST boto3-1.28.5.gh.tar.gz 676044 BLAKE2B b54fb3a76b9cf67a07ae95b669b6eb5a1a26aa105ea2d3a36a638099741411103f6714a50cfbd57a25b1aeeafb497d66d0324496e5986efa8aea97fc1e522d84 SHA512 437b332121384def9a16a1e83f39fd83564189421bb9d27d8f7f9f5976ca08c1089729b2ea2f9c66c200cf2f78c27c3da120d4b8fdf76b2a68f9ced2e8576c27 DIST boto3-1.28.6.gh.tar.gz 676887 BLAKE2B 997ea4b082bd427461babcbca5f5a230df0a6479359a40193698eb629be88528799c7912ff8194053f50a7d3b8c5e5e78477be5958943d22166b7f9d3f7bfb91 SHA512 67beb7986d514c8695025d5becad5e562a955b97970e26c878b80fb076d877a1479742aac74563a73569e8f5e4ccd465e564751b236147c8fc64da0855b93368 DIST boto3-1.28.8.gh.tar.gz 677637 BLAKE2B 19f91014a394b67854ac0fc04a7b8a3e1bfb3df5a1b2f5717a739d8b2461ca049dfff7fefb9145432002742ae8613ef13a7d63b56f63bd6bddb81fb58197f625 SHA512 e6e48c601d6426b94ec648438381f0b9960af760e1a5889677124c41ffe2cff54da84b1a4be6dbfce6fcf57a5fcda74b8b9745f709cf7e1031ec4928d7c73b2d +DIST boto3-1.28.9.gh.tar.gz 677993 BLAKE2B a800de94cfb0d317b41091fb1d2bb0fd6449df85da434879c0689bf36998b2a52331ba077c65cae9967fcce998a15d2a6f6a758931fa12a00b95487adaf81dfa SHA512 6e1e5e74d20d2e67f29597ddcda70475cbea863978ca93ec77a0f478690477c9782111701771d5b8354f4402c21496e7f5627b1398cbd6fd87627fd978f5e360 diff --git a/dev-python/boto3/boto3-1.28.9.ebuild b/dev-python/boto3/boto3-1.28.9.ebuild new file mode 100644 index 000000000000..03c610b184f7 --- /dev/null +++ b/dev-python/boto3/boto3-1.28.9.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/boto3" + inherit git-r3 + BOTOCORE_PV=${PV} +else + SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + + # botocore is x.(y+3).z + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" +fi + +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index ce20df69d904..5ccda8810017 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -14,3 +14,4 @@ DIST botocore-1.31.4.gh.tar.gz 11774619 BLAKE2B aa6abcb1ecc71d22d426b734574b445a DIST botocore-1.31.5.gh.tar.gz 11784692 BLAKE2B f963c251cee13173af440f3e034d71f93195486cc3ae450200ff55284fcaae108905c88a0421b9561165ab6397ba42d3b7740f5d9033448a0bf4b625ee9ecccc SHA512 a566f035b215aec6f1f93e0652d78927b3bf7af4d3b176fd51fee147451ada71bc5a37d97c4011cd8eb563ddd945ee74b4aa5b1fac566ccce71fb9b9265867c3 DIST botocore-1.31.6.gh.tar.gz 11797432 BLAKE2B 64064fd27c75ce647c3bae6957e4faea47b99b8ae14123e483597a0ae1600ebc0cae832ba16d35cf32fe77ea525533f7cd04b1ba22ac95dd9301af76054456fe SHA512 f42485b4de7eab3990d4e3a45c887b2d82dbe4a86740fc766501fff8f2e5fd011a0e190a3563c1fa06b05c457c77bfac0dbd0f67a62d7befe69d4a57143683e4 DIST botocore-1.31.8.gh.tar.gz 11783366 BLAKE2B e5ec15b22ab291abb13bccab51eb961c2840070d03cb9ba12359d59e88d793421e92ae491c20d5f12820ae4f1a7b16f694bcb5bd62b663c27d65c9b03ac1bcfc SHA512 44a21b37bf4e5459268b7edf4d218f2e044ebf4e6020f7dc603be5dac973c57537d72a77f17a080aca5c61de1b902fb77b720a1630f4c1a143be798cacb1ccab +DIST botocore-1.31.9.gh.tar.gz 11785638 BLAKE2B 23f2c010f98b5ca8414c9a031524b1cb7d75366bf84d34df980ef4085a73bc62643cca5255519f891f7a9468abbf0d97adddf6684c3c0a751b0f9f390122c19d SHA512 b2bf0089a81c5389d86c9f7b2545358f23a1219d7e5bf152285f58293a171210b46c22c814ab3f8da460a2acbdd5127193fa7a2e19a021db511f9d08931037bf diff --git a/dev-python/botocore/botocore-1.31.9.ebuild b/dev-python/botocore/botocore-1.31.9.ebuild new file mode 100644 index 000000000000..509d06dedf97 --- /dev/null +++ b/dev-python/botocore/botocore-1.31.9.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + # fails on unrelated warnings + tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME + tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME + # TODO + tests/functional/test_credentials.py::SSOSessionTest::test_token_chosen_from_provider + # urllib3-2 compatibility, mock relies on implementation details + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_expect_100_continue_no_response_from_server + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_expect_100_continue_returned + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_expect_100_continue_sends_307 + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_expect_100_sends_connection_header + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_handles_expect_100_with_different_reason_phrase + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_state_reset_on_connection_close + ) + + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +} diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest index 5c52d83a5f97..a3024e906654 100644 --- a/dev-python/clang-python/Manifest +++ b/dev-python/clang-python/Manifest @@ -6,3 +6,4 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 95192d39cbd2914e5609db3659 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a SHA512 ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447 DIST llvm-project-3cd3f11c174baa001b337b88c7a6507eb5705cf2.tar.gz 194446197 BLAKE2B ba2ac8334f90fddfd9b8f97abd2f77bd1f1ad00c97f2b7daf6b799fe49755a9bd07e017e93cc634163ad7499e70d886556715e26e9d7ed9017018861c3522735 SHA512 b12d02a7b4df08e8decf99ac86875bef72ff2fa546699e7a94bfd2b2ad1e1256aec66185f9e2f7c2f5d06b1eeb3faae44a2c457b33e5c7416d3bd9921759b39d DIST llvm-project-5ae7fde004cbc640c2f60207791ac36574e5f5c6.tar.gz 193410766 BLAKE2B 50287f1ad41a895040934f8f19fd8aa2e91065b930ab14125dbbc3977273655d11482b6229577c11a8ad2bdd854ca109449b603bbc2e30cee20e95e4fe11e8b7 SHA512 f24f7a3b0661d2d4533b24c295c114817aff22c8f1d473ffa639cee547d31502719f8e1be4f25b970d450ecb9dcaa809c0e12b1bb380774f52cda82a4769d7bc +DIST llvm-project-5f1a388a11ae67c2e5d7a4d1fe45e369a393c572.tar.gz 194911977 BLAKE2B d7277591ddca0046dcc244f591732440a6c63c06557d96d18792c2544797a3bcea4af241ad1e9c0106a9751f52bfbcec0544020cc20874e8c64a31a8055d07d0 SHA512 b38aed6a21a3dd4325faf45475b843dcebab89d8ad9683e0f7699701f9645fa9467e032b822473c53a3242930d681caba9dd9530560636cf093108640470bbbe diff --git a/dev-python/clang-python/clang-python-17.0.0_pre20230722.ebuild b/dev-python/clang-python/clang-python-17.0.0_pre20230722.ebuild new file mode 100644 index 000000000000..f37802f5c2d7 --- /dev/null +++ b/dev-python/clang-python/clang-python-17.0.0_pre20230722.ebuild @@ -0,0 +1,54 @@ +# 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} ) +inherit llvm.org python-r1 + +DESCRIPTION="Python bindings for sys-devel/clang" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +KEYWORDS="" +IUSE="test" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# The module is opening libclang.so directly, and doing some blasphemy +# on top of it. +DEPEND=" + >=sys-devel/clang-${PV}:* + !sys-devel/llvm:0[clang(-),python(-)] + !sys-devel/clang:0[python(-)] +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( + sys-devel/clang:${LLVM_MAJOR} + ) +" + +LLVM_COMPONENTS=( clang/bindings/python ) +llvm.org_set_globals + +python_test() { + # tests rely on results from a specific clang version, so override + # the search path + local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) + local -x CLANG_NO_DEFAULT_CONFIG=1 + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" +} + +src_test() { + python_foreach_impl python_test +} + +src_install() { + python_foreach_impl python_domodule clang +} diff --git a/dev-python/confusable_homoglyphs/Manifest b/dev-python/confusable_homoglyphs/Manifest new file mode 100644 index 000000000000..5d11c1714abd --- /dev/null +++ b/dev-python/confusable_homoglyphs/Manifest @@ -0,0 +1 @@ +DIST confusable_homoglyphs-3.2.0.gh.tar.gz 338272 BLAKE2B b4697ad3997ecb2784653a47779ead7ded0e9af46125bc5868954cc8cf5064377a553c9b388be6a42634fa27880ef2fa57224e4b4bf9e357b3a9ff32a5db4993 SHA512 6e51cc4ec9a70246f4a871b8303834d0189d9d5056823b2f576e198cc3ced7154a0d57e945f3814bfa37da6015808bc1d6cdf44cfa17d637ded83ead8a6e4f5c diff --git a/dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0-r1.ebuild b/dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0-r1.ebuild new file mode 100644 index 000000000000..2572f984a38f --- /dev/null +++ b/dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +inherit distutils-r1 + +CommitId=14f43ddd74099520ddcda29fac557c27a28190e6 + +DESCRIPTION="Detect confusable usage of unicode homoglyphs, prevent homograph attacks" +HOMEPAGE=" + https://github.com/vhf/confusable_homoglyphs/ + https://pypi.org/project/confusable_homoglyphs/ +" +SRC_URI="https://github.com/vhf/${PN}/archive/${CommitId}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-python/click[${PYTHON_USEDEP}]" + +S="${WORKDIR}"/${PN}-${CommitId} + +distutils_enable_tests pytest diff --git a/dev-python/confusable_homoglyphs/metadata.xml b/dev-python/confusable_homoglyphs/metadata.xml new file mode 100644 index 000000000000..a6b256295160 --- /dev/null +++ b/dev-python/confusable_homoglyphs/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="person"> + <email>tupone@gentoo.org</email> + <name>Tupone Alfredo</name> + </maintainer> + + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/deepdiff/metadata.xml b/dev-python/deepdiff/metadata.xml index 853174b8f2ab..b24a7dc7dd4f 100644 --- a/dev-python/deepdiff/metadata.xml +++ b/dev-python/deepdiff/metadata.xml @@ -5,6 +5,10 @@ <email>python@gentoo.org</email> <name>Python</name> </maintainer> + <maintainer type="person"> + <email>martin-kokos@protonmail.com</email> + <name>Martin Mokry</name> + </maintainer> <origin>gentoo-staging</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/django-registration/django-registration-3.3.ebuild b/dev-python/django-registration/django-registration-3.3-r1.ebuild index 2998edd51f89..8689e18450c3 100644 --- a/dev-python/django-registration/django-registration-3.3.ebuild +++ b/dev-python/django-registration/django-registration-3.3-r1.ebuild @@ -20,8 +20,13 @@ SRC_URI=" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64" -RESTRICT="test" # Tests are not working here -RDEPEND="dev-python/django[${PYTHON_USEDEP}]" +RDEPEND=" + dev-python/django[${PYTHON_USEDEP}] + dev-python/confusable_homoglyphs[${PYTHON_USEDEP}] +" -distutils_enable_tests pytest +python_test() { + "${EPYTHON}" runtests.py \ + || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/ensurepip-wheel/Manifest b/dev-python/ensurepip-wheel/Manifest index 6451dec27466..f04225cb86ca 100644 --- a/dev-python/ensurepip-wheel/Manifest +++ b/dev-python/ensurepip-wheel/Manifest @@ -1 +1,2 @@ DIST wheel-0.40.0-py3-none-any.whl 64545 BLAKE2B d42fcef0b33b560d5249d32c3400e8440bff154fbc21321e1802ffd6f734fcab032b296d5986cd5c23388800c9234d60c25e2e8f9008beeb6518391c52773f93 SHA512 83c4511bc8186485c7e61da1a798fdc41e209841300d70ea8e8f5515ec8200667b0195e3df149a81f10e3eaa159e8bab7f1701b43ce3d6746aee79cd0ba862e7 +DIST wheel-0.41.0-py3-none-any.whl 64712 BLAKE2B d4e4a9fbc432a246500997412bbda14bf4ad3e9b08bc702c9df9f2649c71399251d6d922c98769eb8bfd34e1a6f9c5c4f182d717c5d9aa9e8e88c6d7ccbb09e7 SHA512 fa2230b0f9f65a860ddbcf63be920a49adad7d4e97be6445e49c2fd746257ab5e3a824f5819c2b80bb3879727720eae07b1e1fc9e5f8e3c1b882e19efa3df52d diff --git a/dev-python/ensurepip-wheel/ensurepip-wheel-0.41.0.ebuild b/dev-python/ensurepip-wheel/ensurepip-wheel-0.41.0.ebuild new file mode 100644 index 000000000000..e3e7fe90c1fa --- /dev/null +++ b/dev-python/ensurepip-wheel/ensurepip-wheel-0.41.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit pypi + +DESCRIPTION="Shared wheel wheel for use in pip tests" +HOMEPAGE="https://pypi.org/project/wheel/" +SRC_URI="$(pypi_wheel_url "${PN#ensurepip-}")" +S=${DISTDIR} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +src_install() { + insinto /usr/lib/python/ensurepip + doins "${A}" +} diff --git a/dev-python/findpython/Manifest b/dev-python/findpython/Manifest index 58ae65c03755..420bb159a2fc 100644 --- a/dev-python/findpython/Manifest +++ b/dev-python/findpython/Manifest @@ -1 +1 @@ -DIST findpython-0.2.4.tar.gz 16109 BLAKE2B 1f30682d5a68f03338ce57af8e37c89567e611142f1854baa2032eabee7f41eff3382be2a3ceaac4808db18a7ff65eb9af929c8dea16be772c4ba34f8b0ee2ea SHA512 7b4ea68c07eb81b18107b5976fd5ca32220d0299f08e5c87b94e0d92f1b0f4abe146be22320c9aa46a329877f83073793cf9953d6a40a5eb09c87a9dc9d02cd5 +DIST findpython-0.3.1.tar.gz 17379 BLAKE2B 73be0b8c064f0417c7023b367328c2694e74de4559acd48cf9faac8cb73b1450c15269b0078bc20392275cb032e57615e2345e9b72b5623262816f2ea3901aa0 SHA512 a9931cd305a12302753fc74be24f845242ac1d4a0b0bc4494dfaec4a32cb1edc88cc30f0924b24109db01409e20a4aa8dc3c3e3136cc8e780b00cd3a0eeb9816 diff --git a/dev-python/findpython/findpython-0.2.4.ebuild b/dev-python/findpython/findpython-0.3.1.ebuild index 44b134d645bf..9932cc31f1f6 100644 --- a/dev-python/findpython/findpython-0.2.4.ebuild +++ b/dev-python/findpython/findpython-0.3.1.ebuild @@ -1,25 +1,20 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -DISTUTILS_USE_PEP517=pdm -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) inherit distutils-r1 pypi DESCRIPTION="A utility to find python versions on your system" HOMEPAGE=" - https://github.com/frostming/findpython/ https://pypi.org/project/findpython/ " LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/packaging[${PYTHON_USEDEP}] -" +KEYWORDS="~amd64" distutils_enable_tests pytest diff --git a/dev-python/findpython/metadata.xml b/dev-python/findpython/metadata.xml index cf51c8e516de..ceefa2539269 100644 --- a/dev-python/findpython/metadata.xml +++ b/dev-python/findpython/metadata.xml @@ -1,15 +1,14 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> <maintainer type="person"> - <email>falbrechtskirchinger@gmail.com</email> - <name>Florian Albrechtskirchinger</name> + <email>chutzpah@gentoo.org</email> + <name>Patrick McLean</name> </maintainer> - <upstream> - <maintainer> - <email>mianghong@gmail.com</email> - <name>Frost Ming</name> - </maintainer> - </upstream> - <origin>gentoo-guru-overlay</origin> + + <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/ijson/Manifest b/dev-python/ijson/Manifest index a048e298bb40..0af3fab50553 100644 --- a/dev-python/ijson/Manifest +++ b/dev-python/ijson/Manifest @@ -1 +1,2 @@ DIST ijson-3.2.2.gh.tar.gz 127965 BLAKE2B 2e20f7cc822406fe3e7eec99c3ef394e42d90b0b518226a7b8eb078763cb8317acb4a28934301116c32a2a9cc37403c2950b18232800485b1ea1206dace7ff23 SHA512 5935071bd0d3eecc39b3c30ca5cb2a959e4d455c57e36414d5c97ba71bbcf1a0b53c8b8afed7551a3a4ac4595294105566c9d7501b35832dd7e46a1bb2151287 +DIST ijson-3.2.3.tar.gz 57596 BLAKE2B e85465829f8319e2e227b7b72633b65e7e77a8cd24fee877aded1f50383ffbbaddd82e5e3942c0b3f637a8e601c5101aa390889e8509ee2c61b6f3c9cf9a7249 SHA512 ca72ed08c7804611d7f9c5218d217087fe17358859d080741726b42072df1407afcf1f701e30d33f3f615e8c78ba247a3cc45e8e7e373f1d3168a63f397fd6eb diff --git a/dev-python/ijson/ijson-3.2.3.ebuild b/dev-python/ijson/ijson-3.2.3.ebuild new file mode 100644 index 000000000000..555b9bcdbace --- /dev/null +++ b/dev-python/ijson/ijson-3.2.3.ebuild @@ -0,0 +1,36 @@ +# 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 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Iterative JSON parser with a Pythonic interface" +HOMEPAGE=" + https://github.com/ICRAR/ijson/ + https://pypi.org/project/ijson/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" + +DEPEND=" + dev-libs/yajl +" +RDEPEND=" + ${DEPEND} +" + +distutils_enable_tests pytest + +export IJSON_BUILD_YAJL2C=1 + +python_test() { + rm -rf ijson || die + epytest +} diff --git a/dev-python/immutabledict/Manifest b/dev-python/immutabledict/Manifest index adc259c53466..eaa140bd8f86 100644 --- a/dev-python/immutabledict/Manifest +++ b/dev-python/immutabledict/Manifest @@ -1,2 +1,3 @@ DIST immutabledict-2.2.4.tar.gz 4314 BLAKE2B fb971bd1a7f2e577131cd19d97e6eae840ad8ea4a3eda96ff54e20235202b791029e2f76b19980c54ab2679ad7147ef420e3ba237e01f5da303efa8108f218cd SHA512 436e39ac98ea9e8ad262113ef6d8ad629800adf29eda5c064e679167d57515d90165ec4a14e572281711f1a26ae0ea3f2164b6487024b20c31895f966fc0050a DIST immutabledict-2.2.5.tar.gz 4316 BLAKE2B 2f251c8409a88cfba741cc9ee2b72d486a7dd8422ca4d841d47246beef506762781106300d9cd4ec8f57115950b09f09bacbb1bc3ceeb0a4b78ef5ba32d3e045 SHA512 3bd94d077f599b6e96a4e17a0d9ecf6365975afe73048f9d9de4df35a8272af1baed264ad84ae6826dd6359ad0d371cd90082b4a064cc6350a0e61bc1cf8c713 +DIST immutabledict-3.0.0.tar.gz 4478 BLAKE2B 7b5344f5153d28914da7124c3ca95e9b5c6422788259170de9f301de0a145324157635ca3543be824e9a0ebf93efe99a30dc1c8882bf926927023f2d06e318ad SHA512 90170703c1226e06d6726285005689cf66804ed2b3fda08c0350d9eeca6ec7427bd4004d42168e2f5ae7302acf1d16274a16d0e132bd81fbc8d470d75ec064a5 diff --git a/dev-python/immutabledict/immutabledict-3.0.0.ebuild b/dev-python/immutabledict/immutabledict-3.0.0.ebuild new file mode 100644 index 000000000000..91768ecbc9ac --- /dev/null +++ b/dev-python/immutabledict/immutabledict-3.0.0.ebuild @@ -0,0 +1,21 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="An immutable wrapper around dictionaries" +HOMEPAGE=" + https://github.com/corenting/immutabledict/ + https://pypi.org/project/immutabledict/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc64" + +distutils_enable_tests pytest diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index a11d7c268c91..e9da2ac43cac 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1 +1,3 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db +EBUILD langdetect-1.0.9.ebuild 493 BLAKE2B 0df8bce19bc80f79f8e76bcef5a4c2caf333365fe0cb9a3c076b7858bceded5a3e58921474f866a2709dd657b7ed330c1ec4a7f9d7bab0fcf1bc92d77cabc32d SHA512 ea2a1adcb133ac5fc951ba1aa90ef1ce3dfcc424e59727591763d4875aa044a74188be2d15fd89c6b2e83ed6ea04ec3d9851ed584ae79d2c2c127bde7d994b48 +MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index ddb5b0f1787e..020e07f2a3dd 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,9 +2,11 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>cyber+gentoo@sysrq.in</email> - <name>Anna</name> + <email>marcin.deranek@slonko.net</email> + <name>Marcin Deranek</name> </maintainer> - - <origin>gentoo-guru-overlay</origin> + <upstream> + <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> + </upstream> + <origin>slonko-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index 5c52d83a5f97..a3024e906654 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -6,3 +6,4 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 95192d39cbd2914e5609db3659 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a SHA512 ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447 DIST llvm-project-3cd3f11c174baa001b337b88c7a6507eb5705cf2.tar.gz 194446197 BLAKE2B ba2ac8334f90fddfd9b8f97abd2f77bd1f1ad00c97f2b7daf6b799fe49755a9bd07e017e93cc634163ad7499e70d886556715e26e9d7ed9017018861c3522735 SHA512 b12d02a7b4df08e8decf99ac86875bef72ff2fa546699e7a94bfd2b2ad1e1256aec66185f9e2f7c2f5d06b1eeb3faae44a2c457b33e5c7416d3bd9921759b39d DIST llvm-project-5ae7fde004cbc640c2f60207791ac36574e5f5c6.tar.gz 193410766 BLAKE2B 50287f1ad41a895040934f8f19fd8aa2e91065b930ab14125dbbc3977273655d11482b6229577c11a8ad2bdd854ca109449b603bbc2e30cee20e95e4fe11e8b7 SHA512 f24f7a3b0661d2d4533b24c295c114817aff22c8f1d473ffa639cee547d31502719f8e1be4f25b970d450ecb9dcaa809c0e12b1bb380774f52cda82a4769d7bc +DIST llvm-project-5f1a388a11ae67c2e5d7a4d1fe45e369a393c572.tar.gz 194911977 BLAKE2B d7277591ddca0046dcc244f591732440a6c63c06557d96d18792c2544797a3bcea4af241ad1e9c0106a9751f52bfbcec0544020cc20874e8c64a31a8055d07d0 SHA512 b38aed6a21a3dd4325faf45475b843dcebab89d8ad9683e0f7699701f9645fa9467e032b822473c53a3242930d681caba9dd9530560636cf093108640470bbbe diff --git a/dev-python/lit/lit-17.0.0_pre20230722.ebuild b/dev-python/lit/lit-17.0.0_pre20230722.ebuild new file mode 100644 index 000000000000..0e39fac626c6 --- /dev/null +++ b/dev-python/lit/lit-17.0.0_pre20230722.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 llvm.org + +DESCRIPTION="A stand-alone install of the LLVM suite testing tool" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +KEYWORDS="" +IUSE="test" +RESTRICT="!test? ( test )" + +# Tests require 'FileCheck' and 'not' utilities (from llvm) +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + sys-devel/llvm + ) +" + +LLVM_COMPONENTS=( llvm/utils/lit ) +llvm.org_set_globals + +# TODO: move the manpage generation here (from sys-devel/llvm) + +src_prepare() { + cd "${WORKDIR}" || die + distutils-r1_src_prepare +} + +python_test() { + local -x LIT_PRESERVES_TMP=1 + local litflags=$(get_lit_flags) + ./lit.py ${litflags//;/ } tests || die +} diff --git a/dev-python/mido/Manifest b/dev-python/mido/Manifest index 49be2c8dad04..e417faf621d2 100644 --- a/dev-python/mido/Manifest +++ b/dev-python/mido/Manifest @@ -1 +1,2 @@ DIST mido-1.2.10.tar.gz 103070 BLAKE2B 84e39cd7f52947f50dc31bac5abb7752e736c867817fbd711e768f1ef182990671633c24bb5726fb428f312f2497d15da560b307ddfeea3399d06330183e9668 SHA512 f21040acda9d084b7449ba52c3d036c637a172a84cdf6975adab999d78d24977be0cba3bd7287253e4a3b6de5044ef01a82de6d19316a22410bc96e9eca6128f +DIST mido-1.3.0.tar.gz 121330 BLAKE2B bf6a20e12b609dc89600fa3b93ccf857fe9aad47ea71564773280c5cf0069b59deec3f8f7263d9949ccf0848b2b73e3e904057c3645069097a85469c8d78a391 SHA512 7e91daa704e72204af30af9c16a2e712a60794f8180c49d78de870381d50aac31029c01ae23fbb7c00947e299c1feba89622ea2648d54bd8786f497cf0a1bd20 diff --git a/dev-python/mido/mido-1.3.0.ebuild b/dev-python/mido/mido-1.3.0.ebuild new file mode 100644 index 000000000000..013c02f52cc2 --- /dev/null +++ b/dev-python/mido/mido-1.3.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 pypi + +DESCRIPTION="MIDI Objects, a library for working with MIDI messages and ports" +HOMEPAGE=" + https://pypi.org/project/mido/ + https://github.com/mido/mido +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+portmidi rtmidi" + +RDEPEND=" + >=dev-python/packaging-23.1[${PYTHON_USEDEP}] + portmidi? ( media-libs/portmidi ) + rtmidi? ( dev-python/python-rtmidi[${PYTHON_USEDEP}] ) +" + +distutils_enable_sphinx docs \ + dev-python/sphinx-rtd-theme +distutils_enable_tests pytest diff --git a/dev-python/pdm/Manifest b/dev-python/pdm/Manifest index 3785869aaa49..7806eda5507d 100644 --- a/dev-python/pdm/Manifest +++ b/dev-python/pdm/Manifest @@ -1 +1 @@ -DIST pdm-2.7.1.tar.gz 3060384 BLAKE2B b8d848099cf9a72dab98546422ef9aaec32841b73086923817d0da9d7218856f49a21b189134161269f4dc13025fd7b42c577a5f4ca502750cd9b584255622f2 SHA512 51eadc7f8b026cdecdfb45732fcb3145f822a2b0b8b9ebb6fc42f3824d1f56ac6fb37c77e84f50af5bfc949262e596d633c4bf30d7cd5d88b13fd9c9a2f19485 +DIST pdm-2.8.0.tar.gz 3069029 BLAKE2B 3fc3246c7bf26953be96def58d8249c981def96e1607b82b35f1b8347dc5246dd6b4613e4f2093e2e6453724e8709951d2fff38a1f02f2dcc5e85fe6e8c678da SHA512 95cc0a4cb032fa39281aea5ab2f31da7f503c6444a9c41d88ac9bf9ab650654a3f154506f2ed822e70266046c4b6a111518ed68aa7ab75aa31c096e071859bcd diff --git a/dev-python/pdm/metadata.xml b/dev-python/pdm/metadata.xml index d17d687bac5a..ceefa2539269 100644 --- a/dev-python/pdm/metadata.xml +++ b/dev-python/pdm/metadata.xml @@ -1,17 +1,14 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> <maintainer type="person"> - <email>falbrechtskirchinger@gmail.com</email> - <name>Florian Albrechtskirchinger</name> + <email>chutzpah@gentoo.org</email> + <name>Patrick McLean</name> </maintainer> - <upstream> - <maintainer> - <email>mianghong@gmail.com</email> - <name>Frost Ming</name> - </maintainer> - <changelog>https://pdm.fming.dev/latest/dev/changelog/</changelog> - <doc>https://pdm.fming.dev</doc> - </upstream> - <origin>gentoo-guru-overlay</origin> + + <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/pdm/pdm-2.7.1.ebuild b/dev-python/pdm/pdm-2.7.1.ebuild deleted file mode 100644 index c6f71d975a1e..000000000000 --- a/dev-python/pdm/pdm-2.7.1.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit bash-completion-r1 distutils-r1 pypi - -DESCRIPTION="Modern Python package and dependency manager supporting latest PEP standards" -HOMEPAGE=" - https://github.com/pdm-project/pdm/ - https://pypi.org/project/pdm/ -" - -LICENSE="MIT" -KEYWORDS="~amd64" -SLOT="0" - -RDEPEND=" - dev-python/blinker[${PYTHON_USEDEP}] - dev-python/certifi[${PYTHON_USEDEP}] - dev-python/urllib3[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/platformdirs[${PYTHON_USEDEP}] - dev-python/rich[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] - dev-python/pyproject-hooks[${PYTHON_USEDEP}] - dev-python/requests-toolbelt[${PYTHON_USEDEP}] - >=dev-python/unearth-0.9.0[${PYTHON_USEDEP}] - dev-python/findpython[${PYTHON_USEDEP}] - dev-python/tomlkit[${PYTHON_USEDEP}] - dev-python/shellingham[${PYTHON_USEDEP}] - dev-python/python-dotenv[${PYTHON_USEDEP}] - dev-python/resolvelib[${PYTHON_USEDEP}] - dev-python/installer[${PYTHON_USEDEP}] - dev-python/cachecontrol[${PYTHON_USEDEP}] - - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - ${RDEPEND} - test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pytest-httpserver[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_compile_all() { - PDM_CHECK_UPDATE=0 "${EPYTHON}" -m pdm completion bash > completion.bash || die - PDM_CHECK_UPDATE=0 "${EPYTHON}" -m pdm completion zsh > completion.zsh || die -} - -python_test() { - epytest -m "not network" - - # clear saved python version - rm -f .pdm-python -} - -python_install_all() { - distutils-r1_python_install_all - - newbashcomp completion.bash pdm - - insinto /usr/share/zsh/site-functions - newins completion.zsh _pdm -} diff --git a/dev-python/pdm/pdm-2.8.0.ebuild b/dev-python/pdm/pdm-2.8.0.ebuild new file mode 100644 index 000000000000..49374631ccc8 --- /dev/null +++ b/dev-python/pdm/pdm-2.8.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python package and dependency manager supporting the latest PEP standards" +HOMEPAGE=" + https://pypi.org/project/pdm/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/blinker[${PYTHON_USEDEP}] + dev-python/certifi[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + dev-python/pyproject-hooks[${PYTHON_USEDEP}] + dev-python/requests-toolbelt[${PYTHON_USEDEP}] + dev-python/unearth[${PYTHON_USEDEP}] + dev-python/findpython[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] + dev-python/shellingham[${PYTHON_USEDEP}] + dev-python/python-dotenv[${PYTHON_USEDEP}] + >=dev-python/resolvelib-1.0.1[${PYTHON_USEDEP}] + dev-python/installer[${PYTHON_USEDEP}] + dev-python/cachecontrol[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/tomli[${PYTHON_USEDEP}]' pypy3 python3_10) +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -a disable_tests=( + # tests that try to reach out to the internet + basic_integration + build_with_no_isolation + search_package + show_package_on_pypi + show_update_hint + build_single_module + project_packages_path + build_package + build_src_package + build_with_config_settings + cli_build_with_config_settings + build_ignoring_pip_environment + publish_and_build_in_one_run + ) + + local textexpr + testexpr=$(printf 'not %s and ' "${disable_tests[@]}") + epytest -m "not network and not integration and not path" -k "${testexpr%and }" -x +} diff --git a/dev-python/pikepdf/Manifest b/dev-python/pikepdf/Manifest index 0012e0fdee54..a4391e458637 100644 --- a/dev-python/pikepdf/Manifest +++ b/dev-python/pikepdf/Manifest @@ -1,2 +1,3 @@ DIST pikepdf-7.2.0.tar.gz 2913496 BLAKE2B 6992b9e64e7bd718fb09c5cd3eb77937c802bb07b24b72bb0825ec721137ee1211f9f7bbc3d8141b60e0ece1f71e6d9d36b50153377b3475f30d7aac3c8f2181 SHA512 96759f36e3f019d6cba775541e7338e774d61cb71c464e42625b1b6c98b8babf5fc9d9324dc6375257897a130d7fe5facdd7a1ddaec6662c8b088854e01fc97e DIST pikepdf-8.1.1.tar.gz 1804397 BLAKE2B c9e990558e761f8597b5519b935a96503ae685747de26b987c91db44b5c3772af993691c4ea0696b0eb54a4ea8d02395724153a0f714738c446049f2b664394e SHA512 7152137e9c11d402095d6aa06e8aa99eade71b35aeb85c9bd5d5811bd3aa785e51792e9ede08110e101893daabbace6d6aef68fa475f2a89e98b5d4de5d2f5bb +DIST pikepdf-8.2.0.tar.gz 1804342 BLAKE2B 4df7b873833b854291808176cca10844934d6ed475dbc330c6beca0fb7a31d4db0b2a6fd6dca10ef6f5345c49cb49980c2d46247d3efd16423209953b345f6ee SHA512 196ec76b3dc81dfcb51b4dab5be7c3598c33616f94bd4bc1d10fbfd6b46a1d761a530c3ed076e4f7cb37ea55e9c27f079e294be15222b99fca0525bd3a462ccc diff --git a/dev-python/pikepdf/pikepdf-8.2.0.ebuild b/dev-python/pikepdf/pikepdf-8.2.0.ebuild new file mode 100644 index 000000000000..844a826730da --- /dev/null +++ b/dev-python/pikepdf/pikepdf-8.2.0.ebuild @@ -0,0 +1,60 @@ +# 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 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python library to work with pdf files based on qpdf" +HOMEPAGE=" + https://github.com/pikepdf/pikepdf/ + https://pypi.org/project/pikepdf/ +" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +DEPEND=" + >=app-text/qpdf-11.1.1:0= +" +RDEPEND=" + ${DEPEND} + dev-python/deprecation[${PYTHON_USEDEP}] + >=dev-python/lxml-4.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pillow-9.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pybind11-2.10.1[${PYTHON_USEDEP}] + >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] + test? ( + >=dev-python/attrs-20.2.0[${PYTHON_USEDEP}] + >=dev-python/hypothesis-6.36[${PYTHON_USEDEP}] + >=dev-python/numpy-1.21.0[${PYTHON_USEDEP}] + >=dev-python/pillow-5.0.0[${PYTHON_USEDEP},jpeg,lcms,tiff] + >=dev-python/psutil-5.9[${PYTHON_USEDEP}] + >=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] + >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.{8..10}) + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # fragile to system load + tests/test_image_access.py::test_random_image +) + +src_prepare() { + sed -e '/-n auto/d' -i pyproject.toml || die + distutils-r1_src_prepare +} diff --git a/dev-python/poetry-plugin-export/Manifest b/dev-python/poetry-plugin-export/Manifest new file mode 100644 index 000000000000..e78fd051fcc0 --- /dev/null +++ b/dev-python/poetry-plugin-export/Manifest @@ -0,0 +1 @@ +DIST poetry_plugin_export-1.4.0.tar.gz 28553 BLAKE2B d2f7de4da9975cefde9ac02d9e4a36eada89fe00926eaf58d8ea402d57ef53209aa2e564b46616f0d71fa675512de6335a33a1714efe4a696f05c909a8313e45 SHA512 60fd1a63505e82f62372e7ec4e4908835f0556e86213b58ce836d3cf64bd6de8f83cbc965ad1a2b59c50ca3bf287675bda46b5a410a5f65078e091004eaf8ed9 diff --git a/dev-python/poetry-plugin-export/metadata.xml b/dev-python/poetry-plugin-export/metadata.xml new file mode 100644 index 000000000000..b24a7dc7dd4f --- /dev/null +++ b/dev-python/poetry-plugin-export/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <maintainer type="person"> + <email>martin-kokos@protonmail.com</email> + <name>Martin Mokry</name> + </maintainer> + + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/poetry-plugin-export/poetry-plugin-export-1.4.0.ebuild b/dev-python/poetry-plugin-export/poetry-plugin-export-1.4.0.ebuild new file mode 100644 index 000000000000..538fff379355 --- /dev/null +++ b/dev-python/poetry-plugin-export/poetry-plugin-export-1.4.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A plugin that allows the export of locked packages to various formats" +HOMEPAGE=" + https://python-poetry.org/ + https://github.com/python-poetry/poetry-plugin-export + https://pypi.org/project/poetry-plugin-export/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/poetry-core-1.6.0[${PYTHON_USEDEP}] +" + +DEPEND=" + test? ( + dev-python/poetry[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.9[${PYTHON_USEDEP}] + >=dev-python/pytest-xdist-3.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/poetry/Manifest b/dev-python/poetry/Manifest new file mode 100644 index 000000000000..7fe951512e55 --- /dev/null +++ b/dev-python/poetry/Manifest @@ -0,0 +1 @@ +DIST poetry-1.5.1.tar.gz 1469755 BLAKE2B ac60d6aabe69b1e46a6fbc188579034e716a470384571a611952489d175485cf997636c9206a53e29be073582e672f8010ab5f8f13b58a12dc644279753f903e SHA512 863bc4ea43b6fc5b340f50f007c76d2c253223d6bd55ea5c1ead4bc353c3d4cd85d51372a774276e14d9fca733fac9c2f582892fec950b74f25dc188dafa7a96 diff --git a/dev-python/poetry/metadata.xml b/dev-python/poetry/metadata.xml new file mode 100644 index 000000000000..b24a7dc7dd4f --- /dev/null +++ b/dev-python/poetry/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <maintainer type="person"> + <email>martin-kokos@protonmail.com</email> + <name>Martin Mokry</name> + </maintainer> + + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/poetry/poetry-1.5.1.ebuild b/dev-python/poetry/poetry-1.5.1.ebuild new file mode 100644 index 000000000000..b3b95b9c06da --- /dev/null +++ b/dev-python/poetry/poetry-1.5.1.ebuild @@ -0,0 +1,92 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A frontend for poetry - a python dependency management and packaging tool" +HOMEPAGE=" + https://python-poetry.org/ + https://github.com/python-poetry/poetry + https://pypi.org/project/poetry/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/poetry-core-1.6.1[${PYTHON_USEDEP}] + >=dev-python/poetry-plugin-export-1.4.0[${PYTHON_USEDEP}] + >=dev-python/build-0.10.0[${PYTHON_USEDEP}] + >=dev-python/cleo-2.0.0[${PYTHON_USEDEP}] + >=dev-python/crashtest-0.4.1[${PYTHON_USEDEP}] + >=dev-python/dulwich-0.21.2[${PYTHON_USEDEP}] + >=dev-python/installer-0.7.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.10.0[${PYTHON_USEDEP}] + >=dev-python/keyring-23.9.0[${PYTHON_USEDEP}] + >=dev-python/packaging-20.4[${PYTHON_USEDEP}] + >=dev-python/pexpect-4.7.0[${PYTHON_USEDEP}] + >=dev-python/pkginfo-1.9.4[${PYTHON_USEDEP}] + >=dev-python/platformdirs-3.0.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.18[${PYTHON_USEDEP}] + >=dev-python/requests-toolbelt-0.10.1[${PYTHON_USEDEP}] + >=dev-python/shellingham-1.5.0[${PYTHON_USEDEP}] + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.11.6[${PYTHON_USEDEP}] + >=dev-python/trove-classifiers-2022.5.19[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20.22.0[${PYTHON_USEDEP}] + >=dev-python/cachecontrol-0.12.9[${PYTHON_USEDEP}] +" + +DEPEND=" + test? ( + >=dev-python/deepdiff-6.3.1[${PYTHON_USEDEP}] + >=dev-python/httpretty-1.0[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.9[${PYTHON_USEDEP}] + >=dev-python/pytest-xdist-3.1[${PYTHON_USEDEP}] + ) +" + +src_prepare() { + # Dependency on abandoned package cachy has been removed from poetry https://github.com/python-poetry/poetry/pull/5868 + # and remains in tests only for time being, so we can skip them. + # removal of tests upstream https://github.com/python-poetry/poetry/pull/7437 + sed -e "s/from cachy import CacheManager/from unittest import mock; CacheManager = mock.Mock # Gentoo ebuild patched/g" \ + -i tests/console/commands/cache/conftest.py \ + -i tests/utils/test_cache.py || die + sed -e 's:"cachy_file_cache", ::g' \ + -i tests/utils/test_cache.py || die + + distutils-r1_src_prepare +} + +EPYTEST_DESELECT=( + # Dependency on abandoned package cachy has been removed from poetry https://github.com/python-poetry/poetry/pull/5868 + # and remains in tests only for time being, so we can skip them. + # removal of tests upstream https://github.com/python-poetry/poetry/pull/7437 + tests/console/commands/cache/test_clear.py::test_cache_clear_all + tests/console/commands/cache/test_clear.py::test_cache_clear_all_no + tests/console/commands/cache/test_clear.py::test_cache_clear_pkg + tests/console/commands/cache/test_clear.py::test_cache_clear_pkg_no + tests/utils/test_cache.py::test_cachy_compatibility + + # Tests require network (they run `pip install ...`) + tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_directories + tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_git + tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_git_with_subdirectories + tests/installation/test_pip_installer.py::test_uninstall_git_package_nspkg_pth_cleanup + tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_non_wheel_files + tests/installation/test_installer.py::test_installer_with_pypi_repository + + # Works with network, but otherwise: Backend 'poetry.core.masonry.api' is not available. + tests/installation/test_chef.py::test_prepare_sdist + tests/installation/test_chef.py::test_prepare_directory + tests/installation/test_chef.py::test_prepare_directory_with_extensions + tests/installation/test_chef.py::test_prepare_directory_editable +) + +distutils_enable_tests pytest diff --git a/dev-python/python-gnupg/Manifest b/dev-python/python-gnupg/Manifest index 20ba7a554e85..c4debf3a6aea 100644 --- a/dev-python/python-gnupg/Manifest +++ b/dev-python/python-gnupg/Manifest @@ -1,2 +1,4 @@ DIST python-gnupg-0.5.0.tar.gz 61154 BLAKE2B 0ae7e8ff669f51b47410a7a5aef16ca6792db18f28c59d3ce6615d0852eba1e201e3d000d1f644ffc1a362a74ee56c0930dd5814c23238137d6d8696319fd130 SHA512 cfd302257b53fdc9318004db7323ea5bf4bddc055b65b24386a1ecb27cd476fdf1bc771adcdde70a4eef442982a0c57dc832b92274bbe5ba16cbdf3247f4e77a DIST python-gnupg-0.5.0.tar.gz.asc 801 BLAKE2B a3df8ea4c22c2df8351aeb51a670e36e2809eef2248507842b9580f819af5c4e5a7ad4902ef54f2a62c3629a2d658cac346cc1647838e8066b2a018939e1a751 SHA512 58fa1b201803bb542e3fb9c1c567d83abba0e897b52efa331942899684e15b4c44a225c28adce58c69c290d5059fc562556b79fec21f960c894b30a8f3642405 +DIST python-gnupg-0.5.1.tar.gz 64377 BLAKE2B bc17b2a21b44c2238ad528951ddcc43d4f607cace7bf9656329dfdba360090da5efe90425c0d3ff9e9d3c42655b996a3a5a31a1f90524457fe047ab46b272e27 SHA512 7be68c2f8aad0e0923fd27e53bbbfaea8fe7b3816ff231ab6a06a52efd3a4a594af27355abcf0a453e1d0556ad8c02e960ff7c84cb0ce7d053a1adc91131eea0 +DIST python-gnupg-0.5.1.tar.gz.asc 801 BLAKE2B a3b34af465d412a35f8450b5de287764c2b516de8dc989a0654d136e77123db533792faaef2f1f7a246d4bf02783e23c84cf76cf404def1282edffa2d25ec73a SHA512 ecf1fd69030ec6dff5d0ffbbcaa9112d7b2d5d1badb76257c6cdf674cbc579e8bd9837f8e30943aa23c316d121926c4aa5e2f0b865ed55a6ba661c4b2642fd30 diff --git a/dev-python/python-gnupg/python-gnupg-0.5.1.ebuild b/dev-python/python-gnupg/python-gnupg-0.5.1.ebuild new file mode 100644 index 000000000000..70ae7b8df873 --- /dev/null +++ b/dev-python/python-gnupg/python-gnupg-0.5.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/vinaysajip.asc +inherit distutils-r1 verify-sig + +DESCRIPTION="A Python wrapper for GnuPG" +HOMEPAGE=" + https://docs.red-dove.com/python-gnupg/ + https://github.com/vsajip/python-gnupg/ + https://pypi.org/project/python-gnupg/ +" +SRC_URI="https://github.com/vsajip/python-gnupg/releases/download/${PV}/${P}.tar.gz" +SRC_URI+=" verify-sig? ( https://github.com/vsajip/python-gnupg/releases/download/${PV}/${P}.tar.gz.asc )" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +LICENSE="BSD" +SLOT="0" + +# Need gnupg[nls] for avoiding decode errors and possible hangs +# w/ e.g. sec-keys/openpgp-keys-gentoo-developers but other pkgs too. +RDEPEND="app-crypt/gnupg[nls]" +DEPEND="${RDEPEND}" +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-vinaysajip )" + +distutils_enable_tests unittest + +python_test() { + # NO_EXTERNAL_TESTS must be enabled, + # to disable all tests, which need internet access. + NO_EXTERNAL_TESTS=1 eunittest +} diff --git a/dev-python/requests-wsgi-adapter/Manifest b/dev-python/requests-wsgi-adapter/Manifest index 71f3a17f5416..f4e37643b490 100644 --- a/dev-python/requests-wsgi-adapter/Manifest +++ b/dev-python/requests-wsgi-adapter/Manifest @@ -1 +1 @@ -DIST requests-wsgi-adapter-0.4.1.tar.gz 3035 BLAKE2B 6c495a9af66ac8674b4fa14df4f089f82873159d082d12259fdb3ceece2b95c239115b8557de34dbb07efec861d367562aba4d0bebd12500dbbeb446e05d378c SHA512 8557743b668bdcbb414e4a4afb254573aebdd378a22b0d64392ad669ca2cef91c6f1fbc60cefa8bc0f23a072ffcaa0ffffec7cbbb1c6dfc430068af16192d7ee +DIST requests-wsgi-adapter-0.4.1.gh.tar.gz 5265 BLAKE2B 1ad1783e7bc7a37f749cd7d8e041b5e86f5039a54a735b1db9c54bd5b356b4a583b9af52a2838ba4441ca4c0a653abe06a685274e054678cb398d813ad8504c9 SHA512 f5f3572586f3a4cba98bcebfec2a77382e101fb799998007ad37f804ec721533ccb84bb7cc4f7ee8cf2fe9e61e75440b75003e88d384c44a6484acc65bfa3626 diff --git a/dev-python/requests-wsgi-adapter/metadata.xml b/dev-python/requests-wsgi-adapter/metadata.xml index a2cf3f904da1..ceefa2539269 100644 --- a/dev-python/requests-wsgi-adapter/metadata.xml +++ b/dev-python/requests-wsgi-adapter/metadata.xml @@ -1,10 +1,14 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> <maintainer type="person"> - <email>falbrechtskirchinger@gmail.com</email> - <name>Florian Albrechtskirchinger</name> + <email>chutzpah@gentoo.org</email> + <name>Patrick McLean</name> </maintainer> - <origin>gentoo-guru-overlay</origin> + <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/requests-wsgi-adapter/requests-wsgi-adapter-0.4.1.ebuild b/dev-python/requests-wsgi-adapter/requests-wsgi-adapter-0.4.1.ebuild index 1c36feb146b3..c959054a67f5 100644 --- a/dev-python/requests-wsgi-adapter/requests-wsgi-adapter-0.4.1.ebuild +++ b/dev-python/requests-wsgi-adapter/requests-wsgi-adapter-0.4.1.ebuild @@ -1,20 +1,38 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) -PYPI_NO_NORMALIZE=1 -inherit distutils-r1 pypi +inherit distutils-r1 DESCRIPTION="WSGI Transport Adapter for Requests" HOMEPAGE=" - https://github.com/seanbrant/requests-wsgi-adapter/ https://pypi.org/project/requests-wsgi-adapter/ " +COMMIT_HASH="5b771effb5414096089375a3a36a3e7af1522ae0" +SRC_URI=" + https://github.com/seanbrant/requests-wsgi-adapter/archive/${COMMIT_HASH}.tar.gz -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${PN}-${COMMIT_HASH}" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/requests[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + epytest tests.py +} diff --git a/dev-python/unearth/Manifest b/dev-python/unearth/Manifest index 22ef20674ff0..bf545b1dc31d 100644 --- a/dev-python/unearth/Manifest +++ b/dev-python/unearth/Manifest @@ -1 +1 @@ -DIST unearth-0.9.0.tar.gz 270152 BLAKE2B 4d5bb2fd1199d74742165b63bcd2e6f2760d919608a76f0d17552e258c2478746f737d01b270fafd019b8739d71071533569c81f5b2c2afbdd34929e3601c721 SHA512 8eed609da6f70855824fee64408a437a58b2531fb58b87ab93587b8a620b611109b82414744f323d961c2c40ad40ae40c5b8d6e44ca5a9caa2c9693da0f529dd +DIST unearth-0.10.0.tar.gz 270997 BLAKE2B 8b18df4616fc72025492aa187101bc1f338967b1738ef9ec33d16cbd906c1cf91c1b84e391538521b4a9d6ea40301eb0b7ed0926aa4e6c4d6ffc57401f9d78d9 SHA512 98799202939e1206b6fdd46eb61947c9f9f8068a6857f76aace8dd2c67a3fad9dd3b7a5232d7812b0dcd214c39a9e2a6fafbd18cbfeb9aa4c216571b88b3f131 diff --git a/dev-python/unearth/metadata.xml b/dev-python/unearth/metadata.xml index a597b8a7e17c..ceefa2539269 100644 --- a/dev-python/unearth/metadata.xml +++ b/dev-python/unearth/metadata.xml @@ -1,17 +1,14 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> <maintainer type="person"> - <email>falbrechtskirchinger@gmail.com</email> - <name>Florian Albrechtskirchinger</name> + <email>chutzpah@gentoo.org</email> + <name>Patrick McLean</name> </maintainer> - <upstream> - <maintainer> - <email>me@frostming.com</email> - <name>Frost Ming</name> - </maintainer> - <changelog>https://github.com/frostming/unearth/releases</changelog> - <doc>https://unearth.readthedocs.io</doc> - </upstream> - <origin>gentoo-guru-overlay</origin> + + <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/unearth/unearth-0.9.0.ebuild b/dev-python/unearth/unearth-0.10.0.ebuild index a019072e477f..e536cdf3f3c4 100644 --- a/dev-python/unearth/unearth-0.9.0.ebuild +++ b/dev-python/unearth/unearth-0.10.0.ebuild @@ -1,30 +1,27 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -DISTUTILS_USE_PEP517=pdm -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) inherit distutils-r1 pypi DESCRIPTION="A utility to fetch and download python packages" HOMEPAGE=" - https://github.com/frostming/unearth/ https://pypi.org/project/unearth/ " LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64" RDEPEND=" dev-python/packaging[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] " - BDEPEND=" - ${RDEPEND} test? ( dev-python/pytest-httpserver[${PYTHON_USEDEP}] dev-python/flask[${PYTHON_USEDEP}] diff --git a/dev-python/wheel/Manifest b/dev-python/wheel/Manifest index e8a990def985..c381dbc14c59 100644 --- a/dev-python/wheel/Manifest +++ b/dev-python/wheel/Manifest @@ -1 +1,2 @@ DIST wheel-0.40.0.tar.gz 96226 BLAKE2B f4207ab822f037a3d8decc50643ad7e49a632028c712bc33c680d178f10117ff0aa4f2a971bf739a77a76dbf818360d0f628ce997b942ee9d85ec7fac28badc8 SHA512 211e68d927c93b9b2748bf081097d1172cf8d4863d540be72f1d6023b64042410805d4208a2c94de89a1eeb0fb32044e78f41ab58ac94498ac0c489a1eea0d23 +DIST wheel-0.41.0.tar.gz 96943 BLAKE2B 8c0c4509640023c6fea2f680b24707b5ba75da50f54ffc4efe06355dfb6cd06c83fc15763666dc31c6ed83deebe552189bbaeda6fd3cba356a79f71f0992d1f9 SHA512 2e5099f5d512dd8e2205cfefa68e9229a7713367ec367f580021eeb68fb5bc0382bd89a524aa8f0d7617eb26f5d57eaa5e0976d94d042a6ffa20738624d3bae7 diff --git a/dev-python/wheel/wheel-0.41.0.ebuild b/dev-python/wheel/wheel-0.41.0.ebuild new file mode 100644 index 000000000000..9759993ea368 --- /dev/null +++ b/dev-python/wheel/wheel-0.41.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="A built-package format for Python" +HOMEPAGE=" + https://github.com/pypa/wheel/ + https://pypi.org/project/wheel/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/setuptools[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # unbundle packaging + rm -r src/wheel/vendored || die + sed -i -e 's:\.vendored\.::' src/wheel/*.py || die + sed -i -e 's:wheel\.vendored\.::' tests/*.py || die + + distutils-r1_src_prepare +} |
