diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-10-03 06:33:24 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-10-03 06:33:24 +0000 |
| commit | 1fdedb03cef0f4e233244a383d3347bca36ee3a8 (patch) | |
| tree | 383d362ffc34d5ede7bed65132d7233d46ae5c32 /dev-python | |
| parent | 642f85a7182a4d58010123c6aa71cde1ea378d53 (diff) | |
| download | baldeagleos-repo-1fdedb03cef0f4e233244a383d3347bca36ee3a8.tar.gz baldeagleos-repo-1fdedb03cef0f4e233244a383d3347bca36ee3a8.tar.xz baldeagleos-repo-1fdedb03cef0f4e233244a383d3347bca36ee3a8.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
101 files changed, 1522 insertions, 1162 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 8df307d2b795..b0622b32b763 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -4,3 +4,4 @@ DIST boto3-1.28.54.gh.tar.gz 703165 BLAKE2B f18666ece9f7b722915fb082c6e45280deda DIST boto3-1.28.55.gh.tar.gz 704202 BLAKE2B 800105abff50a0cd728308458d84b6d8eab4be3f5d816d996443af82d93f4f97b9e686af7a96170a6036bfff54be8b11b8fb6ba69b8c53fad681b96a4ae2fb87 SHA512 cc0c2668926db54f8d2d071f125386def5a38f02efa4eb70814ba11a3d922e275a1ab92551d0c7546a692028bfe6f877830c739879548ea996d127ea62821b77 DIST boto3-1.28.56.gh.tar.gz 704679 BLAKE2B b7413df6f6cfe9b0b604ac44888b4141b67d6fe275b7ae0a47676d8002dc189a93f2db8a92d2d53582f6918819841a1aa8d9a10149d2c8a19fc7c94b10d10b85 SHA512 ac7d274fbbc8e4e492eaedac61bb8c351a414c27ebebe3fa78a8ade293120a75e2cea37fc02289d15b012836da4b260296d2694428249cead270a30cbcd8a74f DIST boto3-1.28.57.gh.tar.gz 705839 BLAKE2B 5d536c8465de64b7a0dfff909325d719d6d36f0bf531b14211dd45f4539170e8b0c78ae1ba111028d6273d6453f4087b2de7a7b62ad6b1da115281b87d99b248 SHA512 b5277a0c03a57147e9d0cf05800b1f30059151dc019045dbaa91a36f6cd0c08b21bd4dad25d4359d594379f84b8f862e1dde306382a3cdd6070eaa300dcfd23b +DIST boto3-1.28.58.gh.tar.gz 706435 BLAKE2B 18bd0fe690a004070e7f25207710b02b6d943b913849db32970dc998ff0e0ba51cb294111ac13fe472760966fc66594893a89ff3e03253d99048dbe9dee3a230 SHA512 283b4908f6774f4c63e206ea3552dbbb34bf40159c2a877a7f54816bc3334151d99f9d6aeccca918b6e91ee20d021c6628afe822f008e773da097a4c7cbfb4a0 diff --git a/dev-python/boto3/boto3-1.28.58.ebuild b/dev-python/boto3/boto3-1.28.58.ebuild new file mode 100644 index 000000000000..ce647449197e --- /dev/null +++ b/dev-python/boto3/boto3-1.28.58.ebuild @@ -0,0 +1,68 @@ +# 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_{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.7.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() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} \ + -p xdist -n "$(makeopts_jobs)" --dist=worksteal +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 7f23e902b3e2..083d0e15cf3f 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -4,3 +4,4 @@ DIST botocore-1.31.54.gh.tar.gz 11879790 BLAKE2B 8feaab92edaada974af275c81a41d6b DIST botocore-1.31.55.gh.tar.gz 11883762 BLAKE2B eac01a2c463754306f2846ed914453114044b8ef0e94848d2bf0f59e01324bf8c7c366976722de7a791f482e891f005dc2f6ac4a1f3adfad92100d452b6bb3db SHA512 14bc1a6b12fd2bf08fa881f2265d1b0057c16b5001991278f07590f8f09b3237cf182a583f93a657d74c420179f0eee689debd192c254787aa8cb3fc17c79348 DIST botocore-1.31.56.gh.tar.gz 11885802 BLAKE2B 4fd386fcc987672df88ffec5265c1fd9f18a75b3557643ad27dae67dddc485a3f787722942bca0daf277eb4d03dfe7164ede63b4f85e44182db2e248b507f9a7 SHA512 d1a1757e4c4d68122ab963bddc57304609e0b4c225f8e81c38a4a3b116312884757f36f07cf7f324d059037ff81d5b6ab2e225893c18e9ed5ce2203bc0c47aa0 DIST botocore-1.31.57.gh.tar.gz 11899280 BLAKE2B 047cba5850b024dd4070346eb2c635696f9684a38ea458357c934295e86d33b65e3b9f8e98e5fa96d2f0ba18c68bfc970c1fe7ad13bbfc0e83ede4ae4b6dbb88 SHA512 512bfd31a3534213977f6d05cf8603222e9517cc0d95cdf0fa3c9f9565f0f08cb7e646830a5d5093df7ca5b84c82db2887648e7b7cf47411486c664c730963d9 +DIST botocore-1.31.58.gh.tar.gz 11900019 BLAKE2B 8b78876c5ca816b1aa71fb32dc261fe1a8df9af4d6ded7ebe7a5472ae4673e38bc5486dcb01c718f663ddebf897ea57da591e16060816063d25f1c4afe9cecad SHA512 0401181971ccb96431667ef5280cb60157691af0e26628f0f257f131c792f02379f710bfb00af4be29183b87873bf9072f7cab45e8b5035894b8914c3824f3fe diff --git a/dev-python/botocore/botocore-1.31.58.ebuild b/dev-python/botocore/botocore-1.31.58.ebuild new file mode 100644 index 000000000000..10b7950a4ee2 --- /dev/null +++ b/dev-python/botocore/botocore-1.31.58.ebuild @@ -0,0 +1,68 @@ +# 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_{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 + ) + + local -x EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)" +} diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest index 908f8400d4ca..0f39c1ae5665 100644 --- a/dev-python/clang-python/Manifest +++ b/dev-python/clang-python/Manifest @@ -4,9 +4,7 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B f3d277e2029157329e5be78b78 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df SHA512 fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d SHA512 89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a SHA512 ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447 -DIST llvm-project-17.0.0rc4.src.tar.xz 127838724 BLAKE2B e3bf524e55db5e4305099ecdff09c0d3eab7957a5f8729eefe636e361460f405fbfd569af38aa39eea3b6c1e024feaa0400f8bc092194f2c3b54c695e7962591 SHA512 be7b5ad136d03864dbd11a589ca9e8b0b04a4226ebcffcc123b3ba72992f704bab4f9550d03eb2ac1d21fb8b73ac7824398b4cb4c9cec2118efb112babfe0f65 -DIST llvm-project-17.0.0rc4.src.tar.xz.sig 438 BLAKE2B 2cda35b4a3ebddfdbe6828459c8bd8fdfaa8e04d2d1c4f2faf16f5c66909186d2dd73e6a163cf733d8955c007249cf3f62f237855d5a76b1b61f3bfa30e4972d SHA512 5f713e05b7c58fab6e9cc43f2f3f69120482c9b60008146da0cddb266d1a5c9b9a77e1e338fce4e15624b332ac53a90c5c4a6f62c58a77f2122a015b4f0ebed2 DIST llvm-project-17.0.1.src.tar.xz 127830376 BLAKE2B bb3b9f7358df9006307f5eeccfc5c5ee5497498c4f091347924911cb6534e8d930024c35387456af24bf647d9e24a3d927aa49199036fb475018a610b5d792c7 SHA512 6fc1d5ff4fec49ef5bb495ba9d8f9ee9052c10999ec9d3ac8f825c718e3cdd64abd95408c4e5bb7f67eb9a7bfac9e26d2a949c4da9f163b5646c02e8a670ead5 DIST llvm-project-17.0.1.src.tar.xz.sig 438 BLAKE2B 3182e3c3a48635fdec39b945ee3b782d7c9c2a07911d9ede2e3421031bb1b4959bd495c5e39d094aeaf555579b9fe3eb834c1449077c154c629f5db605375e7c SHA512 301a6e6c46d6fee13c86dec1a021c35f6bf3a97e5d6b0aa7b7eac34e7ca52f6cefffc25a9e376250b1eb721a65a5852f2f1948abd432698363a81dd7ee19d81c -DIST llvm-project-7e5809e7e7bc9a828427b6540a51d45884d8bbbb.tar.gz 197275742 BLAKE2B 17df09155cf3451deffcdd71a4b0602211a4638ad961eb351802028f4fd1b8db870bef817430adb709ea7c1e85f545d7507c06d7fca26869f8a10e6ac6b03967 SHA512 e84aa041aadf3e50376cffd1e92c1447acdca0a2cf8e7df9cca9d0337dfeccb1d022da3a229bb0cfdc9c5fb87215682a1e4f474208b09b8800f30aa0c6e36c4b +DIST llvm-project-39fec5457c0925bd39f67f63fe17391584e08258.tar.gz 198361956 BLAKE2B 001b9d9b7997762dcce4f0b1deb94d41c3d840c178ba1e92208782e7e21fdc0041cde359051b2b1b1fc75526ff6504d3b9375ff873831350de359530c944a961 SHA512 b560e71c9855aff9fb5385f9fb30f63fbef074fd695e7cb31847192837a161bfe4808ceb09c514a676ae817616f15fb5a57d325aa9744eaac46b8f4b20b77a13 DIST llvm-project-f5cb9cb59d7c9c6ac3d5c41c677f68c9b75d34a3.tar.gz 198113948 BLAKE2B 1688920eb790421f4143e92bd7bd26794a2497e7b445dde6d55b59c9df4b1aebb848833c7cb1b7c273c5e002763f2531a341313500ce207242f992dfe343b988 SHA512 9817e8b7adf7c69d673124e8334c3e511dfd1cc386832c52b2fb0f2517475d29cd98513ad87188a962f9697dfac39ea03f5b2db6c549c307cf3d27b1370ffdf3 diff --git a/dev-python/clang-python/clang-python-17.0.0_rc4.ebuild b/dev-python/clang-python/clang-python-17.0.2.9999.ebuild index 85658fd637a4..85658fd637a4 100644 --- a/dev-python/clang-python/clang-python-17.0.0_rc4.ebuild +++ b/dev-python/clang-python/clang-python-17.0.2.9999.ebuild diff --git a/dev-python/clang-python/clang-python-18.0.0_pre20230906.ebuild b/dev-python/clang-python/clang-python-18.0.0_pre20230906.ebuild deleted file mode 100644 index 85658fd637a4..000000000000 --- a/dev-python/clang-python/clang-python-18.0.0_pre20230906.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{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/clang-python/clang-python-17.0.1.9999.ebuild b/dev-python/clang-python/clang-python-18.0.0_pre20231002.ebuild index 85658fd637a4..85658fd637a4 100644 --- a/dev-python/clang-python/clang-python-17.0.1.9999.ebuild +++ b/dev-python/clang-python/clang-python-18.0.0_pre20231002.ebuild diff --git a/dev-python/coverage/Manifest b/dev-python/coverage/Manifest index 874fd86e3904..55d49fa38f01 100644 --- a/dev-python/coverage/Manifest +++ b/dev-python/coverage/Manifest @@ -1 +1,2 @@ DIST coverage-7.3.1.tar.gz 764806 BLAKE2B 7399c7df63d0a546e20797c52780376bb8f65578753ffae3bb15901bd4fb7b4c0d8360b2dbc445e038d226af9ddf0b39c38c16fa70d9690b62477e5e75dfb51d SHA512 deeeab41ca53cdda83fe233f63bcf14909b96dfa0710d882dcaa9f81f4884ef7b39aaf177f832ce0f66f1fb88ad4b97d37ef2adfa2540d551352ed48af1926b2 +DIST coverage-7.3.2.tar.gz 764541 BLAKE2B 5301a45a1618582d6b7bc1c887fdfdc7ef612082675b271e5ab840f2adc357c6a01f59ba5571e6dba61db61c85ee66d40af46b3509dfbf5c996fcf9fd6b2a614 SHA512 94e3b0bae2f84d31448a717f105e4f03e485a47d9498e73e86eca2f040d0980e514e3d9264f5349f70ea93fc985161d89156d0faa444d28cc7a07e51db4e1a46 diff --git a/dev-python/coverage/coverage-7.3.2.ebuild b/dev-python/coverage/coverage-7.3.2.ebuild new file mode 100644 index 000000000000..5340f5b50ba4 --- /dev/null +++ b/dev-python/coverage/coverage-7.3.2.ebuild @@ -0,0 +1,82 @@ +# 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_{8,9,10,11} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Code coverage measurement for Python" +HOMEPAGE=" + https://coverage.readthedocs.io/en/latest/ + https://github.com/nedbat/coveragepy/ + https://pypi.org/project/coverage/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.{9..10}) +" +BDEPEND=" + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/unittest-mixins-1.4[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/addopts/s:-q -n auto::' pyproject.toml || die + distutils-r1_src_prepare +} + +test_tracer() { + local -x COVERAGE_TEST_TRACER=${1} + einfo " Testing with the ${COVERAGE_TEST_TRACER} tracer ..." + epytest tests +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO: fails because of additional "Terminated" print on SIGTERM + tests/test_concurrency.py::SigtermTest::test_sigterm_threading_saves_data + ) + local EPYTEST_IGNORE=( + # pip these days insists on fetching build deps from Internet + tests/test_venv.py + ) + + "${EPYTHON}" igor.py zip_mods || die + + local -x COVERAGE_TESTING=True + # TODO: figure out why they can't be imported inside test env + local -x COVERAGE_NO_CONTRACTS=1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=_hypothesis_pytestplugin,flaky.flaky_pytest_plugin,xdist.plugin + + local prev_opt=$(shopt -p nullglob) + shopt -s nullglob + local c_ext=( "${BUILD_DIR}/install$(python_get_sitedir)"/coverage/*.so ) + ${prev_opt} + + if [[ -n ${c_ext} ]]; then + cp "${c_ext}" \ + coverage/ || die + test_tracer c + rm coverage/*.so || die + else + test_tracer py + fi +} diff --git a/dev-python/flasgger/flasgger-0.9.7.1.ebuild b/dev-python/flasgger/flasgger-0.9.7.1.ebuild index b74a31999eba..4213e0878c74 100644 --- a/dev-python/flasgger/flasgger-0.9.7.1.ebuild +++ b/dev-python/flasgger/flasgger-0.9.7.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/flask-0.10[${PYTHON_USEDEP}] diff --git a/dev-python/httpbin/Manifest b/dev-python/httpbin/Manifest index 41a187504240..0dc9fe2291fa 100644 --- a/dev-python/httpbin/Manifest +++ b/dev-python/httpbin/Manifest @@ -1,2 +1 @@ DIST httpbin-0.10.1.tar.gz 107058 BLAKE2B a46732946fc3454e2ae71c4eec4f88521e190b736445c54f555021a273a75f57acbc9234237e6973a21fc3bf8f71d8c8b51d6422d719f03546ecd6887a20fe1b SHA512 e3b851253c347893a80e866e7d0188c572f2a87a540125de3d9cbe0b8c3f1ddfab2c60ee3ffde3fd7274fc662294c978c39b1b52acfd92c52fd552966da203be -DIST httpbin-0.7.0.tar.gz 92613 BLAKE2B 59252df1d4d0ef853ec65263b472d3ba6c597336d844f9b457f2d0a009048d4222f715a7f6fb120aca00fa641d1687e302036dc151bd2fd67ba98cf5fc47a63a SHA512 82e80058b58943637e9f8191764cea79bf7a6e40f36069f9b5d3f908585dbef20a03ef070d1f865d350920b6e874a93a48a544b05c14ff4911038ec2c20f6f63 diff --git a/dev-python/httpbin/files/httpbin-0.7.0-brotlicffi.patch b/dev-python/httpbin/files/httpbin-0.7.0-brotlicffi.patch deleted file mode 100644 index 8031ad72de5b..000000000000 --- a/dev-python/httpbin/files/httpbin-0.7.0-brotlicffi.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 69d1e62e69b7f886ebbb41b8e9aae62e76adf375 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Wed, 2 Dec 2020 10:42:52 +0100 -Subject: [PATCH] Replace brotlipy with brotlicffi - -The brotlipy package has been renamed to brotlicffi. Update the imports -and dependencies accordingly. The major advanage of the new package -is that it no longer collides with the Python bindings provided -by brotli itself. ---- - httpbin/filters.py | 2 +- - setup.py | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/httpbin/filters.py b/httpbin/filters.py -index c6268b6..4deeaaa 100644 ---- a/httpbin/filters.py -+++ b/httpbin/filters.py -@@ -10,7 +10,7 @@ This module provides response filter decorators. - import gzip as gzip2 - import zlib - --import brotli as _brotli -+import brotlicffi as _brotli - - from six import BytesIO - from decimal import Decimal -diff --git a/setup.py b/setup.py -index 7f9956b..8e17ef3 100644 ---- a/setup.py -+++ b/setup.py -@@ -34,7 +34,7 @@ setup( - packages=find_packages(), - include_package_data = True, # include files listed in MANIFEST.in - install_requires=[ -- 'Flask', 'MarkupSafe', 'decorator', 'itsdangerous', 'six', 'brotlipy', -+ 'Flask', 'MarkupSafe', 'decorator', 'itsdangerous', 'six', 'brotlicffi', - 'werkzeug>=0.14.1' - ], - ) --- -2.29.2 - diff --git a/dev-python/httpbin/files/httpbin-0.7.0-optional-raven.patch b/dev-python/httpbin/files/httpbin-0.7.0-optional-raven.patch deleted file mode 100644 index 5d626768bd27..000000000000 --- a/dev-python/httpbin/files/httpbin-0.7.0-optional-raven.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff -dupr a/httpbin/core.py b/httpbin/core.py ---- a/httpbin/core.py 2018-05-08 13:41:03.000000000 +0200 -+++ b/httpbin/core.py 2019-11-22 15:07:27.516500217 +0100 -@@ -21,7 +21,6 @@ from werkzeug.datastructures import WWWA - from werkzeug.http import http_date - from werkzeug.wrappers import BaseResponse - from werkzeug.http import parse_authorization_header --from raven.contrib.flask import Sentry - - from . import filters - from .helpers import get_headers, status_code, get_dict, get_request_range, check_basic_auth, check_digest_auth, \ -@@ -58,6 +57,7 @@ app.debug = bool(os.environ.get('DEBUG') - - # Send app errors to Sentry. - if 'SENTRY_DSN' in os.environ: -+ from raven.contrib.flask import Sentry - sentry = Sentry(app, dsn=os.environ['SENTRY_DSN']) - - # Set up Bugsnag exception tracking, if desired. To use Bugsnag, install the -diff --git a/setup.py b/setup.py -index 7f9956b..3cab2ae 100644 ---- a/setup.py -+++ b/setup.py -@@ -35,6 +35,6 @@ setup( - include_package_data = True, # include files listed in MANIFEST.in - install_requires=[ - 'Flask', 'MarkupSafe', 'decorator', 'itsdangerous', 'six', 'brotlipy', -- 'raven[flask]', 'werkzeug>=0.14.1' -+ 'werkzeug>=0.14.1' - ], - ) diff --git a/dev-python/httpbin/files/httpbin-0.7.0-test-werkzeug.patch b/dev-python/httpbin/files/httpbin-0.7.0-test-werkzeug.patch deleted file mode 100644 index 956a2f5235ca..000000000000 --- a/dev-python/httpbin/files/httpbin-0.7.0-test-werkzeug.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -dupr a/test_httpbin.py b/test_httpbin.py ---- a/test_httpbin.py 2019-11-22 15:06:56.199774070 +0100 -+++ b/test_httpbin.py 2019-11-22 15:18:58.010069445 +0100 -@@ -144,7 +144,6 @@ class HttpbinTestCase(unittest.TestCase) - data = json.loads(response.data.decode('utf-8')) - self.assertEqual(data['args'], {}) - self.assertEqual(data['headers']['Host'], 'localhost') -- self.assertEqual(data['headers']['Content-Length'], '0') - self.assertEqual(data['headers']['User-Agent'], 'test') - # self.assertEqual(data['origin'], None) - self.assertEqual(data['url'], 'http://localhost/get') -@@ -158,7 +157,6 @@ class HttpbinTestCase(unittest.TestCase) - data = json.loads(response.data.decode('utf-8')) - self.assertEqual(data['args'], {}) - self.assertEqual(data['headers']['Host'], 'localhost') -- self.assertEqual(data['headers']['Content-Length'], '0') - self.assertEqual(data['url'], 'http://localhost/anything/foo/bar') - self.assertEqual(data['method'], 'GET') - self.assertTrue(response.data.endswith(b'\n')) diff --git a/dev-python/httpbin/files/httpbin-0.7.0-werkzeug-2.1.patch b/dev-python/httpbin/files/httpbin-0.7.0-werkzeug-2.1.patch deleted file mode 100644 index cf7871268d99..000000000000 --- a/dev-python/httpbin/files/httpbin-0.7.0-werkzeug-2.1.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 5cc81ce87a3c447a127e4a1a707faf9f3b1c9b6b Mon Sep 17 00:00:00 2001 -From: Maximino BOGADO <bogamax2@hotmail.fr> -Date: Wed, 30 Mar 2022 16:26:31 +0200 -Subject: [PATCH] Replace BaseResponse to Response class (new werkzeug version - 2.1.0) - ---- - httpbin/core.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/httpbin/core.py b/httpbin/core.py -index 305c9882..2bad408e 100644 ---- a/httpbin/core.py -+++ b/httpbin/core.py -@@ -29,7 +29,7 @@ - from six.moves import range as xrange - from werkzeug.datastructures import WWWAuthenticate, MultiDict - from werkzeug.http import http_date --from werkzeug.wrappers import BaseResponse -+from werkzeug.wrappers import Response - from werkzeug.http import parse_authorization_header - from flasgger import Swagger, NO_SANITIZER - -@@ -77,7 +77,7 @@ def jsonify(*args, **kwargs): - - - # Prevent WSGI from correcting the casing of the Location header --BaseResponse.autocorrect_location_header = False -+Response.autocorrect_location_header = False - - # Find the correct template folder when running from a different location - tmpl_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), "templates") diff --git a/dev-python/httpbin/httpbin-0.10.1-r1.ebuild b/dev-python/httpbin/httpbin-0.10.1-r1.ebuild index c24eb6a46be5..81ce3bd28b1e 100644 --- a/dev-python/httpbin/httpbin-0.10.1-r1.ebuild +++ b/dev-python/httpbin/httpbin-0.10.1-r1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="|| ( MIT ISC )" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/brotlicffi[${PYTHON_USEDEP}] diff --git a/dev-python/httpbin/httpbin-0.7.0-r6.ebuild b/dev-python/httpbin/httpbin-0.7.0-r6.ebuild deleted file mode 100644 index 715d29a153e8..000000000000 --- a/dev-python/httpbin/httpbin-0.7.0-r6.ebuild +++ /dev/null @@ -1,60 +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_{8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="HTTP Request and Response Service" -HOMEPAGE=" - https://github.com/postmanlabs/httpbin/ - https://pypi.org/project/httpbin/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-python/brotlicffi[${PYTHON_USEDEP}] - dev-python/decorator[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/itsdangerous[${PYTHON_USEDEP}] - dev-python/markupsafe[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - <dev-python/werkzeug-3[${PYTHON_USEDEP}] - >=dev-python/werkzeug-2.0[${PYTHON_USEDEP}] -" - -PATCHES=( - # do not import raven if it's not going to be used - # (upstream removed it completely in git anyway) - "${FILESDIR}"/${P}-optional-raven.patch - # fix tests with new versions of werkzeug - "${FILESDIR}"/${P}-test-werkzeug.patch - # use brotlicffi instead of brotlipy - "${FILESDIR}"/${P}-brotlicffi.patch - # fix compat with werkzeug 2.1 - # https://github.com/postmanlabs/httpbin/pull/674 - "${FILESDIR}"/${P}-werkzeug-2.1.patch -) - -distutils_enable_tests unittest - -src_prepare() { - # a new version of flask or whatever converts relative redirects - # to absolute; this package is dead anyway, so just skip - # the relevant tests - sed -e 's:test_redirect:_&:' \ - -e 's:test_relative:_&:' \ - -i test_httpbin.py || die - # broken - sed -e 's:test_digest_auth:_&:' \ - -e 's:test_base64:_&:' \ - -i test_httpbin.py || die - - distutils-r1_src_prepare -} diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 674e4fedae4d..2df891a9f16f 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,7 +1,2 @@ -DIST hypothesis-6.83.1.gh.tar.gz 9380569 BLAKE2B a1af77a089ade4a957fd66036095436861ff96dca3c9670ae87f28ba4223531168175329a43574c744ce0d91786bed2ed911837642c9506341f94875080e5a5b SHA512 4649061550b0d1ac96217c5cfd5e6eb44352eee6b81861fd93138fffaac3d85a87644c3faff221f6bb389f2bebdc47436f5ea70fc746aada2d25c78a74a21fec DIST hypothesis-6.84.3.gh.tar.gz 9386113 BLAKE2B 9d990b1634e7cd12f933f3a53b4231f8df40bc33a7cbe742832ac74510471a54f8d7a23eaaa23a43b54466120be85ded0820ced8f0b1aee556032e4a8bb0a423 SHA512 84669e76c30a1b47439c826f67e11fce4eb6cf22a6ac09f91f3d07b1b02cbc972096431deb67ef8c63f12e3dbd7bcad35bc24b469a354d7808ca8d96d816c611 -DIST hypothesis-6.85.1.gh.tar.gz 9387516 BLAKE2B 362dc9adff39e0229307ed4d8c63a2c78a2653d5b880a7748218bccb3a4f6e36c6a0e38d51aa72a5acfb8e66f9d1418dbf8d039b855a6596515257d815566cc8 SHA512 4916575f60b9472d58a02a776fdf7794ea83e9e59b414a05f5ed06aff31ed91719485ceddec8233125425393444f0487ab2a6adae7c9cd6d3448460c20d3c556 -DIST hypothesis-6.86.1.gh.tar.gz 9388105 BLAKE2B 92a645c1e2f0d40bb96271b9539f415d5bdf8a57c50d658a8d041802cc3adc49708c420127bf0ae0daca1480c975766b5c4b1d4a07b18c020a608ea577e1894f SHA512 133adced2ef15f64aca404384ac372d36dec4a28b8b768631b09de6698fb718bd27c062546f0fe8b428510c51014ff124d4469e1b904aedc2fdd84183cee48bf -DIST hypothesis-6.86.2.gh.tar.gz 9388171 BLAKE2B 7f6ba341c96e9ad2c6a05c777cd94d5437b24a66f571e690701501ce13bce7a448afdad0964f6ba0c34d3a4e1f52cbbc0f23709e4a15750c0f13b81d25ae2810 SHA512 6d858e9722014ae136a13bf93f1f4bd55b7eef7ae9f25dbb90abe1e5dab4422aa2987ed01f852d74ba8332af2cfc99b7f938f9a934604fea74e51f5dd4d52f9c -DIST hypothesis-6.87.0.gh.tar.gz 9388325 BLAKE2B 5774e125a212a3ec4b64e9575db727c6338f931a2b065dce4f8c2bf9e7fa7026c4ed1dc11b4030af7f012064fbeae7240086eda2b0862b41d2ee37ae8540c03a SHA512 2f11d3bfff9c6f6322e368b40987d5379d0aeb619c5017a746ac935e43f50381d4ad8e180765cfddf5196a4f0f69f89df48cc9069e9d3f79446e5d396c673a3b DIST hypothesis-6.87.1.gh.tar.gz 9388383 BLAKE2B 0b0b9156566a84f4e5972960dbf5ec68c68703e0be0ac31392919a5177332f1dccfc7519c0a58ea2ed9f758f1b9d7e601b30e72db63c85031f5136b83c6dd255 SHA512 1f946d99ecbb3392b105ed479b43a72034d1563c541d1bdc263c76495b05e7e9881585cad50b6c0453e083b05e1ebd1c2ff0cf5a8b98f0f7ce68f009d23dbfeb diff --git a/dev-python/hypothesis/hypothesis-6.83.1.ebuild b/dev-python/hypothesis/hypothesis-6.83.1.ebuild deleted file mode 100644 index c7c89ac21cae..000000000000 --- a/dev-python/hypothesis/hypothesis-6.83.1.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{10..12} ) -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 multiprocessing optfeature - -TAG=hypothesis-python-${PV} -MY_P=hypothesis-${TAG} -DESCRIPTION="A library for property based testing" -HOMEPAGE=" - https://github.com/HypothesisWorks/hypothesis/ - https://pypi.org/project/hypothesis/ -" -SRC_URI=" - https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}/hypothesis-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] - ' 3.9 3.10) - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/requests-toolbelt-0.10.1 - ) -" - -distutils_enable_tests pytest - -python_test() { - # subtests are broken by warnings from random plugins - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin - local -x HYPOTHESIS_NO_PLUGINS=1 - - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_DESELECT=() - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # failing due to warnings from numpy/cython - hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture - ) - ;; - esac - - epytest -o filterwarnings= -n "$(makeopts_jobs)" --dist=worksteal \ - tests/cover tests/pytest tests/quality -} - -python_install() { - distutils-r1_python_install - if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then - rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die - fi -} - -pkg_postinst() { - optfeature "datetime support" dev-python/pytz - optfeature "dateutil support" dev-python/python-dateutil - optfeature "numpy support" dev-python/numpy - optfeature "django support" dev-python/django dev-python/pytz - optfeature "pandas support" dev-python/pandas - optfeature "pytest support" dev-python/pytest -} diff --git a/dev-python/hypothesis/hypothesis-6.84.3.ebuild b/dev-python/hypothesis/hypothesis-6.84.3.ebuild index 4c56e9453286..c7c89ac21cae 100644 --- a/dev-python/hypothesis/hypothesis-6.84.3.ebuild +++ b/dev-python/hypothesis/hypothesis-6.84.3.ebuild @@ -25,7 +25,7 @@ S="${WORKDIR}/${MY_P}/hypothesis-python" LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="cli" RDEPEND=" diff --git a/dev-python/hypothesis/hypothesis-6.85.1.ebuild b/dev-python/hypothesis/hypothesis-6.85.1.ebuild deleted file mode 100644 index 4c56e9453286..000000000000 --- a/dev-python/hypothesis/hypothesis-6.85.1.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{10..12} ) -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 multiprocessing optfeature - -TAG=hypothesis-python-${PV} -MY_P=hypothesis-${TAG} -DESCRIPTION="A library for property based testing" -HOMEPAGE=" - https://github.com/HypothesisWorks/hypothesis/ - https://pypi.org/project/hypothesis/ -" -SRC_URI=" - https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}/hypothesis-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] - ' 3.9 3.10) - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/requests-toolbelt-0.10.1 - ) -" - -distutils_enable_tests pytest - -python_test() { - # subtests are broken by warnings from random plugins - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin - local -x HYPOTHESIS_NO_PLUGINS=1 - - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_DESELECT=() - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # failing due to warnings from numpy/cython - hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture - ) - ;; - esac - - epytest -o filterwarnings= -n "$(makeopts_jobs)" --dist=worksteal \ - tests/cover tests/pytest tests/quality -} - -python_install() { - distutils-r1_python_install - if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then - rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die - fi -} - -pkg_postinst() { - optfeature "datetime support" dev-python/pytz - optfeature "dateutil support" dev-python/python-dateutil - optfeature "numpy support" dev-python/numpy - optfeature "django support" dev-python/django dev-python/pytz - optfeature "pandas support" dev-python/pandas - optfeature "pytest support" dev-python/pytest -} diff --git a/dev-python/hypothesis/hypothesis-6.86.1.ebuild b/dev-python/hypothesis/hypothesis-6.86.1.ebuild deleted file mode 100644 index 4c56e9453286..000000000000 --- a/dev-python/hypothesis/hypothesis-6.86.1.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{10..12} ) -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 multiprocessing optfeature - -TAG=hypothesis-python-${PV} -MY_P=hypothesis-${TAG} -DESCRIPTION="A library for property based testing" -HOMEPAGE=" - https://github.com/HypothesisWorks/hypothesis/ - https://pypi.org/project/hypothesis/ -" -SRC_URI=" - https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}/hypothesis-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] - ' 3.9 3.10) - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/requests-toolbelt-0.10.1 - ) -" - -distutils_enable_tests pytest - -python_test() { - # subtests are broken by warnings from random plugins - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin - local -x HYPOTHESIS_NO_PLUGINS=1 - - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_DESELECT=() - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # failing due to warnings from numpy/cython - hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture - ) - ;; - esac - - epytest -o filterwarnings= -n "$(makeopts_jobs)" --dist=worksteal \ - tests/cover tests/pytest tests/quality -} - -python_install() { - distutils-r1_python_install - if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then - rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die - fi -} - -pkg_postinst() { - optfeature "datetime support" dev-python/pytz - optfeature "dateutil support" dev-python/python-dateutil - optfeature "numpy support" dev-python/numpy - optfeature "django support" dev-python/django dev-python/pytz - optfeature "pandas support" dev-python/pandas - optfeature "pytest support" dev-python/pytest -} diff --git a/dev-python/hypothesis/hypothesis-6.86.2.ebuild b/dev-python/hypothesis/hypothesis-6.86.2.ebuild deleted file mode 100644 index 4c56e9453286..000000000000 --- a/dev-python/hypothesis/hypothesis-6.86.2.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{10..12} ) -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 multiprocessing optfeature - -TAG=hypothesis-python-${PV} -MY_P=hypothesis-${TAG} -DESCRIPTION="A library for property based testing" -HOMEPAGE=" - https://github.com/HypothesisWorks/hypothesis/ - https://pypi.org/project/hypothesis/ -" -SRC_URI=" - https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}/hypothesis-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] - ' 3.9 3.10) - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/requests-toolbelt-0.10.1 - ) -" - -distutils_enable_tests pytest - -python_test() { - # subtests are broken by warnings from random plugins - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin - local -x HYPOTHESIS_NO_PLUGINS=1 - - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_DESELECT=() - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # failing due to warnings from numpy/cython - hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture - ) - ;; - esac - - epytest -o filterwarnings= -n "$(makeopts_jobs)" --dist=worksteal \ - tests/cover tests/pytest tests/quality -} - -python_install() { - distutils-r1_python_install - if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then - rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die - fi -} - -pkg_postinst() { - optfeature "datetime support" dev-python/pytz - optfeature "dateutil support" dev-python/python-dateutil - optfeature "numpy support" dev-python/numpy - optfeature "django support" dev-python/django dev-python/pytz - optfeature "pandas support" dev-python/pandas - optfeature "pytest support" dev-python/pytest -} diff --git a/dev-python/hypothesis/hypothesis-6.87.0.ebuild b/dev-python/hypothesis/hypothesis-6.87.0.ebuild deleted file mode 100644 index 4c56e9453286..000000000000 --- a/dev-python/hypothesis/hypothesis-6.87.0.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{10..12} ) -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 multiprocessing optfeature - -TAG=hypothesis-python-${PV} -MY_P=hypothesis-${TAG} -DESCRIPTION="A library for property based testing" -HOMEPAGE=" - https://github.com/HypothesisWorks/hypothesis/ - https://pypi.org/project/hypothesis/ -" -SRC_URI=" - https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}/hypothesis-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] - ' 3.9 3.10) - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/requests-toolbelt-0.10.1 - ) -" - -distutils_enable_tests pytest - -python_test() { - # subtests are broken by warnings from random plugins - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin - local -x HYPOTHESIS_NO_PLUGINS=1 - - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_DESELECT=() - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # failing due to warnings from numpy/cython - hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture - ) - ;; - esac - - epytest -o filterwarnings= -n "$(makeopts_jobs)" --dist=worksteal \ - tests/cover tests/pytest tests/quality -} - -python_install() { - distutils-r1_python_install - if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then - rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die - fi -} - -pkg_postinst() { - optfeature "datetime support" dev-python/pytz - optfeature "dateutil support" dev-python/python-dateutil - optfeature "numpy support" dev-python/numpy - optfeature "django support" dev-python/django dev-python/pytz - optfeature "pandas support" dev-python/pandas - optfeature "pytest support" dev-python/pytest -} diff --git a/dev-python/ipython/Manifest b/dev-python/ipython/Manifest index 608f5ac6cc02..0bfa20c73b8d 100644 --- a/dev-python/ipython/Manifest +++ b/dev-python/ipython/Manifest @@ -1,3 +1,4 @@ DIST ipython-8.14.0.tar.gz 5470735 BLAKE2B 9789b49b771e69439f957ff85d81f40e6511f4440e2372cac881c708503a5ce1c22e9f1fac45828ee723d1bd9b9ee4684c475d08ed96ed98396faf1400b802af SHA512 94fe14fd914fa81fdb8e370cf0fe7bfb4286be1972b4499ed96e9bf7d018e89f586f3386269e1dafc4a2bc279df7980635bd748799639d6020f52c1cc8af6702 DIST ipython-8.15.0.tar.gz 5482758 BLAKE2B 596e87a1952995c1581e377f8306c02d1a37f29e04e7baa040a2ed78da1deea7f4de45b7af84919c47005c70f3e5fe2155a891cb3b5923e0ee76d2ff027036a5 SHA512 881b8d2caf051ee6a44af3c73f342e55eaf588ad096d0d2da08a10ee4699cb31b3550825091833848df9ed75657c9a2a1daf0b9b65ac7a3927c04a8d6e7cb1a9 DIST ipython-8.16.0.tar.gz 5484881 BLAKE2B e5ceaf994a29edb0ccb53d6b561f0cb4dd64eefe2c57040e94c5984314e456e7752d656ece482b690c66099368906ab02565027bc7b5dc3af0d80be9a4be4c43 SHA512 b8e91137c5bfc559468985403a2fd20a4a42aa6439a1a1667fe050a07529886cee334943a00c09a34e6617a4f4583f7ca9cb840d1661946b5acc0e903c6aeda4 +DIST ipython-8.16.1.tar.gz 5485037 BLAKE2B c5429b1df9906681f9792d7bc3005a3a41f7d89f7d6c104f9826902134179f7149de0747a50f31c53d277a135d0fedd0952aa23fce3650f026ac3c1733287ecb SHA512 0feb4c14e8e7f34829cd8b6c43c91c9bb5b6c85ae60173951db4354296474945268fb8d3caedcfae8457783e6d27a6dc33b6291bf2d9a691526fc44199724887 diff --git a/dev-python/ipython/ipython-8.16.1.ebuild b/dev-python/ipython/ipython-8.16.1.ebuild new file mode 100644 index 000000000000..624da5551b2b --- /dev/null +++ b/dev-python/ipython/ipython-8.16.1.ebuild @@ -0,0 +1,159 @@ +# 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_{8,9,10,11} ) +PYTHON_REQ_USE='readline,sqlite,threads(+)' + +inherit distutils-r1 optfeature pypi virtualx + +DESCRIPTION="Advanced interactive shell for Python" +HOMEPAGE=" + https://ipython.org/ + https://github.com/ipython/ipython/ + https://pypi.org/project/ipython/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +IUSE="doc examples notebook nbconvert qt5 +smp test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/backcall[${PYTHON_USEDEP}] + dev-python/decorator[${PYTHON_USEDEP}] + >=dev-python/jedi-0.16[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/matplotlib-inline[${PYTHON_USEDEP}] + >=dev-python/pexpect-4.3[${PYTHON_USEDEP}] + dev-python/pickleshare[${PYTHON_USEDEP}] + >=dev-python/prompt-toolkit-3.0.38[${PYTHON_USEDEP}] + <dev-python/prompt-toolkit-3.1[${PYTHON_USEDEP}] + >=dev-python/pygments-2.4.0[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/stack-data[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/exceptiongroup[${PYTHON_USEDEP}] + ' 3.10) +" + +BDEPEND=" + test? ( + app-text/dvipng[truetype] + >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] + dev-python/matplotlib-inline[${PYTHON_USEDEP}] + dev-python/nbformat[${PYTHON_USEDEP}] + >=dev-python/numpy-1.21[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/testpath[${PYTHON_USEDEP}] + ) + doc? ( + >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + >=dev-python/sphinx-2[${PYTHON_USEDEP}] + dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +RDEPEND+=" + nbconvert? ( + dev-python/nbconvert[${PYTHON_USEDEP}] + ) +" +PDEPEND=" + notebook? ( + dev-python/notebook[${PYTHON_USEDEP}] + dev-python/ipywidgets[${PYTHON_USEDEP}] + dev-python/widgetsnbextension[${PYTHON_USEDEP}] + ) + qt5? ( dev-python/qtconsole[${PYTHON_USEDEP}] ) + smp? ( + >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] + >=dev-python/ipyparallel-6.2.3[${PYTHON_USEDEP}] + ) +" + +PATCHES=( "${FILESDIR}"/2.1.0-substitute-files.patch ) + +python_prepare_all() { + # Remove out of date insource files + #rm IPython/extensions/cythonmagic.py || die + #rm IPython/extensions/rmagic.py || die + + # Prevent un-needed download during build + if use doc; then + sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die + fi + + # Rename the test directory to reduce sys.path pollution + # https://github.com/ipython/ipython/issues/12892 + mv IPython/extensions/{,ipython_}tests || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + if use doc; then + emake -C docs html_noapi + HTML_DOCS=( docs/build/html/. ) + fi +} + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local -x IPYTHON_TESTING_TIMEOUT_SCALE=20 + local EPYTEST_DESELECT=( + # TODO: looks to be a regression due to a newer dep + IPython/core/tests/test_oinspect.py::test_class_signature + IPython/core/tests/test_oinspect.py::test_render_signature_long + IPython/terminal/tests/test_shortcuts.py::test_modify_shortcut_with_filters + ) + # nonfatal implied by virtx + nonfatal epytest || die "Tests failed with ${EPYTHON}" +} + +python_install() { + distutils-r1_python_install + + # Create ipythonX.Y symlinks. + # TODO: + # 1. do we want them for pypy? No. pypy has no numpy + # 2. handle it in the eclass instead (use _python_ln_rel). + # With pypy not an option the dosym becomes unconditional + dosym ../lib/python-exec/${EPYTHON}/ipython \ + /usr/bin/ipython${EPYTHON#python} +} + +python_install_all() { + distutils-r1_python_install_all + + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} + +pkg_postinst() { + optfeature "code formatting" dev-python/black + optfeature "sympyprinting" dev-python/sympy + optfeature "cythonmagic" dev-python/cython + optfeature "%lprun magic command" dev-python/line-profiler + optfeature "%mprun magic command" dev-python/memory-profiler + + if use nbconvert; then + if ! has_version virtual/pandoc ; then + einfo "Node.js will be used to convert notebooks to other formats" + einfo "like HTML. Support for that is still experimental. If you" + einfo "encounter any problems, please use app-text/pandoc instead." + fi + fi +} diff --git a/dev-python/iso8601/Manifest b/dev-python/iso8601/Manifest index e981fb65c839..f74127191415 100644 --- a/dev-python/iso8601/Manifest +++ b/dev-python/iso8601/Manifest @@ -1 +1,2 @@ DIST iso8601-2.0.0.tar.gz 6497 BLAKE2B 6c25a267e35afe1c0d879fd4be5f3c6e47750b4faf70f9238767e8ad901fb2da9b823dab9a3f3e26ccec843a4f993a331f6f7c616f98fd1520a5e4d16268060a SHA512 786bd2604cedeba8bfaa3ca0077057540fc898d9f942627958955406705f104c2109f20c84dfc79674178dfaf4bd0936b4e7759024c7f4b8ed130e40bbfc3c07 +DIST iso8601-2.1.0.tar.gz 6522 BLAKE2B 49d8aca4bb5e75647335c5a2d047adeccb716050d8e34024d695bf605065507eeae3481e1d6f79e2051c77cde43072091324fc62d3a803fcaf52715c0e8efdb6 SHA512 db57ab2a25ef91e3bc479c8539d27e853cf1fbf60986820b8999ae15d7e566425a1e0cfba47d0f3b23aa703db0576db368e6c110ba2a2f46c9a34e8ee3611fb7 diff --git a/dev-python/iso8601/iso8601-2.1.0.ebuild b/dev-python/iso8601/iso8601-2.1.0.ebuild new file mode 100644 index 000000000000..256292f1ee3f --- /dev/null +++ b/dev-python/iso8601/iso8601-2.1.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Simple module to parse ISO 8601 dates" +HOMEPAGE=" + https://github.com/micktwomey/pyiso8601/ + https://pypi.org/project/iso8601/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/jedi/Manifest b/dev-python/jedi/Manifest index 39b084235fce..fad62e69dfbe 100644 --- a/dev-python/jedi/Manifest +++ b/dev-python/jedi/Manifest @@ -1,3 +1,4 @@ DIST django-stubs-fd057010f6cbf176f57d1099e82be46d39b99cb9.tar.gz 183312 BLAKE2B a68f6139903f5001db994ee0d881f40ab74932e81c3e2c3a0c22dc56e6be681d0fb42ce837603b21e4d0d448ccb25884ef0f69039305f309e82603267cee9f6a SHA512 506322c132f94e6a1e88cdbde6027a566387731fa6ad59934f95c3511f49d90eff2a3138363811be648b096407d418cd1f801df0bc35b1e464ef181e4076ada1 DIST jedi-0.19.0.gh.tar.gz 472334 BLAKE2B 04e8fda32c2d0b0476d197c5686011f811d5c269cdb61b15d0bafa9e3aabed05deb44f98d2e3a25faf7bd130b3a9289d058ed06199fc760357d34c551ecc5ad0 SHA512 0db8c7859e55057afc0367455c2f3817d8f05a19b6fbdc163a74f07854562c9c29307c7f8ac92e0ce9349353ac148f728a25b3be4cc62dc35f3060bdb79b02c8 +DIST jedi-0.19.1.gh.tar.gz 472341 BLAKE2B 34238969acb5b6e6db0307d1d18c1c6f3cf666c00e590c5f2338584526135b75e56a3b4e0cef63dc52fd96db4078cb4b82e0652a9ca092c99f4da8448bf65d1f SHA512 aaa2684b787ec99d2477755d7b6ef4ec727fd244bb55178cf3a9e78b50f660c6fab7b88d09e3d02e76f17e656cd1cdb6078282b63516e5e52a1852a821540105 DIST typeshed-ae9d4f4b21bb5e1239816c301da7b1ea904b44c3.tar.gz 602044 BLAKE2B 53298918a7e9a1163e76d4c70ad2a2117ee90b49329aa82d82b2aaaeaf000c971872f83ed283af6dc4be068b813876760c8b1b4acb4131865572a4aed3ea9230 SHA512 b3b9da66b6c6e03e0b262b3262df31215a5e080468ca9ebf4332ed53d715cd3956db7067fad3ec267042ff704f81ac665c703ef2fd0c5b445d440bd8e52bf1aa diff --git a/dev-python/jedi/jedi-0.19.1.ebuild b/dev-python/jedi/jedi-0.19.1.ebuild new file mode 100644 index 000000000000..293554670e25 --- /dev/null +++ b/dev-python/jedi/jedi-0.19.1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 + +TYPESHED_P="typeshed-ae9d4f4b21bb5e1239816c301da7b1ea904b44c3" +DJANGO_STUBS_P="django-stubs-fd057010f6cbf176f57d1099e82be46d39b99cb9" + +DESCRIPTION="Autocompletion library for Python" +HOMEPAGE=" + https://github.com/davidhalter/jedi/ + https://pypi.org/project/jedi/ +" +SRC_URI=" + https://github.com/davidhalter/jedi/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + https://github.com/davidhalter/typeshed/archive/${TYPESHED_P#typeshed-}.tar.gz + -> ${TYPESHED_P}.tar.gz + https://github.com/davidhalter/django-stubs/archive/${DJANGO_STUBS_P#django-stubs-}.tar.gz + -> ${DJANGO_STUBS_P/v/}.tar.gz +" + +LICENSE=" + MIT + test? ( Apache-2.0 ) +" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +RDEPEND=" + <dev-python/parso-0.9[${PYTHON_USEDEP}] + >=dev-python/parso-0.8.3[${PYTHON_USEDEP}] +" + +# RDEPEND needed because of an import jedi inside conf.py +distutils_enable_sphinx docs \ + dev-python/parso \ + dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +python_prepare_all() { + # upstream includes these as submodules ... + rmdir "${S}"/jedi/third_party/{django-stubs,typeshed} || die + mv "${WORKDIR}/${DJANGO_STUBS_P/v/}" \ + "${S}/jedi/third_party/django-stubs" || die + mv "${WORKDIR}/${TYPESHED_P}" \ + "${S}/jedi/third_party/typeshed" || die + + # test_complete_expanduser relies on $HOME not being empty + > "${HOME}"/somefile || die + + distutils-r1_python_prepare_all +} + +python_test() { + local EPYTEST_DESELECT=( + # fragile + test/test_speed.py + # assumes pristine virtualenv + test/test_inference/test_imports.py::test_os_issues + ) + + # some plugin breaks case-insensitivity on completions + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # django and pytest tests are very version dependent + epytest -o addopts= -k "not django and not pytest" +} diff --git a/dev-python/jsonschema-specifications/jsonschema-specifications-2023.7.1.ebuild b/dev-python/jsonschema-specifications/jsonschema-specifications-2023.7.1.ebuild index 4853a108e9a8..5fee4d6ec9d0 100644 --- a/dev-python/jsonschema-specifications/jsonschema-specifications-2023.7.1.ebuild +++ b/dev-python/jsonschema-specifications/jsonschema-specifications-2023.7.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" >=dev-python/referencing-0.28.0[${PYTHON_USEDEP}] diff --git a/dev-python/jsonschema/jsonschema-4.19.1.ebuild b/dev-python/jsonschema/jsonschema-4.19.1.ebuild index f6f6618372c8..8393dbf7e526 100644 --- a/dev-python/jsonschema/jsonschema-4.19.1.ebuild +++ b/dev-python/jsonschema/jsonschema-4.19.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] diff --git a/dev-python/jupyter-events/jupyter-events-0.7.0.ebuild b/dev-python/jupyter-events/jupyter-events-0.7.0.ebuild index 21da5abc9e8a..3eae6df49d9f 100644 --- a/dev-python/jupyter-events/jupyter-events-0.7.0.ebuild +++ b/dev-python/jupyter-events/jupyter-events-0.7.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" # jsonschema[format-nongpl] deps are always on in our ebuild RDEPEND=" diff --git a/dev-python/jupyter-server/jupyter-server-2.7.3.ebuild b/dev-python/jupyter-server/jupyter-server-2.7.3.ebuild index 45d9af1c863d..7800b9ffa7bb 100644 --- a/dev-python/jupyter-server/jupyter-server-2.7.3.ebuild +++ b/dev-python/jupyter-server/jupyter-server-2.7.3.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~loong ppc64 ~riscv ~s390" +KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv ~s390" RDEPEND=" >=dev-python/anyio-3.1.0[${PYTHON_USEDEP}] diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index e9da2ac43cac..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 493 BLAKE2B 0df8bce19bc80f79f8e76bcef5a4c2caf333365fe0cb9a3c076b7858bceded5a3e58921474f866a2709dd657b7ed330c1ec4a7f9d7bab0fcf1bc92d77cabc32d SHA512 ea2a1adcb133ac5fc951ba1aa90ef1ce3dfcc424e59727591763d4875aa044a74188be2d15fd89c6b2e83ed6ea04ec3d9851ed584ae79d2c2c127bde7d994b48 -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..ddb5b0f1787e 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,11 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> + <email>cyber+gentoo@sysrq.in</email> + <name>Anna</name> </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/libtmux/libtmux-0.23.2.ebuild b/dev-python/libtmux/libtmux-0.23.2.ebuild index 2f000b6d12f5..7d6c7195df5b 100644 --- a/dev-python/libtmux/libtmux-0.23.2.ebuild +++ b/dev-python/libtmux/libtmux-0.23.2.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" RDEPEND=" >=app-misc/tmux-3.0a diff --git a/dev-python/libvirt-python/libvirt-python-9.4.0.ebuild b/dev-python/libvirt-python/libvirt-python-9.4.0.ebuild index d37a94c7d874..307cc5cca74b 100644 --- a/dev-python/libvirt-python/libvirt-python-9.4.0.ebuild +++ b/dev-python/libvirt-python/libvirt-python-9.4.0.ebuild @@ -23,7 +23,7 @@ else MY_P="${P/_rc/-rc}" SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz verify-sig? ( https://libvirt.org/sources/python/${MY_P}.tar.gz.asc )" - KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" + KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" RDEPEND="app-emulation/libvirt:0/${PV}" fi S="${WORKDIR}/${P%_rc*}" diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index 908f8400d4ca..0f39c1ae5665 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -4,9 +4,7 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B f3d277e2029157329e5be78b78 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df SHA512 fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d SHA512 89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a SHA512 ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447 -DIST llvm-project-17.0.0rc4.src.tar.xz 127838724 BLAKE2B e3bf524e55db5e4305099ecdff09c0d3eab7957a5f8729eefe636e361460f405fbfd569af38aa39eea3b6c1e024feaa0400f8bc092194f2c3b54c695e7962591 SHA512 be7b5ad136d03864dbd11a589ca9e8b0b04a4226ebcffcc123b3ba72992f704bab4f9550d03eb2ac1d21fb8b73ac7824398b4cb4c9cec2118efb112babfe0f65 -DIST llvm-project-17.0.0rc4.src.tar.xz.sig 438 BLAKE2B 2cda35b4a3ebddfdbe6828459c8bd8fdfaa8e04d2d1c4f2faf16f5c66909186d2dd73e6a163cf733d8955c007249cf3f62f237855d5a76b1b61f3bfa30e4972d SHA512 5f713e05b7c58fab6e9cc43f2f3f69120482c9b60008146da0cddb266d1a5c9b9a77e1e338fce4e15624b332ac53a90c5c4a6f62c58a77f2122a015b4f0ebed2 DIST llvm-project-17.0.1.src.tar.xz 127830376 BLAKE2B bb3b9f7358df9006307f5eeccfc5c5ee5497498c4f091347924911cb6534e8d930024c35387456af24bf647d9e24a3d927aa49199036fb475018a610b5d792c7 SHA512 6fc1d5ff4fec49ef5bb495ba9d8f9ee9052c10999ec9d3ac8f825c718e3cdd64abd95408c4e5bb7f67eb9a7bfac9e26d2a949c4da9f163b5646c02e8a670ead5 DIST llvm-project-17.0.1.src.tar.xz.sig 438 BLAKE2B 3182e3c3a48635fdec39b945ee3b782d7c9c2a07911d9ede2e3421031bb1b4959bd495c5e39d094aeaf555579b9fe3eb834c1449077c154c629f5db605375e7c SHA512 301a6e6c46d6fee13c86dec1a021c35f6bf3a97e5d6b0aa7b7eac34e7ca52f6cefffc25a9e376250b1eb721a65a5852f2f1948abd432698363a81dd7ee19d81c -DIST llvm-project-7e5809e7e7bc9a828427b6540a51d45884d8bbbb.tar.gz 197275742 BLAKE2B 17df09155cf3451deffcdd71a4b0602211a4638ad961eb351802028f4fd1b8db870bef817430adb709ea7c1e85f545d7507c06d7fca26869f8a10e6ac6b03967 SHA512 e84aa041aadf3e50376cffd1e92c1447acdca0a2cf8e7df9cca9d0337dfeccb1d022da3a229bb0cfdc9c5fb87215682a1e4f474208b09b8800f30aa0c6e36c4b +DIST llvm-project-39fec5457c0925bd39f67f63fe17391584e08258.tar.gz 198361956 BLAKE2B 001b9d9b7997762dcce4f0b1deb94d41c3d840c178ba1e92208782e7e21fdc0041cde359051b2b1b1fc75526ff6504d3b9375ff873831350de359530c944a961 SHA512 b560e71c9855aff9fb5385f9fb30f63fbef074fd695e7cb31847192837a161bfe4808ceb09c514a676ae817616f15fb5a57d325aa9744eaac46b8f4b20b77a13 DIST llvm-project-f5cb9cb59d7c9c6ac3d5c41c677f68c9b75d34a3.tar.gz 198113948 BLAKE2B 1688920eb790421f4143e92bd7bd26794a2497e7b445dde6d55b59c9df4b1aebb848833c7cb1b7c273c5e002763f2531a341313500ce207242f992dfe343b988 SHA512 9817e8b7adf7c69d673124e8334c3e511dfd1cc386832c52b2fb0f2517475d29cd98513ad87188a962f9697dfac39ea03f5b2db6c549c307cf3d27b1370ffdf3 diff --git a/dev-python/lit/lit-17.0.0_rc4.ebuild b/dev-python/lit/lit-17.0.2.9999.ebuild index 20dc4e100e96..20dc4e100e96 100644 --- a/dev-python/lit/lit-17.0.0_rc4.ebuild +++ b/dev-python/lit/lit-17.0.2.9999.ebuild diff --git a/dev-python/lit/lit-18.0.0_pre20230906.ebuild b/dev-python/lit/lit-18.0.0_pre20230906.ebuild deleted file mode 100644 index 20dc4e100e96..000000000000 --- a/dev-python/lit/lit-18.0.0_pre20230906.ebuild +++ /dev/null @@ -1,42 +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_{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/lit/lit-17.0.1.9999.ebuild b/dev-python/lit/lit-18.0.0_pre20231002.ebuild index 20dc4e100e96..20dc4e100e96 100644 --- a/dev-python/lit/lit-17.0.1.9999.ebuild +++ b/dev-python/lit/lit-18.0.0_pre20231002.ebuild diff --git a/dev-python/lxml/lxml-4.9.3-r1.ebuild b/dev-python/lxml/lxml-4.9.3-r1.ebuild index 4a8703020812..764d33089255 100644 --- a/dev-python/lxml/lxml-4.9.3-r1.ebuild +++ b/dev-python/lxml/lxml-4.9.3-r1.ebuild @@ -24,7 +24,7 @@ S=${WORKDIR}/lxml-${P} LICENSE="BSD ElementTree GPL-2 PSF-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="doc examples +threads test" RESTRICT="!test? ( test )" diff --git a/dev-python/mkdocs-material/Manifest b/dev-python/mkdocs-material/Manifest index 91a30921382a..eadd53cc399b 100644 --- a/dev-python/mkdocs-material/Manifest +++ b/dev-python/mkdocs-material/Manifest @@ -4,3 +4,4 @@ DIST mkdocs-material-9.3.1.gh.tar.gz 14442779 BLAKE2B 8a10b863708614f4fb9c082606 DIST mkdocs-material-9.3.2.gh.tar.gz 14484998 BLAKE2B 24c45c9583835f8bf59b49c6b892459920207356cfcc469fec707acf728839af3c551f73a781745e71fbfeda6de65436079d8f27e4157454ca9979a8cdf499cd SHA512 c46de59682c70679164dd3768a793ffcf8e638ffc71dad5d21325090e0c3bfd345dc3c58829a992f995d1047a2007626fc9e68e98729766f8f75c2c3274fcb8d DIST mkdocs-material-9.4.1.gh.tar.gz 14492819 BLAKE2B 8390e3875108fe9a0cb8ab9388278fa936be4839d159124a4f3c482443ea19ae0f90eb623d6f6a74a37881d353c54b27c03e83300bb4cda5446922861092ad78 SHA512 d45356ee77a0b768f9e2158169ed1505dab6c23f99f6893343de4636924dfd83740f1c9e19789753018fa666f27865b45334bffb4ee92190324da98a887c1cfa DIST mkdocs-material-9.4.2.gh.tar.gz 14501913 BLAKE2B a822b1bb54ffffccca7d3f41b10b2e76e2ada99b0a113c18695753558421049425a2eaf5be79fd3433861b746be303ca6a87e6c45de596038680a3e3974114d8 SHA512 f837f20de15415473f6e260330a8189b252e176a8a3dceebc9536fbad51662ade8e1760149f97ce3b95f9b9c0c2b0902600c33219accd0b3efaf1fec51c23efa +DIST mkdocs-material-9.4.3.gh.tar.gz 14505461 BLAKE2B 11b36bbd097e8b83e8a6b854dfe3c5b4d1a872ade7b4b13d784e8638da7d98d88852f8a878ba06fe092da9863bb8667ea2a75c88a57693e5c72a97ef7a65ab21 SHA512 408c77f064a6aa695488a314fe51b74f73f872d2483c3b5ae14fff018d7700f38d5e1ea0f46e51a35f159d5af87e878a3578280002461662215f5f029dbc8817 diff --git a/dev-python/mkdocs-material/mkdocs-material-9.4.3.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.4.3.ebuild new file mode 100644 index 000000000000..dc81421f5e12 --- /dev/null +++ b/dev-python/mkdocs-material/mkdocs-material-9.4.3.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + dev-python/mkdocs-material-extensions + dev-python/mkdocs-minify-plugin + dev-python/mkdocs-redirects +" + +inherit distutils-r1 docs + +DESCRIPTION="A Material Design theme for MkDocs" +HOMEPAGE=" + https://github.com/squidfunk/mkdocs-material/ + https://pypi.org/project/mkdocs-material/ +" +SRC_URI=" + https://github.com/squidfunk/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="social" + +RDEPEND=" + >=dev-python/Babel-2.10.3[${PYTHON_USEDEP}] + >=dev-python/colorama-0.4[${PYTHON_USEDEP}] + >=dev-python/jinja-3.0.2[${PYTHON_USEDEP}] + >=dev-python/lxml-4.6[${PYTHON_USEDEP}] + >=dev-python/markdown-3.2[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.5.3[${PYTHON_USEDEP}] + >=dev-python/paginate-0.5.6[${PYTHON_USEDEP}] + >=dev-python/pygments-2.16[${PYTHON_USEDEP}] + >=dev-python/pymdown-extensions-10.2[${PYTHON_USEDEP}] + >=dev-python/readtime-2.0[${PYTHON_USEDEP}] + >=dev-python/regex-2022.4.24[${PYTHON_USEDEP}] + >=dev-python/requests-2.26[${PYTHON_USEDEP}] + social? ( + >=dev-python/pillow-9.0[${PYTHON_USEDEP}] + >=media-gfx/cairosvg-2.5[${PYTHON_USEDEP}] + ) +" + +# mkdocs-material-extensions depends on mkdocs-material creating a circular dep +PDEPEND=" + >=dev-python/mkdocs-material-extensions-1.2[${PYTHON_USEDEP}] +" + +PATCHES=( + # simplify pyproject to remove extra deps for metadata + "${FILESDIR}/${PN}-8.5.7-simplify-build.patch" +) + +src_prepare() { + echo "__version__ = '${PV}'" > gentoo_version.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/nh3/nh3-0.2.14.ebuild b/dev-python/nh3/nh3-0.2.14.ebuild index 2d05a3f019e7..ebc8c797eddd 100644 --- a/dev-python/nh3/nh3-0.2.14.ebuild +++ b/dev-python/nh3/nh3-0.2.14.ebuild @@ -92,7 +92,7 @@ LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016 " SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong x86" +KEYWORDS="amd64 arm arm64 ~loong ~sparc x86" distutils_enable_tests pytest diff --git a/dev-python/notebook/notebook-7.0.4.ebuild b/dev-python/notebook/notebook-7.0.4.ebuild index 55f1f3896913..55e417662d5f 100644 --- a/dev-python/notebook/notebook-7.0.4.ebuild +++ b/dev-python/notebook/notebook-7.0.4.ebuild @@ -31,6 +31,7 @@ RDEPEND=" " BDEPEND=" + dev-python/hatch-jupyter-builder[${PYTHON_USEDEP}] test? ( dev-python/ipykernel[${PYTHON_USEDEP}] dev-python/nbval[${PYTHON_USEDEP}] diff --git a/dev-python/oslo-serialization/oslo-serialization-5.2.0-r1.ebuild b/dev-python/oslo-serialization/oslo-serialization-5.2.0-r1.ebuild index 543752660f84..b69fa553a416 100644 --- a/dev-python/oslo-serialization/oslo-serialization-5.2.0-r1.ebuild +++ b/dev-python/oslo-serialization/oslo-serialization-5.2.0-r1.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv ~x86" RDEPEND=" >=dev-python/msgpack-0.5.2[${PYTHON_USEDEP}] diff --git a/dev-python/oslo-utils/oslo-utils-6.2.1-r1.ebuild b/dev-python/oslo-utils/oslo-utils-6.2.1-r1.ebuild index 8797767a36e2..fa4302a24d94 100644 --- a/dev-python/oslo-utils/oslo-utils-6.2.1-r1.ebuild +++ b/dev-python/oslo-utils/oslo-utils-6.2.1-r1.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv ~x86" RDEPEND=" >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] diff --git a/dev-python/overrides/Manifest b/dev-python/overrides/Manifest index bd3a1aaaa72f..04356a684116 100644 --- a/dev-python/overrides/Manifest +++ b/dev-python/overrides/Manifest @@ -1,2 +1 @@ -DIST overrides-7.3.1.tar.gz 24766 BLAKE2B c7fc2e22b7ded0208befd483e76b0bdb444f2d2891f6b2fe4751a81c47164b2cd3a51b7d71ec03401629d4427393553aed1146d2ef60ffe966fd502bd84e824e SHA512 94a8a581dfdacc047937824ffb8afae81d92998ec796e44c4ae05778f2b9d381517e37c2c4591a1c118b091f96bd91554aaef65d0372b2fef04f6ee225e10922 DIST overrides-7.4.0.tar.gz 24804 BLAKE2B 9a9657d15ad835695d116559f1e6f51e14d1a0a9b5a237b2d468d9c6fd8d86368af53871490c257d7e6843fe02113a874524b8e55f4b3c9bcc7c827714cd5f44 SHA512 6ffd3b38997fd207d8ef9876ba9c328ef244b39300d22ae8c8bf63862f160b485d82b99d36d24abd1676fdddd39e5324eb0f1cf8629a0e17ac96956d165b6afd diff --git a/dev-python/overrides/overrides-7.3.1.ebuild b/dev-python/overrides/overrides-7.3.1.ebuild deleted file mode 100644 index b5f29558a26f..000000000000 --- a/dev-python/overrides/overrides-7.3.1.ebuild +++ /dev/null @@ -1,21 +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_{8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A decorator to automatically detect mismatch when overriding a method." -HOMEPAGE=" - https://pypi.org/project/overrides/ - https://github.com/mkorpela/overrides -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~s390" - -distutils_enable_tests pytest diff --git a/dev-python/overrides/overrides-7.4.0.ebuild b/dev-python/overrides/overrides-7.4.0.ebuild index 794f56c464cf..78f20f41e621 100644 --- a/dev-python/overrides/overrides-7.4.0.ebuild +++ b/dev-python/overrides/overrides-7.4.0.ebuild @@ -16,6 +16,6 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~loong ppc64 ~riscv ~s390" +KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv ~s390" distutils_enable_tests pytest diff --git a/dev-python/pandas/pandas-1.5.3.ebuild b/dev-python/pandas/pandas-1.5.3.ebuild index 9e35a76d308f..a24f7473dd62 100644 --- a/dev-python/pandas/pandas-1.5.3.ebuild +++ b/dev-python/pandas/pandas-1.5.3.ebuild @@ -24,7 +24,7 @@ S=${WORKDIR}/${P/_/} SLOT="0" LICENSE="BSD" -KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" IUSE="doc full-support minimal test X" RESTRICT="!test? ( test )" diff --git a/dev-python/pandas/pandas-2.0.3-r1.ebuild b/dev-python/pandas/pandas-2.0.3-r1.ebuild index c1b62bfe4f17..d1f7ce4c1767 100644 --- a/dev-python/pandas/pandas-2.0.3-r1.ebuild +++ b/dev-python/pandas/pandas-2.0.3-r1.ebuild @@ -25,7 +25,7 @@ S=${WORKDIR}/${P/_/} SLOT="0" LICENSE="BSD" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~x86 ~arm64-macos ~x64-macos" IUSE="doc full-support minimal test X" RESTRICT="!test? ( test )" diff --git a/dev-python/paste/Manifest b/dev-python/paste/Manifest index 5ac253f0ee25..3b1926977302 100644 --- a/dev-python/paste/Manifest +++ b/dev-python/paste/Manifest @@ -1 +1,2 @@ DIST Paste-3.5.3.tar.gz 638791 BLAKE2B 12bcd083ba87699c05c46b1d27757ef4de5f528ba4f01407c113cccc1c59975a6143b6831d1d640b0d0fb82995c7aefd5e14601795403512a2997bd8a9e55466 SHA512 3087ea7b6cc45a90b85c473cbff7f018ca961536ff70fbed4610f86dedc82cef0274ccddb767de411ec2955d0c265cb4e797a14a25697870c38667ccd7c4a2d8 +DIST Paste-3.6.0.tar.gz 638953 BLAKE2B 89dc1b04c1b7eacae851900a274e5531ee568e2ef797b954e0c2e0b7bbe914e4bd129a5033919d914335680eb1aa57b115f647c65986ee4ae6e54a5edc9f16c5 SHA512 cacd3150da289f35960363bf77d9749b367ea857bebcfa601bd8410fb317a61ec357be0ef44fbdf9e576c3a3ec2934597d4e1a419f06e64f463705ebb6feb1bb diff --git a/dev-python/paste/paste-3.6.0.ebuild b/dev-python/paste/paste-3.6.0.ebuild new file mode 100644 index 000000000000..39730b770f03 --- /dev/null +++ b/dev-python/paste/paste-3.6.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN^} +PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Tools for using a Web Server Gateway Interface stack" +HOMEPAGE=" + https://pythonpaste.readthedocs.io/en/latest/ + https://github.com/cdent/paste/ + https://pypi.org/project/Paste/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +RDEPEND=" + >=dev-python/six-1.4.0[${PYTHON_USEDEP}] + !dev-python/namespace-paste +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +python_test() { + local EPYTEST_DESELECT=( + # Internet + tests/test_proxy.py + ) + + [[ ${EPYTHON} == python3.1[12] ]] && EPYTEST_DESELECT+=( + # fails due to cgi deprecation warning + tests/test_cgiapp.py::test_form + ) + + epytest +} diff --git a/dev-python/persist-queue/Manifest b/dev-python/persist-queue/Manifest index faba57d9dbd1..295db6aeda6a 100644 --- a/dev-python/persist-queue/Manifest +++ b/dev-python/persist-queue/Manifest @@ -1 +1,2 @@ DIST persist-queue-0.8.0.tar.gz 29108 BLAKE2B 6b8891544140331f6f0f7072cf474b2f4f344e5d55ae078f814f9c6b2e5aa9876d6dbd731dac3a6b7ad69bc5143c29d2baf541e01dbe473d8b1bf36be641bb06 SHA512 85a6f66df902ee45e07a8611930549d0c8ae028338b09e0408a3d47fd5989f72477a91965cbb8b4919d2be8b6306777d2f83346f7c0fa4e9601b2a4d15891121 +DIST persist-queue-0.8.1.tar.gz 29652 BLAKE2B b088a1d1784928e682151d0ccf984439df13b771aea4c5125b213a87fea05fbbc654fd80b787e141083a148b8b4b661b50fbe22f85cc582d0f411297089a88e2 SHA512 a5582deddd06108b4e748ee10fed5f64a328fe361b2db8f74400f7e43fc5800aafee67230e7edf481f926c8e20c73fb5d32109d15504a24caa67da848458ce6c diff --git a/dev-python/persist-queue/persist-queue-0.8.1.ebuild b/dev-python/persist-queue/persist-queue-0.8.1.ebuild new file mode 100644 index 000000000000..abea0cae4786 --- /dev/null +++ b/dev-python/persist-queue/persist-queue-0.8.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A thread-safe disk based persistent queue in Python" +HOMEPAGE="https://github.com/peter-wangxu/persist-queue" +LICENSE="BSD" + + +KEYWORDS="~amd64" +SLOT="0" + +# It tries to connect to a local MySQL server +RESTRICT="test" + +DEPEND=" + dev-python/DBUtils[${PYTHON_USEDEP}] + dev-python/msgpack[${PYTHON_USEDEP}] + dev-python/pymysql[${PYTHON_USEDEP}] +" + +RDEPEND="${DEPEND}" + +#distutils_enable_tests nose diff --git a/dev-python/pikepdf/pikepdf-8.4.1.ebuild b/dev-python/pikepdf/pikepdf-8.4.1.ebuild index a72adf1d3d8a..c299abf207db 100644 --- a/dev-python/pikepdf/pikepdf-8.4.1.ebuild +++ b/dev-python/pikepdf/pikepdf-8.4.1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MPL-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" # Check QPDF_MIN_VERSION in pyproject.toml on bumps, as well as # https://qpdf.readthedocs.io/en/stable/release-notes.html. diff --git a/dev-python/platformdirs/Manifest b/dev-python/platformdirs/Manifest index f7ee21f0f6b3..44d807fc89bd 100644 --- a/dev-python/platformdirs/Manifest +++ b/dev-python/platformdirs/Manifest @@ -1 +1,2 @@ DIST platformdirs-3.10.0.tar.gz 19203 BLAKE2B 951568733e4c3324d5817b3d9451aa5cc1d08afcce690a574357551f4452192cc98d406c6fc5c7d65d0a1f1d6111cb39a0877994e52021652c8c054add54f258 SHA512 39c068dad3fe6ec85247a8957c0fcfb27207e78041686a0231d836eeb431bba82583e2fcb609903bb0f479cd04e4c7866b6126e52a708e7e71eed7631bd121b0 +DIST platformdirs-3.11.0.tar.gz 19914 BLAKE2B bea0cbb3c840441943aaf93b6c88d34ae93cf9a9bea7b00186ffae6f46a820036883cebf996ee998cee9b4b748ab24fcd88d3d318c418e6f70746769bdb8619f SHA512 a273ea8fc5916bdb94da9cc62ccef60a7247b5a019639aae3be9718626ce59d27d8e62c6552c25a3cdd0e7fb7215c32b6c30f2509a3356623f628f771e92bb56 diff --git a/dev-python/platformdirs/platformdirs-3.11.0.ebuild b/dev-python/platformdirs/platformdirs-3.11.0.ebuild new file mode 100644 index 000000000000..4dfc814e1678 --- /dev/null +++ b/dev-python/platformdirs/platformdirs-3.11.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="A small Python module for determining appropriate platform-specific dirs" +HOMEPAGE=" + https://pypi.org/project/platformdirs/ + https://github.com/platformdirs/platformdirs/ +" + +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" + +BDEPEND=" + test? ( + dev-python/appdirs[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_configure() { + grep -q 'build-backend = "hatchling' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease setuptools bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "${PN}" + version = "${PV}" + description = 'A small Python package for determining appropriate platform-specific dirs, e.g. a "user data dir".' + EOF + # sigh + cat > src/platformdirs/version.py <<-EOF || die + __version__ = version = '${PV}' + __version_tuple__ = version_tuple = (${PV//./, }) + EOF +} diff --git a/dev-python/pocketlint/Manifest b/dev-python/pocketlint/Manifest index b01a4686a894..04cc4273f1ac 100644 --- a/dev-python/pocketlint/Manifest +++ b/dev-python/pocketlint/Manifest @@ -1 +1,2 @@ DIST pocketlint-0.24.gh.tar.gz 23875 BLAKE2B b4699d1f0633ed6a3f84b97db972818c00a1d382a48648fd4fe6870f4c54f983fd36366f85a409a99b860f385902a9a05adec63199e35d1264a522a7a3086e31 SHA512 21c4055dd42c244760950b64ec4cd9359fc589014953be6f9296e0265101f098fbe34351e87f92630751fa0055de20281974a04b425f691acc4608cf929d4bf4 +DIST pocketlint-0.25.gh.tar.gz 23931 BLAKE2B e8254477223ea0e631129778cc760ef57d34adb78f783258c8c097f7eac1acfe4cb00d21bc9aff576fbfab2bb3f7b687de33b3bc1f02c8d083d690a2e392bbac SHA512 dcb21ee147839a606520370f948594fc695c779a03d9edfb054dd6c07f4dd1c4ad0b64ccaad504da01e3b6c572ce27db8813ac8b61468d43e3745b5053a4edb7 diff --git a/dev-python/pocketlint/pocketlint-0.25.ebuild b/dev-python/pocketlint/pocketlint-0.25.ebuild new file mode 100644 index 000000000000..18d0d6363c58 --- /dev/null +++ b/dev-python/pocketlint/pocketlint-0.25.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Shared code for running pylint against rhinstaller projects" +HOMEPAGE=" + https://github.com/rhinstaller/pocketlint/ + https://pypi.org/project/pocketlint/ +" +SRC_URI=" + https://github.com/rhinstaller/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pylint[${PYTHON_USEDEP}] +" + +python_test() { + "${EPYTHON}" tests/pylint/runpylint.py || die "test failed with ${EPYTHON}" +} diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest index 620535e9ca44..7512417e17a7 100644 --- a/dev-python/pylint/Manifest +++ b/dev-python/pylint/Manifest @@ -1,4 +1,5 @@ DIST pylint-2.17.5.gh.tar.gz 1413718 BLAKE2B 7ba0a6cb78cdef5f16e80d98d1b02f41ae700c44365de26a0a650b60fe95b4b806e36786d16ec50ed5c78c8b86c13afe8e7fe215dd938df654c2883d5493d318 SHA512 431e722d027b03f1b657841ccaba43233961e810aecfe1a679e3ba4ba92fea94f28524195861a6fd4fe6fc6267a1af6489b9b69e5e30f919ac3a476fd35698ec DIST pylint-2.17.6.gh.tar.gz 1415348 BLAKE2B d760a81cc8a453a081f1b0e3845c5a0b608b8109863665361990da127323c877e8e02ed9c1aca656fa84dd49941b23652fc465177a3e347942047299ebb86a32 SHA512 1e1bba425d295f9d267ef439f4f402dfc7284ee57ac41c222ac39e502c66bbac60c9afb0024ca4236de7cc7130ac733c781f5ee98670fae054005a8d69107123 DIST pylint-2.17.7.gh.tar.gz 1415651 BLAKE2B 9b2edea7d7d9e05fd265749cb1e50e77513e382518dc16bf654861e66564c55a430193ab1f538cb23e31e85d2130784c648ba185d62139c6df752ca54f0fc09d SHA512 514fe9d244a58e21fade66f0e343f2162a2fc2f99d7197f4d91801250c13fde2ddc365f92a274d89d602689466a12bac3ff9dd364ce15891171ef86d6313aba2 +DIST pylint-3.0.0.gh.tar.gz 1418878 BLAKE2B e0e86bc53e3b081b92a1f7af94a53b125e4d57c08c269e30defd51fcf07024deaf02a664d05d506a469999e6f6660a4f3d26a6698f8023f48a9d81467dce0282 SHA512 77f20425d03fd2e13e3c6ee7f75b32f37918aafbaeab7280d4275e4bdd285d9d4df541e6165bbe76a57663ff78dc4d8126a72788ee29b08fea5c479f9b162b09 DIST pylint-3.0.0b0.gh.tar.gz 1421208 BLAKE2B e58859e85b5001236a7f92060bca3e828957c8a24b3f0981cac795f0a0ce1af3d0be3ab8cc45c9e7fee173f988598e23fb3b9bc3c257d2e354c7d1c621ae7301 SHA512 265f29d28879c09320a8aa3d235873d96505a2472fb9b41ac0f11fa453c2e4d3fb57133bc588583ac82bdaad895b1cafe828f5662d3700baf6eaf6c3f22817db diff --git a/dev-python/pylint/pylint-3.0.0.ebuild b/dev-python/pylint/pylint-3.0.0.ebuild new file mode 100644 index 000000000000..8aa7a87016c5 --- /dev/null +++ b/dev-python/pylint/pylint-3.0.0.ebuild @@ -0,0 +1,83 @@ +# 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_{8,9,10,11} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +MY_P=${P/_beta/b} +DESCRIPTION="Python code static checker" +HOMEPAGE=" + https://pypi.org/project/pylint/ + https://github.com/pylint-dev/pylint/ +" +SRC_URI=" + https://github.com/pylint-dev/pylint/archive/v${PV/_beta/b}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="examples" + +# Make sure to check https://github.com/pylint-dev/pylint/blob/main/pyproject.toml#L34 on bumps +# Adjust dep bounds! +RDEPEND=" + <dev-python/astroid-3.1[${PYTHON_USEDEP}] + >=dev-python/astroid-3.0.0[${PYTHON_USEDEP}] + >=dev-python/dill-0.3.7[${PYTHON_USEDEP}] + >=dev-python/isort-4.2.5[${PYTHON_USEDEP}] + <dev-python/isort-6[${PYTHON_USEDEP}] + >=dev-python/mccabe-0.6[${PYTHON_USEDEP}] + <dev-python/mccabe-0.8[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.10.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + >=dev-python/GitPython-3[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO + 'tests/test_functional.py::test_functional[dataclass_with_field]' + + # incompatible versions of numpy/scikit-learn? + 'tests/test_functional.py::test_functional[no_name_in_module]' + 'tests/test_functional.py::test_functional[shadowed_import]' + ) + local EPYTEST_IGNORE=( + # No need to run the benchmarks + tests/benchmark/test_baseline_benchmarks.py + ) + + rm -rf pylint || die + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p timeout +} + +python_install_all() { + if use examples ; then + docompress -x "/usr/share/doc/${PF}/examples" + docinto examples + dodoc -r examples/. + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/pyproject-fmt/Manifest b/dev-python/pyproject-fmt/Manifest index da5c4fd77baf..4c6b4ffec345 100644 --- a/dev-python/pyproject-fmt/Manifest +++ b/dev-python/pyproject-fmt/Manifest @@ -1 +1,2 @@ DIST pyproject_fmt-1.1.0.tar.gz 14219 BLAKE2B 9b5180edab6f1f0684d1bc5a503321f09d59acfc71e2f98a36c2b974f95a3f6c0309d43e2a87cbb0c9249d3bc0f74f0696dd3965d9fd2c8329441a2f20fcafea SHA512 dc18e19b7140bfe7a97e1b9720d493327f9006fb666130438b0ef670a91480e2faaad9ff951d42b8856044d028b725ec3b6a522084b7090208df5c853cefc78c +DIST pyproject_fmt-1.2.0.tar.gz 14304 BLAKE2B 7d7c469b5e5156097bdc176aa874338b4f848c8a2fb20bee3467d4267a60a6942c4bb512bebd1aa8abbe53349df9a899e9e0e9c27e2298f22d77ffca181af134 SHA512 368a29ca91052f51551ac3d0c707994fc9ba77ee5854460880164aafec9d92dd28d2950644cbda8760ce6396076ec9f3a034444e11cf0f59c6822cf2b6253f68 diff --git a/dev-python/pyproject-fmt/pyproject-fmt-1.2.0.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-1.2.0.ebuild new file mode 100644 index 000000000000..dd65ff95267e --- /dev/null +++ b/dev-python/pyproject-fmt/pyproject-fmt-1.2.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Format your pyproject.toml file" +HOMEPAGE=" + https://github.com/tox-dev/pyproject-fmt/ + https://pypi.org/project/pyproject-fmt/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/natsort[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] +" +# tox is called as a subprocess, to get targets from tox.ini +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/pytest-mock-3.10[${PYTHON_USEDEP}] + dev-python/tox + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # upstream lower bounds are completely meaningless and copying them + # to the ebuild is a horrible waste of time + sed -i -e 's:>=[0-9.]*::' pyproject.toml || die + distutils-r1_src_prepare +} diff --git a/dev-python/python-glanceclient/Manifest b/dev-python/python-glanceclient/Manifest index bff16e82a902..f2796d6586af 100644 --- a/dev-python/python-glanceclient/Manifest +++ b/dev-python/python-glanceclient/Manifest @@ -1,2 +1 @@ -DIST python-glanceclient-4.3.0.tar.gz 205005 BLAKE2B 63f99858e4fafd041a99a34e3a0a22403f637d2317fe236fd9da55f84f7bc58b410fe4b859af2cf7ccc8cb4f8cf17f80e57afa846a9f33e9a54b1da069f6a6ea SHA512 7f381a6f997b8d1c73c9d2bafa14ecf3d4899640f28d669b7b4762a9c01d8df366b616f0be9bc00c7ea4561f407adceb8d10e721d12d4f5fb5790fd4cdb7362d DIST python-glanceclient-4.4.0.tar.gz 205612 BLAKE2B 8a1e31eb8dbefe4b08e945377bb190264332cd01066b96ec061e8839a45294ed6cf5ab08fd89d97b57bc072987ce04d19f94a887d5e8eaa10760d996058122bf SHA512 31d2994fef3298f790a3ec268b26d432602a6b73265277e961ff2b47df2a84028253da8b2090193e1e65c55ab6e4b40413a16d01a653b90cae926545ea4097ae diff --git a/dev-python/python-glanceclient/python-glanceclient-4.3.0.ebuild b/dev-python/python-glanceclient/python-glanceclient-4.3.0.ebuild deleted file mode 100644 index 6c37fec44ce8..000000000000 --- a/dev-python/python-glanceclient/python-glanceclient-4.3.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 -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A client for the OpenStack Glance API" -HOMEPAGE=" - https://opendev.org/openstack/python-glanceclient/ - https://github.com/openstack/python-glanceclient/ - https://pypi.org/project/python-glanceclient/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86" - -RDEPEND=" - >=dev-python/keystoneauth1-3.6.2[${PYTHON_USEDEP}] - >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] - >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] - >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] - >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}] - >=dev-python/pyopenssl-17.1.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] - >=dev-python/warlock-1.2.0[${PYTHON_USEDEP}] - <dev-python/warlock-2[${PYTHON_USEDEP}] - >=dev-python/wrapt-1.7.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] - test? ( - dev-python/ddt[${PYTHON_USEDEP}] - dev-python/fixtures[${PYTHON_USEDEP}] - dev-python/requests-mock[${PYTHON_USEDEP}] - dev-python/tempest[${PYTHON_USEDEP}] - dev-python/testscenarios[${PYTHON_USEDEP}] - dev-python/testtools[${PYTHON_USEDEP}] - dev-python/prettytable[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -python_test() { - # functional tests require cloud instance access - eunittest -b glanceclient/tests/unit -} diff --git a/dev-python/python-glanceclient/python-glanceclient-4.4.0-r1.ebuild b/dev-python/python-glanceclient/python-glanceclient-4.4.0-r1.ebuild index 012eb5d989a2..26fd89b48fbc 100644 --- a/dev-python/python-glanceclient/python-glanceclient-4.4.0-r1.ebuild +++ b/dev-python/python-glanceclient/python-glanceclient-4.4.0-r1.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv x86" RDEPEND=" >=dev-python/keystoneauth1-3.6.2[${PYTHON_USEDEP}] diff --git a/dev-python/python-telegram-bot/Manifest b/dev-python/python-telegram-bot/Manifest index 84e959ca9d8c..4b5bd4db2fa6 100644 --- a/dev-python/python-telegram-bot/Manifest +++ b/dev-python/python-telegram-bot/Manifest @@ -1,3 +1,2 @@ -DIST python-telegram-bot-13.14.tar.gz 2282098 BLAKE2B 549c87737585f3b2b4bae9f9430fcf8dbaf4f9048013f623b5ef910534a0c70792e36eedffa707b4ff68d6de53c69d4befe64618fc8944c35c3efe680294c4a9 SHA512 859d9852feaaf147b608c1ef4e5f388c345f7efcd699a828d690b110fb499cb9391a51bafe8e0b533d106dccf038a4c845fa13c0dab12bb7792dffe5d059af27 -DIST python-telegram-bot-20.2.tar.gz 1940084 BLAKE2B a575f7ea616e29c32f3773adc66153ddbe4563420697d5eb2dcb1ad7df72d5ea348b0900552d65a91fdfe9c4d65c4fc1d43e9e5e7bb18d5943ae0d329878a6a0 SHA512 1d25a7c0c8b97c3292af364f1c9f94289de340d19587f2d43817f36bd89c3862fe6c1cf58b68dcdfa5aca6a94acb8da99bb49a9f4ad76e3a61b3b59810dae6e5 DIST python-telegram-bot-20.3.tar.gz 1957466 BLAKE2B 47e68846bb6c092648aa2bcd53289f7ac78d7335a8f84fd6a1c6440ee8b38c150f2e2df56f537e0de9e01af3c98a49fd0a8d8771c15ebd9be1658b0ee17a355b SHA512 6594eb991a14acdd247505b904ca2bd5022ef8abe4b45b57218508fa53de765a6a9e05c78997723a8385b45a0950e87dc102264ed3338eed9d569d1eb596e1f9 +DIST python-telegram-bot-20.5.tar.gz 1950471 BLAKE2B b25440dd78d3a72242d371ec661027d2fea7c174a20a1c7482f0d1cab07aa6e5ffa886bb944c217e177732aabec676e5ea6003431a5e893a7171bb36642e3c53 SHA512 65f8d3de73bffcf56dd986091c34fa8f9cb60b4b8bbfc2b1c5c7392cf3a6314192a97013a2299a4d02977fd4f6ae73c487acc7a839b700d7304b02c0f5680671 diff --git a/dev-python/python-telegram-bot/files/python-telegram-bot-20.5-no-internet-tests.patch b/dev-python/python-telegram-bot/files/python-telegram-bot-20.5-no-internet-tests.patch new file mode 100644 index 000000000000..41c9840ed60c --- /dev/null +++ b/dev-python/python-telegram-bot/files/python-telegram-bot-20.5-no-internet-tests.patch @@ -0,0 +1,324 @@ +diff --git a/tests/_files/test_animation.py b/tests/_files/test_animation.py +index 23ec3b50..a7230495 100644 +--- a/tests/_files/test_animation.py ++++ b/tests/_files/test_animation.py +@@ -65,6 +65,7 @@ class TestAnimationBase: + + + class TestAnimationWithoutRequest(TestAnimationBase): ++ __test__ = False + def test_slot_behaviour(self, animation): + for attr in animation.__slots__: + assert getattr(animation, attr, "err") != "err", f"got extra slot '{attr}'" +diff --git a/tests/_files/test_audio.py b/tests/_files/test_audio.py +index 3ea394d0..6a7c47e4 100644 +--- a/tests/_files/test_audio.py ++++ b/tests/_files/test_audio.py +@@ -66,6 +66,7 @@ class TestAudioBase: + + + class TestAudioWithoutRequest(TestAudioBase): ++ __test__ = False + def test_slot_behaviour(self, audio): + for attr in audio.__slots__: + assert getattr(audio, attr, "err") != "err", f"got extra slot '{attr}'" +@@ -196,6 +197,7 @@ class TestAudioWithoutRequest(TestAudioBase): + + + class TestAudioWithRequest(TestAudioBase): ++ __test__ = False + async def test_send_all_args(self, bot, chat_id, audio_file, thumb_file): + message = await bot.send_audio( + chat_id, +diff --git a/tests/_files/test_chatphoto.py b/tests/_files/test_chatphoto.py +index d09876e2..65c3e213 100644 +--- a/tests/_files/test_chatphoto.py ++++ b/tests/_files/test_chatphoto.py +@@ -61,6 +61,7 @@ class TestChatPhotoBase: + + + class TestChatPhotoWithoutRequest(TestChatPhotoBase): ++ __test__ = False + def test_slot_behaviour(self, chat_photo): + for attr in chat_photo.__slots__: + assert getattr(chat_photo, attr, "err") != "err", f"got extra slot '{attr}'" +@@ -155,6 +156,7 @@ class TestChatPhotoWithoutRequest(TestChatPhotoBase): + + + class TestChatPhotoWithRequest: ++ __test__ = False + async def test_get_and_download(self, bot, chat_photo, tmp_file): + tasks = {bot.get_file(chat_photo.small_file_id), bot.get_file(chat_photo.big_file_id)} + asserts = [] +diff --git a/tests/_files/test_document.py b/tests/_files/test_document.py +index f5ccdbeb..f22cef77 100644 +--- a/tests/_files/test_document.py ++++ b/tests/_files/test_document.py +@@ -61,6 +61,7 @@ class TestDocumentBase: + + + class TestDocumentWithoutRequest(TestDocumentBase): ++ __test__ = False + def test_slot_behaviour(self, document): + for attr in document.__slots__: + assert getattr(document, attr, "err") != "err", f"got extra slot '{attr}'" +@@ -190,6 +191,7 @@ class TestDocumentWithoutRequest(TestDocumentBase): + + + class TestDocumentWithRequest(TestDocumentBase): ++ __test__ = False + async def test_error_send_empty_file(self, bot, chat_id): + with Path(os.devnull).open("rb") as f, pytest.raises(TelegramError): + await bot.send_document(chat_id=chat_id, document=f) +diff --git a/tests/_files/test_inputmedia.py b/tests/_files/test_inputmedia.py +index f00dd165..bb4252f4 100644 +--- a/tests/_files/test_inputmedia.py ++++ b/tests/_files/test_inputmedia.py +@@ -179,6 +179,7 @@ class TestInputMediaVideoWithoutRequest(TestInputMediaVideoBase): + assert input_media_video_dict["supports_streaming"] == input_media_video.supports_streaming + assert input_media_video_dict["has_spoiler"] == input_media_video.has_spoiler + ++ @pytest.mark.skip(reason="Requires internet connection") + def test_with_video(self, video): # noqa: F811 + # fixture found in test_video + input_media_video = InputMediaVideo(video, caption="test 3") +@@ -242,7 +243,8 @@ class TestInputMediaPhotoWithoutRequest(TestInputMediaPhotoBase): + ce.to_dict() for ce in input_media_photo.caption_entities + ] + assert input_media_photo_dict["has_spoiler"] == input_media_photo.has_spoiler +- ++ ++ @pytest.mark.skip(reason="Requires internet connection") + def test_with_photo(self, photo): # noqa: F811 + # fixture found in test_photo + input_media_photo = InputMediaPhoto(photo, caption="test 2") +@@ -307,7 +309,8 @@ class TestInputMediaAnimationWithoutRequest(TestInputMediaAnimationBase): + assert input_media_animation_dict["height"] == input_media_animation.height + assert input_media_animation_dict["duration"] == input_media_animation.duration + assert input_media_animation_dict["has_spoiler"] == input_media_animation.has_spoiler +- ++ ++ @pytest.mark.skip(reason="Requires internet connection") + def test_with_animation(self, animation): # noqa: F811 + # fixture found in test_animation + input_media_animation = InputMediaAnimation(animation, caption="test 2") +@@ -375,7 +378,8 @@ class TestInputMediaAudioWithoutRequest(TestInputMediaAudioBase): + assert input_media_audio_dict["caption_entities"] == [ + ce.to_dict() for ce in input_media_audio.caption_entities + ] +- ++ ++ @pytest.mark.skip(reason="Requires internet connection") + def test_with_audio(self, audio): # noqa: F811 + # fixture found in test_audio + input_media_audio = InputMediaAudio(audio, caption="test 3") +@@ -447,6 +451,7 @@ class TestInputMediaDocumentWithoutRequest(TestInputMediaDocumentBase): + == input_media_document.disable_content_type_detection + ) + ++ @pytest.mark.skip(reason="Requires internet connection") + def test_with_document(self, document): # noqa: F811 + # fixture found in test_document + input_media_document = InputMediaDocument(document, caption="test 3") +@@ -502,6 +507,7 @@ def media_group_no_caption_only_parse_mode(photo, thumb): # noqa: F811 + + + class TestSendMediaGroupWithoutRequest: ++ @pytest.mark.skip(reason="Requires internet connection") + async def test_send_media_group_throws_error_with_group_caption_and_individual_captions( + self, + bot, +@@ -601,6 +607,7 @@ class CustomSequence(Sequence): + + + class TestSendMediaGroupWithRequest: ++ __test__ = False + async def test_send_media_group_photo(self, bot, chat_id, media_group): + messages = await bot.send_media_group(chat_id, media_group) + assert isinstance(messages, tuple) +diff --git a/tests/_files/test_photo.py b/tests/_files/test_photo.py +index 9f85bec5..263eb933 100644 +--- a/tests/_files/test_photo.py ++++ b/tests/_files/test_photo.py +@@ -74,6 +74,7 @@ class TestPhotoBase: + + + class TestPhotoWithoutRequest(TestPhotoBase): ++ __test__ = False + def test_slot_behaviour(self, photo): + for attr in photo.__slots__: + assert getattr(photo, attr, "err") != "err", f"got extra slot '{attr}'" +@@ -211,6 +212,7 @@ class TestPhotoWithoutRequest(TestPhotoBase): + + + class TestPhotoWithRequest(TestPhotoBase): ++ __test__ = False + async def test_send_photo_all_args(self, bot, chat_id, photo_file): + message = await bot.send_photo( + chat_id, +diff --git a/tests/_files/test_sticker.py b/tests/_files/test_sticker.py +index c8b9b02a..8c8c9c56 100644 +--- a/tests/_files/test_sticker.py ++++ b/tests/_files/test_sticker.py +@@ -115,6 +115,7 @@ class TestStickerBase: + + + class TestStickerWithoutRequest(TestStickerBase): ++ __test__ = False + def test_slot_behaviour(self, sticker): + for attr in sticker.__slots__: + assert getattr(sticker, attr, "err") != "err", f"got extra slot '{attr}'" +@@ -289,6 +290,7 @@ class TestStickerWithoutRequest(TestStickerBase): + + + class TestStickerWithRequest(TestStickerBase): ++ __test__ = False + async def test_send_all_args(self, bot, chat_id, sticker_file, sticker): + message = await bot.send_sticker( + chat_id, sticker=sticker_file, disable_notification=False, protect_content=True +@@ -526,6 +528,7 @@ class TestStickerSetBase: + + + class TestStickerSetWithoutRequest(TestStickerSetBase): ++ __test__ = False + def test_slot_behaviour(self): + inst = StickerSet("this", "is", True, self.stickers, True, "not") + for attr in inst.__slots__: +diff --git a/tests/_files/test_video.py b/tests/_files/test_video.py +index b2ec1098..d181ffa0 100644 +--- a/tests/_files/test_video.py ++++ b/tests/_files/test_video.py +@@ -65,6 +65,7 @@ class TestVideoBase: + + + class TestVideoWithoutRequest(TestVideoBase): ++ __test__ = False + def test_slot_behaviour(self, video): + for attr in video.__slots__: + assert getattr(video, attr, "err") != "err", f"got extra slot '{attr}'" +@@ -203,6 +204,7 @@ class TestVideoWithoutRequest(TestVideoBase): + + + class TestVideoWithRequest(TestVideoBase): ++ __test__ = False + async def test_send_all_args(self, bot, chat_id, video_file, video, thumb_file): + message = await bot.send_video( + chat_id, +diff --git a/tests/_files/test_videonote.py b/tests/_files/test_videonote.py +index b931678d..223f2541 100644 +--- a/tests/_files/test_videonote.py ++++ b/tests/_files/test_videonote.py +@@ -59,6 +59,7 @@ class TestVideoNoteBase: + + + class TestVideoNoteWithoutRequest(TestVideoNoteBase): ++ __test__ = False + def test_slot_behaviour(self, video_note): + for attr in video_note.__slots__: + assert getattr(video_note, attr, "err") != "err", f"got extra slot '{attr}'" +@@ -190,6 +191,7 @@ class TestVideoNoteWithoutRequest(TestVideoNoteBase): + + + class TestVideoNoteWithRequest(TestVideoNoteBase): ++ __test__ = False + async def test_send_all_args(self, bot, chat_id, video_note_file, video_note, thumb_file): + message = await bot.send_video_note( + chat_id, +diff --git a/tests/_files/test_voice.py b/tests/_files/test_voice.py +index b29260d5..14cdbba7 100644 +--- a/tests/_files/test_voice.py ++++ b/tests/_files/test_voice.py +@@ -58,6 +58,7 @@ class TestVoiceBase: + + + class TestVoiceWithoutRequest(TestVoiceBase): ++ __test__ = False + def test_slot_behaviour(self, voice): + for attr in voice.__slots__: + assert getattr(voice, attr, "err") != "err", f"got extra slot '{attr}'" +@@ -177,6 +178,7 @@ class TestVoiceWithoutRequest(TestVoiceBase): + + + class TestVoiceWithRequest(TestVoiceBase): ++ __test__ = False + async def test_send_all_args(self, bot, chat_id, voice_file, voice): + message = await bot.send_voice( + chat_id, +diff --git a/tests/request/test_request.py b/tests/request/test_request.py +index 9334f7b7..fd3672b9 100644 +--- a/tests/request/test_request.py ++++ b/tests/request/test_request.py +@@ -85,6 +85,7 @@ class TestNoSocksHTTP2WithoutRequest: + + @pytest.mark.skipif(not TEST_WITH_OPT_DEPS, reason="Optional dependencies not installed") + class TestHTTP2WithRequest: ++ __test__ = False + @pytest.mark.parametrize("http_version", ["2", "2.0"]) + async def test_http_2_response(self, http_version): + httpx_request = HTTPXRequest(http_version=http_version) +@@ -352,6 +353,7 @@ class TestRequestWithoutRequest: + + @pytest.mark.skipif(not TEST_WITH_OPT_DEPS, reason="No need to run this twice") + class TestHTTPXRequestWithoutRequest: ++ __test__ = False + test_flag = None + + @pytest.fixture(autouse=True) +@@ -621,6 +623,7 @@ class TestHTTPXRequestWithoutRequest: + + @pytest.mark.skipif(not TEST_WITH_OPT_DEPS, reason="No need to run this twice") + class TestHTTPXRequestWithRequest: ++ __test__ = False + async def test_do_request_wait_for_pool(self, httpx_request): + """The pool logic is buried rather deeply in httpxcore, so we make actual requests here + instead of mocking""" +diff --git a/tests/test_bot.py b/tests/test_bot.py +index d813d9f2..e580c68b 100644 +--- a/tests/test_bot.py ++++ b/tests/test_bot.py +@@ -196,6 +196,7 @@ class InputMessageContentDWPP(InputMessageContent): + + + class TestBotWithoutRequest: ++ __test__ = False + """ + Most are executed on tg.ext.ExtBot, as that class only extends the functionality of tg.bot + +@@ -1791,6 +1792,7 @@ class TestBotWithoutRequest: + + + class TestBotWithRequest: ++ __test__ = False + """ + Most are executed on tg.ext.ExtBot, as that class only extends the functionality of tg.bot + +diff --git a/tests/test_forum.py b/tests/test_forum.py +index d367fc9c..17c5130a 100644 +--- a/tests/test_forum.py ++++ b/tests/test_forum.py +@@ -74,6 +74,7 @@ async def real_topic(bot, emoji_id, forum_group_id): + + + class TestForumTopicWithoutRequest: ++ __test__ = False + def test_slot_behaviour(self, forum_topic_object): + inst = forum_topic_object + for attr in inst.__slots__: +@@ -154,6 +155,7 @@ class TestForumTopicWithoutRequest: + + + class TestForumMethodsWithRequest: ++ __test__ = False + async def test_create_forum_topic(self, real_topic): + result = real_topic + assert isinstance(result, ForumTopic) +@@ -349,7 +351,8 @@ class TestForumTopicCreatedWithoutRequest: + assert isinstance(action_dict, dict) + assert action_dict["name"] == TEST_TOPIC_NAME + assert action_dict["icon_color"] == TEST_TOPIC_ICON_COLOR +- ++ ++ @pytest.mark.skip(reason="Requires internet connection") + def test_equality(self, emoji_id): + a = ForumTopicCreated(name=TEST_TOPIC_NAME, icon_color=TEST_TOPIC_ICON_COLOR) + b = ForumTopicCreated( diff --git a/dev-python/python-telegram-bot/metadata.xml b/dev-python/python-telegram-bot/metadata.xml index e6a414d6bee2..22f6fce8e3b8 100644 --- a/dev-python/python-telegram-bot/metadata.xml +++ b/dev-python/python-telegram-bot/metadata.xml @@ -2,10 +2,6 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>davidroman96@gmail.com</email> - <name>David Roman</name> - </maintainer> - <maintainer type="person"> <email>dwosky@pm.me</email> <name>Pedro Arizmendi</name> </maintainer> diff --git a/dev-python/python-telegram-bot/python-telegram-bot-13.14.ebuild b/dev-python/python-telegram-bot/python-telegram-bot-13.14.ebuild deleted file mode 100644 index a9daa2f8df45..000000000000 --- a/dev-python/python-telegram-bot/python-telegram-bot-13.14.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="Python wrapper of telegram bots API" -HOMEPAGE="https://python-telegram-bot.org https://github.com/python-telegram-bot/python-telegram-bot" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/python-telegram-bot/python-telegram-bot" -else - SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="GPL-3" -SLOT="0" - -# This error is really strange -# UserWarning: python-telegram-bot is using upstream urllib3. This is allowed but not supported by python-telegram-bot maintainers. -RESTRICT="test" - -RDEPEND=" - dev-python/certifi[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/decorator[${PYTHON_USEDEP}] - dev-python/future[${PYTHON_USEDEP}] - dev-python/PySocks[${PYTHON_USEDEP}] - dev-python/ujson[${PYTHON_USEDEP}] - dev-python/urllib3[${PYTHON_USEDEP}] - dev-python/tornado[${PYTHON_USEDEP}] -" - -DEPEND="test? ( - dev-python/APScheduler[${PYTHON_USEDEP}] - dev-python/attrs[${PYTHON_USEDEP}] - dev-python/beautifulsoup4[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/yapf[${PYTHON_USEDEP}] -)" - -distutils_enable_tests pytest -distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme - -python_prepare_all() { - # do not make a test flaky report - sed -i -e '/addopts/d' setup.cfg || die - - sed -i 's/from telegram.vendor.ptb_urllib3 //g' tests/test_*.py - sed -i 's/telegram.vendor.ptb_urllib3.urllib3/urllib3/g' tests/test_*.py - - # Remove tests files that require network access - rm tests/test_{animation,audio,bot,commandhandler,constants,conversationhandler}.py || die - rm tests/test_{dispatcher,document,forcereply,inlinekeyboardmarkup,inputmedia}.py || die - rm tests/test_{invoice,jobqueue,official,parsemode,persistence,photo,sticker,updater}.py || die - rm tests/test_replykeyboard{markup,remove}.py || die - rm tests/test_{video,videonote,voice}.py || die - - distutils-r1_python_prepare_all -} diff --git a/dev-python/python-telegram-bot/python-telegram-bot-20.2-r1.ebuild b/dev-python/python-telegram-bot/python-telegram-bot-20.5.ebuild index cf3c47d7f4fc..e3fa3ec37cca 100644 --- a/dev-python/python-telegram-bot/python-telegram-bot-20.2-r1.ebuild +++ b/dev-python/python-telegram-bot/python-telegram-bot-20.5.ebuild @@ -19,7 +19,7 @@ IUSE="" RDEPEND=" >=dev-python/cachetools-5.3.0[${PYTHON_USEDEP}] >=dev-python/cryptography-39.0.1[${PYTHON_USEDEP}] - >=dev-python/httpx-0.23.3[${PYTHON_USEDEP}] + >=dev-python/httpx-0.24.0[${PYTHON_USEDEP}] >=dev-python/tornado-6.2[${PYTHON_USEDEP}] dev-python/setuptools[${PYTHON_USEDEP}] " @@ -38,8 +38,6 @@ PATCHES=( "${FILESDIR}/${P}-no-internet-tests.patch" ) -S="${WORKDIR}/${PN}-${PV}" - distutils_enable_tests pytest # Run only the tests that don't require a connection diff --git a/dev-python/pytz_deprecation_shim/Manifest b/dev-python/pytz_deprecation_shim/Manifest deleted file mode 100644 index 6d44d53e6408..000000000000 --- a/dev-python/pytz_deprecation_shim/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pytz_deprecation_shim-0.1.0.post0.tar.gz 60190 BLAKE2B a6d186ca6fff17a3fb787ad6164fcf45fbac272e6123491a6822699cf54a115c9941f2b1ee3d227f531a0ab1d11846300dc24974611cc1671c77405606704754 SHA512 201eea777f4da9def1b060911da5eaa89652f6716d5608278fdc94a2f67af5ea23a8b667cb181e03d5edd7f0a07f4954047621668f4c2e7bb325dd07f454d0b6 diff --git a/dev-python/pytz_deprecation_shim/metadata.xml b/dev-python/pytz_deprecation_shim/metadata.xml deleted file mode 100644 index ea8988e8af6a..000000000000 --- a/dev-python/pytz_deprecation_shim/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> - - <origin>gentoo-staging</origin> - <stabilize-allarches/> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0-r2.ebuild b/dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0-r2.ebuild deleted file mode 100644 index 225063cefdcb..000000000000 --- a/dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0-r2.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Shims to make deprecation of pytz easier" -HOMEPAGE=" - https://github.com/pganssle/pytz-deprecation-shim/ - https://pypi.org/project/pytz-deprecation-shim/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" - -RDEPEND=" - sys-libs/timezone-data -" -BDEPEND=" - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest -distutils_enable_sphinx docs \ - dev-python/sphinx-rtd-theme - -src_prepare() { - # apparently used only as a fallback - sed -i -e '/tzdata/d' setup.cfg || die - distutils-r1_src_prepare -} diff --git a/dev-python/pyupgrade/Manifest b/dev-python/pyupgrade/Manifest index bc38d551258f..8d4f401e669a 100644 --- a/dev-python/pyupgrade/Manifest +++ b/dev-python/pyupgrade/Manifest @@ -1,2 +1,3 @@ DIST pyupgrade-3.12.0.gh.tar.gz 63321 BLAKE2B 8b8e5f637c4cd59d5c208bd3d5a620c9462ba1998dd88ead150240fb4b2eece78d97b611b91ecc6fe800f22f19705fb97eaf38c3e3a6fa8efcf2c9cf88435849 SHA512 1d585491fb1da8ec0ac269fe3cd068f515dfea5fd54454906d91ef316bb740443e6140669a4bbc1fe762feea9e637a2f553e606695d7bfc352280b52b663e33d DIST pyupgrade-3.13.0.gh.tar.gz 63800 BLAKE2B b1e5c1288b36f7193aae03476ceb0009bd193d0c2801e425501580bb0c8800d7bb101587999133673f15a874956763d55cb8b920e267f135b5d5743de0666769 SHA512 9cd1392bc9522ebffc30e9f9344cbf753f930b684c7022f19d50de69463dea35ec5ea60bba4e6f5ebc74936c784beff57b44d0e7c1c83d03d21f3b57c537e243 +DIST pyupgrade-3.14.0.gh.tar.gz 64107 BLAKE2B a9499bd5db04c37a427ad1aea17f8c7c2fee53175e84351b4c94e8685c31f30683dfc381c4e99335909650f0ea13e474b01f8fba529e728526ec6330a099f75d SHA512 818b1caa83771cbcc8b9577e6d0b9d9c6c6a42fd88b43aea5be3abeacce902a1b5a7f454e002fa7c7379e1d6093aaba362bf97de1d504d209dc44cfb5a63b795 diff --git a/dev-python/pyupgrade/pyupgrade-3.14.0.ebuild b/dev-python/pyupgrade/pyupgrade-3.14.0.ebuild new file mode 100644 index 000000000000..7e7de8e896c4 --- /dev/null +++ b/dev-python/pyupgrade/pyupgrade-3.14.0.ebuild @@ -0,0 +1,30 @@ +# 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_{8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Tool + pre-commit hook to automatically upgrade syntax for newer Pythons" +HOMEPAGE=" + https://github.com/asottile/pyupgrade/ + https://pypi.org/project/pyupgrade/ +" +# no tests in sdist, as of 3.3.2 +SRC_URI=" + https://github.com/asottile/pyupgrade/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + >=dev-python/tokenize-rt-5.2.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/pyzotero/Manifest b/dev-python/pyzotero/Manifest index 5ba888b81b43..375b0618acf9 100644 --- a/dev-python/pyzotero/Manifest +++ b/dev-python/pyzotero/Manifest @@ -1,3 +1,4 @@ DIST pyzotero-1.5.10.tar.gz 526403 BLAKE2B f62607b14dd558f7d3bb74e9758ae3bc762df178ce92c31253d183609dc0e8c48e67382457a6078139e003076ee8b1cd20959d807fdf9fd8bf1cf2c383bbdf1a SHA512 9fe4c337e597786ada1cfdfbe1bbb42f03356e3a1258760f945f22e17fd3c48a77ad1f92b3854fc36be4ffcbaf9453cd7109f2bd339b2bfe837719fdbc71b129 DIST pyzotero-1.5.15.tar.gz 527652 BLAKE2B dee831d15cb5a387b985ff1a85fd505b5063dc7348a61a1acc4a5b1c730fe7ec2f55096697df14df16e17c32cb2d15460f9896eb28d9481a08c96f149716a4f2 SHA512 0061e08983aaef115a88e181093b5e7bca521f5a627dfbfc7ccdf56ff7d606aca2c1d70001dc3c93cc621b621d1909f9d0f6acb25a65b04e0bf9764ed969de8b +DIST pyzotero-1.5.16.tar.gz 527689 BLAKE2B b772368057c7ef078dbbe187ae4089a1d0dec883de9ffcced875b111478cad5ab48b23f48411426be6e17db61e741a359e275a0615a84071cbab8cd635779485 SHA512 56521688229399eff1997e42212e155dc691f6fe1f28e8db997dd5419e93552854c974f4069d34c19678bf1df9e7b0d0328c52993bd5f4a5e5f33853347fa033 DIST pyzotero-1.5.9.tar.gz 526093 BLAKE2B bf29b557226363d71d536c41fb168b55b0d63dace5789f8abc92b8342bffb1ddcb4344132a68cc401db0ca0a536f534141690b017bc4dcf4d45299dec308a554 SHA512 be8c2135d3cc1bc5defc27a4eaf5233ced01a7c84cdf89074ce318558728c9356ddcf9e4ede4012b03c1f836dde641fee9366ca954e5d3cf35642638c3e38145 diff --git a/dev-python/pyzotero/pyzotero-1.5.16.ebuild b/dev-python/pyzotero/pyzotero-1.5.16.ebuild new file mode 100644 index 000000000000..c719e2a96e45 --- /dev/null +++ b/dev-python/pyzotero/pyzotero-1.5.16.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python client for the Zotero API" +HOMEPAGE=" + https://github.com/urschrei/pyzotero/ + https://pypi.org/project/pyzotero/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + app-text/zotero-bin + dev-python/bibtexparser[${PYTHON_USEDEP}] + >=dev-python/feedparser-6[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + >=dev-python/requests-2.21.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/httpretty[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx doc --no-autodoc +distutils_enable_tests pytest diff --git a/dev-python/qiskit-terra/Manifest b/dev-python/qiskit-terra/Manifest index d82c32526029..df08ffda80e6 100644 --- a/dev-python/qiskit-terra/Manifest +++ b/dev-python/qiskit-terra/Manifest @@ -46,6 +46,7 @@ DIST pyo3-macros-0.19.2.crate 7173 BLAKE2B 8862f42a30929579b0b0bc2ba7f0b41651872 DIST pyo3-macros-backend-0.19.1.crate 49916 BLAKE2B 930774ee7ec936bbefc4ea81e2496cd15438dc82954ec7b85c0bc42b290b41c60869f8b31e109ba16a373d3ebf1e0058c0c7ef7d4911ae40feb99fb61d66a745 SHA512 7c7949588a15ef57b12f11e903c1110228bb653212761c97ff50399aa39be97108b471a2cdf47afb307f6c86bfb24b3e9ab32fd08e0550ee27e8808f2acd5145 DIST pyo3-macros-backend-0.19.2.crate 49962 BLAKE2B 9d8a032c2205f55d2431b6bbc40df153339e08479df3a8a65506ade7d1f3d17cfaf664cbd09eaec9acff3f5a248598e37427d0c5a531eaf527137803adf49834 SHA512 fd708e6fdbd54ef7c676bedc62070175bac6b8f7ae11231578196dbf552b163a8a2499a1266f786bb6bfb85517fe83610902137d59a5c42efcb1a27c4235a07e DIST qiskit-0.25.1.gh.tar.gz 12138283 BLAKE2B 6fcc24f01888d1e1e8a2dbc491f361d1fb2afd306cfa5da9ffd26e7448224a210ce3e7ab1ecf04efb36be7c85a6ccbf71a8d4817a291fe0af1b66e6297d1e6e1 SHA512 bc1fefcabacfaa65cef35f0a9fbdb04f42a188ef811e2115b0e44dbc85d2cb8f2c6c1403e0d59728b7f69b5ff7420808abd8aafa422640ad5df967275f763523 +DIST qiskit-0.25.2.gh.tar.gz 12330466 BLAKE2B 6bf11f841372a4be5e836457c87ce30b70a93f4e00cdd4af32f17bcbe9af5fd6c09f92f6734888c899ddf5dba59fa3b249995dcf85df2606b55a727562e4dc0e SHA512 e6b19990ad3e4e540817b8134e772bbcb772f9755cde6fe3a7e241bc4f0bc92f501bfd0ef52311394e7297e685aeb1d2c1a8494fce54dc784fe84c16884f507f DIST qiskit-terra-0.25.0.gh.tar.gz 10378062 BLAKE2B 6c5a30f9e3d8ffb8ac6415b1afbe4965031aae5e9959d9aa6b5a0fe7f269e0d61958161be5c67a22f861a8ba474ba37d197e51ac1b89340725729be0a6906cab SHA512 9c50c71a956d46858dc7e9d3634dc71f71a079c89b2651eb5dd5e921628bd64e73c6779dc70cbac5b6186c7374023ac6b036472213ce447aee6817fd0a433288 DIST quote-1.0.28.crate 28382 BLAKE2B 9fb16c3bb2a7fec3d8138ffec1f58277061f4a643c9051e1f6525f9e347ed9de41a3797eb3140a6dd828526eb4114c1f7ca562151dc933f338d64b175ed35d9f SHA512 846d718153f78cbae6dc714caa9413a5d5964bcc5e032f5c6c5356c62c33bf22635955ebdff0dede69ba1c9657387e65d61de7c537f6f56f8060721dfa52d735 DIST rand-0.8.5.crate 87113 BLAKE2B 516f26bb2a969d0d79e957818133f35d2c0b4d9f1b401098ea23c5b80d27599e842b9298c0c5e46e2a6cb6953857bf8a9fb71ec9366c5ce6708cf17df14f179c SHA512 8b33a8988906ba5e2057a9a84bdd11f867a5536c22f5056eec59ed4ec4e3a6da2fd773da4c0510d343762e5a4ea0f007db4c4a7cef87a47f90e36c1a84d86fb2 diff --git a/dev-python/qiskit-terra/qiskit-terra-0.25.2.ebuild b/dev-python/qiskit-terra/qiskit-terra-0.25.2.ebuild new file mode 100644 index 000000000000..2eef2b37fee6 --- /dev/null +++ b/dev-python/qiskit-terra/qiskit-terra-0.25.2.ebuild @@ -0,0 +1,188 @@ +# Copyright 2022-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_{8,9,10,11} ) + +CRATES=" + ahash@0.7.6 + ahash@0.8.3 + autocfg@1.1.0 + bitflags@1.3.2 + cfg-if@1.0.0 + crossbeam-channel@0.5.8 + crossbeam-deque@0.8.3 + crossbeam-epoch@0.9.14 + crossbeam-utils@0.8.15 + either@1.8.1 + fixedbitset@0.4.2 + getrandom@0.2.9 + hashbrown@0.12.3 + hermit-abi@0.2.6 + indexmap@1.9.3 + indoc@1.0.9 + itertools@0.10.5 + libc@0.2.144 + libm@0.2.7 + lock_api@0.4.9 + matrixmultiply@0.3.7 + memoffset@0.8.0 + memoffset@0.9.0 + ndarray@0.15.6 + num-bigint@0.4.3 + num-complex@0.4.3 + num-integer@0.1.45 + num-traits@0.2.15 + num_cpus@1.15.0 + numpy@0.19.0 + once_cell@1.17.2 + parking_lot@0.12.1 + parking_lot_core@0.9.7 + petgraph@0.6.3 + ppv-lite86@0.2.17 + priority-queue@1.3.1 + proc-macro2@1.0.59 + pyo3-build-config@0.19.2 + pyo3-ffi@0.19.2 + pyo3-macros-backend@0.19.2 + pyo3-macros@0.19.2 + pyo3@0.19.2 + quote@1.0.28 + rand@0.8.5 + rand_chacha@0.3.1 + rand_core@0.6.4 + rand_distr@0.4.3 + rand_pcg@0.3.1 + rawpointer@0.2.1 + rayon-cond@0.2.0 + rayon-core@1.11.0 + rayon@1.7.0 + redox_syscall@0.2.16 + rustc-hash@1.1.0 + rustworkx-core@0.13.1 + scopeguard@1.1.0 + smallvec@1.10.0 + syn@1.0.109 + target-lexicon@0.12.7 + unicode-ident@1.0.9 + unindent@0.1.11 + version_check@0.9.4 + wasi@0.11.0+wasi-snapshot-preview1 + windows-sys@0.45.0 + windows-targets@0.42.2 + windows_aarch64_gnullvm@0.42.2 + windows_aarch64_msvc@0.42.2 + windows_i686_gnu@0.42.2 + windows_i686_msvc@0.42.2 + windows_x86_64_gnu@0.42.2 + windows_x86_64_gnullvm@0.42.2 + windows_x86_64_msvc@0.42.2 +" + +inherit cargo distutils-r1 multiprocessing optfeature + +MY_P=qiskit-${PV} +DESCRIPTION="Terra is the foundation on which Qiskit is built" +HOMEPAGE=" + https://github.com/Qiskit/qiskit/ + https://pypi.org/project/qiskit-terra/ +" +SRC_URI=" + https://github.com/Qiskit/qiskit/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 MIT + Unicode-DFS-2016 + || ( LGPL-3 MPL-2.0 ) +" +SLOT="0" +IUSE="+visualization" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/rustworkx-0.13.0[${PYTHON_USEDEP}] + >=dev-python/numpy-1.17[${PYTHON_USEDEP}] + >=dev-python/ply-3.10[${PYTHON_USEDEP}] + >=dev-python/psutil-5[${PYTHON_USEDEP}] + >=dev-python/scipy-1.5[${PYTHON_USEDEP}] + >=dev-python/sympy-1.3[${PYTHON_USEDEP}] + >=dev-python/dill-0.3[${PYTHON_USEDEP}] + >=dev-python/python-constraint-1.4[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}] + >=dev-python/stevedore-3.0.0[${PYTHON_USEDEP}] + <dev-python/symengine-0.10[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.10) + visualization? ( + >=dev-python/matplotlib-3.3[${PYTHON_USEDEP}] + >=dev-python/ipywidgets-7.3.0[${PYTHON_USEDEP}] + dev-python/pydot[${PYTHON_USEDEP}] + >=dev-python/pillow-4.2.1[${PYTHON_USEDEP}] + >=dev-python/pylatexenc-1.4[${PYTHON_USEDEP}] + >=dev-python/seaborn-0.9.0[${PYTHON_USEDEP}] + >=dev-python/pygments-2.4[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + >=dev-python/cython-0.27.1[${PYTHON_USEDEP}] + test? ( + app-text/poppler[png] + >=dev-python/ddt-1.4.4[${PYTHON_USEDEP}] + >=dev-python/hypothesis-4.24.3[${PYTHON_USEDEP}] + >=dev-python/networkx-2.2[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/qiskit-aer[${PYTHON_USEDEP}] + >=sci-libs/scikit-learn-0.20.0[${PYTHON_USEDEP}] + ) +" + +# Files built without CFLAGS/LDFLAGS, acceptable for rust +QA_FLAGS_IGNORED=" + usr/lib.*/py.*/site-packages/qiskit/_accelerate.*.so + usr/lib.*/py.*/site-packages/qiskit/_qasm2.*.so +" + +distutils_enable_tests pytest + +src_prepare() { + # strip forcing -Werror from tests that also leaks to other packages + sed -i -e '/filterwarnings.*error/d' qiskit/test/base.py || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO + test/python/circuit/test_equivalence.py::TestEquivalenceLibraryVisualization::test_equivalence_draw + test/python/primitives/test_backend_estimator.py::TestBackendEstimator::test_bound_pass_manager + test/python/primitives/test_backend_sampler.py::TestBackendSampler::test_bound_pass_manager + test/python/transpiler/test_unitary_synthesis_plugin.py::TestUnitarySynthesisPlugin + test/python/visualization/test_dag_drawer.py::TestDagDrawer::test_dag_drawer_no_register + ) + + local EPYTEST_IGNORE=( + # Breaks xdist + test/python/qasm2/test_parse_errors.py + ) + + rm -rf qiskit || die + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # Run the Python test suite rather than everything under test/ which + # includes the 'randomized' suite. Upstream run that in a separate CI job. + # Note: use -p timeout --timeout 500 if debugging hanging tests. + epytest -p xdist -n "$(makeopts_jobs)" --dist=worksteal test/python +} + +pkg_postinst() { + optfeature "qiskit.circuit.classicalfunction support" dev-python/tweedledum +} diff --git a/dev-python/readme-renderer/readme-renderer-42.0.ebuild b/dev-python/readme-renderer/readme-renderer-42.0.ebuild index 3141237b0599..55e1dc1dee63 100644 --- a/dev-python/readme-renderer/readme-renderer-42.0.ebuild +++ b/dev-python/readme-renderer/readme-renderer-42.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong x86" +KEYWORDS="amd64 arm arm64 ~loong ~sparc x86" RDEPEND=" >=dev-python/docutils-0.13.1[${PYTHON_USEDEP}] diff --git a/dev-python/redis/Manifest b/dev-python/redis/Manifest index dffc8963eb5c..14611da52d5b 100644 --- a/dev-python/redis/Manifest +++ b/dev-python/redis/Manifest @@ -1,3 +1,2 @@ -DIST redis-py-4.5.5.gh.tar.gz 4748642 BLAKE2B 6e924477be81af995190328b8747e2eac3d905fcff8cd97c6f89702e3888a4185918144cf11b9173b25dd4c2e62ce988e2f1f5b2c1261bb35e64031772a5a81a SHA512 f1d8f1b009f30613776904cef42a090a51da2833d667d47f9650c9a35187d11911d5b23b20f2ba2279714758963830c873473028775f39419e4d996da54eee83 DIST redis-py-5.0.0.gh.tar.gz 4767898 BLAKE2B 0dc1fcafe7ad82c00bf634e19b5afb7201f39dfd26dfcce398fbc40cff79fe03d3e2ecc2acccebf1405700fb72fc5894ce1b8438b55e6c10d52ec08124da50cb SHA512 24133be64b73a58edd7b0361a8b168b67f0e783576aaf0007f4b4b8d6032a227d6ebc7319c89fc323fc72ef1063e4a899d9a8be9eaa833d347345a59a65fff31 DIST redis-py-5.0.1.gh.tar.gz 4769633 BLAKE2B 3b572ef41abfdb0cf0ba957c93a23aacbe931e50ebe11e50a62dffe6aaaf57926224f7a497727e1e233b443c6be053f786dadac64f16a5170748e6afd9604d01 SHA512 05c32d6961326ff39312f5513136e72be3a42819b0c4bf646f3bac14e66a8a87a191697a89c2cbc22a83398896e25adc5fbd34f12e67719f0a0af927bf423130 diff --git a/dev-python/redis/redis-4.5.5.ebuild b/dev-python/redis/redis-4.5.5.ebuild deleted file mode 100644 index 30547bcbd22e..000000000000 --- a/dev-python/redis/redis-4.5.5.ebuild +++ /dev/null @@ -1,85 +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_{8,9,10,11} pypy3 ) - -inherit distutils-r1 - -MY_P=redis-py-${PV} -DESCRIPTION="Python client for Redis key-value store" -HOMEPAGE=" - https://github.com/redis/redis-py/ - https://pypi.org/project/redis/ -" -SRC_URI=" - https://github.com/redis/redis-py/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86" - -RDEPEND=" - $(python_gen_cond_dep ' - >=dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}] - ' 3.{9..10}) -" -BDEPEND=" - test? ( - dev-db/redis - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # Flaky test - tests/test_pubsub.py::TestPubSubDeadlock::test_pubsub_deadlock - # TODO - tests/test_commands.py::TestRedisCommands::test_acl_list - # redis-7 different return - tests/test_commands.py::TestRedisCommands::test_xautoclaim - # hangs on all targets - tests/test_asyncio/test_cwe_404.py::test_standalone - ) - - # TODO: try to run more servers? - epytest -m "not redismod and not onlycluster and not replica and not ssl" -} - -src_test() { - local redis_pid="${T}"/redis.pid - local redis_port=6379 - - if has_version ">=dev-db/redis-7"; then - local extra_conf=" - enable-debug-command yes - enable-module-command yes - " - fi - - # Spawn Redis itself for testing purposes - einfo "Spawning Redis" - einfo "NOTE: Port ${redis_port} must be free" - "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" - daemonize yes - pidfile ${redis_pid} - port ${redis_port} - bind 127.0.0.1 ::1 - ${extra_conf} - EOF - - # Run the tests - distutils-r1_src_test - - # Clean up afterwards - kill "$(<"${redis_pid}")" || die -} diff --git a/dev-python/redis/redis-5.0.0.ebuild b/dev-python/redis/redis-5.0.0.ebuild index 4d9ccc8c90be..99f94ca07c88 100644 --- a/dev-python/redis/redis-5.0.0.ebuild +++ b/dev-python/redis/redis-5.0.0.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/setuptools-scm/Manifest b/dev-python/setuptools-scm/Manifest index f28feba89e0d..1aabe119937b 100644 --- a/dev-python/setuptools-scm/Manifest +++ b/dev-python/setuptools-scm/Manifest @@ -1,4 +1,5 @@ DIST setuptools-scm-8.0.1.tar.gz 71827 BLAKE2B 4011879490a02f5bb8b4fa0292ee696010cca9cb5c322854f2c342b4c02a86f7a31535c3fe7b4e6eab4fb77c90a469714227c1487ee7e1c1d4de3a4db1137b6b SHA512 05c087cbcb8bf2f03d68cf91e5545c25dea85d61d16c26194ade42a5e78a573f1adc4265897998d4b151834e994b3aa32e02a1eb2fa103a4cd1f3c8e3b78d8d4 DIST setuptools-scm-8.0.2.tar.gz 72614 BLAKE2B 80dedf269f504a632f6b8c8ceafc28948e359825b926ac851219171db4015856aaebde8c0e8ee81dc807bb1b25010d686a039063922046dc4d72beacf14914c6 SHA512 1a636f452cbe61fc1bc6fca49032e7d12b80fe5d8931f292cfa295d6787fb9273fd7f3887f3f74d60c1da19f4e2f676d038fd860c0410838225cad95e6375f9b DIST setuptools-scm-8.0.3.tar.gz 72824 BLAKE2B f45b3bf67cc259e18fbd3a155d10967cf7c6a9df69d6bff7cc452236da3c3e1d0205ff7f5523c5bfdcbdbf5056e00f06c21dc1178edf14b386a0b89e95c947c1 SHA512 7002da1abdabbf617fb92b94aa04f6fe90aa5cbe26ae7ff8a9df0c53b35e8d13e6294ed38373d081ccafe375b376d52e72d5c7a031dbfb356aa0ee3221641096 +DIST setuptools-scm-8.0.4.tar.gz 74280 BLAKE2B 317f4955365b6b7d21ddecc846b0158a72537692b70b5f2092183bd93af119875054d775628659b113dec3bdb94575485b6f1e58760f1580b143dc3b0882cb57 SHA512 1b584f20dfad115f379a97de9e96bb3b36ab00986381748c2f395facd26ce01a6556ccfbabeb8f0cf9ce8720b26ce3a00040dba02cc689701ccf1d31f13277da DIST setuptools_scm-7.1.0.tar.gz 71904 BLAKE2B be5ae215dadcc290290762b732434258409ecc2d71cdf1332ffe73431effae7cbc33e052a718efd952be79350171ed3e468492fc719bc08750dc23364fb0ee9d SHA512 bd7260672c213db6b8c5842dbb6ac69e69ce040777865c935033971f65d905bd8e6b54e174190a924e452c302e69d4c1de231cbc8f603176ba013a739840dad3 diff --git a/dev-python/setuptools-scm/setuptools-scm-8.0.4.ebuild b/dev-python/setuptools-scm/setuptools-scm-8.0.4.ebuild new file mode 100644 index 000000000000..e047f5661e8f --- /dev/null +++ b/dev-python/setuptools-scm/setuptools-scm-8.0.4.ebuild @@ -0,0 +1,64 @@ +# 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=standalone +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Manage versions by scm tags via setuptools" +HOMEPAGE=" + https://github.com/pypa/setuptools_scm/ + https://pypi.org/project/setuptools-scm/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +# there's an optional dep on rich for cute logs +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.10) + dev-python/typing-extensions[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-vcs/git + !sparc? ( + dev-vcs/mercurial + ) + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # the usual nondescript gpg-agent failure + testing/test_git.py::test_git_getdate_signed_commit + + # fetching from the Internet + testing/test_regressions.py::test_pip_download + + # calls flake8, unpredictable + testing/test_functions.py::test_dump_version_flake8 + ) + + if has_version dev-python/nose; then + EPYTEST_DESELECT+=( + # https://bugs.gentoo.org/892639 + testing/test_integration.py::test_pyproject_support + ) + fi + + epytest +} diff --git a/dev-python/tweedledum/Manifest b/dev-python/tweedledum/Manifest deleted file mode 100644 index 0ca31a66f0e4..000000000000 --- a/dev-python/tweedledum/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST tweedledum-1.1.1-fmt-e73beb23a3feeba02a851e3f8131e3c85a29de2b.patch 4394926 BLAKE2B 1035945714e7a5f5ac8cc41f9b799c6a3f0ded13b2f86098be11705d09029578d7e019cd784c6fb783c1bbaddb49425b5e2ec4bed142f01436620c6ac793e8f5 SHA512 1307e63be3366ec0b52e4238e3ac58c793f437acca95840b0bf15499efb3eae0e339d3c75c61b9a0c2734eaa6be416b6a35b51f784884aef98d86613e0b540d1 -DIST tweedledum-1.1.1.gh.tar.gz 5105832 BLAKE2B 71e3e9baaccc345910d5be3831ea0476b06bc3171311d17fc3f160b7d4c9026bab719b1e80f1d462183cdcc1feb750542e2649c2aab5cdc6d4551ab258866649 SHA512 eda9c0d895d59450150946d52d942174652d305a863a10bafa60300cde63a692a8105b7bb5dcc86aeb610b666945215905cf95859f3726b875c88d5cd3d34891 diff --git a/dev-python/tweedledum/files/tweedledum-1.1.1-gcc-13.patch b/dev-python/tweedledum/files/tweedledum-1.1.1-gcc-13.patch deleted file mode 100644 index 64a171c50b46..000000000000 --- a/dev-python/tweedledum/files/tweedledum-1.1.1-gcc-13.patch +++ /dev/null @@ -1,21 +0,0 @@ -https://bugs.gentoo.org/895130 ---- a/external/pybind11/include/pybind11/attr.h -+++ b/external/pybind11/include/pybind11/attr.h -@@ -10,6 +10,7 @@ - - #pragma once - -+#include <cstdint> - #include "cast.h" - - PYBIND11_NAMESPACE_BEGIN(PYBIND11_NAMESPACE) ---- a/include/tweedledum/IR/Cbit.h -+++ b/include/tweedledum/IR/Cbit.h -@@ -5,6 +5,7 @@ - #pragma once - - #include <cassert> -+#include <cstdint> - #include <limits> - #include <string> - #include <vector> diff --git a/dev-python/tweedledum/metadata.xml b/dev-python/tweedledum/metadata.xml deleted file mode 100644 index bf4001c71862..000000000000 --- a/dev-python/tweedledum/metadata.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>gaboroszkar@protonmail.com</email> - <name>Gábor Oszkár Dénes</name> - </maintainer> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <maintainer type="project"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <longdescription> - tweedledum is a library for synthesis, compilation, and optimization of quantum circuits. The library is written to be scalable up to problem sizes in which quantum circuits outperform classical ones. Also, it is meant to be used both independently and alongside established tools. - </longdescription> - - <origin>gentoo-staging</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/tweedledum/tweedledum-1.1.1-r1.ebuild b/dev-python/tweedledum/tweedledum-1.1.1-r1.ebuild deleted file mode 100644 index 790d3227c7c5..000000000000 --- a/dev-python/tweedledum/tweedledum-1.1.1-r1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# 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_{8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="Library for analysis, compilation, synthesis, optimization of quantum circuits" -HOMEPAGE="https://github.com/boschmitt/tweedledum" -SRC_URI="https://github.com/boschmitt/tweedledum/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" -# Drop on next bump, see bug #858200 -SRC_URI+=" https://github.com/boschmitt/tweedledum/commit/e73beb23a3feeba02a851e3f8131e3c85a29de2b.patch -> ${P}-fmt-e73beb23a3feeba02a851e3f8131e3c85a29de2b.patch" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -# Unbundle dev-python/pybind11[${PYTHON_USEDEP}]? -RDEPEND=" - dev-cpp/nlohmann_json - dev-libs/libfmt:= -" -DEPEND=" - ${RDEPEND} - dev-cpp/eigen -" -BDEPEND=">=dev-python/scikit-build-0.12.0" - -PATCHES=( - "${DISTDIR}"/${P}-fmt-e73beb23a3feeba02a851e3f8131e3c85a29de2b.patch - "${FILESDIR}"/${PN}-1.1.1-gcc-13.patch -) - -distutils_enable_tests pytest - -python_compile() { - # -DTWEEDLEDUM_USE_EXTERNAL_PYBIND11=ON - local -x SKBUILD_CONFIGURE_OPTIONS="-DCMAKE_BUILD_TYPE=RelWithDebInfo" - distutils-r1_python_compile -} - -python_test() { - epytest python/test -} diff --git a/dev-python/twisted/twisted-22.10.0-r3.ebuild b/dev-python/twisted/twisted-22.10.0-r3.ebuild index 2fc16dc0c37b..1e95fc35e379 100644 --- a/dev-python/twisted/twisted-22.10.0-r3.ebuild +++ b/dev-python/twisted/twisted-22.10.0-r3.ebuild @@ -20,7 +20,7 @@ S=${WORKDIR}/${PN}-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" IUSE="conch http2 serial ssl test" RESTRICT="!test? ( test )" diff --git a/dev-python/twisted/twisted-23.8.0.ebuild b/dev-python/twisted/twisted-23.8.0.ebuild index 225c5fedef05..f2e4f005aebc 100644 --- a/dev-python/twisted/twisted-23.8.0.ebuild +++ b/dev-python/twisted/twisted-23.8.0.ebuild @@ -22,7 +22,7 @@ SRC_URI+=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" IUSE="conch http2 serial ssl test" RESTRICT="!test? ( test )" diff --git a/dev-python/tzdata/tzdata-9999.ebuild b/dev-python/tzdata/tzdata-9999.ebuild index 520406b79b13..0aceb3500ea1 100644 --- a/dev-python/tzdata/tzdata-9999.ebuild +++ b/dev-python/tzdata/tzdata-9999.ebuild @@ -13,7 +13,7 @@ HOMEPAGE="https://peps.python.org/pep-0615/" LICENSE="public-domain" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" sys-libs/timezone-data diff --git a/dev-python/urllib3/Manifest b/dev-python/urllib3/Manifest index 8296541f9110..96b1aa757047 100644 --- a/dev-python/urllib3/Manifest +++ b/dev-python/urllib3/Manifest @@ -1,3 +1,3 @@ DIST urllib3-1.26.15.tar.gz 301444 BLAKE2B 2681f0290a4f8b335dcdf384a0c0692cf51e88ea829f80c8c857be328b00c618978a84957da4e23826e4597fe90764eb36ab9acbbc33f9a6ec8df3e3ff3f4d48 SHA512 b6ddb29c15b2d729605a6acb7c602f18c75a937cdfe9649d35d790a59fbb1d96a8d68975ba0a4c073c9f1750e383c67b7566dbcd81b3e8611501e9f4153e9a2b -DIST urllib3-2.0.4.tar.gz 281517 BLAKE2B 58635787069b6d8e83394ddacca2c70824c03190efb4e0838b9b80d8e8c1499fa0143e1d38ece4e2a7f9b34d6b50f9805050bf85707d98eb171307ff35f8b215 SHA512 64d55714d871716730af5a691fc222722cffc13b0603ecae597e5f4cfd82297beede2b08cedc030b2419bd446f51c4c6e54f466ad96c71dd0848abbf806b4db4 DIST urllib3-2.0.5.tar.gz 281697 BLAKE2B 7ae1cc90243cd2069767d4a3f7ca3b96d9e6270f38b363ba2c2cfddeb293cc75782740524bdf91d64bd08dcf1dc44cb9fe6ec2b501d34bdf4c69d893c794382a SHA512 dead3fcda9637c6142b577f051f25578249f7513d3d2bdf4ed880b7a063ff7ee2e946e72b91355328b12205600abc487252ca025f3946408093df46134d9fc12 +DIST urllib3-2.0.6.tar.gz 281846 BLAKE2B 3af632a77f07d5c686e6412b06d67df5c62517239431ead7d0c7e7bbb5efe06c298db0afda1a84fb314f3e3936edd16aef693ac316a923f67232abf8789b6201 SHA512 872a5899ad4486b45fe7a327f029beb5f7d3dd8447b58b861922b32bd15f1cff68d12136f262c2d2d3740047976bc6cff16a54590c1eab19949149e7dae2956a diff --git a/dev-python/urllib3/urllib3-2.0.4.ebuild b/dev-python/urllib3/urllib3-2.0.6.ebuild index 40fae9380bd1..40fae9380bd1 100644 --- a/dev-python/urllib3/urllib3-2.0.4.ebuild +++ b/dev-python/urllib3/urllib3-2.0.6.ebuild diff --git a/dev-python/websockets/websockets-11.0.3-r1.ebuild b/dev-python/websockets/websockets-11.0.3-r1.ebuild index 3be2c9aa3114..670a6ec1b7ab 100644 --- a/dev-python/websockets/websockets-11.0.3-r1.ebuild +++ b/dev-python/websockets/websockets-11.0.3-r1.ebuild @@ -24,7 +24,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv ~s390 sparc x86" IUSE="+native-extensions" distutils_enable_tests pytest |
