diff options
Diffstat (limited to 'dev-python')
101 files changed, 1071 insertions, 527 deletions
diff --git a/dev-python/GitPython/GitPython-3.1.31.ebuild b/dev-python/GitPython/GitPython-3.1.31.ebuild new file mode 100644 index 000000000000..803fa451e4ec --- /dev/null +++ b/dev-python/GitPython/GitPython-3.1.31.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 +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi + +TEST_P=GitPython-${PV} +GITDB_P=gitdb-4.0.10 +SMMAP_P=smmap-5.0.0_p1 + +DESCRIPTION="Library used to interact with Git repositories" +HOMEPAGE=" + https://github.com/gitpython-developers/GitPython/ + https://pypi.org/project/GitPython/ +" +SRC_URI+=" + test? ( + https://dev.gentoo.org/~mgorny/dist/${TEST_P}.gitbundle + https://dev.gentoo.org/~mgorny/dist/${GITDB_P}.gitbundle + https://dev.gentoo.org/~mgorny/dist/${SMMAP_P}.gitbundle + ) +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-vcs/git + >=dev-python/gitdb-4.0.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/ddt-1.1.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_test() { + git config --global user.email "travis@ci.com" || die + git config --global user.name "Travis Runner" || die + + git clone "${DISTDIR}/${TEST_P}.gitbundle" "${T}"/test || die + git clone "${DISTDIR}/${GITDB_P}.gitbundle" \ + "${T}"/test/git/ext/gitdb || die + git clone "${DISTDIR}/${SMMAP_P}.gitbundle" \ + "${T}"/test/git/ext/gitdb/gitdb/ext/smmap || die + + cd "${T}"/test || die + git rev-parse HEAD > .git/refs/remotes/origin/master || die + TRAVIS=1 ./init-tests-after-clone.sh || die + cat test/fixtures/.gitconfig >> ~/.gitconfig || die + + distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # performance tests are unreliable by design + test/performance + # unimpoortant and problematic + test/test_installation.py + # Internet + test/test_repo.py::TestRepo::test_leaking_password_in_clone_logs + # requires which(1) + # https://github.com/gitpython-developers/GitPython/pull/1525 + test/test_git.py::TestGit::test_refresh + # TODO + test/test_submodule.py::TestSubmodule::test_base_rw + test/test_submodule.py::TestSubmodule::test_git_submodules_and_add_sm_with_new_commit + test/test_submodule.py::TestSubmodule::test_list_only_valid_submodules + test/test_submodule.py::TestSubmodule::test_root_module + ) + + epytest -o addopts= test +} diff --git a/dev-python/GitPython/Manifest b/dev-python/GitPython/Manifest index eb3c9157a125..aef1ceb75683 100644 --- a/dev-python/GitPython/Manifest +++ b/dev-python/GitPython/Manifest @@ -1,6 +1,10 @@ DIST GitPython-3.1.30.gitbundle 9945082 BLAKE2B ac3e530509d459303c0c465668c92073d0532bb75c0635c9e5521857132c2d3c18f0e30b85830cf101fc0c79cde33a5eaf459cddbd66abeb6185453d90e4077d SHA512 e43275e8ffc3fb02e360503de3cd9d0b2c817f870361fe6bcfcd9dec30da077c4c685f57bce408ec670f2fb49d265abca34bf14d806a3ea54fd25f9eaf5019b3 DIST GitPython-3.1.30.tar.gz 195508 BLAKE2B ba3dcb7c7aba8ec42842e6240777b8823e641139e6704641a7236ea07b2a82966638fb074c8fe3ff47b66e23aa526cfc899d8c28359f260f62fd1962a6de66de SHA512 067e64c801ca3882d70aca7706b3a57a51597817f0a3f03290a17e3ebb0fa0fd04cd1d72a32eae3bb72b6c486ffd26d1ede9cee5b17d99ffceb0f8dcc83081b9 +DIST GitPython-3.1.31.gitbundle 9820824 BLAKE2B 47becdf80c8047c3de74f3ad2308f2003629dac970df961e97ae455719690afa8ca4fc08c85fdd01d351980cac5b79265164b92c16e993efb964e4c5d6e62810 SHA512 2b73a9bbe11bf24c1f0cfbc817b1226ae49c52a898f233d23aa8512cb7709adaba57c76afce8aa4416dcc4f16775d0d4138f0059ede51f59a6ccdd27d0f08cd3 +DIST GitPython-3.1.31.tar.gz 195822 BLAKE2B c5644a811e33da4e2983d5b41dc5e223bff23bb817027485fd24598163dc515d1823e8abc5f871a9ad4334827f097dbe7856cf618940cd3ddbe507728253ea2c SHA512 80d5f73db589e239dead268c99092b2429c4d0602e4f9a1e77cce5c68f2eade1651e3da9de68fd485021565f3a2d9b980c286b0d302c58e60011a443b4361e71 DIST gitdb-4.0.10.gitbundle 1485461 BLAKE2B 5a217c609a402cd7888da1502b25d217812503cd703cda8bce3c7159732c59d7f4bcd52688a5da457f43fde1645a6db79588a6fc8cc8dff5c58e9dcbaef79b9a SHA512 98dba48f75e28eaded791f91c611e07bef73c28a7f8ac58889b05d04f4b3699a85a5be1c829ea3e2f380507a9009f35bc552bb4260564127e2863807f9b4712a DIST smmap-5.0.0.gitbundle 338621 BLAKE2B 58c151245a1353d482e06313beb1cfbe7aa23d30733b284b1745b562da1da4e6f9b8acd7d4b967987e8c29a0cfbe6d3b27790f4683f6cbd86fc22a1416bc1c24 SHA512 94b827cdcfaf31b726b48b7b0a9036e852683046b07430b79e59a1339079ca078129d5eb02d9009979ce86892748b700d6cd281e401ddf6b0048252e2181fe1f +DIST smmap-5.0.0_p1.gitbundle 324544 BLAKE2B 69098c7644abaec7f32226cad7ff3008e49d94c9f7349d0b815223249c20bfd2b51a50474e51864821f30c98f5982e5c35ce9217145a1e5d11326492c41faecc SHA512 4f36ca2c94ddfeb949c880fb52c3b1905d144dd59b95f2f05c93ed7b694dcb128218a2800ca23b721fbeff9a1920e8c3326675098e2ef0361ff6e90c8c2850ba EBUILD GitPython-3.1.30.ebuild 2269 BLAKE2B d2cae6967e17f6d4bba2aa9cd673960cde006374ae658af2f8ce9d94b1070d0b22009f6fc38b483f642268c3799ece9ef8cb1e75613539ab0132267bdb916c71 SHA512 50ae4a085b3e998fe9879f3e57b147a6ca7d17ce400c564c1f8a58c71ac4a1322f9c0357bafd96e3b8d2dde594238c3d44cfa8f67a47479cbcffff7002c6769d +EBUILD GitPython-3.1.31.ebuild 2276 BLAKE2B 1b1862ac832aecbb761d3613d6ae17c8f300dc6fcc7f2de2a29ed20f6049bbce2b86ac9e7f4a963f0fccc0a4ba66ae06b77c99be980b476e2565d076321e8209 SHA512 e4b9269d81cd86114431f21489d40e7a1c2de4ac3bd2af64f446c15ff5ca2ff955972605dbca31bae1239ce238e7d4687ea6058b9cf12ec825fe051a15e870a2 MISC metadata.xml 407 BLAKE2B 49fd8d520d575be1489c299f22595120fad882f055b9cf2d02b87382c6d8f0ff38af694e5584b4da579aa84b82c2f1032e4afb64cafd9f4fe9212a6d67b4a752 SHA512 1bebe1e134eb86a4745cf7e297d45118a2bdd3d8a71d0034294b5c799a9cee763c63b61b34c6707c52f61058f727f4b827dd020d285fc297712b29eb7c1129ef diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 9d19bb278b41..f4bad816a14d 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/alembic/Manifest b/dev-python/alembic/Manifest index b42bfadd54db..bd525167f0b3 100644 --- a/dev-python/alembic/Manifest +++ b/dev-python/alembic/Manifest @@ -1,5 +1,7 @@ DIST alembic-1.9.2.tar.gz 1136929 BLAKE2B 26c4ad3185bc274aa4321a0860dc357566625abb51c951f2d0151bfd109f0e0bf7a37075d07ad2f0975127bdd327579f2d9a700f3cc130fbdd1c6458127b2e50 SHA512 d878d48d140be68facdaf0ec25f8582c9e10a369b23e9ee035ae63f8f2ad52d50464c5b8e9c666307edd1a797b6a2c495e56fa890f7dc8f46b3d75a726905ded DIST alembic-1.9.3.tar.gz 1137492 BLAKE2B 17dbc5513b7e15daa51f623bfa90febf356caad8d13e215c6007fd0330e569ea4ffddd374c1ab9b7954e38a136c27d2e5d0ff5db026a6c2ad04d242b3cfdbe7f SHA512 dcbde51c26a81f88b102979aa000c17d0af065e96c51484c94c138fc08099e229deb06f5934d499058f25ef87eb5a5de765225fb890a76eb030d1ad6649e57a4 +DIST alembic-1.9.4.tar.gz 1139210 BLAKE2B 5b740803b6bf5b715e9572a91d87d5403d64e665647776d28511704fa17ed81825fe6f5cdab2cec77a0806abb02ef2a7acf5f9702ff87639b90e74d9e22a4b1a SHA512 76e6f86e789cecff78f8e86c34d22a70615158833bc24a26f38fe2d0d5ccd098920e0fe4cbebaadd2c9a4a2e63152720945645000d46a2b6b8b6696ce873f899 EBUILD alembic-1.9.2-r1.ebuild 816 BLAKE2B 276fcbe1882537e6f676b1389f734160582fe9d57c6426b06a587457c106d7289e0a5fc7f1a14f8907e5d00b46e6b0269742ae6e6150ccec11cde4894f07edaa SHA512 82fe07ae2973f53f913375751be600521c10ea653e88ec6885f59f044ea76d5782e9a9cfa8c2aef7b6f9577d1456fe840dfc2a3ac1b64cb241ac9fad47c09c89 EBUILD alembic-1.9.3-r1.ebuild 771 BLAKE2B f904f3e3a70cde89fecab15c35c6ebe09a0e36fbd401294d9cf0dc1e2c6034f8bae6e88603fc58f8a3ae790a5db0116e5c3094171bd3726accb7fe286394a158 SHA512 05328ea27883bd3c8357ee2a4d0ccc21a6d0d8fac6f6b6654860d6f6f5e185482e7c08e50fc07669fbe217f51edc2a3ec4f4451183d3a06aaa79d5e242852334 +EBUILD alembic-1.9.4.ebuild 771 BLAKE2B f904f3e3a70cde89fecab15c35c6ebe09a0e36fbd401294d9cf0dc1e2c6034f8bae6e88603fc58f8a3ae790a5db0116e5c3094171bd3726accb7fe286394a158 SHA512 05328ea27883bd3c8357ee2a4d0ccc21a6d0d8fac6f6b6654860d6f6f5e185482e7c08e50fc07669fbe217f51edc2a3ec4f4451183d3a06aaa79d5e242852334 MISC metadata.xml 516 BLAKE2B 08b11ebed2913b00e0a8c0044a50e3ca7bc0e51fcad180725c90445227fed1aed58ed89b4bed58ef5c050c3eee3c19da33aabce5cd1f7835f4b560e67ccc7744 SHA512 b4afb6af57562e6065f03db71da0dbdfc9c4337e54cbaddfa257ee7bad48dbeecfaccd765901bf65279e34cf96be3975f983017858904716a36bf8c18f33db79 diff --git a/dev-python/alembic/alembic-1.9.4.ebuild b/dev-python/alembic/alembic-1.9.4.ebuild new file mode 100644 index 000000000000..c7ecdc042007 --- /dev/null +++ b/dev-python/alembic/alembic-1.9.4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{9..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Database migrations tool, written by the author of SQLAlchemy" +HOMEPAGE=" + https://github.com/sqlalchemy/alembic/ + https://pypi.org/project/alembic/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +IUSE="doc" + +RDEPEND=" + >=dev-python/sqlalchemy-1.1.0[${PYTHON_USEDEP}] + dev-python/mako[${PYTHON_USEDEP}] + >=dev-python/python-editor-0.3[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_install_all() { + use doc && local HTML_DOCS=( docs/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/casttube/Manifest b/dev-python/casttube/Manifest index 3ac818e8fa5f..c4395f45681f 100644 --- a/dev-python/casttube/Manifest +++ b/dev-python/casttube/Manifest @@ -1,3 +1,4 @@ DIST casttube-0.2.1.tar.gz 5182 BLAKE2B 0cd279da67aa59ddaa82913ef40815d28884b078448804742dfa3a6242a666c86cdaecf30cdf1ea913188d61953b5f38e133311d11491db443b55ae78b186558 SHA512 0b077b1f622c1029e9cff949a1d1cd4f380d9110324ca6211eb4d6bc97fbf3aa4d7be47cb692c2a7628ab62b309fd9957ee6392060f27e06d030691ad8cde00f +EBUILD casttube-0.2.1-r1.ebuild 566 BLAKE2B 482afb72001e9b542324a62da19095d9d4b18b11a357723f613d3a6b8e2a7730cb43bf6f1bbe3cb2d042f8e672f3019ba76075b927bc28e15b4ec034fda142f6 SHA512 0f0666a4c003e38ebc3cff9b7dc9be5ee7a2200efbed3c077266cc53432332c24c3072368d1d845715c187de3e0c7803641c34050315cc580b89c9deba1f0cb7 EBUILD casttube-0.2.1.ebuild 532 BLAKE2B b13b8c327d53a2b110ad27d675e29c62eef1d1c8b480105dd805bf0ac5eebe218d0ec3022bc651e8a630464b8399d46cfd881197f2eb4eb7e703eb2fc6f3550e SHA512 d2de2757fc13337dfd4b3527637bcb6068a51effb36ec2d05d03dc403fc9252091661eec1edf70520937b481d60508184fab1f928f8dc6b9199c390191e87c07 -MISC metadata.xml 405 BLAKE2B 2f7548b83796fc2d972ce9d108a023ec153a82a342a95c3114b671ca5a741ab9c709648d6967a13f3b7e80268f08b4ef84906635e7d07affe1f4533dc97a007b SHA512 2e4d5ea4a9f5f583a451d94aba2c5a842626ccf588e405efae99569f70130ccdab3b61e78d02a85045352e119e19865f30f7aefb0063f0cb455f4abf58ec3427 +MISC metadata.xml 485 BLAKE2B 81cb32480695e09dd717dc6016032d88ca9b95b494e647278120875da99fdb39e011f54755bab5a956271e67876e041d56fbe31fb870239975915b75b3b99e06 SHA512 1b448993bc62b80961db9184ec270274cb85e6dab01898a6fe86bfbecf3671edb960f3bd0a878a339d2128c2e096f2b2c552e59caa164ddf8cd8880c414cf0ed diff --git a/dev-python/casttube/casttube-0.2.1-r1.ebuild b/dev-python/casttube/casttube-0.2.1-r1.ebuild new file mode 100644 index 000000000000..e1a51c24ebdc --- /dev/null +++ b/dev-python/casttube/casttube-0.2.1-r1.ebuild @@ -0,0 +1,24 @@ +# 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_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="casttube provides a way to interact with the Youtube Chromecast api" +HOMEPAGE="https://github.com/ur1katz/casttube" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/requests[${PYTHON_USEDEP}]" + +src_prepare() { + sed -e '/data_files/d' -i setup.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/casttube/metadata.xml b/dev-python/casttube/metadata.xml index 097183384a45..90d7bda6e02c 100644 --- a/dev-python/casttube/metadata.xml +++ b/dev-python/casttube/metadata.xml @@ -8,7 +8,9 @@ <email>prometheanfire@gentoo.org</email> <name>Matthew Thode</name> </maintainer> + <stabilize-allarches/> <upstream> <remote-id type="pypi">casttube</remote-id> + <remote-id type="github">ur1katz/casttube</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/django-prometheus/Manifest b/dev-python/django-prometheus/Manifest index 9faebab8e6ed..d19a98b27f9a 100644 --- a/dev-python/django-prometheus/Manifest +++ b/dev-python/django-prometheus/Manifest @@ -1,3 +1,4 @@ DIST django-prometheus-2.2.0.tar.gz 24995 BLAKE2B db79cbed99d4d5cb7d9ce22dfee69914a63373417b176b4311406f9a1fdcada16447d6ec8cb19ebd14789f520aa1d5755aace824e5462611f81a0cc688566f19 SHA512 a72c8345f220799ad0709e0e73912229267b5e01fc67ae7f647e53ccf7c7e170ad2456c81070a002dc411e840b1129d55719a7aa891b4dabe262837c8c7b3db5 +EBUILD django-prometheus-2.2.0-r1.ebuild 680 BLAKE2B cb65f8676c5a24d164e1d920fc0fd48b4f4c96c8ac6581d93aa1559cb98d2f71ff062cc66c92df54739c0007992a84b233232c088fd0387e04018b137a90c6d2 SHA512 c7e33b9b85f76794e1f9e2b294ee9876437f7a0a73f6170d881bb4e7f914e6a0cd63c106e9a57f811e8c883b1b8a448f3e1dbf4d231d220970bf4f07c55f8199 EBUILD django-prometheus-2.2.0.ebuild 625 BLAKE2B 8811874d9869ff3587cb78475a920fd72d2bfa2aa3afa1aa1701f57e2fb1e106a1a9b6fa3e9b6cb463a3b56fcd78017e1ea27fc83b2e588ebd7ab80074894ec8 SHA512 4b0febe3d69f0aa7c05aebe774f3fdf7df43adbd6b18a058bb13bc32a79a67be92a89789de9f6684e8d412fec1d1c6aad5b8faec123f91c51ac6b71dd072586f MISC metadata.xml 410 BLAKE2B 6b5b85e5b774a6d8d742adc093cf341ff11beff43974c0ba68c9c45cffccfba923e9358cb102b3e64e765a91d851bf7bfa51a1a2875909327a9056c6c1c5b805 SHA512 7a6fe4b02c4ac912f34bba301a723e4c16036236b4e9f3c5e1916512d6a49a4af7b2607e96a86a43d69a4ee4ba08b6db9595235250bc52da8c9147dff054370d diff --git a/dev-python/django-prometheus/django-prometheus-2.2.0-r1.ebuild b/dev-python/django-prometheus/django-prometheus-2.2.0-r1.ebuild new file mode 100644 index 000000000000..680ccac5129a --- /dev/null +++ b/dev-python/django-prometheus/django-prometheus-2.2.0-r1.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 +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Library to export Django metrics for Prometheus" +HOMEPAGE=" + https://github.com/korfuri/django-prometheus/ + https://pypi.org/project/django-prometheus/ +" + +LICENSE="Apache-1.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/django[${PYTHON_USEDEP}] + >=dev-python/prometheus_client-0.7[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_prepare_all() { + sed -i "/pytest-runner/d" setup.py || die + distutils-r1_python_prepare_all +} diff --git a/dev-python/dns-lexicon/Manifest b/dev-python/dns-lexicon/Manifest index 377c0880ea84..a237b289d5d3 100644 --- a/dev-python/dns-lexicon/Manifest +++ b/dev-python/dns-lexicon/Manifest @@ -1,3 +1,3 @@ DIST dns-lexicon-3.11.7.gh.tar.gz 6677647 BLAKE2B 9330bcc81e053e9cf8b2171b444e5d20e86922da15df7121a5957f8e6932528ba1f9099cc4dff08b2825d8fa253369b8b2da026a0846e64896bf491c59f2bdc9 SHA512 7d3becea6b9d60a4589e9d7e8de010d0b7e6a2c127d1ccc6981d1bff88d09f5a708fd3e9e22f66b8a0a77a331784340662de73607dd25d69c0342795c6afc765 -EBUILD dns-lexicon-3.11.7.ebuild 1777 BLAKE2B 12730670ac0611bc9db6198742b65928a45e03822d48fef40d98126f431d1dca2ab13b6c21253744a103f519e4810329271edd26f3cff7da9717aa6d5219aaf5 SHA512 d1b44196efcd4b7471393eba5c6c18ec5c3eeaa08dd0866cc9331db30b5b996cfc60e19f70d217575fd545f21e20224a336c47e53dd4d5067662c908ddc5a8e8 +EBUILD dns-lexicon-3.11.7.ebuild 1783 BLAKE2B 9a3c6b97e9efceab0c0f5d97087fa1838489de5a6bdba515f57113eb29c93dbc7b24471b193b6b0d42389e2d6fa11375edca0e38fc3d1b80888a27f09f60d545 SHA512 ddc1e54fc46bec409c2c30c14493cfd82ed0c18062c58913c5d130830b64078b1283b7528d64b357e880a4daefb0c6e4bbc74bc716bbb52f2c5b5b75677d5790 MISC metadata.xml 541 BLAKE2B a22266eac0bc7b4c22d9552cf64cbf88bbc1c2953e3ef0daaf059b81519909e0f8808e0d74cec6db3296e43f98082d57b8ae3779d694432e8578112ac18c3ea6 SHA512 79e2b43a685bfcc8dace1faa1c1a08cc648b39a3fef2834a57b6e801f72e7309276604253089db7a2fbe1d5d776b2ba1427c90a9cb9c44a0c1b2812d4e1901db diff --git a/dev-python/dns-lexicon/dns-lexicon-3.11.7.ebuild b/dev-python/dns-lexicon/dns-lexicon-3.11.7.ebuild index a2222bd1de52..3ea8911b102b 100644 --- a/dev-python/dns-lexicon/dns-lexicon-3.11.7.ebuild +++ b/dev-python/dns-lexicon/dns-lexicon-3.11.7.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_10 ) +PYTHON_COMPAT=( python3_{10..11} ) inherit distutils-r1 optfeature diff --git a/dev-python/dockerpty/Manifest b/dev-python/dockerpty/Manifest index 37d3371146ea..bd515f0df2f3 100644 --- a/dev-python/dockerpty/Manifest +++ b/dev-python/dockerpty/Manifest @@ -1,3 +1,5 @@ +DIST dockerpty-0.4.1.gh.tar.gz 19608 BLAKE2B 1c7229bdd18100bb75a8ec80f0b8a636137efce40affb2bbadf27eef5ee13322ab92f9a3f77db0ef79c35366daf700550eb9a358534f7a1f1c2b92ec2cd4d5d0 SHA512 1f27a1d1cf9bfa21a77f2c0695334ec09a81ed5b70190b16fb23ec0e2ab4cb84af334b5e9275265eff2d8014aac5f96890276bed5775bb805c3f30260c99da70 DIST dockerpty-0.4.1.tar.gz 19608 BLAKE2B 1c7229bdd18100bb75a8ec80f0b8a636137efce40affb2bbadf27eef5ee13322ab92f9a3f77db0ef79c35366daf700550eb9a358534f7a1f1c2b92ec2cd4d5d0 SHA512 1f27a1d1cf9bfa21a77f2c0695334ec09a81ed5b70190b16fb23ec0e2ab4cb84af334b5e9275265eff2d8014aac5f96890276bed5775bb805c3f30260c99da70 EBUILD dockerpty-0.4.1-r1.ebuild 639 BLAKE2B d576afea90bd0448ab8fe3c53abaaa7529592ac5f072d4b4a2099cde9f6d13c910e1f267a195e72577b5b05dba00db2c9e79ab4022d43b6b162e3522ff4e1ee4 SHA512 184c28c37a32f13caef8d741261a9fb771244f52be5facc1b78116367d39c902ca178dfeb029149cadd34156b233edd52c86af110e80f8003fa27efe95f97cca +EBUILD dockerpty-0.4.1-r2.ebuild 664 BLAKE2B 3f60a8191a31d37b02aa523b31044b2c26d7d17138307241d2a8c1b9933313f886a93422d5419a4fe462d7f06465097c579d52ad2ed1dcc5592490dd6c1939e7 SHA512 79af86615a301c8c4e6aee6307877ab1bc6960ca78078ec632d59a445a7a6cadd990b35428e536a4a121004f647d033851c069207b9720b17ba9bf50abb28694 MISC metadata.xml 294 BLAKE2B 3f58557af5c6c3b1efb590535197e0a19a2f487648d9c624bad28f1e9d49fdbe89f821c13f387502380588c702fb13fdbff5b01336a4bc110faaa6c5de34e531 SHA512 a797d25a5b52c202c7cc1772c09f027e6e6fc4a398fa898b88e84597d9190b6c387bb6207ddbe811bc304ca57e3f73f2ac0c4d54e6daf0207ae1fc098d6a354b diff --git a/dev-python/dockerpty/dockerpty-0.4.1-r2.ebuild b/dev-python/dockerpty/dockerpty-0.4.1-r2.ebuild new file mode 100644 index 000000000000..96d7f33b72f1 --- /dev/null +++ b/dev-python/dockerpty/dockerpty-0.4.1-r2.ebuild @@ -0,0 +1,26 @@ +# 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_{9..11} ) +inherit distutils-r1 + +DESCRIPTION="Python library to use the pseudo-tty of a docker container" +HOMEPAGE="https://github.com/d11wtq/dockerpty" +SRC_URI="https://github.com/d11wtq/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +BDEPEND=" + test? ( + >=dev-python/docker-py-0.7.0_rc2[${PYTHON_USEDEP}] + >=dev-python/expects-0.4[${PYTHON_USEDEP}] + ) +" +RDEPEND=">=dev-python/six-1.3.0[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest diff --git a/dev-python/flask-api/Manifest b/dev-python/flask-api/Manifest index 3c05591518d2..f9a6c9e6c8b7 100644 --- a/dev-python/flask-api/Manifest +++ b/dev-python/flask-api/Manifest @@ -1,3 +1,5 @@ +DIST flask-api-3.0.gh.tar.gz 249620 BLAKE2B 63ce0ce6a2d4755caf40c020fc6b88f3b585b0c30f5800df62c8e442f629b8b489917ff0f0d1266d941478336f38aa0560c144620f6c11d60cbd9e31870bf984 SHA512 c86b919f8681a73be166ddc50022faecb376b1b6f99bd0d78b2f2fc8b64f82bf82779dbdcfbcaa1c5e321ea2d286b95f1a1aab32864e6c3923417d7828c7c79a DIST flask-api-3.0.tar.gz 249620 BLAKE2B 63ce0ce6a2d4755caf40c020fc6b88f3b585b0c30f5800df62c8e442f629b8b489917ff0f0d1266d941478336f38aa0560c144620f6c11d60cbd9e31870bf984 SHA512 c86b919f8681a73be166ddc50022faecb376b1b6f99bd0d78b2f2fc8b64f82bf82779dbdcfbcaa1c5e321ea2d286b95f1a1aab32864e6c3923417d7828c7c79a +EBUILD flask-api-3.0-r1.ebuild 775 BLAKE2B c45ef603ef3f6495b0e7693440f0d12944a44da14ce96dc72a288e63a65367ac08e3d57c3f5fae0f53ee6fb996ddcd183db2f61e35ada682b5825d3d6c7e930a SHA512 5d1748f8d22043bb533be00ad8d44dc5c49698ea48a5bc8f946bef9d76cd5f7a6727875bf698ba50d2cdbc1f62688e27b1419eea93cadcfe52be61169c0e601a EBUILD flask-api-3.0.ebuild 681 BLAKE2B 68f7e4f3f7b73ee0b5976eb3fa8958f6caffb946f4774629754a839d3df9c6cd2c733722d4f1001a228af6c2f10d912082f6a812838791b286b27536e973dbeb SHA512 48be3c2e60f9c8174a1da4bcd17bdbdcea027b3703ef0c15f70908aa7672d1f1390d7eff72c271c79d7925666606cac3a0713a25c5761cba368fd4682947d4b7 MISC metadata.xml 728 BLAKE2B 54f369da75822026ef30c2f16efac1a478b1f42b8bde27710c73fb7b974cf70b5c266c182f6efc6096f4efc0c11645a74fd19ca30ab2dfd48af4e65a731983e6 SHA512 a009d75f162e2775ec5fb1eda9c12af46c76094d64952effe1dd9aa74ae3bfcd3dc40e4523cda464c8cc14eed150d8cef2175acd294574752d79f0ff8c97e8e7 diff --git a/dev-python/flask-api/flask-api-3.0-r1.ebuild b/dev-python/flask-api/flask-api-3.0-r1.ebuild new file mode 100644 index 000000000000..79ce434fb7a0 --- /dev/null +++ b/dev-python/flask-api/flask-api-3.0-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="Browsable web APIs for Flask" +HOMEPAGE=" + https://github.com/flask-api/flask-api/ + https://pypi.org/project/Flask-API/ +" +# pypi mirror don't have docs folder +SRC_URI=" + https://github.com/flask-api/flask-api/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/flask[${PYTHON_USEDEP}] + dev-python/markdown[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_install_all() { + local DOCS=( docs/about/release-notes.md docs/api-guide/* docs/index.md ) + distutils-r1_python_install_all +} diff --git a/dev-python/frozendict/Manifest b/dev-python/frozendict/Manifest index 2e320a3d3d40..6949a563dc14 100644 --- a/dev-python/frozendict/Manifest +++ b/dev-python/frozendict/Manifest @@ -1,3 +1,5 @@ +AUX frozendict-2.3.4-optional-extension.patch 501 BLAKE2B 42d726955d52bf3c4585ce085407be9026fbec3b2f75825f7b58932c93f6157fc99d2a701b38abc94314220c3b02ba02e531beea3e943e8bf3657fd69d875283 SHA512 d1ef784849a68c47b6b2878a576cf22304b00deb1cc8f6814187f295606325fcb056d41e328472c189b8fa45944cc4751022d18287acb9d641c5ad68ca8c38b6 DIST frozendict-2.3.4.gh.tar.gz 307399 BLAKE2B ac6311182ed2ba4925a14a145b4d30a0241978f55ae7a81cebc534ede812ca77097f0f8c7eeb08e8cbd6240e036d3b5035bd3e9b284a55b638c93717e3a20258 SHA512 15acc4fceb5e2228ee3423d4a5b86c529e9bdcb7264f59139cbde6194983901a17da8036bebf53d7d8057ce52666031e90eb1ca358bfd374c651fd60743988dc +EBUILD frozendict-2.3.4-r1.ebuild 906 BLAKE2B 5588199e3c10b03b863c52cbcbb322aa4142d143f0ab959d8922b8c911f2c667f0c6618039210ca5f96fec858a8b32084db556450d0b7ee5f805a5d820580440 SHA512 8c40f4090f8aa6b4b0761c6f5df2d3469ba2aa3998b13f0fbbe3a85fafac6b99cd3d477361db9d9d67ef263162526b0b5988c20af2e979e331be3b494ae07956 EBUILD frozendict-2.3.4.ebuild 619 BLAKE2B 35b547359779054e3f492babe19f3fc4e64209ef643c23cac4df446878f2c12d1900552599f02ad160c61b6dfde484114e80ce0c75dcbd2cbe7f5acd6842888a SHA512 81787f4fe74eb23914cad4e6e4b0df38e079d6ca6bfc5d3c2e67c28141bbc4278e3ca7b318a7138b236588d174d654756d0865240746946ce6f88703bbdf5caa MISC metadata.xml 634 BLAKE2B 362d9aef54a08943047b2f7b04f74d142be6eb74c74d8242460a70e22a3d77d475f588057fbca3ec6f691f2516a52bc23016e694824d092470670e05e98a79d6 SHA512 7f452c4e377081a16c159ca73079a73666dbd862f237516cb3962bfa7a8c4d32f6c68c7bcd5ef37cade10b999fd026178ca2192bd8254d37da642c9bec81137c diff --git a/dev-python/frozendict/files/frozendict-2.3.4-optional-extension.patch b/dev-python/frozendict/files/frozendict-2.3.4-optional-extension.patch new file mode 100644 index 000000000000..f64402b023e3 --- /dev/null +++ b/dev-python/frozendict/files/frozendict-2.3.4-optional-extension.patch @@ -0,0 +1,20 @@ +Autodetect availability of C extension. Taken from upstream PR. + +Upstream-PR: https://github.com/Marco-Sulla/python-frozendict/pull/69 + +diff --git a/setup.py b/setup.py +index 0325383..0667b59 100755 +--- a/setup.py ++++ b/setup.py +@@ -163,7 +163,7 @@ if len(argv) > 1 and argv[1] in custom_args: + impl = python_implementation() + + if custom_arg == None: +- if impl == "PyPy": ++ if impl == "PyPy" or not src_path.exists(): + custom_arg = "py" + else: + custom_arg = "c" +-- +2.39.1 + diff --git a/dev-python/frozendict/frozendict-2.3.4-r1.ebuild b/dev-python/frozendict/frozendict-2.3.4-r1.ebuild new file mode 100644 index 000000000000..986217d9dcee --- /dev/null +++ b/dev-python/frozendict/frozendict-2.3.4-r1.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=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="A simple immutable mapping for python" +HOMEPAGE=" + https://github.com/Marco-Sulla/python-frozendict/ + https://pypi.org/project/frozendict/ +" +SRC_URI=" + https://github.com/Marco-Sulla/python-frozendict/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/python-${P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc64" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}/${P}-optional-extension.patch" +) + +python_test() { + local EPYTEST_IGNORE=() + # skip tests of native extension for python versions where it is not available + [[ ${EPYTHON} == python3.11 ]] && EPYTEST_IGNORE+=( + test/test_frozendict_c.py + test/test_frozendict_c_subclass.py + ) + + rm -rf frozendict || die + epytest +} diff --git a/dev-python/github3-py/Manifest b/dev-python/github3-py/Manifest new file mode 100644 index 000000000000..2d57a96bf8d5 --- /dev/null +++ b/dev-python/github3-py/Manifest @@ -0,0 +1,3 @@ +DIST github3.py-3.2.0.gh.tar.gz 35522134 BLAKE2B ef263dc7e97bb7acccddc538cf812abc8554395865832ac993fbd7f965fd008607d0a682b35be5bdfc1b46618dcb3391e924f57d841a30ab732df9b3c76774b3 SHA512 2b15524df9289d2139178b4a92914458276cf347ff7e41c55eb6b7b9ad705ced4a9f64eb025aa9334a38611b87147a8ed118a6958a9924f75ad272fc868d196f +EBUILD github3-py-3.2.0.ebuild 1097 BLAKE2B ee3d98e5e6251a8c5f97954b1a735c1a62b3f77ca3ae160bf7d0476a35f50e9753f2b87d7a06d2199d5b676580f52cb59337b475bde91da573e719c1eb399ae2 SHA512 404435f0475ba930426a73c3db166ba2769bccc37969cb29b3fe5950686e778ce6a34faacb7471f489f1a394dfa23d54623dc59f8b04595fed53a6ca5f78f73f +MISC metadata.xml 675 BLAKE2B aa0bec874cc285c1d5eb57c128188c8690eb572191465ac193e8df40836b4b27b1994916ee419c2d03e7fd95ad6ee2882d5b603702939663bedc9a0a27f7aeb0 SHA512 cc6cceaf8fb98df0ff61aa8ed7e45af8054cc20ea7e6697ff30d103d2dc5b479486374ad6f99e4de46cc37214701fbfaa4d3fd1a74923b9e7d7dfddae08ebcf8 diff --git a/dev-python/github3/github3-3.2.0.ebuild b/dev-python/github3-py/github3-py-3.2.0.ebuild index 42a88c488257..b68f240196b9 100644 --- a/dev-python/github3/github3-3.2.0.ebuild +++ b/dev-python/github3-py/github3-py-3.2.0.ebuild @@ -4,17 +4,21 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..10} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit distutils-r1 +MY_P=github3.py-${PV} DESCRIPTION="A wrapper for the GitHub API written in python" -HOMEPAGE="https://github3py.readthedocs.io/en/master/" +HOMEPAGE=" + https://github.com/sigmavirus24/github3.py/ + https://pypi.org/project/github3.py/ +" SRC_URI=" - https://github.com/sigmavirus24/${PN}.py/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz + https://github.com/sigmavirus24/github3.py/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz " -S="${WORKDIR}/${PN}.py-${PV}" +S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" @@ -35,7 +39,8 @@ BDEPEND=" test? ( >=dev-python/betamax-0.8.0[${PYTHON_USEDEP}] >=dev-python/betamax-matchers-0.1.0[${PYTHON_USEDEP}] - )" + ) +" distutils_enable_tests pytest diff --git a/dev-python/github3/metadata.xml b/dev-python/github3-py/metadata.xml index b418a1191050..b418a1191050 100644 --- a/dev-python/github3/metadata.xml +++ b/dev-python/github3-py/metadata.xml diff --git a/dev-python/github3/Manifest b/dev-python/github3/Manifest deleted file mode 100644 index cf7b5be61331..000000000000 --- a/dev-python/github3/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST github3-3.2.0.gh.tar.gz 35522134 BLAKE2B ef263dc7e97bb7acccddc538cf812abc8554395865832ac993fbd7f965fd008607d0a682b35be5bdfc1b46618dcb3391e924f57d841a30ab732df9b3c76774b3 SHA512 2b15524df9289d2139178b4a92914458276cf347ff7e41c55eb6b7b9ad705ced4a9f64eb025aa9334a38611b87147a8ed118a6958a9924f75ad272fc868d196f -EBUILD github3-3.2.0.ebuild 1037 BLAKE2B 751e7b4deb5151e0cf078db65ee589e38096d9627b5c51f75777b8634cb0f6f0ca5ade68b788d2ff512872d97e31258b8218652bdbf49877a86eb0d86aa98a82 SHA512 dcc87fc450f3195d0d686174f54bac5eb47ed52d5992b27203be5bc29fff364d46bc25287e0c5f076dd94c6cbf1f9ff301147171390ada4ae787aa39e0cf283d -MISC metadata.xml 675 BLAKE2B aa0bec874cc285c1d5eb57c128188c8690eb572191465ac193e8df40836b4b27b1994916ee419c2d03e7fd95ad6ee2882d5b603702939663bedc9a0a27f7aeb0 SHA512 cc6cceaf8fb98df0ff61aa8ed7e45af8054cc20ea7e6697ff30d103d2dc5b479486374ad6f99e4de46cc37214701fbfaa4d3fd1a74923b9e7d7dfddae08ebcf8 diff --git a/dev-python/ioflo/Manifest b/dev-python/ioflo/Manifest index 9200335058ba..6b8932ef3a53 100644 --- a/dev-python/ioflo/Manifest +++ b/dev-python/ioflo/Manifest @@ -3,5 +3,6 @@ AUX ioflo-2.0.2-py310.patch 2520 BLAKE2B fbb1b8b5d1d2d135abb21f7f2ff094d4c85bf4d AUX ioflo-2.0.2-python39.patch 3813 BLAKE2B a21f5829b5a2fd4200350949d66d4fd77f5ba2b21d5fdb95c7754745fc2cf41f18640d4c79f5e1037fc0d4ca016c7dac062567aa8662b0e41e702e4dd0a94931 SHA512 b588703d653848401fb8e13be949f6de4ff41143eae669ccdcae8edaaac1883be0a684112dacfdf11fa3f2842dbde0dce2b47a7680cb87761d30ffa4018569e8 AUX ioflo-2.0.2-tests.patch 1059 BLAKE2B a093cf0db0e00c4f06f0eeda76acee4515951e0dca1a77688e2cd4ccc33a3b10402228d76aa25f787cbfa8771d12f0613fe62e5fa38e09b6d8238870c2b25951 SHA512 5642963e6c29941c2803c6833d229b9fab62f60e7534fb6bfd7a101746eff1704dcfe3bdbbc72bfb466317562d995ede5a70a8ffc83ae9e76ab2d9c01bcab349 DIST ioflo-2.0.2.gh.tar.gz 837382 BLAKE2B 1fe878c8a9a47a9be5083e392e15256f1a566433b4341e2ee234e84332bb72af0c426d04c77ccace33cfb05664745caaa63e910913c3d63bbb2e5d8360a1ec90 SHA512 7485924ce329889afb1c3e0555b54fdbfb11eafce48fb0ac15bacd229fea512c44fcc118bbc4368ebc7c770d62129ee6b895b982f73a269de7131ea37daac02b -EBUILD ioflo-2.0.2-r3.ebuild 1001 BLAKE2B 43d9ec48559fdd1677a1ff09989ef43cd2f00a9beaf79d32472e7226ed088bd5569543fcd3aa5c327ed00922be82ae3ab492228b7b230e1ae9a9269aafd976c5 SHA512 7df62389a0ce1797dbf3e9a671d4c17b9365897e2bfd80459c0944b55dd9692aa9b40a6c50dd1abf3ac40aef739e1a14dd3b90c34753b268a6114c79f3c72914 +EBUILD ioflo-2.0.2-r3.ebuild 907 BLAKE2B 90c3f2bf6cfc00ddd33cfa22ae146c48548520f05a4f8f75ddee6287104f8febcc6e5cc4788e2967c382970fb7c8865c865b12526840f47fc34d35c8d20f0f5e SHA512 37caf04028f32320f04b38706bca829587126804bd7f940a6ee8cb34ce91e0458c2c4ef2c4bb5428092e08c1b847beb9723b9641bc173fdd952d1259c0da02f5 +EBUILD ioflo-2.0.2-r4.ebuild 802 BLAKE2B 3f1e8a93e65dd411524717feaaf3e224508f5836f50189cd72680ab5a0101d3c2c9b4221e90d3a8cc275614679c0e880ba0aa9034d99e670f72c1aa1e52a3525 SHA512 35a7f2a313049880b2b01a0723b2e79fe43508d36095815cfc3f8f749ffeda8058391bec081ad8e854135ffd25b210c8b7aa39502d09b268dbf936add55c0694 MISC metadata.xml 494 BLAKE2B dc398c0ee508c0c1cf9ee17712efcbf7f994ed053416da6bdd236fe80402b80ce251272824bebbdcc7ea79cf98b6b5dd812de11fca55eb625bf19e5cf93228e3 SHA512 7364c6b7a37dd8ed762fc7d609e71ff93cd3321f6f94f88d795bd0a3082749571644cbdfd3c9d63a916249122fdfb47ff5377907159782ddf5744c5ea4a13f39 diff --git a/dev-python/ioflo/ioflo-2.0.2-r3.ebuild b/dev-python/ioflo/ioflo-2.0.2-r3.ebuild index 9e19ae329e46..df2d9b3131ce 100644 --- a/dev-python/ioflo/ioflo-2.0.2-r3.ebuild +++ b/dev-python/ioflo/ioflo-2.0.2-r3.ebuild @@ -14,15 +14,11 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" -IUSE="test" -RDEPEND=" - $(python_gen_cond_dep '>=dev-lang/python-3.7.4' python3_7) -" -BDEPEND="${RDEPEND} +BDEPEND=" test? ( - dev-python/pytest-salt-factories[${PYTHON_USEDEP}] app-admin/salt[${PYTHON_USEDEP}] + dev-python/pytest-salt-factories[${PYTHON_USEDEP}] ) " diff --git a/dev-python/ioflo/ioflo-2.0.2-r4.ebuild b/dev-python/ioflo/ioflo-2.0.2-r4.ebuild new file mode 100644 index 000000000000..5ad220e1519b --- /dev/null +++ b/dev-python/ioflo/ioflo-2.0.2-r4.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Automated Reasoning Engine and Flow Based Programming Framework" +HOMEPAGE="https://github.com/ioflo/ioflo/" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +PATCHES=( + "${FILESDIR}/ioflo-1.7.8-network-test.patch" + "${FILESDIR}/ioflo-2.0.2-python39.patch" + "${FILESDIR}/ioflo-2.0.2-tests.patch" + "${FILESDIR}/ioflo-2.0.2-py310.patch" +) + +distutils_enable_tests pytest + +python_prepare_all() { + sed -e 's:"setuptools_git[^"]*",::' -i setup.py || die + distutils-r1_python_prepare_all +} diff --git a/dev-python/jsonrpclib/Manifest b/dev-python/jsonrpclib/Manifest index a60ab5dc2a68..503b4112522e 100644 --- a/dev-python/jsonrpclib/Manifest +++ b/dev-python/jsonrpclib/Manifest @@ -1,4 +1,4 @@ DIST jsonrpclib-0.4.3.2.gh.tar.gz 63127 BLAKE2B 4301f23a981f00e78f88f78a8f5e8d776985fcd5d268373430b308cd9e2b07d5e1aaae9fa514640275439f4269ecf9ac5a2e42d5c96b870b72e37e4faea7c790 SHA512 718b9a8a49b6f936635ea8e500d16b8d3f42a28e44c4d0bb2bf1e648063ab1107edca93b4f178600a0b36d2e0584cf531f6e9721f5ed6967ea9a160c923103f3 EBUILD jsonrpclib-0.4.3.2.ebuild 1095 BLAKE2B 6b3ad06e60a9d76458d27ecc733e524d94733ed591399b42397a7f5e07c3403787019d970693328e7233f5c012727d5aa2768481a44661efa1fb20146d6dbabe SHA512 67d45824e25db9dae4348b76a1b3b4f0537cab052a1269cf1c38abeb366462221bc425abfa2959305904a4863d4b40ddafb8b6e61d74c7d357134a36d29be84f -EBUILD jsonrpclib-9999.ebuild 644 BLAKE2B 7be1f1d05de031662cd278037b18bd213dff0b33a09710636e1465286b2056d3d86ac7f6f87b93e935521738979b66faead30d49c5b99182bff62d11bf830512 SHA512 576b79cb3fe22e66842b22102b2d45b2ef6d003eb43759b0844f0cc5a9af78d77ddf6d4f8097579413e5991d874f6dd3a5c966b8bac05f2597c5be394da1e9f5 +EBUILD jsonrpclib-9999.ebuild 1099 BLAKE2B 9c3009cdf77c23d4f23d2a94ca442ea658b334c41c7bc3c3e232bee39c682909882054d2e8a1a56796236df5d377c4ebd09baf5132950c38572d57de44c02626 SHA512 17eda56097744b0bccddfa15b7ac6eb9d24baacaf75efb5215dac71c8e05fd2acb6f642fa5492c677677ff9ba7333af8ed68a06f5f287c19008c518c4e9df1d2 MISC metadata.xml 397 BLAKE2B d4a744e7de758617c06b6ff1b349941fe4d1fce423bdbef1bf0fa57561a0d6da9b670cc9d272f7b855acd682dafec54d8f437c41f8404b6bd012d107ec4a2460 SHA512 ba0c143290d42a04ef762dcfe1203de5f98410ca763cbd034611ba5fc32ae92cfcbf0aadde8ccfbe31a95c4116b9f7c97e5f7fe0c71b29690634929d64fdef81 diff --git a/dev-python/jsonrpclib/jsonrpclib-9999.ebuild b/dev-python/jsonrpclib/jsonrpclib-9999.ebuild index 0e44520cf380..e345b2715d3a 100644 --- a/dev-python/jsonrpclib/jsonrpclib-9999.ebuild +++ b/dev-python/jsonrpclib/jsonrpclib-9999.ebuild @@ -1,8 +1,10 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 -PYTHON_COMPAT=( python3_{9..10} ) +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) inherit distutils-r1 @@ -10,16 +12,38 @@ if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="https://github.com/tcalmant/jsonrpclib.git" inherit git-r3 else - SRC_URI="https://github.com/tcalmant/jsonrpclib/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~mips ~x86" + SRC_URI=" + https://github.com/tcalmant/jsonrpclib/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86" fi DESCRIPTION="python implementation of the JSON-RPC spec (1.0 and 2.0)" -HOMEPAGE="https://github.com/tcalmant/jsonrpclib" +HOMEPAGE=" + https://github.com/tcalmant/jsonrpclib/ + https://pypi.org/project/jsonrpclib/ +" LICENSE="Apache-2.0" SLOT="0" -RDEPEND="dev-python/simplejson[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/simplejson[${PYTHON_USEDEP}] + dev-python/ujson[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + epytest -distutils_enable_tests setup.py + # NB: we need to run this test separately as it breaks + # tests/test_server.py::PooledServerTests + # see jsonlib.py, get_handler() + # the most preferred (first) lib that's in test deps + local -x JSONRPCLIB_TEST_EXPECTED_LIB=ujson + epytest tests/test_jsonlib.py::TestJsonLibLoading +} diff --git a/dev-python/jupyter_client/Manifest b/dev-python/jupyter_client/Manifest index adbfba84fb3e..66d69aa5a736 100644 --- a/dev-python/jupyter_client/Manifest +++ b/dev-python/jupyter_client/Manifest @@ -1,6 +1,8 @@ AUX jupyter_client-7.0.6-test-timeout.patch 1270 BLAKE2B c039b22d8f0c2893738a1b832bb82fa19c746dae8bfa839fd16056076e9a905218201d2cfe8896c4e826a09424656657d109b12893d21fee0d8e6b6952d55ae3 SHA512 66d57b9efae86bc2531d35634f35a5d74de6d467329aaea7a487b010b582440cdb8a91e318a3c6ce7f26d9fdae6aff7adff3a59c57d053695076b9f1c092fbf1 DIST jupyter_client-7.4.9.tar.gz 329115 BLAKE2B 8b43b237ac79bc51e40e403cf4a3ada18d03437094dc1dd9b9988adb1bcfbc56ba4b2373d3dd858df583b723723127f934c01544f3d6a576886b012364674f0f SHA512 0de91309ffddd2da50ae69bff4f7ecd741398171982f66488e6367d78388c6844b353bed1834684fa4af890364120ce09f2fa6b3ed7778c501058ae558439969 DIST jupyter_client-8.0.2.tar.gz 333904 BLAKE2B e5a6ba4d2190150bed94b4f6ed80d7b043643341e925851ad073d65d78984ba37bf9ca2563d5fdd6cd79aa104b271ef0585d5e478ae3394b5ef478060ae71d4e SHA512 80944e5727a41299e2e05807460c399f6186409817e53b9385cae15e0f6ea5c5d85b76940157195f5b2bd1fbf4b6a38614ab4efe7aefb13744eb9fde5836d70b +DIST jupyter_client-8.0.3.tar.gz 334366 BLAKE2B 04ea6e8206fe0b741da1ba0d17cb559657824c20f4fcff48fd0ce4287dce7da9a151000e7a0f08cbf3fa6b1868d8d7e424d49d70a258283466350946f4ce5220 SHA512 27eca49e44c13d819624c6ab596b24b9b469f82a788920eb4db02cee43c2efdf22ea68bf282f5f4ca28d38c9238d51d70d7aa214f2c3b8f6c2a7ebcaf12d567c EBUILD jupyter_client-7.4.9.ebuild 1209 BLAKE2B 8889fec0b7f86f01bae55a528e69c7b04804cf11c7b9782c9ef334c291b0c2adf2750193b47dbdd4fe0295e7ffb78e36825e06411a0f9c2a197e3d33967c7588 SHA512 de28921c90362a4109b783a16dd4a82f965c9e4debd2c6b22b39185e75833c44b15854b32b278de3b6c316458019732dbe0a462d38706061fdc87e75d07137d6 EBUILD jupyter_client-8.0.2.ebuild 1332 BLAKE2B 304965d7845ad52631cd0fb43042bea38c6eae5e67cbe3f85997f35dcc6b529036dc753bcbcffc95c58b5ea247d4cfd3ac39ab44cb6fb5e6dece938b1a241b1c SHA512 7bd62e11b740ec4a36798bbddc754305aee7bdfb2974d74d85fda2dfdde3078b008b9a1668332dc62f954ef9371a3d09daa95bbd0cc782c52ceb62232b06c1df +EBUILD jupyter_client-8.0.3.ebuild 1285 BLAKE2B b70759a4840e834ad7e7c860b6879c170b96612ab7960e29855cddd77f138bbd0ed43f1576a586538f61142be348eedf9950d09d9265554e56a743822c7bdc66 SHA512 3f887feb97779cf99ccb7b82ac62a192fffbc0d4d430b45c54387735d30807acbde3eac84937538c6ab9e0d3a95f232836662d75c5f0e8ad92b2c93b282b2aa4 MISC metadata.xml 844 BLAKE2B 8beea01f144f8e28b58b1bd4d0d2a32eda4b5e50e479c83ed940cd6894d581aa22418bc2733910465cb6980134c3a29b63a6e31f595d037b9492337285837ac6 SHA512 73f427cc561e728c6f941052a4b6f9c6ec5c9d6ba3bb601bc58313687dfc8d6ed3602e1fb2f7f0ea00aec4360c8c1200334675917d22092ed79585b117865ebd diff --git a/dev-python/jupyter_client/jupyter_client-8.0.3.ebuild b/dev-python/jupyter_client/jupyter_client-8.0.3.ebuild new file mode 100644 index 000000000000..49f147de433f --- /dev/null +++ b/dev-python/jupyter_client/jupyter_client-8.0.3.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=hatchling +PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Jupyter protocol implementation and client libraries" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter/jupyter_client/ + https://pypi.org/project/jupyter-client/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/jupyter_core-5.1[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}] + >=dev-python/pyzmq-23.0[${PYTHON_USEDEP}] + >=dev-python/tornado-6.0[${PYTHON_USEDEP}] + dev-python/traitlets[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/importlib_metadata-4.8.3[${PYTHON_USEDEP}] + ' 3.{8,9}) +" +BDEPEND=" + test? ( + >=dev-python/ipykernel-6.14[${PYTHON_USEDEP}] + >=dev-python/pytest-asyncio-0.18[${PYTHON_USEDEP}] + >=dev-python/pytest_jupyter-0.4.1[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # TODO: times out + tests/test_client.py::TestAsyncKernelClient::test_input_request + # TODO + tests/test_multikernelmanager.py::TestKernelManager::test_tcp_cinfo +) diff --git a/dev-python/loguru/Manifest b/dev-python/loguru/Manifest index 48f4c60ec73d..a53cb8fe06b3 100644 --- a/dev-python/loguru/Manifest +++ b/dev-python/loguru/Manifest @@ -1,4 +1,4 @@ AUX 0.6.0-typos.patch 2236 BLAKE2B 8eafa371eec73761664e8f92a6abbc6df011f4ab8a9afafddd19b804611936c95d2cc05af97f1e709dff62baedbc16f10ce7326fa3450e8ca45c0011ab2f0ed9 SHA512 0c5e6d225eabeda3b791679c426bf8393b034cce797462264d4d39ccbc630641db978f0cd8f7844b0fb5b983bc5be8a4c8174f9da703936f3d5b4f9b55911677 DIST loguru-0.6.0.tar.gz 417660 BLAKE2B a7b7d95ffcf652769503db3423768ff85a4fa4898f0e2b155d96ce0c42fa7f24255f9dc49ba62e8a4f19bb3b7cc8b374580fe0965c9683b14d9bcea9866e71a5 SHA512 6ca7087cde3b4ce11255e31af988e5e118a7ebfbb338b97ebd6e7e4af716f0301c0180a59b18c879fd799c25802b428411b868290b7593212f06d70bcbd6a9ca -EBUILD loguru-0.6.0.ebuild 719 BLAKE2B 8037406653db52b97f92af2d33508a6bbc72bdc5e817931ffadc9bbf39e11420fc76eec4f17fa31e68db5ffdc2d40e6ee01350895f140eccfbf82a6b746dc3d8 SHA512 dd24839feb17fac67d8d3e9b5ee8857a4127a985835bfc724b224d127040bdecaf77ae3e619949dbd6b670132853cdaf501327a28dbab61d27e68982518aaaa2 +EBUILD loguru-0.6.0.ebuild 629 BLAKE2B c44341ac284409f63fdaa67634e90285ac6bbd9c6f923bde913fd7e8fb71e6531bded743301a4398524f42dea247c304f679cf1d0f66582be6bf84032df56d51 SHA512 16e03d9f626f78e0bfb260384bdd4b86bb7989c175bab77e995003676c8c8572e57fd9bbbfc57fb19f92093ba09d892e4c6ed3f5fa6b1d0f5c2ab7f27aca301b MISC metadata.xml 684 BLAKE2B 983bdc7e62a6532def7c1f368fee4e9e6cac5357a5de859c181775b02d7e3fa2c0b035d7fb7eb4126cddcbab24d01d8721d89baaade8d328fb1b600c689695ec SHA512 bbd545f9f8d643ee8a402ef97178191c67aed817f765eb45e3cda90c6f765a4a32837098becfb9af6fa9d704107676d5b5f2ed7e00630ef0c98b2b1b689c6cc0 diff --git a/dev-python/loguru/loguru-0.6.0.ebuild b/dev-python/loguru/loguru-0.6.0.ebuild index 1171ea803086..448dcd9ac6b0 100644 --- a/dev-python/loguru/loguru-0.6.0.ebuild +++ b/dev-python/loguru/loguru-0.6.0.ebuild @@ -15,10 +15,10 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~ppc64 ~x86" -RDEPEND="$(python_gen_cond_dep 'dev-python/aiocontextvars[${PYTHON_USEDEP}]' 'python3_6')" BDEPEND="test? ( >=dev-python/colorama-0.3.4[${PYTHON_USEDEP}] )" + +PATCHES=( "${FILESDIR}/0.6.0-typos.patch" ) + # filesystem buffering tests may fail # on tmpfs with 64k PAGESZ, but pass fine on ext4 distutils_enable_tests pytest - -PATCHES=( "${FILESDIR}/0.6.0-typos.patch" ) diff --git a/dev-python/mss/Manifest b/dev-python/mss/Manifest index e76ab2713b26..e67de03d76d0 100644 --- a/dev-python/mss/Manifest +++ b/dev-python/mss/Manifest @@ -1,3 +1,3 @@ DIST python-mss-7.0.1.gh.tar.gz 91121 BLAKE2B 67061500cf751b76d8507b164f17caa028261a5a52107603249cab4634205c52518231e0038428cce7a219effcf07a951056ae44a09cbc2dc01f10aed984db6a SHA512 efdbfc94a1218842db109e2dbd0659bb426a958050c9a3dc5802f018727bcbfeb3ca8dec6bdec914c894f4153cbd1994cd3ad976435407b271d127e957b1fda6 EBUILD mss-7.0.1.ebuild 990 BLAKE2B d5fbdf943d7bd4a3b8f4c22bdf8b1650d3cd7b2961898e9784a8f31c916a6f1d52cfcebbf7a6b0f04cc7483da9519ef5650cc9ecb0290005a5b55d7afbb5b26d SHA512 9099a473550427979f7e6094b501f06c3967bea9604a47778f55b4843b094bfc0eaa4a1ba5af3c87d8f94f757ff193f9de10edbff2f06b11c3636dfa76e0207f -MISC metadata.xml 450 BLAKE2B 5bf230054772ec75d1ed1b39bb90f43c22e6208886610233d0ac994b583e8b3796b5f751dc2052c68f522697d7f4bcc953bd71c4ff47c1180a3c19b4c6386f1e SHA512 b74cc39aab2f863095568250e6b8a447e92386841127d6f0f62a1c8465481ed40879db733260fba2a9e575290c0a380e477e323b63e95bf47379efe1996908b5 +MISC metadata.xml 508 BLAKE2B 8ad413bd8295c6a6634ff4a5cc2369d1f803f9125582641db1c8e5242d4617be1f87a1d9fcb793af6c2da034d3b8cb2b8ef5b9283869edb356b13b99db2486e8 SHA512 72f4189301f98bcf30d6c9e9d567db4cab2714308cdfc6917e7f699042d2d04b336fd0c5fc0a6603602ad1cd3865dea003224152e8a92c7a6b05624235210aa3 diff --git a/dev-python/mss/metadata.xml b/dev-python/mss/metadata.xml index 2a021953ee2c..f0ed9e57b5f5 100644 --- a/dev-python/mss/metadata.xml +++ b/dev-python/mss/metadata.xml @@ -11,6 +11,7 @@ </maintainer> <stabilize-allarches/> <upstream> + <remote-id type="github">BoboTiG/python-mss</remote-id> <remote-id type="pypi">mss</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/odfpy/Manifest b/dev-python/odfpy/Manifest index 15f79cc585c8..37c62d951165 100644 --- a/dev-python/odfpy/Manifest +++ b/dev-python/odfpy/Manifest @@ -1,3 +1,3 @@ DIST odfpy-release-1.4.2.gh.tar.gz 10065808 BLAKE2B b339cb44604552ee530d8fa8385d753c1f9210f9335813ab279150b16d36f72263fc02c0d2c01ce4350dd3c81b94e7e9f394ce8ec2d85372eb972558a86ded0b SHA512 75368010c015e13302d2b43228ef9ed1f6c9307da60cf199098609729b008c69836511c953dbc730f3097124878b1fa6de7e8d5f49e20716062ada747698f84d -EBUILD odfpy-1.4.2.ebuild 782 BLAKE2B 42a197e1d6cd55b9bf297fd484a86b448ee527361e50c8b38d09e33a58b94c37dcc6e3d807653e9240e9cb7407016aefa6c75f1d1210e55cc9e581d73a815750 SHA512 c963486c2f326e22a5ef4affb5010988f293015e8598c154fbb0a5a2d95510607acafe98e64295ffaa249e5c3b4a27822fabdbb523741eeebe1b5e9d459186c0 +EBUILD odfpy-1.4.2.ebuild 782 BLAKE2B 2310ceff864722eb45602aa73e6127d8a9d3bc92356ef9bbc4072bb05238b540550b8f0f0ec221694c368eecc7b57225ea4f6c2ec356bebadbe58c0f88dcf532 SHA512 82e78ce29414810eff1d910e67aa56d222757cd0bba97d86dd507c3254a27e3a05455ac15553e5022ace1708959d85349c1eec2869d4fa11303f903f35abd2c6 MISC metadata.xml 382 BLAKE2B bb1bb4d6968f087d5397390f1a727e2402c3c99be82836c60253f83bf06489c6a2c1f3ea4fecd5549942a1ef76eff48ae882ca1cd5a6dba4e244b058e506aace SHA512 48bd2f35ee4f6cac6e56512314398c8e5d7166c0f131ce181ecc0d246e5882b422b7d11cc6dd6af99c79fbf5ef673341282a34ba1e57fa0a3d704b172b5ce6e5 diff --git a/dev-python/odfpy/odfpy-1.4.2.ebuild b/dev-python/odfpy/odfpy-1.4.2.ebuild index d5e65ce11eac..7e050a934c1e 100644 --- a/dev-python/odfpy/odfpy-1.4.2.ebuild +++ b/dev-python/odfpy/odfpy-1.4.2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..10} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit distutils-r1 diff --git a/dev-python/pdfrw/Manifest b/dev-python/pdfrw/Manifest index e5a2f0345ce6..c4823a24c1c6 100644 --- a/dev-python/pdfrw/Manifest +++ b/dev-python/pdfrw/Manifest @@ -2,5 +2,5 @@ AUX pdfrw-fix-import-collections-warning.patch 1450 BLAKE2B 143b5365d1d79cae346e AUX pdfrw-static-fix-import-collections-warning.patch 527 BLAKE2B e7ccd07d60e5afd7c98b81c1f6209ef539a6b0bed3ae4a96e6179d86bd73bdb6e4f673242730aea2e3535fd2a35b560f2d2bd8a84d0599f52e0525b7310088f6 SHA512 6d626d216c3201145825faf7d042b516a18bbeb570b098c46abccdfe85fe5613d166c8256a6b240a35aeb527a4c2b555fe2059a0fcbc0310ce9432ee26cdd11c DIST pdfrw-0.4-1.tar.gz 143615 BLAKE2B 281dc94c762dcc776e2c9c84609b59ca32387510bcfbec39271a6073533f9ad5d416cf4250b3dcd8564973d197ce090719c5561f58b972c89d463b90723ac8e6 SHA512 f2ef6a966cb1b947425679e6c16e658b5d1dbc13d62fb2e1edc278508b03f6c6847b3c83dab8bcd7df3438e587df066bc16b653461ae402bb8688ddb05f4e886 DIST pdfrw-static_pdfs-d646009a0e3e71daf13a52ab1029e2230920ebf4.tar.gz 25243391 BLAKE2B 5c491d56c9731352907787bbe10b8b3ac362f0c7892ddcd15a1299d3b2b4bb604662f6231aa22478290992a345e769af2e2c2459a25a16c370ea05fa68101f80 SHA512 9bf1d5ddc8f55b40b50041e745579406bb0036fb7795ac40064aad7cdf592869051ba84a5ab080042e237690bb2f1811b86b2a4424535aa4c367f6e29a0c34eb -EBUILD pdfrw-0.4_p1.ebuild 1520 BLAKE2B d3c4305efbf2b9f0dac776c048889314c0f61fc4baeb6c1d0f34f1e64aab21336f36162030f5deb38dfd8252405f81f60a92cd80e96ba4335b32dfe7cb7cf33a SHA512 f43178cbc983d1f3a94904bc4c865f1c09320a6c4854173fb6b406bb78e0e40c6e5537cfd0cbbddd8333327600d28480ec8a3432d6d85ca31d4eeee6a90dba9f +EBUILD pdfrw-0.4_p1.ebuild 1520 BLAKE2B d1e6ac02def814b3e63b329a5b45feb3b76df661555e7e9a080673d7d340d1005e0031a08e042905bf300c81ebf9c083f9775fd46a533ab357c3dbcce1aeaac2 SHA512 3c554b58fe462db0253d1449c16a1afbae1ea8d1ff911b93fd0d7ee5e4cc1ed8ac8aa37a83ebd39dd5d72ddf2e7e8010ff9c413ec9644e02ddd8adc1e1753a44 MISC metadata.xml 313 BLAKE2B bb0dd3d325f20e2f95425bb7ed1af4e27a9fba6fc6e19a1eb6731480553f4733bf44ebe97d2e5e89d25fef0553beea5550e333775e67f6ba26244573548305ef SHA512 15f2c5e02a14ee2d347bd3a7f88db58d3d7871d41ace1ebe66f07e56e4a36fa310128ca65bd5670360917bb8411bbec832c188df9b53ffe7de10a9c6aa033b21 diff --git a/dev-python/pdfrw/pdfrw-0.4_p1.ebuild b/dev-python/pdfrw/pdfrw-0.4_p1.ebuild index 3bb2b9690104..754c7bea210c 100644 --- a/dev-python/pdfrw/pdfrw-0.4_p1.ebuild +++ b/dev-python/pdfrw/pdfrw-0.4_p1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{9..10} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit distutils-r1 diff --git a/dev-python/prov/Manifest b/dev-python/prov/Manifest index 98fa7f62885f..5c1bd8a5d53a 100644 --- a/dev-python/prov/Manifest +++ b/dev-python/prov/Manifest @@ -1,3 +1,3 @@ DIST prov-2.0.0.tar.gz 131878 BLAKE2B 65f14ad3a7dc6e10d03b0d778be02d3a3a7e4cae7b8aedf54117446eefe51546fb30e9ca602b2d5780fab8abde4ed1d56ed7385815db64a7879623a481b050be SHA512 6d05c88855f23d5dc22b0eccce0af935c0ad3d227b7a257ff205ad8566ed9607f614c13427ac8dd922e79bd477ca125b9d3f9492f5f65ae55ab8e8f3b9b97307 -EBUILD prov-2.0.0.ebuild 717 BLAKE2B f9a99ff5cedd06cb9edd65b27c1add25512cf35a9631e65d81f21dad038f02873bb7d0f0abfb50f839a2a9a861ae465ce04ddcfe0387795371c68ad1835bb66f SHA512 a5deac7abe245d5d1710486255c43a34807de987b13aa8720b8f156046fd8dc68fa49cf7a578d4935b7680fc9162a04934957cc65e8beadc4f98f74f137ac70b +EBUILD prov-2.0.0.ebuild 678 BLAKE2B 566463e17f24c15d150cec103f290d620a239c1872328478eebf1b57d748f5d5e43789b4bc9eb8fd3ceaa529edca2ffcf07b2be425e20a4746ef11d1ec4e2f67 SHA512 aed3357b18cc33d3d6ddfbeb54583117ac537797c515fc9a3e600b90286e2c11c0b29c67b2833f0b02676f933a3b97fa9a538cc62f85eb4975a700d63f709a3b MISC metadata.xml 483 BLAKE2B e64325a9425e580d710b5e6e9c0a9489511ee498ff21939a8dbc9b2cf99e200537fa3805f63c6979417bc0a93667331a0a110c7fd68d2b50dcaf922805d83f76 SHA512 2bf7acb753672966a04fe20beae0422bd61c29859c672cc5151258133d408713c6b863b212930f9fffdb85bc138c7cfe0afd5079f11d3c81ad96282e66d8bb54 diff --git a/dev-python/prov/prov-2.0.0.ebuild b/dev-python/prov/prov-2.0.0.ebuild index b911105584c6..a8850b2716c3 100644 --- a/dev-python/prov/prov-2.0.0.ebuild +++ b/dev-python/prov/prov-2.0.0.ebuild @@ -3,12 +3,11 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..10} ) -inherit distutils-r1 +PYTHON_COMPAT=( python3_{9..11} ) +inherit distutils-r1 pypi DESCRIPTION="W3C provenance data dodel library" HOMEPAGE="https://pypi.org/project/prov/" -SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" diff --git a/dev-python/pyalsa/Manifest b/dev-python/pyalsa/Manifest index 31ef9d6ed8b2..a16ce662da56 100644 --- a/dev-python/pyalsa/Manifest +++ b/dev-python/pyalsa/Manifest @@ -1,4 +1,4 @@ AUX pyalsa-1.1.6-no-build-symlinks.patch 682 BLAKE2B 046f4cffa0b08a32360356d82384148b805544b6f05e44ec329bef2299b67e46c68401b800761e9dff2141b22bc029a55fd5cf01cd5cdb533303aef91a2bbe0f SHA512 fd3937df5a69326908da942a8926e10221bb85693c863cc06ca363ca8fb07761173d2b51113615970887442d8779b2e9ff468b927b078acf52620e944b71b779 DIST pyalsa-1.2.7.tar.bz2 40132 BLAKE2B c100d16bd8c0d9fc6eddcda360f3582c55ed1b143a58a49caf76a62494882952d311271941ce0ecdf57ac934f3564dc922c80e8a5f5742b593341ff4215b700c SHA512 126501fe7b9c006f28e9290bdd3ad907ea9e053b71e21e2c6f0b0beeecdba07b4b557014041b03452f96be690f59f2e647e075487ee87054f21f66df7f39b34b -EBUILD pyalsa-1.2.7.ebuild 663 BLAKE2B c53fa11f58e412254ac3e8a0ab9ffe386c68f2ef79f998308b52b6cf54dd6083d5caa953f8378b65dfa54e7e3a1a64edcb56b0d1cd93e42cd29ef219bb40595b SHA512 cae7dcd99d075b8a424d9d09f5e6a6bd7a1341c027c4bf45f13be073da30bfe0b88629d089167113f03ad69c41ba9eaaeb87a9591ba8c51ec95f67646f27ee61 +EBUILD pyalsa-1.2.7.ebuild 980 BLAKE2B f27d5b3de6b41fc70fb4e1764c4e02ff09190a3afd43f9f41baafccf965260b78c47d4073a67abb3917e274cc80ac8f6f91073b820c53ad2e7d8132df322ad93 SHA512 6a52512e4c9a2af5199749e894b4bc8daeefd96cf13a7ecd6ebeaaf15a5a12685bff87e986e4637e760f73ffdd1ffbcba5a89438961c4fdaf3c339be1413bd1f MISC metadata.xml 491 BLAKE2B b44d13fa5ffd8b1eceaedbfd6b4fa564d93b99be45dec176817a9665153988d6a91f892edab698e50d2ae761edc7ec11371fa07ef3dd6976977c7dd84f9ba9ae SHA512 bbafa414b3416db7abb27921ce74d532f4b16f145a91f46075be9abaf6cf46017e8cd17c61fa019c662fc93ff9286747822b4ec8f6d19f69857cc3221e3f9a25 diff --git a/dev-python/pyalsa/pyalsa-1.2.7.ebuild b/dev-python/pyalsa/pyalsa-1.2.7.ebuild index 9d79adb5891d..3840bf92b6eb 100644 --- a/dev-python/pyalsa/pyalsa-1.2.7.ebuild +++ b/dev-python/pyalsa/pyalsa-1.2.7.ebuild @@ -3,9 +3,9 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..10} ) +PYTHON_COMPAT=( python3_{9..11} ) -inherit distutils-r1 flag-o-matic +inherit distutils-r1 DESCRIPTION="Python bindings for ALSA library" HOMEPAGE="https://alsa-project.org/wiki/Main_Page" @@ -14,7 +14,8 @@ SRC_URI="https://www.alsa-project.org/files/pub/pyalsa/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86" -IUSE="" +# Needs access to system's alsa configuration/devices +RESTRICT="test" RDEPEND="media-libs/alsa-lib" DEPEND="${RDEPEND} @@ -22,4 +23,22 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}/${PN}-1.1.6-no-build-symlinks.patch" ) -# Testsuite appears to require installed state +python_test() { + cd "${T}" || die + + shopt -s nullglob + local test + local failed + for test in "${S}"/test/*.py ; do + ${EPYTHON} "${test}" || { + eerror "${test} failed with ${EPYTHON}" + failed=1 + break + } + done + shopt -u nullglob + + if [[ ${failed} -eq 1 ]] ; then + die "${test} failed with ${EPYTHON}" + fi +} diff --git a/dev-python/pydocstyle/Manifest b/dev-python/pydocstyle/Manifest index cd139228149b..b3c3a7c7d616 100644 --- a/dev-python/pydocstyle/Manifest +++ b/dev-python/pydocstyle/Manifest @@ -1,9 +1,6 @@ AUX pydocstyle-6.1.1-disarm-pip-install.patch 1001 BLAKE2B d82d9b358cdd6b517cf64f5b620e767342ba6230ebda715e039be2b5bdbef639ad5d0e715f033658887bede3ee330da79f2a6ca3e1a597466f3bbffdd617d371 SHA512 434a576cad8fe6a2c8086893982887306ad6b4797c1ed0c3682782a3a9ec1109fc48d94ad469cd11128232d773d5beaef2cfc1c9a68c0386581e4864d43371fa -AUX pydocstyle-6.1.1-tomli.patch 2889 BLAKE2B 9e246941b41b19ee463f50e76075f3cdbc47ce48af6e6678e22826c5e184629a7fe6532540f7088174cebce4dfd97099e79eb9e106ef342af3814cf6d72a1755 SHA512 2e34de862def3f56e88e5feb0dfb1fc8f634f72c7796735c55d8830245a3dff1b95f5199d99299b87a680c8debaf5e7e1ced934a1bc07122d2faff1df54601ae -DIST pydocstyle-6.1.1.tar.gz 73982 BLAKE2B 6a896221fdcd257f0475472e1cf87ef892d8292a4c0faf661595adb17e2d18f4a8277cda498197309d34597c448203856c272256277a7e35fba20e2e5ba47f2b SHA512 ce4932a6601c80d05a46600f5af7df54798025a5f3dc41ab8cf1bc0d63e7f78b70cccb17dc99ddab25eda9abd639f91468fca1b1ceb4539708350212e481a156 DIST pydocstyle-6.2.3.gh.tar.gz 77612 BLAKE2B f94b9c8232a3e96dad1d84d37bf7cc53f114edfddbd0dad725ff3bb79f39576a5fceff5a2b962e284e9d0d96ac8d71e5aa0406322af4bf8fdc73910348ff9190 SHA512 b275bd2367a3a6d4636a2879f503da15b9965bffe2750db87cbd3ca09fc3353a481a9c38e1b35b3b2aeeba019e9dd393d2cb65db2820d6343fb4c9881f7e6deb DIST pydocstyle-6.3.0.gh.tar.gz 78058 BLAKE2B 551da9af8baebcba4f1053e0d9495bff039a98c96ad229219cd37ac8ba9e3002fff8a136c5148144a5f84ed94a1414364d7c827ad010038f63961ce17a260ee3 SHA512 f8473b19ab6ef0b61787875558f9dd6f9f7f1954e1baa0010942af6d4de8dbca30c8c08be6acbf24aadd1c0a601ba9467b747026a6cd22379f0c4b84a38b57c7 -EBUILD pydocstyle-6.1.1-r2.ebuild 989 BLAKE2B 0acd5c9f401b014438e19fd2d2059bc40464ef39ba10a43b45d681e3859f8db8a34d4b3d8e67d9d6ad5900fe3555e3d850f9e6c33485e0f0190986a1eb793824 SHA512 f2ebc6db099175342d8c9d83fdf54623a35598c17a4507923efe4dd4d7c3dc18e961a8e4e9bce7da0bc73f481cba062452ecd4a1b6fc5db08df19eaee28738a6 EBUILD pydocstyle-6.2.3.ebuild 1079 BLAKE2B 0ca1232e6a9bbc2013cfc1347048f82102e8de91c08928f2d2ef2a4019880b2c9ba686fa0c3f39b6d2a711e8cb8126d06280dc7602b592a92220a34bc84121fb SHA512 70f882a88360e2ae12111dfaa474f8286a075f188f2bad3e7009d2865082d57c42bcc2d89d18df57482854c8ce5fef833afddbb15866c1e02b176e6aeaee6721 EBUILD pydocstyle-6.3.0.ebuild 1079 BLAKE2B 0ca1232e6a9bbc2013cfc1347048f82102e8de91c08928f2d2ef2a4019880b2c9ba686fa0c3f39b6d2a711e8cb8126d06280dc7602b592a92220a34bc84121fb SHA512 70f882a88360e2ae12111dfaa474f8286a075f188f2bad3e7009d2865082d57c42bcc2d89d18df57482854c8ce5fef833afddbb15866c1e02b176e6aeaee6721 MISC metadata.xml 665 BLAKE2B ac358d1ac5d68d11710048ccd4050f45cee96788829ee806bc5f4364c0f6b03707dcf15dd0cb9e7e3870cd9feebcead3c44b8f6bbff6738aa593079685c2a3c0 SHA512 7642d1384de3ec4bd55f7afc69ce67ad018eb9294f104234c5f3eb23a2c7a5ab36bda890a440fb5a7af8045d215048caf4b15bb3d965f414b755b51a269337cc diff --git a/dev-python/pydocstyle/files/pydocstyle-6.1.1-tomli.patch b/dev-python/pydocstyle/files/pydocstyle-6.1.1-tomli.patch deleted file mode 100644 index 8be2adca5ba1..000000000000 --- a/dev-python/pydocstyle/files/pydocstyle-6.1.1-tomli.patch +++ /dev/null @@ -1,90 +0,0 @@ -From 4c9ed77d3629a69febdaa14d153d3db869b58e4f Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Wed, 12 Oct 2022 16:37:40 +0200 -Subject: [PATCH] Use tomllib/tomli for reading .toml configs - -Use the built-in `tomllib` module in Python 3.11 and the modern `tomli` -package in older Python versions to read .toml configs instead of -the unmaintained and broken `toml` package. - -Fixes #599 -Fixes #600 ---- - docs/release_notes.rst | 1 + - requirements/runtime.txt | 2 +- - requirements/tests.txt | 1 - - setup.py | 2 +- - src/pydocstyle/config.py | 20 ++++++++++++-------- - 5 files changed, 15 insertions(+), 11 deletions(-) - -diff --git a/requirements/runtime.txt b/requirements/runtime.txt -index 80302751..b4e9ca76 100644 ---- a/requirements/runtime.txt -+++ b/requirements/runtime.txt -@@ -1,2 +1,2 @@ - snowballstemmer==1.2.1 --toml==0.10.2 -+tomli==2.0.1; python_version < "3.11" -diff --git a/setup.py b/setup.py -index a9c5df1c..6c0671c7 100644 ---- a/setup.py -+++ b/setup.py -@@ -8,7 +8,7 @@ - 'snowballstemmer', - ] - extra_requirements = { -- 'toml': ['toml'], -+ 'toml': ['tomli; python_version < "3.11"'], - } - - -diff --git a/src/pydocstyle/config.py b/src/pydocstyle/config.py -index ed00c874..db7ed1b6 100644 ---- a/src/pydocstyle/config.py -+++ b/src/pydocstyle/config.py -@@ -4,6 +4,7 @@ - import itertools - import operator - import os -+import sys - from collections import namedtuple - from collections.abc import Set - from configparser import NoOptionError, NoSectionError, RawConfigParser -@@ -13,10 +14,13 @@ - from .utils import __version__, log - from .violations import ErrorRegistry, conventions - --try: -- import toml --except ImportError: # pragma: no cover -- toml = None # type: ignore -+if sys.version_info >= (3, 11): -+ import tomllib -+else: -+ try: -+ import tomli as tomllib -+ except ImportError: # pragma: no cover -+ tomllib = None # type: ignore - - - def check_initialized(method): -@@ -59,15 +63,15 @@ def read(self, filenames, encoding=None): - read_ok = [] - for filename in filenames: - try: -- with open(filename, encoding=encoding) as fp: -- if not toml: -+ with open(filename, "rb") as fp: -+ if not tomllib: - log.warning( - "The %s configuration file was ignored, " -- "because the `toml` package is not installed.", -+ "because the `tomli` package is not installed.", - filename, - ) - continue -- self._config.update(toml.load(fp)) -+ self._config.update(tomllib.load(fp)) - except OSError: - continue - if isinstance(filename, os.PathLike): diff --git a/dev-python/pydocstyle/pydocstyle-6.1.1-r2.ebuild b/dev-python/pydocstyle/pydocstyle-6.1.1-r2.ebuild deleted file mode 100644 index f3c4f96d22f6..000000000000 --- a/dev-python/pydocstyle/pydocstyle-6.1.1-r2.ebuild +++ /dev/null @@ -1,43 +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=( pypy3 python3_{9..11} ) - -inherit distutils-r1 - -DESCRIPTION="Python docstring style checker" -HOMEPAGE=" - https://github.com/PyCQA/pydocstyle/ - https://pypi.org/project/pydocstyle/ -" -SRC_URI=" - https://github.com/PyCQA/pydocstyle/archive/${PV}.tar.gz - -> ${P}.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -RDEPEND=" - dev-python/snowballstemmer[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.{8..10}) - ) -" - -distutils_enable_tests pytest -# Requires network to lookup github issues -#distutils_enable_sphinx docs dev-python/sphinx-rtd-theme dev-python/sphinxcontrib-issuetracker - -PATCHES=( - "${FILESDIR}"/pydocstyle-6.1.1-disarm-pip-install.patch - "${FILESDIR}"/${P}-tomli.patch -) diff --git a/dev-python/pydot/Manifest b/dev-python/pydot/Manifest index c68606aed58f..742409ba6ffd 100644 --- a/dev-python/pydot/Manifest +++ b/dev-python/pydot/Manifest @@ -1,4 +1,4 @@ AUX pydot-1.4.2-pyparsing-3.patch 738 BLAKE2B eb89ff2dabde77e8fcf9fdcad29cb9080d0c290457140b67eb697ebba50cbcb48c0cc66058defcf110d3aa414f9e98d6af136a862e2dcda1f27a2bf0d3a0df5a SHA512 c917ad4943fc0cca00f13eeb0722f476b2c57ffaecdab9c54714e32dc1fddce3006d9a10d4f7947dd0f1272133901fbf46271f4524b1d7758f43c6ef352794c0 DIST pydot-1.4.2.tar.gz 272678 BLAKE2B 966f2c4ef3e26a63cc50ab89b5b6b5b413aabdfeddf994f2d5ba9dedaa1ed3152dd8060186e7380c3e768b783f7bfe1971cd600c18d1b73f7ac63db08ee3ace9 SHA512 caa8051561710129b5164fd1392da941829fd977092a6ec8b00efe7a199d2d60bc7ef13cb0e51615f384550f0fb80190d0f56b83d8d80d1fe372efb5dbbd3632 -EBUILD pydot-1.4.2-r3.ebuild 926 BLAKE2B 0872a71a0cc101aa8970dd59e0271c37cf9c19a8e97205051923eb54fa95e276d158563e3ddd4ace0fe276f8f76b64de9baf1020926bf86a0a035207260c8251 SHA512 0757a1e5507e57c9326deb5e9743f7fa5b502a773d34f102f246e3c88555772a484dc4ce53fbc7442a075e3ff8559bc59291e13d9be2bca0b15dc36ad000a49b +EBUILD pydot-1.4.2-r3.ebuild 926 BLAKE2B 17f4ef7e9d47ba0ffe558cf466b7f23c5ff50404ae10f6ba0c0cd15e9a5782c11ee083468e7313bf38da56b7e762c9376f007ad5a4acb3711f907c32f7e13fbb SHA512 6b5e89e53568290b06e3168d156da7c56d779ef1432c69392e3cf14b1dcfa63a8f2639b3e8205bc41cb8aa87b5c118b84498c47cb05c169369ee42878ff815d3 MISC metadata.xml 372 BLAKE2B faad24394ef27dedc8b563e505444b414fe95cb6097bd2bebe01232e68c975b77d415c2a05ec1ad19f0ce1218d1c3f057beea6deecef01b940962a287ad8ce46 SHA512 281a6e2097fcf978f7e691640e257a5f60b242570f8a5715e078363c5658b96b50d3c29ccaad448c0b2ac3dd7b898dcae457bafdb08952163de8d1af81954d75 diff --git a/dev-python/pydot/pydot-1.4.2-r3.ebuild b/dev-python/pydot/pydot-1.4.2-r3.ebuild index 264ba8777f16..3e99bb59fe68 100644 --- a/dev-python/pydot/pydot-1.4.2-r3.ebuild +++ b/dev-python/pydot/pydot-1.4.2-r3.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{9..10} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit distutils-r1 DESCRIPTION="Python interface to Graphviz's Dot language" diff --git a/dev-python/pygccxml/Manifest b/dev-python/pygccxml/Manifest index 82a68d4f6897..7757da6fc6c6 100644 --- a/dev-python/pygccxml/Manifest +++ b/dev-python/pygccxml/Manifest @@ -1,3 +1,5 @@ +DIST pygccxml-2.2.1.gh.tar.gz 3170283 BLAKE2B b53123c59d098f56d97841225d10ffd4156b993244e48c4ad30e2f62b6d95d69e0ae4bbfc86bb492e88e8f52d916401f29a6ec7024277d1e32b3af691a12e919 SHA512 32013617d4d632617b616d3787631c5b09da441a87bb15b88e3b287f17b85e1388308e85dd385276966ac09114536a5863edd5fbb96539547783fd2d41c6e8ce DIST pygccxml-2.2.1.tar.gz 3170283 BLAKE2B b53123c59d098f56d97841225d10ffd4156b993244e48c4ad30e2f62b6d95d69e0ae4bbfc86bb492e88e8f52d916401f29a6ec7024277d1e32b3af691a12e919 SHA512 32013617d4d632617b616d3787631c5b09da441a87bb15b88e3b287f17b85e1388308e85dd385276966ac09114536a5863edd5fbb96539547783fd2d41c6e8ce +EBUILD pygccxml-2.2.1-r1.ebuild 843 BLAKE2B ccab1cc7fc8377bea1f9c6af6743749d386f1914a3040e9819997ecb55b216ff013f08e04ac88d7e28556ae417a60cb443f35610da4420fbbb5cb210e56c8289 SHA512 6850678fb90a06e4461f379632d981060a1e278cf45b9bff0d118457f53304c5ea632b43a08900d7bb7714a5790d37446f918b1baaa006ab40c45032ed1b87fa EBUILD pygccxml-2.2.1.ebuild 622 BLAKE2B 3c0d126650e2606380f9a17465361daa876cb3a794a566c2ea9d2a5d2444cd544851ca17620d89a65aa423684c1207228ac478fe144772d261ea4c1a2747e8b3 SHA512 644da08482233a4258f40326ec3d1b387a9da4d55a262703ff63323db9c26534f757570cf65f2f8c57e1512c8bfe6e49a46a338e2f6dfc4c5957c5fcffa0b913 -MISC metadata.xml 339 BLAKE2B 6a508ab09b30c771e4a962cf9d6debf8502907b91e2fea803a07f0871dbba5acc21c832d39674bf6431d6193775dacce982e3d726d32b81dee1d4fbd8ab52f7e SHA512 6bd8661c8651d51c1238fbf24a338a2179745fed87ed8012e67f163611ff5e14d50f802eddf5dc4dc7f00fd297a7734157a445a4d19163fd0df248005027b885 +MISC metadata.xml 471 BLAKE2B 7d50e5a82bc02e898dcce546775fb4b4d71277097489bc3765eface8cdea1cfa7707a1e60b33e5b5f425ef72ef4b17a7d477df38ba65e8defb4c608cd627d679 SHA512 2b87abc970fe6b3838d3a72e849f6ff84f3c23f4257377d0426d5e8853512ad2fbbb4dae36fe7be7b02664ab64b0eb87e92a42e3d84abc54540aef1fcfc67581 diff --git a/dev-python/pygccxml/metadata.xml b/dev-python/pygccxml/metadata.xml index 642c87f3644f..e8cf9b64df61 100644 --- a/dev-python/pygccxml/metadata.xml +++ b/dev-python/pygccxml/metadata.xml @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> - <pkgmetadata> <maintainer type="person"> <email>tomjbe@gentoo.org</email> @@ -9,4 +8,8 @@ <maintainer type="project"> <email>radio@gentoo.org</email> </maintainer> + <upstream> + <remote-id type="github">CastXML/pygccxml</remote-id> + <remote-id type="pypi">pygccxml</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-python/pygccxml/pygccxml-2.2.1-r1.ebuild b/dev-python/pygccxml/pygccxml-2.2.1-r1.ebuild new file mode 100644 index 000000000000..b2466d83a688 --- /dev/null +++ b/dev-python/pygccxml/pygccxml-2.2.1-r1.ebuild @@ -0,0 +1,33 @@ +# 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_{9..11} ) +inherit distutils-r1 + +DESCRIPTION="A specialized XML reader to navigate C++ declarations" +HOMEPAGE="https://github.com/CastXML/pygccxml" +SRC_URI="https://github.com/CastXML/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="Boost-1.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~riscv ~x86" + +RDEPEND=" + ${PYTHON_DEPS} + dev-libs/castxml +" +DEPEND="${RDEPEND}" + +distutils_enable_tests unittest +distutils_enable_sphinx docs dev-python/sphinx-rtd-theme + +python_prepare_all() { + # We're not interested in linter tests in Gentoo, needs pycodestyle + rm unittests/pep8_tester.py || die + sed -i -e '/pep8_tester/d' unittests/test_all.py || die + + distutils-r1_python_prepare_all +} diff --git a/dev-python/pyparted/Manifest b/dev-python/pyparted/Manifest index d525ab2ab883..db19fea2d9da 100644 --- a/dev-python/pyparted/Manifest +++ b/dev-python/pyparted/Manifest @@ -1,3 +1,3 @@ DIST pyparted-3.12.0.tar.gz 106440 BLAKE2B 824223e385a6f1bfd9c01dc4c665ddeca5b73bbc2e65a9ade8086393f3dc0ebdc11528beabe7eeec8d0b8172b49db15ad8c34425efe4db47439f1b5617f9c55c SHA512 c1779c16868799bbff0905ea908db668823d1c238b9a06bcd62b24f9681fdd1e9378e904a91eb5e426a6e264cf1f2feee984a514e9098bf10147643bf58aa918 -EBUILD pyparted-3.12.0.ebuild 638 BLAKE2B 665235cd919b851e2cf8b2b101ffcbf709aef4bee2327232d987a36ac7cae74247e6c50bed923f8063fd1b32efeb0a849d531e25899845dc0b0db2c41c8d1a47 SHA512 d96f05c0d80ccc8c61cc0ae40a4c21966cf8645f3a966dd135323aab2f49b1055ce260c249375b5da4fc63b2ead643c6fb9cd022d195bf8c7dd4c0f8d90f9b55 +EBUILD pyparted-3.12.0.ebuild 638 BLAKE2B 0284f51d8e61efedbb29062a02a0eef2498dbe89ce6671fcca2dea96576483b2d9b3e0b83ddc95876a87900952c4c3cf3489c13ae7d49c2d9f6ce41a3aceb53c SHA512 45bec59b12d1278c00d68c64694b24a6073f8a85d4f394dc94f39f1fa176e6a599f374f6a299ceb0d1dcf03d38d5db00a242feecdc0914fed832288c6bd84e39 MISC metadata.xml 478 BLAKE2B 52dafb612bb937b1451b00fd15b1f97609f0f9033c0a2dcbd080c73025e0d9cbdb1132c30803fb4e923811d852a2ea1b70c55d6cca13bc1c92777e0198c5bca3 SHA512 1e0ae2f7e920fe05c66940dc10c7e12e7c0d50de276c5fc530a8da09c336c458402b5ae773d09baba8fd68b7c09ee5cb369f3b675017a45e0ce8f6b1beafe0fc diff --git a/dev-python/pyparted/pyparted-3.12.0.ebuild b/dev-python/pyparted/pyparted-3.12.0.ebuild index 32404cf09dbc..5eb6652a4b2c 100644 --- a/dev-python/pyparted/pyparted-3.12.0.ebuild +++ b/dev-python/pyparted/pyparted-3.12.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..10} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit distutils-r1 diff --git a/dev-python/pyspnego/Manifest b/dev-python/pyspnego/Manifest index 2382b8128fc1..b14281e846c0 100644 --- a/dev-python/pyspnego/Manifest +++ b/dev-python/pyspnego/Manifest @@ -1,3 +1,5 @@ DIST pyspnego-0.7.0.tar.gz 219295 BLAKE2B 43a31b468ac52750858c74c676c29611f5294d64efe3b0b4ac31acbd0d3c8fb346fea0c396de98908ea7d03040e0d4b5e3e2adacc911413bfafad8e295fd3bb3 SHA512 0c3eeab267bc43fbc3836d2a804e25304ed245ae3f0bf7926cdfd1edd4815c6f25580c655218857ea117e63b13e0ea3e343614580096151d4d720ff6c79ab844 +DIST pyspnego-0.8.0.tar.gz 222900 BLAKE2B aa526c6506f680008ded0a86e938629ccc9ca89454d7987017903e9e5fe26204346bd4eefae3a35c641309391a4784c23e1a3e51d8a03f5ab517516e1a3a4965 SHA512 d9d6356cf9d78fde6669606df7b56f0004957ed58f94cd3965d63827df702ffc10299296153f8c089853f3b22a684e08129d607b4eaedfd332b8b82652119e89 EBUILD pyspnego-0.7.0.ebuild 959 BLAKE2B 0be1696ebd6c9d81829308fc8e24d8b1235c0b4b803af5adbdc160259b94f3a802790262aa5618bd42fd8344d51178324d3f88593c39796a57eec5a2a2ebd8b4 SHA512 88aad58536afa63a24632ba3a6da2ef6b480a9407fa0f5282ffd2c72b7aa69e83f9d194332d4826e5bff5068bacc0cdfaa1005fdd9604e53b52ed4965a1f3977 +EBUILD pyspnego-0.8.0.ebuild 916 BLAKE2B 4d026a84b061dd086f6b3829c07311368ac65291304dba5cd34b1652e4511b6178565c78450fc9adaa0f9200066d734a7427d4b00321cf5fcd22739ba7544617 SHA512 d40c2a45e91fb77d0c5acaa2640a60906f31becb33539018d8a62763a2b57e21826008f1c10585404e0772b1e17ef1f1747c11869317e2700ed12cf9c43b3ac5 MISC metadata.xml 445 BLAKE2B 2d30af32987aa7118331cb4c199b44069f6a6efc62d73eab62a31b29308848b7f7e56e026327af6c2197ee31c05fbe1885524bba7b6a84cdc0d97cc58c5fb43b SHA512 c7bbe6f161ce61409f6865f998fb4c8bd77c39011f5bbd148379912e31805773a41451163517cb7ebef99a57d6abe8f13dcdc568408ce182c0def6adf35afc9c diff --git a/dev-python/pyspnego/pyspnego-0.8.0.ebuild b/dev-python/pyspnego/pyspnego-0.8.0.ebuild new file mode 100644 index 000000000000..202be95d8916 --- /dev/null +++ b/dev-python/pyspnego/pyspnego-0.8.0.ebuild @@ -0,0 +1,39 @@ +# 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_{9..11} ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Library to handle SPNEGO and CredSSP authentication" +HOMEPAGE=" + https://github.com/jborean93/pyspnego/ + https://pypi.org/project/pyspnego/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + dev-python/cryptography[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-python/gssapi[${PYTHON_USEDEP}] + >=dev-python/krb5-0.3.0[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +pkg_postinst() { + optfeature "Kerberos authentication" "dev-python/gssapi >=dev-python/krb5-0.3.0" + optfeature "YAML output support" "dev-python/ruamel-yaml" +} diff --git a/dev-python/pytest-fixture-config/Manifest b/dev-python/pytest-fixture-config/Manifest index 63f9128f484d..92e9e791589c 100644 --- a/dev-python/pytest-fixture-config/Manifest +++ b/dev-python/pytest-fixture-config/Manifest @@ -1,3 +1,3 @@ DIST pytest-fixture-config-1.7.0.tar.gz 9884 BLAKE2B d844b07a8b7d59f6761ee71147a0945225a3f30bdd9b0751972bf6149b444ad95c49f3d5001d6414c535c1a230ed1e47ceb90b26c50324ec21165430e633cc21 SHA512 c861bbbb91efff338255734ddb4a8b615880c32a12c981160e9e7575d38adff8c5febad46bb9b4208634e39d4cfa73dec342265ccc1951168c1b12fd334cd746 -EBUILD pytest-fixture-config-1.7.0-r2.ebuild 911 BLAKE2B 5e967999b3ec96a6d818dffd16891ecf229c61c6d3351b50daaf943336f38c93d3b1dfef75b2aec5ce8d49b4174a3aaa55baf3e27d68f7897fe2fb145b8c95af SHA512 2b09aa4ed9496f857eaf6aa77a8f3f4a23cfe50afa284539a3ec5436bff92d0669627ec420cc4b911407cfb6b8c4bdd0f961a8e821129f636a855b59343dad6f +EBUILD pytest-fixture-config-1.7.0-r2.ebuild 770 BLAKE2B 0250d5ee2599900c3dc8e439652f3766757da64a57eef1ef773e0df49cfbf4b24b137c77d985ec6e9bab9b93bdc49239f3eec4c60c813133859a01fdadcd03cb SHA512 d29c743a56eb985bc5cd036a145f89fe2b336d5a69bc53f7c7e58d6faf42d2fc9052910c104a8f1b668b0476fc59b3452a9ec24d5d94e4967681e817b6d7e00c MISC metadata.xml 679 BLAKE2B 23a9fd64a55fbcfc0cf51c23fc76615611c8e9dae4b1f349e210cecaaf80a5c08518e00e99b5f20928bbce9a8ed5d179b2228b0e88eed94309cb805d477df6d8 SHA512 907d88b5b91aede0deff69f42d6fce39a79f18ee8e510feb2772cc940b5f55e52152fc95aa2e542867dfa6c6dd36e7cf96c91ffc618ae0cfed287256d288598e diff --git a/dev-python/pytest-fixture-config/pytest-fixture-config-1.7.0-r2.ebuild b/dev-python/pytest-fixture-config/pytest-fixture-config-1.7.0-r2.ebuild index 9ff59bf1482e..4ac4ef588178 100644 --- a/dev-python/pytest-fixture-config/pytest-fixture-config-1.7.0-r2.ebuild +++ b/dev-python/pytest-fixture-config/pytest-fixture-config-1.7.0-r2.ebuild @@ -22,10 +22,6 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv RDEPEND=" dev-python/pytest[${PYTHON_USEDEP}] " -# block pytest plugins that will be broken by the upgrade -RDEPEND+=" - !<dev-python/pytest-virtualenv-1.7.0-r1[python_targets_python2_7(-)] -" BDEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] dev-python/setuptools-git[${PYTHON_USEDEP}] diff --git a/dev-python/pytest-salt-factories/Manifest b/dev-python/pytest-salt-factories/Manifest index 25daafa4297e..dfc704b2af5c 100644 --- a/dev-python/pytest-salt-factories/Manifest +++ b/dev-python/pytest-salt-factories/Manifest @@ -1,4 +1,4 @@ AUX pytest-salt-factories-1.0.0_rc20-tests.patch 17428 BLAKE2B e52c44dc43f08f7933fbcea60e4ba39351cdaae79dc4037a490ae222cd41286feb308c66abe90116417f72ac0aa3c968dc30afd914545f3c08ce5f4c75d43a85 SHA512 6ac3af11d518834125fd41e9e3b49a383079cdd48888044b3009eea4f0a066fe2b8b8d20a8fc7cf6331cd8269c98140d5203dcf0f5a64504c952d8a5bd652ef2 DIST pytest-salt-factories-1.0.0_rc20.gh.tar.gz 160140 BLAKE2B 7ecd9af695626c465e5776ed218bd92f30a556394cf4af0c2b6fb87c182f8aaf2d8f998358a7eef95fae53c85a6be2d4ed5a6ff191496fcac62a97e25cf19063 SHA512 5677c6638b5dc7f90c01f2c2204e1910c2bf6ea2c10b714173d3443d4c682b5f515ad7881e2ceee66f6eaf619e399d6fa10052604fdc9c5157c58348b63c8f2b EBUILD pytest-salt-factories-1.0.0_rc20-r1.ebuild 2098 BLAKE2B f8100dc074e78206ce1da4f5a964de6f18be4c7fe1ad181c1101db5666d68532d4a65882bc62dd03e7e0e72ac6227337ce9e1467d3d348abbe8b4f684a5fca36 SHA512 be97b9ff2e501e8e9cc252482446aa00fbf253a9ee6e12c691fb9e14685c39eac710c96242d0f7c18f1ce4e068d7b61a3cc8e7f466a95512aad4c0b55fe43c8d -MISC metadata.xml 358 BLAKE2B 0ca310e1a7269e532dfe3610bf5c9a1d93ff8dcc46ee3f26322cfb0ba1fb572b521359547f49b0deb3f463efd0321e3b3bee0403878df676e3c54dbcac14753a SHA512 8eaf37e98efe76ff401c536368d1537255d09db93b4f84254b7eb291b603f6ee83d80a65e9529c7bcea8324baaff708dc12f97662dd87c57fece36a1d5d8e1c9 +MISC metadata.xml 429 BLAKE2B 84a4af391d2a8bee687c8499a7642117ee99483439c044695d5d68a546fad02f1e6e96d88a56c2eaaac0bfcb8f7df97313723fe562885c72c952f052334fe825 SHA512 f561d42e196c7d9bcfe656149ba40e94a52c84f3fe518b6039dc9c7c1d213c22bba8817bc35563049526efb59cfc6eeb1ca9c1021f635a099e81e72fbb5d3c52 diff --git a/dev-python/pytest-salt-factories/metadata.xml b/dev-python/pytest-salt-factories/metadata.xml index ba4d2cbefca7..f4e2d0cc3dc2 100644 --- a/dev-python/pytest-salt-factories/metadata.xml +++ b/dev-python/pytest-salt-factories/metadata.xml @@ -7,6 +7,7 @@ </maintainer> <stabilize-allarches/> <upstream> + <remote-id type="github">saltstack/pytest-salt-factories</remote-id> <remote-id type="pypi">pytest-salt-factories</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/pytest-shutil/Manifest b/dev-python/pytest-shutil/Manifest index ee8fb017e778..72d8256a6333 100644 --- a/dev-python/pytest-shutil/Manifest +++ b/dev-python/pytest-shutil/Manifest @@ -1,3 +1,3 @@ DIST pytest-shutil-1.7.0.tar.gz 23497 BLAKE2B e13641491fb4bd448973b8004ac9ded2f9b7c412ea93af7f9206e5fc38ea7554073374116eeefc529d2ae35e8a25e678fef5a27089af89026077a72d11d6016d SHA512 3746c08b17834621a7142ed9d5915b5c348c13367f5b423b258d3471bcb9c9e983c61c25ca936f879b8b82f80512512b7f3ade5555c24a790c72b502e3f3d144 -EBUILD pytest-shutil-1.7.0-r3.ebuild 1224 BLAKE2B 46a875ce9a5f988b128cca18ca444871a2a1b768fb8e7b23e8761591ddc3af93cb8559dba87cc3ea38cb2ed106adaf6badfd3e95c6c8ba851bb7633d1508e4bb SHA512 d6745660fa46a90b5594a614a4df8b539760a7f14ab275a7f4ae2f2edc3f8a2b42621f91f029f936c170ab33eacdd8c00b30f71bfb8f38237267c20a70f96c2f +EBUILD pytest-shutil-1.7.0-r3.ebuild 1082 BLAKE2B bed9121a27114477e459905c7af6acf648b8af8c5082609ad9552489506cbecd468c42f369600da52a0e6d2e8c88a927b362a5910fda881f3ef38ec56f1aa725 SHA512 dd585277871b2caa32588b68830a8360db9179aaf96d472931fb08e0aa1043042221a838c11604f069a56b513f88101c9d43ca1d067f6e7b2ec4e2ed47cea685 MISC metadata.xml 733 BLAKE2B f5f17136e92ebe6188aa94910e3b58c33198bf65b9de5cd70de16ec5d9d205afb46e1c73508b56367ca972d55e69e4c746297106eb7ef5f3e9e9a7ff1a5f7f83 SHA512 af24c62c04e5f1dda2fe559436658172be8b280463e1fa1bc078eca03900e4949660b4ceade8d78fef387f16b3630762181824b3bce2a50c3ad76092dcffe9a5 diff --git a/dev-python/pytest-shutil/pytest-shutil-1.7.0-r3.ebuild b/dev-python/pytest-shutil/pytest-shutil-1.7.0-r3.ebuild index 212cdf7f0e4c..d56be41d5ecb 100644 --- a/dev-python/pytest-shutil/pytest-shutil-1.7.0-r3.ebuild +++ b/dev-python/pytest-shutil/pytest-shutil-1.7.0-r3.ebuild @@ -27,11 +27,6 @@ RDEPEND=" dev-python/mock[${PYTHON_USEDEP}] dev-python/termcolor[${PYTHON_USEDEP}] " -# block pytest plugins that will be broken by the upgrade -RDEPEND+=" - !<dev-python/pytest-virtualenv-1.7.0-r1[python_targets_python2_7(-)] -" - BDEPEND=" ${RDEPEND} dev-python/setuptools-git[${PYTHON_USEDEP}] diff --git a/dev-python/python-constraint/Manifest b/dev-python/python-constraint/Manifest index 154b38e890cf..eea1e8524236 100644 --- a/dev-python/python-constraint/Manifest +++ b/dev-python/python-constraint/Manifest @@ -1,4 +1,4 @@ AUX python-constraint-1.4.0-exclude-examples.patch 649 BLAKE2B c5a5e1d425dfebfd377b36409115e947ac7154acdda557b0a494a029425e1f411b8cd59e004fc40575a1f1e377efa1a17470842626dcf7c636eddb86df57d700 SHA512 7e66113cbaf20ec5094bda0416123d9d26e2185951ce864d8d5b054af1ec9a2515ac458165d773535f97daaa2a76d32a336444055fcb7cbe62547e03dbcff2d5 DIST python-constraint-1.4.0.gh.tar.gz 24966 BLAKE2B 5ada7926f226536a1384bf9a082da41824e46d683ee71a278c50e1e5ca0a21eb3acbde4c0b47d6b48c53864ab4ea47d602fc9acb976423035aee74b0c6f3ed85 SHA512 fbc65ba5854e227e62469290e2d8362ed3247931592e2ac7eb5bcd5d3f9f720bbab8a984a8f7cf9dce989663f13965c5401286a1bdc673c2c076c8b22e19f0cd -EBUILD python-constraint-1.4.0.ebuild 593 BLAKE2B a8f6b1a0701f5d74dfc176c195dd65516d79b7f0d5c62578665fbef2901dc4581b98b968564757de0cf033036ca21487a82197857d3d16b678a98886a5374caf SHA512 75c5e44fe04dbcd85da4b4d0ebcb1a2d71f9232166050a0d774a31365778b920480d9bb84a438c9d1a7f1fb8c626dc382ccfc0b61ad5f8040f0b5838ac127b33 +EBUILD python-constraint-1.4.0.ebuild 593 BLAKE2B 2a524545110f6cf20cceb345d7fb9f2dddfbc952c37602934b91737f993aa28c705810616fdd74ac43d532b15458c8f8b3b7d0118fd688a1a55ac215bdaa0348 SHA512 bb6ef3bce813e5eb0d1e36dc184cba9edae7bf8b9237dcef18c3bf5219d4af316aa9d6b1a82d38f94a5338f8f340072c862d291f418c4fe8ddd379844238182c MISC metadata.xml 1037 BLAKE2B 09c8b8c46a78ee6c38e78189ffc02e7cf0dcb06df4040682548fe307676b543b435d3ca37ccf52b60a0b52d8fb846290a8718155375d455f51531907d86fb102 SHA512 fcffc1f3c10c6057a46978b3b7bcb1222d40f72dd02bc0b8d17d5b378df1554a64c4cef164d662b1ffecae47f01b5572b618be9a939a4259aa4686949259127c diff --git a/dev-python/python-constraint/python-constraint-1.4.0.ebuild b/dev-python/python-constraint/python-constraint-1.4.0.ebuild index 077f1229e890..89fb59fc9495 100644 --- a/dev-python/python-constraint/python-constraint-1.4.0.ebuild +++ b/dev-python/python-constraint/python-constraint-1.4.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..10} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit distutils-r1 diff --git a/dev-python/python-linux-procfs/Manifest b/dev-python/python-linux-procfs/Manifest index dfedc2635b0d..85af58a16e76 100644 --- a/dev-python/python-linux-procfs/Manifest +++ b/dev-python/python-linux-procfs/Manifest @@ -1,3 +1,5 @@ DIST python-linux-procfs-0.6.3.tar.xz 18808 BLAKE2B 02fdc0349dd456819f67f82d6836a44e3285e16d9654dd52b58ac7d86e48bc559feda18f105db7911ac5f670fd0e6cfd5c6cc69a958a3e8494813ff244f8b06f SHA512 18e42bf12456893740c5ec950ffcca86945b1ff202a6ea3ae6ac800145771a39b4ab7e8bbb440210d48d0fe9de646e334095afd0b20060e2e28ab3fa844f6140 +DIST python-linux-procfs-0.7.1.tar.xz 19104 BLAKE2B e6e495ecce77c1ea4c1580c2534e87f769a0057702648ee75bf89f5cbaa944012ba17e69c231977889b9b18d8e9b8d67261361b499ef8a567bed978a207d61ec SHA512 532613cd0feab1317131a3ec30e0730ed48415de333f1430573b7bf0eb5525222dc92db38dab6ff76c27ff10ac0a381975c329441b9ca6011e79bd637482056d EBUILD python-linux-procfs-0.6.3.ebuild 591 BLAKE2B cc0d2c346d4a09e51f4feda85fb85e4e77b87104cee140c150732123cd7cffa4d9918eddbe159968cb8993376ebe7ca0d4288581ae577a16006f0b8a6ca5383c SHA512 63f73d53137ff5c4e175868bb9f535cf1a6168a19d4d394f2004a5c7bf8cc4c34cd9b5fe8f5a36aa0779d37f4fc4d9cc53d16dc8be3ea1b7637888d29d3a63af +EBUILD python-linux-procfs-0.7.1.ebuild 715 BLAKE2B 3f3dcb13ef4a02f6b3ccabe5027917e28b1b06b2f81d70cdc72509b2edc613ec25c372fd4988bfab46ea2374cd243934a72c3c41f083b60e1a5671707f9152e9 SHA512 a1c55ca2b7dcec0b9d4eccb9b043b146b64b3cadd52bcee952983d6a81fab0f94f24552166ffe2b5ca11b7bf9f1c410c534e5bcad569d1d938ccade75387b969 MISC metadata.xml 167 BLAKE2B 868e3b584722eaacf68273db062bb773d8c7e5d7ab2b81ca7e8397643bf7cc106c3a1033594401c99c54f667bb45d6b73f9048fc335580bbd44b4589ad26a832 SHA512 30caadd1496c3b9969136038239a1d8e01f236726b4022c2d7e19ca7575f25f735e556835e581afbf44fbd3e4104c40f2b5ef5fa70118d75c881fdf871962d0a diff --git a/dev-python/python-linux-procfs/python-linux-procfs-0.7.1.ebuild b/dev-python/python-linux-procfs/python-linux-procfs-0.7.1.ebuild new file mode 100644 index 000000000000..89622b4136e5 --- /dev/null +++ b/dev-python/python-linux-procfs/python-linux-procfs-0.7.1.ebuild @@ -0,0 +1,26 @@ +# 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_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="Python classes to extract information from the Linux kernel /proc files" +HOMEPAGE=" + https://git.kernel.org/pub/scm/libs/python/python-linux-procfs/ + https://kernel.googlesource.com/pub/scm/libs/python/python-linux-procfs/python-linux-procfs/ +" +SRC_URI="https://cdn.kernel.org/pub/software/libs/python/${PN}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-python/six[${PYTHON_USEDEP}]" + +python_test() { + ${EPYTHON} ./bitmasklist_test.py || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/python-lsp-server/Manifest b/dev-python/python-lsp-server/Manifest index fbe9c56a60ed..bf5238ba0b38 100644 --- a/dev-python/python-lsp-server/Manifest +++ b/dev-python/python-lsp-server/Manifest @@ -1,10 +1,4 @@ -AUX python-lsp-server-1.6.0-unpin-all-the-deps.patch 1461 BLAKE2B f4a2bda2717370e18c5cc909486d852c985168fcfca042c8f12bff96701a5a7c2e0cc9fce1429870ceed9e2b385e795b5a5b18c919defc07e42933496b19b863 SHA512 8ba0da9a25bde3c1788e9729b1c98fde9f134ec78c3ee9185e61333cfbf90a50ee9f0cbd9fa569bbaae7289cfa75260b848ececc83f6e7d26891f457808ffb73 -AUX python-lsp-server-1.7.0-unpin-all-the-deps.patch 1450 BLAKE2B 6443598fc5aa6ae87c448500ed638597ae03285f34b799f9c00883dc2015eb95c03e80b863d95d86d14626e1a1fb53102cba34013ba34ba8848ed4709004da9f SHA512 10ae9fb5db1abecaeb846508d6d4d0137b397b1422cdbd4bf40dff5f3c8658306e77b3c888e3faaf6f47f5cdd62f061a7595a07a6e56469c904c19b5d0ff2091 AUX python-lsp-server-1.7.1-unpin-all-the-deps.patch 1699 BLAKE2B 0b996ff8590cb3e68007077e2ddda23f64d5ddc9ea272794aee4a9c23dc74bcd44cae65702aa4f03dfe5988c58d90d8dc21b9e249a5c7b3e80083aa0786cf330 SHA512 d46be45443f0e4282104f1e702f8ea5c9f3848f2ea3c63d7007db6876e3abd93f063aa181b2bd4916fb6ddecc6f00da0d8cafccd0eba79657b9bfce051fa735d -DIST python-lsp-server-1.6.0.tar.gz 85242 BLAKE2B 52fcca5a93035a6ec8179908b2139e9392220cad082afb4c31b18284cdd53050c68fca4bcc9d852fa9acb49200487431fec37dc840e61ab9320fd6c3a86189ee SHA512 e4ab52f334fb1eece3458258ed39bf66eeb6056ed7e243be9c69ce2bac92792786df2fbc1d316133ac5523b44a57e7d89d4d6f18120c748e78ef20570a325c9b -DIST python-lsp-server-1.7.0.tar.gz 95085 BLAKE2B 8cce5a01588d44efbc19f8ceec67e61580835814f403d6bda4ca2f82f56dc35c85fc3176f8ebc1eea720aa92710379f87a5e98f443f71a5d16e5bfe48702da1b SHA512 2ef31bdd4451b4b282469223ff5cc5799f4487d3dfc593dfc58483b939802754e0e375461723bf7a90d0fd71f945c927106c5d929621a70f83c3f30bddf68250 DIST python-lsp-server-1.7.1.tar.gz 95731 BLAKE2B 0cdcda04ef849cb0c5fa83f1f701e986e22fb1228112eaf355bfedc52cca4fcc5927352c71b74fa3903526d8a1fc80fa57ac3e6ee7bcc2609556c2398dd2bbb8 SHA512 36c90f45071f35d0aeb0a57795eb6e9fb531baf9e8b468031b0d3e9eb2d53bee439893a333c6bf5f9d5b0818ec53675a3824850abef3e866e8ebdcd4a6142c48 -EBUILD python-lsp-server-1.6.0-r1.ebuild 3086 BLAKE2B 5a033952c3f09defc85278ace28e365af2527b06debc71f3174a3c2bcf7b05896d98dc5468d4b9789140c28fc60a78ad68d7fbec5fb610e296477d0ec7b9ecc6 SHA512 6effad7949df93662943f411ee2f8d1f1fbb004abc31e4c8ac4d9f580398f6d5be3890cdfbb8e15a7ba400477fe0a1f7572697bba9c4ff9f099aaab6673166eb -EBUILD python-lsp-server-1.7.0-r1.ebuild 3086 BLAKE2B 0d6642e9b57b44c07a9414164074a75b8a52ea040235a0542b10b334eb3804b6a557cf7449393e97441ef010549fe31931bcf7a2138069d39e885c34b7a1f86c SHA512 15a1f9f2a77c6ffc7dd9f6efa78708edbd22dcb3c26df8678ab40b545d5da4d13f6a029cda29c882eb98c584574857b080d188998c6d062535f94a5a2b442d5a EBUILD python-lsp-server-1.7.1.ebuild 3084 BLAKE2B f7e9ac732bc7a84dce787860f2a72c138db0ac78a27a385a5e6185425d2530cae3bdd5122bd2363545cca7b78f1c997a3b57cbefde68886dfaef22b37f8b1dd8 SHA512 a9b2518c0cfd7b8dd7c14701b439866ebdf1ab114322126b31a73af683388a6e5398bc53beb620ff8d852e6420ccd56eaaca0312989fb5dd85a4c85a00885300 MISC metadata.xml 610 BLAKE2B e111007adc2612409df72955babe0c4725fd5726449435988cf13c1142049d78089d38e54783712e2c70c74437157ffb2049bd9d63322cec084204eb5038e724 SHA512 5e1e4b43a5bfacb6a2fcae57413ebf79c6aed917b00022140d855acd773d82e56b2d73ae8270d42675a34d9f37f9ad53c8f61930c3f447d8a9e45a521a20e9bb diff --git a/dev-python/python-lsp-server/files/python-lsp-server-1.6.0-unpin-all-the-deps.patch b/dev-python/python-lsp-server/files/python-lsp-server-1.6.0-unpin-all-the-deps.patch deleted file mode 100644 index 28bc0f84c6a8..000000000000 --- a/dev-python/python-lsp-server/files/python-lsp-server-1.6.0-unpin-all-the-deps.patch +++ /dev/null @@ -1,51 +0,0 @@ -diff --git a/pyproject.toml b/pyproject.toml -index 8cce90e..18cf2db 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -13,7 +13,7 @@ readme = "README.md" - license = {text = "MIT"} - requires-python = ">=3.7" - dependencies = [ -- "jedi>=0.17.2,<0.19.0", -+ "jedi>=0.17.2", - "python-lsp-jsonrpc>=1.0.0", - "pluggy>=1.0.0", - "docstring-to-markdown", -@@ -27,26 +27,26 @@ Homepage = "https://github.com/python-lsp/python-lsp-server" - - [project.optional-dependencies] - all = [ -- "autopep8>=1.6.0,<1.7.0", -- "flake8>=5.0.0,<5.1.0", -- "mccabe>=0.7.0,<0.8.0", -- "pycodestyle>=2.9.0,<2.10.0", -+ "autopep8>=1.6.0", -+ "flake8>=5.0.0", -+ "mccabe>=0.7.0", -+ "pycodestyle>=2.9.0", - "pydocstyle>=2.0.0", -- "pyflakes>=2.5.0,<2.6.0", -+ "pyflakes>=2.5.0", - "pylint>=2.5.0", - "rope>=0.10.5", - "yapf", - "whatthepatch" - ] --autopep8 = ["autopep8>=1.6.0,<1.7.0"] --flake8 = ["flake8>=5.0.0,<5.1.0"] --mccabe = ["mccabe>=0.7.0,<0.8.0"] --pycodestyle = ["pycodestyle>=2.9.0,<2.10.0"] -+autopep8 = ["autopep8>=1.6.0"] -+flake8 = ["flake8>=5.0.0"] -+mccabe = ["mccabe>=0.7.0"] -+pycodestyle = ["pycodestyle>=2.9.0"] - pydocstyle = ["pydocstyle>=2.0.0"] --pyflakes = ["pyflakes>=2.5.0,<2.6.0"] -+pyflakes = ["pyflakes>=2.5.0"] - pylint = ["pylint>=2.5.0"] - rope = ["rope>0.10.5"] --yapf = ["yapf", "whatthepatch>=1.0.2,<2.0.0"] -+yapf = ["yapf", "whatthepatch>=1.0.2"] - websockets = ["websockets>=10.3"] - test = [ - "pylint>=2.5.0", diff --git a/dev-python/python-lsp-server/files/python-lsp-server-1.7.0-unpin-all-the-deps.patch b/dev-python/python-lsp-server/files/python-lsp-server-1.7.0-unpin-all-the-deps.patch deleted file mode 100644 index 7bc98e1eb2c8..000000000000 --- a/dev-python/python-lsp-server/files/python-lsp-server-1.7.0-unpin-all-the-deps.patch +++ /dev/null @@ -1,51 +0,0 @@ -diff --git a/pyproject.toml b/pyproject.toml -index 1422313..4e1ecad 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -13,7 +13,7 @@ readme = "README.md" - license = {text = "MIT"} - requires-python = ">=3.7" - dependencies = [ -- "jedi>=0.17.2,<0.19.0", -+ "jedi>=0.17.2", - "python-lsp-jsonrpc>=1.0.0", - "pluggy>=1.0.0", - "docstring-to-markdown", -@@ -27,26 +27,26 @@ Homepage = "https://github.com/python-lsp/python-lsp-server" - - [project.optional-dependencies] - all = [ -- "autopep8>=1.6.0,<1.7.0", -- "flake8>=5.0.0,<7", -- "mccabe>=0.7.0,<0.8.0", -- "pycodestyle>=2.9.0,<2.11.0", -+ "autopep8>=1.6.0", -+ "flake8>=5.0.0", -+ "mccabe>=0.7.0", -+ "pycodestyle>=2.9.0", - "pydocstyle>=2.0.0", -- "pyflakes>=2.5.0,<3.1.0", -+ "pyflakes>=2.5.0", - "pylint>=2.5.0", - "rope>1.2.0", - "yapf", - "whatthepatch" - ] --autopep8 = ["autopep8>=1.6.0,<1.7.0"] --flake8 = ["flake8>=5.0.0,<7"] --mccabe = ["mccabe>=0.7.0,<0.8.0"] --pycodestyle = ["pycodestyle>=2.9.0,<2.11.0"] -+autopep8 = ["autopep8>=1.6.0"] -+flake8 = ["flake8>=5.0.0"] -+mccabe = ["mccabe>=0.7.0"] -+pycodestyle = ["pycodestyle>=2.9.0"] - pydocstyle = ["pydocstyle>=2.0.0"] --pyflakes = ["pyflakes>=2.5.0,<3.1.0"] -+pyflakes = ["pyflakes>=2.5.0"] - pylint = ["pylint>=2.5.0"] - rope = ["rope>1.2.0"] --yapf = ["yapf", "whatthepatch>=1.0.2,<2.0.0"] -+yapf = ["yapf", "whatthepatch>=1.0.2"] - websockets = ["websockets>=10.3"] - test = [ - "pylint>=2.5.0", diff --git a/dev-python/python-lsp-server/python-lsp-server-1.6.0-r1.ebuild b/dev-python/python-lsp-server/python-lsp-server-1.6.0-r1.ebuild deleted file mode 100644 index 29db36cb6358..000000000000 --- a/dev-python/python-lsp-server/python-lsp-server-1.6.0-r1.ebuild +++ /dev/null @@ -1,89 +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_{9..11} ) - -inherit distutils-r1 optfeature - -DESCRIPTION="Python Language Server for the Language Server Protocol" -HOMEPAGE="https://github.com/python-lsp/python-lsp-server" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" - -IUSE="all-plugins" - -BDEPEND=" - test? ( - >=dev-python/autopep8-1.6.0[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - >=dev-python/flake8-5.0.0[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - >=dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - >=dev-python/pycodestyle-2.9.0[${PYTHON_USEDEP}] - >=dev-python/pydocstyle-2.0.0[${PYTHON_USEDEP}] - <dev-python/pydocstyle-6.2.0[${PYTHON_USEDEP}] - >=dev-python/pyflakes-2.5.0[${PYTHON_USEDEP}] - >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}] - dev-python/QtPy[gui,testlib,${PYTHON_USEDEP}] - >=dev-python/rope-0.10.5[${PYTHON_USEDEP}] - dev-python/yapf[${PYTHON_USEDEP}] - >=dev-python/whatthepatch-1.0.2[${PYTHON_USEDEP}] - ) -" - -RDEPEND=" - dev-python/docstring-to-markdown[${PYTHON_USEDEP}] - >=dev-python/jedi-0.17.2[${PYTHON_USEDEP}] - >=dev-python/python-lsp-jsonrpc-1.0.0[${PYTHON_USEDEP}] - dev-python/pluggy[${PYTHON_USEDEP}] - all-plugins? ( - >=dev-python/autopep8-1.6.0[${PYTHON_USEDEP}] - >=dev-python/flake8-5.0.0[${PYTHON_USEDEP}] - >=dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] - >=dev-python/pycodestyle-2.9.0[${PYTHON_USEDEP}] - >=dev-python/pydocstyle-2.0.0[${PYTHON_USEDEP}] - <dev-python/pydocstyle-6.2.0[${PYTHON_USEDEP}] - >=dev-python/pyflakes-2.5.0[${PYTHON_USEDEP}] - >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}] - >=dev-python/rope-0.10.5[${PYTHON_USEDEP}] - dev-python/yapf[${PYTHON_USEDEP}] - >=dev-python/whatthepatch-1.0.2[${PYTHON_USEDEP}] - ) -" - -# Upstream is overly cautious, insists on pinning -# dependencies to versions required by other dependencies. -# i.e. pin to <dev-python/pycodestyle-2.9.0 because -# dev-python/autopep8-1.6.0 requires that version. -# This causes way more problems then it solves. -PATCHES=( - "${FILESDIR}/${P}-unpin-all-the-deps.patch" -) - -distutils_enable_tests pytest - -python_prepare_all() { - # remove pytest-cov dep - sed -i -e '/addopts =/d' pyproject.toml || die - distutils-r1_python_prepare_all -} - -pkg_postinst() { - optfeature "Automatically format Python code to conform to the PEP 8 style guide" dev-python/autopep8 - optfeature "A wrapper around PyFlakes, pep8 & mccabe" dev-python/flake8 - optfeature "flake8 plugin: McCabe complexity checker" dev-python/mccabe - optfeature "Python style guide checker (fka pep8)" dev-python/pycodestyle - optfeature "Python docstring style checker" dev-python/pydocstyle - optfeature "Passive checker for Python programs" dev-python/pyflakes - optfeature "Python code static checker" dev-python/pylint - optfeature "Python refactoring library" dev-python/rope - optfeature "A formatter for Python files" dev-python/yapf -} diff --git a/dev-python/python-lsp-server/python-lsp-server-1.7.0-r1.ebuild b/dev-python/python-lsp-server/python-lsp-server-1.7.0-r1.ebuild deleted file mode 100644 index ae316d1b4366..000000000000 --- a/dev-python/python-lsp-server/python-lsp-server-1.7.0-r1.ebuild +++ /dev/null @@ -1,89 +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_{9..11} ) - -inherit distutils-r1 optfeature - -DESCRIPTION="Python Language Server for the Language Server Protocol" -HOMEPAGE="https://github.com/python-lsp/python-lsp-server" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -IUSE="all-plugins" - -BDEPEND=" - test? ( - >=dev-python/autopep8-1.6.0[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - >=dev-python/flake8-5.0.0[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - >=dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - >=dev-python/pycodestyle-2.9.0[${PYTHON_USEDEP}] - >=dev-python/pydocstyle-2.0.0[${PYTHON_USEDEP}] - <dev-python/pydocstyle-6.2.0[${PYTHON_USEDEP}] - >=dev-python/pyflakes-2.5.0[${PYTHON_USEDEP}] - >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}] - dev-python/QtPy[gui,testlib,${PYTHON_USEDEP}] - >=dev-python/rope-1.2.0[${PYTHON_USEDEP}] - dev-python/yapf[${PYTHON_USEDEP}] - >=dev-python/whatthepatch-1.0.2[${PYTHON_USEDEP}] - ) -" - -RDEPEND=" - dev-python/docstring-to-markdown[${PYTHON_USEDEP}] - >=dev-python/jedi-0.17.2[${PYTHON_USEDEP}] - >=dev-python/python-lsp-jsonrpc-1.0.0[${PYTHON_USEDEP}] - dev-python/pluggy[${PYTHON_USEDEP}] - all-plugins? ( - >=dev-python/autopep8-1.6.0[${PYTHON_USEDEP}] - >=dev-python/flake8-5.0.0[${PYTHON_USEDEP}] - >=dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] - >=dev-python/pycodestyle-2.9.0[${PYTHON_USEDEP}] - >=dev-python/pydocstyle-2.0.0[${PYTHON_USEDEP}] - <dev-python/pydocstyle-6.2.0[${PYTHON_USEDEP}] - >=dev-python/pyflakes-2.5.0[${PYTHON_USEDEP}] - >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}] - >=dev-python/rope-1.2.0[${PYTHON_USEDEP}] - dev-python/yapf[${PYTHON_USEDEP}] - >=dev-python/whatthepatch-1.0.2[${PYTHON_USEDEP}] - ) -" - -# Upstream is overly cautious, insists on pinning -# dependencies to versions required by other dependencies. -# i.e. pin to <dev-python/pycodestyle-2.9.0 because -# dev-python/autopep8-1.6.0 requires that version. -# This causes way more problems then it solves. -PATCHES=( - "${FILESDIR}/${P}-unpin-all-the-deps.patch" -) - -distutils_enable_tests pytest - -python_prepare_all() { - # remove pytest-cov dep - sed -i -e '/addopts =/d' pyproject.toml || die - distutils-r1_python_prepare_all -} - -pkg_postinst() { - optfeature "Automatically format Python code to conform to the PEP 8 style guide" dev-python/autopep8 - optfeature "A wrapper around PyFlakes, pep8 & mccabe" dev-python/flake8 - optfeature "flake8 plugin: McCabe complexity checker" dev-python/mccabe - optfeature "Python style guide checker (fka pep8)" dev-python/pycodestyle - optfeature "Python docstring style checker" dev-python/pydocstyle - optfeature "Passive checker for Python programs" dev-python/pyflakes - optfeature "Python code static checker" dev-python/pylint - optfeature "Python refactoring library" dev-python/rope - optfeature "A formatter for Python files" dev-python/yapf -} diff --git a/dev-python/python-stdnum/Manifest b/dev-python/python-stdnum/Manifest index 29f43993b9b6..2c0144fc70f2 100644 --- a/dev-python/python-stdnum/Manifest +++ b/dev-python/python-stdnum/Manifest @@ -1,3 +1,3 @@ DIST python-stdnum-1.18.tar.gz 1138676 BLAKE2B 724afd5d015090023582bc078f278d4107a12d4f126a61eb026b69040654d0890dc0eb0aa197565e844c34f0426f7f0072dac2b8191ba3a15bc87ae7c0b73536 SHA512 ca211fa3f7a0c0a913c5b0c6e32cb477025e203eb4c0a648e47bf95cb361d800d620dc4ebcb3007eefbb5595098486963ffee71ea2c37f84d86443d01131db7c -EBUILD python-stdnum-1.18.ebuild 761 BLAKE2B 64913f7bf04cf56c63c9f6cc171802415a72742fc9d466eada25fe9f9bf5d17713d616759e2affb1d50d8d47539476f51bcf9784906c3036511c31d1648ecdd4 SHA512 32f2aadacd5610e7e349fe9a0c3d2cc930f903b1bf4be1d8d1fe9094cf028b8bf3f437da000ea1846ea3497a295ab4aaee2743e9b888b96279067067e9464b3a +EBUILD python-stdnum-1.18.ebuild 733 BLAKE2B ea90d3f6eff04e0b129458b4563140263de4679e4844cd582e01d7f5033de166b8de84a8576d2f9245d10cef8082768e705e625b607febc012b533795f96d776 SHA512 8e5cc8a326ff4bd1a3f23489fba833dae9abeceaf382d5202223ddf6dfdc6ee427fd84a09b49e728c845bd2f43c93ba1e2abf4e2ef487b87b231789b0f89dab3 MISC metadata.xml 461 BLAKE2B ca459eeb4a49d155ee0e1f53a3830f500607e7b412c9546c05e54c99fb2d74982e4bb3815fb5373b627d09c580f3f6807737b33022542f0fb13ed45c085e57e1 SHA512 66ebd3c6792e7bc35df1b77171179191a98c476c38827fb11cfff1e0c003317a2eb296ae12cea484bdcfbfd364dfafb0abc60cf0886c993b66860f7d9efe6013 diff --git a/dev-python/python-stdnum/python-stdnum-1.18.ebuild b/dev-python/python-stdnum/python-stdnum-1.18.ebuild index 8a77ad404db3..135909441931 100644 --- a/dev-python/python-stdnum/python-stdnum-1.18.ebuild +++ b/dev-python/python-stdnum/python-stdnum-1.18.ebuild @@ -4,9 +4,9 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..10} ) - -inherit distutils-r1 +PYTHON_COMPAT=( python3_{9..11} ) +PYPI_NO_NORMALIZE=1 +inherit distutils-r1 pypi DESCRIPTION="A module to handle standardized numbers and codes" HOMEPAGE=" @@ -14,7 +14,6 @@ HOMEPAGE=" https://github.com/arthurdejong/python-stdnum/ https://pypi.org/project/python-stdnum/ " -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" diff --git a/dev-python/python-xmlsec/Manifest b/dev-python/python-xmlsec/Manifest deleted file mode 100644 index 93c8eee72238..000000000000 --- a/dev-python/python-xmlsec/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX python-xmlsec-1.3.11-fix-xml-testfail.patch 879 BLAKE2B 3d655b40a67b44a4abd65188c6d719e12063e857942fdb112b47da38977864252e3d250e0bbaf5c86f4688bb7701aae89df444c4fef0e3f0eaffc98fe5b6b856 SHA512 8c8f9af415dc9207e5c0599ee958dff6558618f94a9cb3c583b1c9eb6d1de251d714edf1afdee581cb33c7543f88c54d36af9b6f903fe31994a86f1b602e4c75 -DIST python-xmlsec-1.3.12.tar.gz 77722 BLAKE2B b5ecece8063b823cdbe4d58967d10026bdc6f3774954021a3739d579ba3c5a08130af1792921c7892e6bc3d00f88ac83ab30e862775e419e0dad40b990b10cbe SHA512 19c5e3bf58b4b0f8a1cca3e60c08348b02ae298620f8c02b8cfb325aecf0313cb2bd1af89507b754ebe4c35af3b031e232d15ddcd42deae0821c9c0d7571aa7c -EBUILD python-xmlsec-1.3.12-r1.ebuild 977 BLAKE2B 62e050b4f98fa02716396dd213fd595946fd635e76e02709e7e79b67e8cfa515908392e5fa884977e2c8078c697496164bd65922bd31823d9bbd350fcf32df7c SHA512 39a586519501a90b30735e4c9e126efbb731b666352df04cc9731e58a3634f2764dbaf2ed38d51cb9c0d2a1f27e9347a1ef587c6a4294455b72a61b2bc295139 -MISC metadata.xml 420 BLAKE2B 8aeda69d8870ff72e5ff7476fa1e6fe2bde1bdbdc12093821a29aa905abb644bf4a78a8e5f8b2247f8bc89662f6055f26bd05eadf2f31371c2aa75f59f5b62da SHA512 96532b3a747f1a669b50ed86fb22f986e86f6456239c432c754ba12f5f3303a67037d25584eead27c6f9398d5d48275b558a8b0517a1128d9960b96e5962e474 diff --git a/dev-python/python3-saml/Manifest b/dev-python/python3-saml/Manifest index 3ea66e7c28bc..35d9c3d94955 100644 --- a/dev-python/python3-saml/Manifest +++ b/dev-python/python3-saml/Manifest @@ -1,3 +1,3 @@ DIST python3-saml-1.15.0.gh.tar.gz 511199 BLAKE2B c1dafb5ff9c45a79042915261cdc380a1ca77b56d518999164f48c904e53a486d157e5b522b77df9abea2b3306f8b17a06a7ac3e41ad0c86bea2c08468199e60 SHA512 8ecfd827e3b90f65a04ed46f8efd49680d42ecaa46b46857e0f712c2996207a8aa38834f55ec35e599845f6921bd4d82d76e549494c71cc5ffd918e70b87b6a8 -EBUILD python3-saml-1.15.0.ebuild 903 BLAKE2B 3e72a0c8498f73616420527fb063cdd3915d3a4088480f37d277d8313cd5de846c716c8f0ef49bc3d934475121a71e050be99db2da6bc88e10ee2145c72b6a59 SHA512 a0b8abfde103b43189458379da15b08cdb47d16b4e9be86d1e0ce80a763d7f3a97f2d829dd4385a23e09d3cf4a526d1d7061701e61a9104b19fd4d4218cae17f +EBUILD python3-saml-1.15.0.ebuild 896 BLAKE2B b30e3b9767cecff1d23c4c06cb6141a2b5044ad10e0b028ce5d5b6dd532d713ae67599b81347e3017a3b446dd07d26618d8dd63829fdf209ec92a337fa09a53c SHA512 75bd00f811f95b1e912eec5137359f029a62594091f350638174f19230f49c79d8cf695e731eb2d020fc3ac19db2ba331f33ae02c5d6bbd30178f916b2cd7e95 MISC metadata.xml 492 BLAKE2B ca47379cffabb1ea29ebd103e865a37dd680753f1816fbc38796faea21611dd305a9b423f007d06b15a5dfb03a813feadef810a35b794912c5799eaa780a8ce5 SHA512 0954909199f1c46bdb35c8ad95794bdc8be1dbacd888809cc32b3404b2053cdc90aed275e5c51d6a4aad9a9b68d84e83749051c7117ac98cd12ef73331a8cd16 diff --git a/dev-python/python3-saml/python3-saml-1.15.0.ebuild b/dev-python/python3-saml/python3-saml-1.15.0.ebuild index 4ccb4653fef7..48d771b7a68b 100644 --- a/dev-python/python3-saml/python3-saml-1.15.0.ebuild +++ b/dev-python/python3-saml/python3-saml-1.15.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{9..10} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit distutils-r1 @@ -25,7 +25,7 @@ KEYWORDS="~amd64 ~ppc64 ~x86" RDEPEND=" >=dev-python/isodate-0.6.1[${PYTHON_USEDEP}] >=dev-python/lxml-4.9.0[${PYTHON_USEDEP}] - >=dev-python/python-xmlsec-1.3.9[${PYTHON_USEDEP}] + >=dev-python/xmlsec-1.3.9[${PYTHON_USEDEP}] " BDEPEND=" test? ( diff --git a/dev-python/qpageview/Manifest b/dev-python/qpageview/Manifest index 0cbfba8c5553..b8196dfcfb29 100644 --- a/dev-python/qpageview/Manifest +++ b/dev-python/qpageview/Manifest @@ -1,3 +1,3 @@ DIST qpageview-0.6.2.gh.tar.gz 159098 BLAKE2B bd28acaf0f2a123963136acd32ce1a7ee72bba3c19f253af821b44e38bbf314ac3ccb48a8c96b06f484d399ed13bd3b8b3cf62e7b2a44d85edb38d04b60ceccf SHA512 80b1d6d4419594bcac195450ab030ab0b4fe3fe92dc9a6db598d1dd2282670f0d0b9d957b3c37313d7002f8f7dbc1bdd101edca81e5edca19c6e33ec4f6e4ffe -EBUILD qpageview-0.6.2.ebuild 764 BLAKE2B 000642efbadcfeb8f7753a5e19676797f0f225d7dcc23c9f80ed4eb331016b4d043888e50e6e4c7882d5b325c58c1a5acfb888bd99144363d88d934cec30ba8e SHA512 1f3f7a253d593a1369fe91ee0c49eb47bfdc79c17ad406b2173eb02a6655142e0b548bdef5732ec2adb4785fd84ea441719828ea07f5fb112054726981396a89 +EBUILD qpageview-0.6.2.ebuild 768 BLAKE2B ee121e481597472c9ec90f47b31ecfd567c32167513ae19e27cff3bc9f4e36abb8a6f446bd1fbe14ebcaf3761d28e23c9797ca284fe69716e1ad157b545ea99f SHA512 4b59931abc6a815dfd0a16a494797f2a9239212b6c8133813897ceea0f79c49c1520f9182230c8da2dba0bf7207b037364b2e4ba43256c1c87e02413e4a4ce70 MISC metadata.xml 382 BLAKE2B 9a18f6dc2b6308f84d65992f60b673b25370afc73f7b697673732f8cf93e5fa70791cf0cfc5ecd357d5852385ba3ea289d4076c2b9db68e5c5b9f5320d8a47ca SHA512 24dbff938564a04437fdf3758fa8801556211825fb72b346a67a12b191608105f51c98ebed2377b6275083dbfa6de413383c09804fe4a6dcd74b5fcb730545c5 diff --git a/dev-python/qpageview/qpageview-0.6.2.ebuild b/dev-python/qpageview/qpageview-0.6.2.ebuild index 572ce1c72822..35d5ee8d8d1f 100644 --- a/dev-python/qpageview/qpageview-0.6.2.ebuild +++ b/dev-python/qpageview/qpageview-0.6.2.ebuild @@ -1,5 +1,6 @@ # Copyright 2022-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 + EAPI=8 DISTUTILS_USE_PEP517=setuptools @@ -16,8 +17,10 @@ LICENSE="GPL-2+ GPL-3+" SLOT="0" KEYWORDS="amd64 x86" -RDEPEND="dev-python/PyQt5[gui,printsupport,svg,widgets,${PYTHON_USEDEP}] - dev-python/python-poppler-qt5[${PYTHON_USEDEP}]" +RDEPEND=" + dev-python/PyQt5[gui,printsupport,svg,widgets,${PYTHON_USEDEP}] + dev-python/python-poppler-qt5[${PYTHON_USEDEP}] +" pkg_postinst() { optfeature "Printing support" dev-python/pycups diff --git a/dev-python/reno/Manifest b/dev-python/reno/Manifest index 149fea7f1b9e..f42d9e047cc9 100644 --- a/dev-python/reno/Manifest +++ b/dev-python/reno/Manifest @@ -1,3 +1,4 @@ DIST reno-3.5.0.tar.gz 83644 BLAKE2B 803d3d3c9ed572624b77d2851221edcd0a86241f86876970f1a64877d3083b39d8e574567f14dea52680538770a37bc70c55d74b66ddab6fda551209c32bb844 SHA512 4d48ec3faf26d046498edccc0dd6007dff36d8346395b5c62b2b85a8ff9bba5ac571cbdcb2aa8e522b6f4c155bd845a416cc715c30a29e8eae6d033ee1b52be7 +EBUILD reno-3.5.0-r1.ebuild 1137 BLAKE2B 1713fc76bf450f7fc7472d1202bcbc8983bc86ef9ca5fef10d7be101fb2ff02debdf62c880beacda2f54e9a4bc15f1763c73b30220968cde1d57ce55bbff6189 SHA512 f56d2946aa8775ecb5e631656f1072c6a396b5da25cb818daa1e267cc607600d72c69311ceff2626eb3a422620d37d960b72c4c04eea2c672d037625b307e729 EBUILD reno-3.5.0.ebuild 1072 BLAKE2B bc828fd77cebe008f3884f8c130a51a74035ca718974b9332d9b12d61a83cb85c67688cd1a20326b06d75ccd620cd875c639fc08e4a8f523bb7e7a685ab31234 SHA512 8007dc6071edbc7cdf3ade9cc92927dfd90327744e817b17072dbdab84977df06041296aaf99d996acff717b1c17738c01c64627997b91a662c05f7bf29bcec8 MISC metadata.xml 501 BLAKE2B 3c3c1d7026eba72db293c2c7e628cd79127314ac578b1cd2db662e058c0be9b0225b3304dbb0f5b30d38729e6bb495014905ae27c924fcf01b3410e2e7f1a0db SHA512 8944b85dd5a9dbd5419abbd8c70d74d414f987053a9721ec402b047af2e35b2584254d19aede528cb96b8f720f8b92cabb6797ddc2c41ea700c2fa5e3ecef627 diff --git a/dev-python/reno/reno-3.5.0-r1.ebuild b/dev-python/reno/reno-3.5.0-r1.ebuild new file mode 100644 index 000000000000..af452418d530 --- /dev/null +++ b/dev-python/reno/reno-3.5.0-r1.ebuild @@ -0,0 +1,44 @@ +# 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_{9..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Release notes manager, storing release notes in a git repo and building docs" +HOMEPAGE=" + https://opendev.org/openstack/reno/ + https://github.com/openstack/reno/ + https://pypi.org/project/reno/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~riscv ~s390 ~x86" + +RDEPEND=" + dev-python/pbr[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}] + >=dev-python/dulwich-0.15.0[${PYTHON_USEDEP}] + >=dev-python/packaging-20.4[${PYTHON_USEDEP}] + >=dev-python/docutils-0.11[${PYTHON_USEDEP}] + >=dev-python/sphinx-2.1.1[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/pbr[${PYTHON_USEDEP}] + test? ( + >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}] + ) +" + +# The doc needs to be built from a git repository +distutils_enable_tests unittest + +python_prepare_all() { + # Some tests need to be run from a git repository + rm reno/tests/test_{cache,semver}.py || die + distutils-r1_python_prepare_all +} diff --git a/dev-python/requests-ntlm/Manifest b/dev-python/requests-ntlm/Manifest index 799d07ff2396..945ca167409f 100644 --- a/dev-python/requests-ntlm/Manifest +++ b/dev-python/requests-ntlm/Manifest @@ -1,3 +1,5 @@ +DIST requests-ntlm-1.2.0.gh.tar.gz 14540 BLAKE2B 0b9dd72680c6e67dc6e4f0a3eef3b9fa0cc03c71010238a0e7ef8a48b59c57e12846040975f7eef7710113f372cd1e1628e5a9be0eca8e7a287a9cfd0765ebf0 SHA512 230eb6c8a90e8745a3c969114f81d2559aa0f411b79b54747d21c6c28572f7d61c024c47a831777c2d85fb8b09af7fee667d3a3abf318473c97e727c5f2d7943 DIST requests_ntlm-1.1.0.tar.gz 5183 BLAKE2B 190a75d3f82ae2216e05295f855aa072f98908ef8a0d4dda68d6e39239655ccf175c707af137290cd78cf622c0a3d1741a0afbb1363f8b170f408c34a2682fa6 SHA512 9a74ecd6e4ed5c5e4381d2ee3fb9ff233352b49baa5fae4e0ecc30aaad12fc7a5c1b9dd936f35d4a3815ae7f6ec5bb8581e84128d63ff0e961181408daddb807 EBUILD requests-ntlm-1.1.0-r1.ebuild 573 BLAKE2B 1b5a371d80d7ef1c883d4326539c018cd47ed520d3589de0b83beedd1c92eef61aa6f36beb9438b68ae2f5c5f1b051fc4d9dbed14ff38a5699fcbe5a63f9500e SHA512 fbf2a4589c77391fcf88d70881c28d79cfcfdc052f66df384920e5c3418bec060ca2e166d073ac3ea92b992fe447399053bf77ad6ffde6defd97db062993bc70 -MISC metadata.xml 492 BLAKE2B 231a8ed89e03d2b0c91946207dd30659352b661514b7094ac1a85705d12d7dfc4db9d63de62a0fb4ca901bf4ded8ba9046fada0daf8e8d134645a4330f911dd2 SHA512 ba72fd707b3b3dc5c65677a0d2fbb0f2e66cdb8bdcdce1a75e8565341fd3afb716a05034a0cffef2d4be78b6ffb5ae2184d7b1a129d3abea6b563f6f28e39e2f +EBUILD requests-ntlm-1.2.0.ebuild 1012 BLAKE2B 43bebdd80593de2b738aec78e5e558c98c74664b5badc095df7319a481854e590e015f7beb906e68ba5f4fb23e8f58835852d4582fade7500a643f2608b21ed7 SHA512 d043504e5f12ed5138f28edb93fd0625b17f98c4941ee13dde61b903e8eca7479cf0a7f96134f3ef242c0efb14400dc1a7d152076be738ce1564e164e9c81441 +MISC metadata.xml 492 BLAKE2B 2c1f1f5a723771cdd2af4d7efb816d9bba18a34918851340fbec9bb0effca7dc2ed01a267b62ff2c3566dde7eaecd8068b31fe63371a1c7bcbbeba58e61fb915 SHA512 7c31efbf4c60b7d30de66965fde50e44bf9a2fb43e041fd20134036124067daa55d09d6d172633be2abc9fff16fcc1bb2eb305ffc56ffacaecea2469a7717365 diff --git a/dev-python/requests-ntlm/metadata.xml b/dev-python/requests-ntlm/metadata.xml index cb401c68b149..7f4b01eebc5e 100644 --- a/dev-python/requests-ntlm/metadata.xml +++ b/dev-python/requests-ntlm/metadata.xml @@ -10,7 +10,7 @@ <name>Python</name> </maintainer> <upstream> - <remote-id type="pypi">requests_ntlm</remote-id> + <remote-id type="pypi">requests-ntlm</remote-id> <remote-id type="github">requests/requests-ntlm</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/requests-ntlm/requests-ntlm-1.2.0.ebuild b/dev-python/requests-ntlm/requests-ntlm-1.2.0.ebuild new file mode 100644 index 000000000000..81473a0deacb --- /dev/null +++ b/dev-python/requests-ntlm/requests-ntlm-1.2.0.ebuild @@ -0,0 +1,50 @@ +# 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_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="HTTP NTLM authentication using the requests library" +HOMEPAGE=" + https://github.com/requests/requests-ntlm/ + https://pypi.org/project/requests-ntlm/ +" +SRC_URI=" + https://github.com/requests/requests-ntlm/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +SLOT="0" +LICENSE="ISC" +KEYWORDS="~amd64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/cryptography-1.3[${PYTHON_USEDEP}] + >=dev-python/pyspnego-0.1.6[${PYTHON_USEDEP}] + >=dev-python/requests-2.0.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/flask[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local ts_pid test_ret + + "${EPYTHON}" -m tests.test_server &> "${T}"/test-server.log & + ts_pid=${!} + + nonfatal epytest tests/unit + test_ret=${?} + + kill "${ts_pid}" + [[ ${test_ret} -ne 0 ]] && die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/scikit-build/Manifest b/dev-python/scikit-build/Manifest index 6fccb8eb1b13..6bf636ae01c2 100644 --- a/dev-python/scikit-build/Manifest +++ b/dev-python/scikit-build/Manifest @@ -1,7 +1,9 @@ DIST scikit-build-0.16.4.tar.gz 271037 BLAKE2B 6cca8a3c4f4b37228b77ac098650a5eca4ad0f525ca7dcba178f4cffabb7e60e9a7bbba244e64c1a598ab5916f2f47788198eb2a19803d8d0cf7b9792f4e06e2 SHA512 90315ceac4c372e4d7248b4b56b6092362c2c43fbdc180d1a234e057209c508a05d2c6e0a3d0c2587c3adb8957e4c66d5c171a2a2bc3dbf9874a0de58d97d976 DIST scikit-build-0.16.5.tar.gz 271974 BLAKE2B e34d44fb27975720adc4ca57a0fabc9b05260a13043b546d19bfb44fa1c60e6490c5d7bbd41494481da470e24c05c4da3eb41b26c78160a35be1e3c29f9a4ef4 SHA512 37e50b3a1fc04b6758b65a58f5d5239effbc0ab38a4a2024098b6a69eea1d7a9a388e41696176469e9c55a7c8b73ace9d7eee2daf5d0fbaefe2a3e09880ee600 DIST scikit-build-0.16.6.tar.gz 272201 BLAKE2B bb14b0db52d0c04b9630fa27ccbc58c7af72eb8640c4dc82e920acdbc815e2eb8f7662684b23aa42765966ae1ad4e046dead3d7090a263d79f69bfd955ab0f24 SHA512 f36a46845420b441ca158ea05bc20023238afdf81b2108554a52a4a2be0cb19ef6b2729997199d9a9d18841c8470df8f7e7a986a86e1172328f0963f3a015f3d +DIST scikit-build-0.16.7.tar.gz 274287 BLAKE2B 8a5064c021d904312ccf89a396ab794b89b73ad1b6238767ca74eeb394f0f1514eedd3c746353ee3e9e7b825988b3c52c563e1f19d0acfbe69213c5a306f1dcc SHA512 5bba94214c249f891b2972301b0e37b5f10938151e37a04b845dfc9e11ae85edc7e3880984f9fbbd1c037257fc8baa3ba7b006b1f1b7abb941d1a54e049f3cbc EBUILD scikit-build-0.16.4.ebuild 2019 BLAKE2B 195961eadbd48ad1e2a52f958833e35b9067452633389486027016a6a540e61d2e36490386c33fc13c9be1bc8da9b6346c4cb68f3b9a3f373ead0b61a6735436 SHA512 1a2d36f67ed0d01e05b30d3c5f477f191aa26ee428a86b2a06db6b662daf540c626b44886630a02ed94853b3b81308d1fee212ad4cb4b56afeceb24c96ef691e EBUILD scikit-build-0.16.5.ebuild 2035 BLAKE2B b67bce0202e5501bc3c9e6943501bc62443c5237769c60940d970eeed613a77cbd16c19c62d7d29024155c4c74a3aa0ef0773920dad2c6a715294414f3292de5 SHA512 196539e28b4c5522d6d84fbc7c221a05eb9450ec5d8afbac35ade23f1d5250d244ee829fb90e21ff0fde9277571ea4bcd6942e85cef49e80f98d926c8397fe13 EBUILD scikit-build-0.16.6.ebuild 2035 BLAKE2B b67bce0202e5501bc3c9e6943501bc62443c5237769c60940d970eeed613a77cbd16c19c62d7d29024155c4c74a3aa0ef0773920dad2c6a715294414f3292de5 SHA512 196539e28b4c5522d6d84fbc7c221a05eb9450ec5d8afbac35ade23f1d5250d244ee829fb90e21ff0fde9277571ea4bcd6942e85cef49e80f98d926c8397fe13 +EBUILD scikit-build-0.16.7.ebuild 2092 BLAKE2B 1de80d56b17eb236ee1ba976b084ef944dc69a94df739e94c5757cb5893117f6b098ef83eee87e93c8e678b56fb0ee8914932f0f245ba7e10a1c2eda7fe7c9d8 SHA512 52549dd4b241a87f7b906a62a52f2eb356c493fde5e9c1f2e1b0be453c038cafd23fa16455f199ec47580e821677291c0dff4ed2a32cf1ba8797e13025bec759 MISC metadata.xml 473 BLAKE2B 9d02a79439618fa413f74e4a617b8af042879be7a44c8f1c33e254e985d4f24057321fb2ec0b73074be1f6b67af3984190e48669e19985d6297411c0c5b61a79 SHA512 afc398c6287ce67eb85402832684fd006385e70d28a738ca8c5f1e2d008526621121cd9107a7fbc217a1a5857b54fa1dce3de69c47db58fc76990764b814a36d diff --git a/dev-python/scikit-build/scikit-build-0.16.7.ebuild b/dev-python/scikit-build/scikit-build-0.16.7.ebuild new file mode 100644 index 000000000000..bc753e7fb796 --- /dev/null +++ b/dev-python/scikit-build/scikit-build-0.16.7.ebuild @@ -0,0 +1,70 @@ +# 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_{9..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Improved build system generator for Python C/C++/Fortran/Cython extensions" +HOMEPAGE=" + https://github.com/scikit-build/scikit-build/ + https://pypi.org/project/scikit-build/ +" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/distro[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/setuptools-42.0.0[${PYTHON_USEDEP}] + >=dev-python/wheel-0.32.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + >=dev-python/cython-0.25.1[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-1.10.4[${PYTHON_USEDEP}] + >=dev-python/pytest-virtualenv-1.2.5[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs \ + dev-python/sphinx-rtd-theme \ + dev-python/sphinx-issues +distutils_enable_tests pytest + +src_prepare() { + # not packaged + sed -i -e '/cmakedomain/d' docs/conf.py || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # sandbox violations + tests/test_hello_cpp.py::test_hello_develop + tests/test_issue274_support_default_package_dir.py + tests/test_issue274_support_one_package_without_package_dir.py + tests/test_issue334_configure_cmakelists_non_cp1252_encoding.py + tests/test_pep518.py + # This fails because of additional item setup.py in sources + tests/test_include_exclude_data.py::test_hello_sdist + tests/test_include_exclude_data.py::test_hello_sdist_with_base + tests/test_issue401_sdist_with_symlinks.py::test_sdist_with_symlinks + tests/test_manifest_in.py::test_manifest_in_sdist + # Wants internet to install things with pip + tests/test_numpy.py::test_pep518_findpython + # TODO + "tests/test_command_line.py::test_hide_listing[True-bdist_wheel]" + ) + epytest + rm -r "${BUILD_DIR}/install$(python_get_sitedir)"/{easy-install.pth,*.egg} || die +} diff --git a/dev-python/snaketrace/Manifest b/dev-python/snaketrace/Manifest index 2b81fd075590..895d60a3152b 100644 --- a/dev-python/snaketrace/Manifest +++ b/dev-python/snaketrace/Manifest @@ -1,3 +1,3 @@ -DIST snaketrace-0.3.1.tar.gz 6885 BLAKE2B 19201532a3189e981c88343c67920c9275e41c23cd42ac416d6deda037de6dcdee0346a3ea487cd32311aa97596803b907266a3c1d643bdb679206e64d45b078 SHA512 9efb16309e638b9472a6b7fd8415ca5c40b3b498ba0676767ffea4bcd07cfdba23345b5cd53a0b9d88f7d81f454035f126cdcbf2a51f9a04e1e7aa6e833a20fc -EBUILD snaketrace-0.3.1.ebuild 471 BLAKE2B 1ab7b25dbe906af2b6703fc2cd74fcf1da5592298cf413cb6ac9a53708a541f87fd1a1231a29cc2ab8c7f42f072fd76d516fad4d23160cfa130dc6da20e8fd8b SHA512 8911a0560157509f238d8d9ab24a03c248719064a909c6c2d0da867faf9f0426635735cc3b71c7af9fca3d70e95ef435545b3f81678434694a07a1f901f4a141 +DIST snaketrace-0.3.1.gh.tar.gz 6885 BLAKE2B 19201532a3189e981c88343c67920c9275e41c23cd42ac416d6deda037de6dcdee0346a3ea487cd32311aa97596803b907266a3c1d643bdb679206e64d45b078 SHA512 9efb16309e638b9472a6b7fd8415ca5c40b3b498ba0676767ffea4bcd07cfdba23345b5cd53a0b9d88f7d81f454035f126cdcbf2a51f9a04e1e7aa6e833a20fc +EBUILD snaketrace-0.3.1-r1.ebuild 506 BLAKE2B a7e504cc3b808f3307eba9e04455ce5d3bfd4a9224394b586e8b4aac9d48e174474f4ae3eac9a20c8ee45dc9c742b1b02c6549daf0e4341aa87837b3de5c3f95 SHA512 4b1476cf0917a0ef33ea9ab26bfbb95edf40e8da93d1f9067f4b13676fb16f22d4f9d479646038acd52a34af5da6179ddb91c12c2f5595dc7ead31fb6bd763b7 MISC metadata.xml 380 BLAKE2B 979151e92ffdc3888f795527d3bb19a3bfbc988a3060f14154dccfd644e6818b1bcf1b620a01ff0bf3cedbd0c370dc91d8c938d338498ffdfcab074284f7b725 SHA512 30a934b067afde23e8ade56387b43e9cebfa6db6dfbc4cbcc33d249879eaba4bf4cac209c70fba6e2406d0b961031dfb6ff173a6dbfb315e7f02dd0f4eaa6453 diff --git a/dev-python/snaketrace/snaketrace-0.3.1.ebuild b/dev-python/snaketrace/snaketrace-0.3.1-r1.ebuild index 6f07002f541a..73054ccfdce5 100644 --- a/dev-python/snaketrace/snaketrace-0.3.1.ebuild +++ b/dev-python/snaketrace/snaketrace-0.3.1-r1.ebuild @@ -1,14 +1,15 @@ # Copyright 2020-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{9..10} ) +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) inherit distutils-r1 DESCRIPTION="An strace-like tool for Python audit events" HOMEPAGE="https://github.com/dcoles/snaketrace https://pypi.org/project/snaketrace/" -SRC_URI="https://github.com/dcoles/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/dcoles/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="MIT" SLOT="0" diff --git a/dev-python/sphinxcontrib-doxylink/Manifest b/dev-python/sphinxcontrib-doxylink/Manifest index 8fdc108ac486..15375f74eb9b 100644 --- a/dev-python/sphinxcontrib-doxylink/Manifest +++ b/dev-python/sphinxcontrib-doxylink/Manifest @@ -1,3 +1,3 @@ DIST sphinxcontrib-doxylink-1.12.2.gh.tar.gz 23556 BLAKE2B 8d71de83ec304bbf2a74f414c46d157367fc950dc52bab7f685fba24520985fb06daf8bf760d49d73d7a2418da346bf6c84a493b24edef4ab53c5c09799f7c2e SHA512 e90594031067eed0eec1c7aad9c7d2ba7d9a4ce2012a905f6631947a7135659483d52a6261b923d3fa21fcde59ae8bf24c168507c8e95296e0539595e9589ed2 -EBUILD sphinxcontrib-doxylink-1.12.2.ebuild 1090 BLAKE2B 9aa9f570b115b430459af12af295b51ba1877e08bcc1bca19f3dcfa6fee79f686cec6317e88bbc65a5a1be228932434c4a1066eb149a85903411abebc2a0c963 SHA512 3f9030e30a7bd2fea2e68afc63876e2b73db60fb95de5048fd1de5287dcf64bfcfdd1440efb1d44f9ac9133c3ea8e15bda89c7572dc03185407b8a242b58292f +EBUILD sphinxcontrib-doxylink-1.12.2.ebuild 1090 BLAKE2B a742d648844d10d44ad022277eb9f305073650b2073f49d4757d517ae9955487354d52360b866f6f77c582d09d3710f60021585457e047b8bfc4e2b775e13332 SHA512 0395ed173557a320827ad0292b21de4a870770385bc6b444c6d661f395d179ab92bbe9d48c3b1b589b67f6f23570ce82d47452df768c9c5f80b0ecf16e259175 MISC metadata.xml 620 BLAKE2B e76f6c16f0f8280d0d7a99975a0dad33a76f93a634d99114df5eacf047e434c7356cb501c4021cdee1b17c3e7dd00e7ce4720d70c1ddddcf561c4e622b528549 SHA512 89afb14c72168f5a919347726c1445a205d5839925ead8b3969cc84f062caca0a666cc141f541c21d642f95c3c40fdfe677e3f1cce78aa1a5f6445e140ae7978 diff --git a/dev-python/sphinxcontrib-doxylink/sphinxcontrib-doxylink-1.12.2.ebuild b/dev-python/sphinxcontrib-doxylink/sphinxcontrib-doxylink-1.12.2.ebuild index 641d0ad7d03b..30287a1e18d2 100644 --- a/dev-python/sphinxcontrib-doxylink/sphinxcontrib-doxylink-1.12.2.ebuild +++ b/dev-python/sphinxcontrib-doxylink/sphinxcontrib-doxylink-1.12.2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{9..10} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit distutils-r1 diff --git a/dev-python/tikzplotlib/Manifest b/dev-python/tikzplotlib/Manifest index 43d5cd2f3af6..a89a6a5e2e10 100644 --- a/dev-python/tikzplotlib/Manifest +++ b/dev-python/tikzplotlib/Manifest @@ -1,3 +1,4 @@ -DIST tikzplotlib-0.10.1.tar.gz 98265 BLAKE2B 7664e702afb38580af78f2b0887000215a5a0c2ef57e4f9ca5d1100bcba257365b89aee805e800e3a9b5a992487c1ee9733088dadc53941405c0055336478130 SHA512 13a750d9929db1d4ce4608a296523be55878c702846b0b339c6c002cbdf4e8f7b1ffea84db612d8932a379fafce9b4fe6ab6ce4325bf780f211cc0b885a15818 -EBUILD tikzplotlib-0.10.1.ebuild 978 BLAKE2B 7d63c6dfe5cef60b1f2cd417786ec4b8b87f0628f42e6d3b2d55fbc509b7f9e35e107d2bcb953c48e6c2c88a34e4b14de0d5df3a11dd43bcde1e9d0a6aef5e9c SHA512 5aee766047e6af868268f375ad0761de14cb4c801231b6a89a348570fe2361c6bc5d4ac243ad151aa4aa92decd9c7c2592f664ac5a71aa819b07e6e52b69d01e +AUX tikzplotlib-0.10.1-matplotlib-3.6.0.patch 1622 BLAKE2B bd7d5fc97835f89782bbf1dc4071dffdc6f633f5852a8ab6ed26f6e6b8ccdca1600259630e749278d4252d6c9fbe595147dde500d411d0d76976d039e13fcb65 SHA512 5405986792fc808561379aad09eb7d9241e456d5e2bd3dedf682035069eb290d57df42429f5330465c0ecebf1591a840ae7759ceb5ec21f3562be404d5e9218b +DIST tikzplotlib-0.10.1.gh.tar.gz 98265 BLAKE2B 7664e702afb38580af78f2b0887000215a5a0c2ef57e4f9ca5d1100bcba257365b89aee805e800e3a9b5a992487c1ee9733088dadc53941405c0055336478130 SHA512 13a750d9929db1d4ce4608a296523be55878c702846b0b339c6c002cbdf4e8f7b1ffea84db612d8932a379fafce9b4fe6ab6ce4325bf780f211cc0b885a15818 +EBUILD tikzplotlib-0.10.1-r1.ebuild 1189 BLAKE2B 35ea9a5aa827d4a18e32734b2344a738be4181fb4f149cdae8510d2c1329cf4b7e22c801ff242ab0468a6dada462da27b55160b743d59921e32d7fc73f1bb75d SHA512 7b32901f7838d091088079eaffd304f19880a4a500a8473762b3087b1ba5b56c4c5aeb3059ea3606a2e7a705a06742c96fe3a1698308197e297f4639ad5f0e04 MISC metadata.xml 854 BLAKE2B d3cd2be01b5f729857c8957a875caa3f42574634daa75dd9249fdc4497d63bb9b0a7501ed06429b4a3d3a0813406a88403c70819581be92948aa52f95a148352 SHA512 609fa041d9a99edd80118743464f39ee4ea00c3de665e6c4ce72b1748f83f9e0828439af61b2d090207e04776a312e65c653036c5309e53cd7823ca581116c07 diff --git a/dev-python/tikzplotlib/files/tikzplotlib-0.10.1-matplotlib-3.6.0.patch b/dev-python/tikzplotlib/files/tikzplotlib-0.10.1-matplotlib-3.6.0.patch new file mode 100644 index 000000000000..2c3a0e506cc6 --- /dev/null +++ b/dev-python/tikzplotlib/files/tikzplotlib-0.10.1-matplotlib-3.6.0.patch @@ -0,0 +1,48 @@ +https://github.com/texworld/tikzplotlib/issues/567 +https://github.com/texworld/tikzplotlib/pull/558 + +From f9988eb6aa7cc7d55c0bb528c53e7a8408308939 Mon Sep 17 00:00:00 2001 +From: Paul Kim <44695374+thekpaul@users.noreply.github.com> +Date: Mon, 3 Oct 2022 01:15:21 +0900 +Subject: [PATCH 1/2] Legend Compatibility Issue in texworld#557 + +. + +. +--- a/src/tikzplotlib/_legend.py ++++ b/src/tikzplotlib/_legend.py +@@ -78,7 +78,7 @@ def draw_legend(data, obj): + if alignment: + data["current axes"].axis_options.append(f"legend cell align={{{alignment}}}") + +- if obj._ncol != 1: ++ if obj._ncols != 1: + data["current axes"].axis_options.append(f"legend columns={obj._ncol}") + + # Write styles to data + +From 61f7ea2fb2633f1c0de48f8da1f90a5f9ba078c1 Mon Sep 17 00:00:00 2001 +From: Paul Kim <44695374+thekpaul@users.noreply.github.com> +Date: Wed, 5 Oct 2022 11:30:48 +0900 +Subject: [PATCH 2/2] Backwards Compat for `ncol` + +Co-authored-by: st-- <st--@users.noreply.github.com> +--- a/src/tikzplotlib/_legend.py ++++ b/src/tikzplotlib/_legend.py +@@ -78,8 +78,13 @@ def draw_legend(data, obj): + if alignment: + data["current axes"].axis_options.append(f"legend cell align={{{alignment}}}") + +- if obj._ncols != 1: +- data["current axes"].axis_options.append(f"legend columns={obj._ncol}") ++ try: ++ ncols = obj._ncols ++ except AttributeError: ++ # backwards-compatibility with matplotlib < 3.6.0 ++ ncols = obj._ncol ++ if ncols != 1: ++ data["current axes"].axis_options.append(f"legend columns={ncols}") + + # Write styles to data + if legend_style: + diff --git a/dev-python/tikzplotlib/tikzplotlib-0.10.1.ebuild b/dev-python/tikzplotlib/tikzplotlib-0.10.1-r1.ebuild index 67419d0063ef..7b21d67ed209 100644 --- a/dev-python/tikzplotlib/tikzplotlib-0.10.1.ebuild +++ b/dev-python/tikzplotlib/tikzplotlib-0.10.1-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{9..10} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit distutils-r1 virtualx @@ -13,26 +13,31 @@ HOMEPAGE=" https://github.com/texworld/tikzplotlib/ https://pypi.org/project/tikzplotlib/ " -SRC_URI="https://github.com/texworld/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/texworld/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" +# https://github.com/texworld/tikzplotlib/issues/567 for mpl-3.6.0 dep RDEPEND=" app-text/texlive[extra] - dev-python/matplotlib[latex,${PYTHON_USEDEP}] + <dev-python/matplotlib-3.6.0[latex,${PYTHON_USEDEP}] dev-python/numpy[${PYTHON_USEDEP}] dev-python/pillow[${PYTHON_USEDEP}] dev-python/webcolors[${PYTHON_USEDEP}] " - BDEPEND=" test? ( dev-python/pandas[${PYTHON_USEDEP}] dev-python/pytest-codeblocks[${PYTHON_USEDEP}] dev-python/scipy[${PYTHON_USEDEP}] - )" + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-0.10.1-matplotlib-3.6.0.patch +) distutils_enable_tests pytest distutils_enable_sphinx doc dev-python/mock @@ -41,3 +46,7 @@ src_test() { local -x MPLBACKEND=Agg virtx distutils-r1_src_test } + +python_test() { + epytest || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/wxpython/Manifest b/dev-python/wxpython/Manifest index 77bbd2acc7e9..dbcdf73ab23e 100644 --- a/dev-python/wxpython/Manifest +++ b/dev-python/wxpython/Manifest @@ -1,6 +1,11 @@ AUX wxpython-4.0.6-no-webkit.patch 1411 BLAKE2B 222f85e79f55420ca2b04b3ba6a30293646f84894a45ac2b72852e3f72f187e333b2efd6d76cc02c5996ae75725ef40e882d45012c492b7f3a478666a01d0189 SHA512 82539d4ec63a8b21576de38b17fe2fdf095443b4cfeabf369c443d818ce402e62dcf257ccba022c3b0d671f914f5ef88e4ff40b9fc7d6276493c9a8caf2b76fa AUX wxpython-4.0.6-skip-broken-tests.patch 4113 BLAKE2B 920f1c0c6e1154de83c412ffdfa4b3276d01a5e9be8998be42634368f34217bd5b6505abced2ec3479b9ab4f40a5697405983740e599b76be1725bb963e3311e SHA512 04201012f1cc16913ff53a9d4868dbdaa6915b1a3a33f0342572aa56741207b6de6e274b91cd26a06511ae8d79d7fef247c2cababafd57130417caa4463a409a AUX wxpython-4.0.7-ultimatelistctrl.patch 4121 BLAKE2B 0fdf74a0131c9d5c49dd867c3867ac212d26f4d877dc4f4e48680d90956c1027bbc776d19edd235d8f1e4b619d616c4ca1ab28b45a3b2dc79aa97a59c48adb2f SHA512 9d766d9724613e269215db81ecaad7d836b65c4d17f8b522bd688881bce1176241965d05539886da42755f0c7be65ef55c4ce340c21fddd512abb6577ece5482 +AUX wxpython-4.2.0-flags.patch 711 BLAKE2B d05ee176b010199f32ba4325452d7eddb60b78e80e2d80421223c061f33f3edf2d84528eac4d50acbf85af532f6fdfd6fb3cda2c8d97525cce5f66a0dd5c6891 SHA512 ac9c04b086af69d1bd7ce7ff6d9b87b8f6cf5c5273ada18089247f1f951f32009d181ff24758c01f1954183dcbf20fb0bce7501346cc615a18b4f43f2831c7bb +AUX wxpython-4.2.0-no-attrdict.patch 363 BLAKE2B 2ab3735103574959e069ecd647dc003ad6362760214a67632c91a7d216a372b4bf13450a7420bb8415bd744cac23a514726bf6feb09302b775a2a4c580094599 SHA512 b410023d186db3b07b3780fad2e1037d5a854f10771a5e1c8cd98da91a36e727931bf75944ff1a56e0730ff78a4ec8c9a3d81dec02efa3fe91191ad0a1639859 +AUX wxpython-4.2.0-no-webkit.patch 1285 BLAKE2B 19fdee2293da214b8ae318b2670298b34b745cfefd3938be1f22c810cb1bc4273d628aa34cf427c1023d90739784d8e5c8d381e6084689876bdc336a86a3d0db SHA512 fbe6825f266443b9dec68786e26d6e3842d4dec3b9927420ecaca45a834798c8ef83a95398ea498db386e7d1c659a6a3779a5b62867296cc7244401b06db9586 DIST wxPython-4.0.7.post2.tar.gz 68891167 BLAKE2B 77eb69f7a59e5be81c3d17b64c76e09a43efc9226bd87fd058483185871a95ce05dbb65614ec8b003edf52cbe1cb1a115856c0d622170c51ecacbb952106fe22 SHA512 7af89db90a0f7e6b644d61c1ede01ec36a2c295e46d44692ae9dbc4af923310c1b498a52f45b02a89e8917d844c6abe67e5f3fdd9c1d51da3312899319a349e4 +DIST wxPython-4.2.0.tar.gz 70958238 BLAKE2B 2e8e34c4f5d1992983bfe4e09bb56ee5619b139b9b3b5f05dee48ecdf6971cf9fe1b0fb22aec685904eb44db6f50a4ba132a08aa91930d809040da828efa097e SHA512 9ec937a024efb2916403c84382a66004f0c2bb07471246b7de517778309ce459e929eeb59e261f538d3fa077c950628de62e49a3760fbd03ab9ff2114c6f354f EBUILD wxpython-4.0.7-r4.ebuild 2370 BLAKE2B e8b76a2c2a0b2153c4663a4e514d0ee6c54bd5946e92dc436f854775e410031393b8f8506ae50567490b5b709eb5ada1ab3cf24c980f0a14f2d57b91e21c780c SHA512 f8e47b0de868d90b9a9fcb33c9fa22a96c8ad7d195b35917239ec840a685fdd9fc42f5a0259c644dec17886395bc433a125539ab7b09107f4f135a1b08042b95 +EBUILD wxpython-4.2.0.ebuild 3936 BLAKE2B 5cf2a44411d30e5efdf88776e151fe0105a9606030193fdab872980c292db524755ece2c98b8259c46a2886a66dc3c808dbba0dfd9c1568ac30ed0175d059aeb SHA512 702ff388df79fb4fcec21aa7aee3ca3d77f579ee97d41741b03ca12b2dcb9cc390f0361ef371388a2fd925779bc3144c64447e230bb69c4a25086edc2cc870b0 MISC metadata.xml 491 BLAKE2B ffa0cccf66f484c856fb30249bd0ccc3b0da2f3ee8e3c3a0df1782bc58e4867ff99d9711f1784b44b439f2a8bcf297c1082b49a941823f046c7f2c7977a77629 SHA512 a2f5908a276a8f9c512cb59c8d17873398c91b21977371ab724e669f3b6c032d53510fbcd183a5dc340279fc522289e617b8c313c0d825ca70d0d2a5d74f8cfa diff --git a/dev-python/wxpython/files/wxpython-4.2.0-flags.patch b/dev-python/wxpython/files/wxpython-4.2.0-flags.patch new file mode 100644 index 000000000000..12af1e211b4a --- /dev/null +++ b/dev-python/wxpython/files/wxpython-4.2.0-flags.patch @@ -0,0 +1,16 @@ +--- a/buildtools/config.py ++++ b/buildtools/config.py +@@ -236,9 +236,12 @@ class Configuration(object): + for lst in [self.cflags, self.cxxflags]: + lst.append('-O3') + ++ self.cflags += os.environ.get('CFLAGS', '').split() ++ self.cxxflags += os.environ.get('CXXFLAGS', '').split() ++ + lflags = self.getWxConfigValue('--libs') + self.MONOLITHIC = (lflags.find("_xrc") == -1) +- self.lflags = lflags.split() ++ self.lflags = lflags.split() + os.environ.get('LDFLAGS', '').split() + + self.WXBASENAME = self.getWxConfigValue('--basename') + self.WXRELEASE = self.getWxConfigValue('--release') diff --git a/dev-python/wxpython/files/wxpython-4.2.0-no-attrdict.patch b/dev-python/wxpython/files/wxpython-4.2.0-no-attrdict.patch new file mode 100644 index 000000000000..b3e4beff2cfe --- /dev/null +++ b/dev-python/wxpython/files/wxpython-4.2.0-no-attrdict.patch @@ -0,0 +1,13 @@ +As in https://src.fedoraproject.org/rpms/python-wxpython4/raw/rawhide/f/no-attrdict.patch. +--- a/buildtools/config.py ++++ b/buildtools/config.py +@@ -27,8 +27,6 @@ from distutils.dep_util import newer + + import distutils.sysconfig + +-from attrdict import AttrDict +- + runSilently = False + + #---------------------------------------------------------------------- + diff --git a/dev-python/wxpython/files/wxpython-4.2.0-no-webkit.patch b/dev-python/wxpython/files/wxpython-4.2.0-no-webkit.patch new file mode 100644 index 000000000000..5ab48cef727d --- /dev/null +++ b/dev-python/wxpython/files/wxpython-4.2.0-no-webkit.patch @@ -0,0 +1,27 @@ +--- a/wscript ++++ b/wscript +@@ -244,15 +244,6 @@ + uselib_store='WXGL', mandatory=True, + msg='Finding libs for WXGL') + +- if cfg.checkSetup(wxConfigDir, 'wxUSE_WEBVIEW'): +- wv_libs = '--libs webview,core,net' +- else: +- wv_libs = '--libs core,net' +- conf.check_cfg(path=conf.options.wx_config, package='', +- args='--cxxflags ' + wv_libs + rpath, +- uselib_store='WXWEBVIEW', mandatory=True, +- msg='Finding libs for WXWEBVIEW') +- + conf.check_cfg(path=conf.options.wx_config, package='', + args='--cxxflags --libs xml,core,net' + rpath, + uselib_store='WXXML', mandatory=True, +@@ -600,7 +591,6 @@ + makeETGRule(bld, 'etg/_stc.py', '_stc', 'WXSTC') + makeETGRule(bld, 'etg/_html.py', '_html', 'WXHTML') + makeETGRule(bld, 'etg/_glcanvas.py', '_glcanvas', 'WXGL') +- makeETGRule(bld, 'etg/_html2.py', '_html2', 'WXWEBVIEW') + makeETGRule(bld, 'etg/_xml.py', '_xml', 'WXXML') + makeETGRule(bld, 'etg/_xrc.py', '_xrc', 'WXXRC') + makeETGRule(bld, 'etg/_richtext.py', '_richtext', 'WXHTML WXRICHTEXT') + diff --git a/dev-python/wxpython/wxpython-4.2.0.ebuild b/dev-python/wxpython/wxpython-4.2.0.ebuild new file mode 100644 index 000000000000..1c2f64bef4fe --- /dev/null +++ b/dev-python/wxpython/wxpython-4.2.0.ebuild @@ -0,0 +1,125 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_IN_SOURCE_BUILD="1" +PYTHON_COMPAT=( python3_{9..11} ) +WX_GTK_VER="3.2-gtk3" + +inherit distutils-r1 multiprocessing virtualx wxwidgets + +MY_PN="wxPython" +MY_PV="${PV/_p/.post}" + +DESCRIPTION="A blending of the wxWindows C++ class library with Python" +HOMEPAGE="https://www.wxpython.org/" +SRC_URI="mirror://pypi/${P:0:1}/${MY_PN}/${MY_PN}-${MY_PV}.tar.gz" + +LICENSE="wxWinLL-3" +SLOT="4.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test webkit" +# Tests broken: #726812, #722716 +# Nearly there as of 4.2.0 but still quite flaky (inconsistent set of failures) +RESTRICT="!test? ( test ) test" + +# wxPython doesn't seem to be able to optionally disable features. webkit is +# optionally patched out because it's so huge, but other elements are not, +# which makes us have to require all features from wxGTK +RDEPEND=" + >=x11-libs/wxGTK-3.0.4-r301:${WX_GTK_VER}=[gstreamer,libnotify,opengl,sdl,tiff,webkit?,X] + media-libs/libpng:= + media-libs/tiff:= + media-libs/libjpeg-turbo:= +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-doc/doxygen + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/sip-6.6.2[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + test? ( + ${VIRTUALX_DEPEND} + dev-python/appdirs[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +S="${WORKDIR}/${MY_PN}-${MY_PV}" + +PATCHES=( + #"${FILESDIR}/${PN}-4.0.6-skip-broken-tests.patch" + "${FILESDIR}/${PN}-4.2.0-no-attrdict.patch" + "${FILESDIR}/${PN}-4.2.0-flags.patch" +) + +python_prepare_all() { + if ! use webkit; then + eapply "${FILESDIR}/${PN}-4.2.0-no-webkit.patch" + rm unittests/test_webview.py || die + fi + + # Most of these tests disabled below fail because of the virtx/portage + # environment, but some fail for unknown reasons. + rm unittests/test_uiaction.py \ + unittests/test_notifmsg.py \ + unittests/test_mousemanager.py \ + unittests/test_display.py \ + unittests/test_pi_import.py \ + unittests/test_lib_agw_thumbnailctrl.py \ + unittests/test_sound.py || die + + distutils-r1_python_prepare_all +} + +src_configure() { + setup-wxwidgets +} + +python_compile() { + DOXYGEN=/usr/bin/doxygen ${PYTHON} build.py dox etg --nodoc || die + + # Refresh the bundled/pregenerated sip files + ${PYTHON} build.py sip || die + + # Build the bindings + ${PYTHON} build.py build_py \ + --use_syswx \ + --no_magic \ + --jobs="$(makeopts_jobs)" \ + --verbose \ + --release || die +} + +python_test() { + EPYTEST_DESELECT=( + # Aborts, needs investigation + unittests/test_utils.py::utils_Tests::test_utilsSomeOtherStuff + + # Failures, need investigation + unittests/test_frame.py::frame_Tests::test_frameRestore + unittests/test_fswatcher.py::fswatcher_Tests::test_fswatcher1 + unittests/test_intl.py::intl_Tests::test_intlGetString + unittests/test_lib_busy.py::lib_busy_Tests::test_lib_busy5 + unittests/test_lib_mixins_inspection.py::wit_TestCase::test_App_OnInit + unittests/test_lib_pubsub_provider.py::lib_pubsub_Except::test1 + unittests/test_lib_pubsub_topicmgr.py::lib_pubsub_TopicMgr2_GetOrCreate_DefnProv::test20_UseProvider + unittests/test_windowid.py::IdManagerTest::test_newIdRef03 + unittests/test_auibook.py::auibook_Tests::test_auibook02 + unittests/test_lib_agw_persist_persistencemanager.py::lib_agw_persist_persistencemanager_Tests::test_persistencemanagerPersistValue + unittests/test_lib_agw_persist_persistencemanager.py::lib_agw_persist_persistencemanager_Tests::test_persistencemanagerRestore + unittests/test_aboutdlg.py::aboutdlg_Tests::test_aboutdlgGeneric + unittests/test_auiframemanager.py::auiframemanager_Tests::test_auiframemanager02 + ) + + # We use pytest-forked as opensuse does to avoid tests corrupting each + # other. + virtx epytest --forked -n "$(makeopts_jobs)" unittests +} + +python_install() { + distutils-r1_python_install --skip-build +} diff --git a/dev-python/xmlsec/Manifest b/dev-python/xmlsec/Manifest new file mode 100644 index 000000000000..66508a4e3d33 --- /dev/null +++ b/dev-python/xmlsec/Manifest @@ -0,0 +1,4 @@ +AUX xmlsec-1.3.11-fix-xml-testfail.patch 879 BLAKE2B 3d655b40a67b44a4abd65188c6d719e12063e857942fdb112b47da38977864252e3d250e0bbaf5c86f4688bb7701aae89df444c4fef0e3f0eaffc98fe5b6b856 SHA512 8c8f9af415dc9207e5c0599ee958dff6558618f94a9cb3c583b1c9eb6d1de251d714edf1afdee581cb33c7543f88c54d36af9b6f903fe31994a86f1b602e4c75 +DIST python-xmlsec-1.3.12.gh.tar.gz 77722 BLAKE2B b5ecece8063b823cdbe4d58967d10026bdc6f3774954021a3739d579ba3c5a08130af1792921c7892e6bc3d00f88ac83ab30e862775e419e0dad40b990b10cbe SHA512 19c5e3bf58b4b0f8a1cca3e60c08348b02ae298620f8c02b8cfb325aecf0313cb2bd1af89507b754ebe4c35af3b031e232d15ddcd42deae0821c9c0d7571aa7c +EBUILD xmlsec-1.3.12-r1.ebuild 1217 BLAKE2B b0aa6ac7f638ac2aa45b7ac095fa4ec1e1eb928580d314bb343506e378c6016a8d1cf6df50f3bebc806c97386817743cf79a823da51593a5e3b0b7b06ff01c7a SHA512 e99bef94e929f246bbc596c9213e341900173d3d8b17f0370ed36870add1a2da2fad8eb22529159b8b7bc4cd9cb7e5cfc17e5757b4d643ec1da6e9cca2801db6 +MISC metadata.xml 480 BLAKE2B 17abd324963ad808438f7c04a5785ab72e280a5ba8b132737d89c06fd17fc20e96478b4684ae84864bd03690bda6e865200a8eacf3bd0c23ceca4f0230bef1a5 SHA512 82d2b54886ba9d2eeba17aa04e2946c9dda8d30a5bea9a9ba7a5041b559971466c33ceb67ed35c9f865c052df09fb9fd057b46efd4d3d4314f456c8b1c0aaac7 diff --git a/dev-python/python-xmlsec/files/python-xmlsec-1.3.11-fix-xml-testfail.patch b/dev-python/xmlsec/files/xmlsec-1.3.11-fix-xml-testfail.patch index 3e7ab8829c2f..3e7ab8829c2f 100644 --- a/dev-python/python-xmlsec/files/python-xmlsec-1.3.11-fix-xml-testfail.patch +++ b/dev-python/xmlsec/files/xmlsec-1.3.11-fix-xml-testfail.patch diff --git a/dev-python/python-xmlsec/metadata.xml b/dev-python/xmlsec/metadata.xml index deb1f9ad929a..c75425b41ecf 100644 --- a/dev-python/python-xmlsec/metadata.xml +++ b/dev-python/xmlsec/metadata.xml @@ -10,6 +10,7 @@ <name>Python</name> </maintainer> <upstream> + <remote-id type="github">xmlsec/python-xmlsec</remote-id> <remote-id type="pypi">xmlsec</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/python-xmlsec/python-xmlsec-1.3.12-r1.ebuild b/dev-python/xmlsec/xmlsec-1.3.12-r1.ebuild index eba0c418d064..f465d6032766 100644 --- a/dev-python/python-xmlsec/python-xmlsec-1.3.12-r1.ebuild +++ b/dev-python/xmlsec/xmlsec-1.3.12-r1.ebuild @@ -4,20 +4,28 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..10} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit distutils-r1 +MY_P=python-xmlsec-${PV} DESCRIPTION="Python bindings for the XML Security Library" -HOMEPAGE="https://github.com/mehcode/python-xmlsec" -SRC_URI="https://github.com/mehcode/python-xmlsec/archive/${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE=" + https://github.com/xmlsec/python-xmlsec/ + https://pypi.org/project/xmlsec/ +" +SRC_URI=" + https://github.com/xmlsec/python-xmlsec/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" KEYWORDS="amd64 ~ppc64 x86" RDEPEND=" - dev-libs/xmlsec:= + dev-libs/xmlsec:=[openssl] dev-python/lxml[${PYTHON_USEDEP}] " DEPEND="${RDEPEND}" @@ -37,6 +45,10 @@ PATCHES=( EPYTEST_DESELECT=( # Fragile based on black version? tests/test_type_stubs.py::test_xmlsec_constants_stub + + # Broken with xmlsec-1.2.36+. + # https://github.com/xmlsec/python-xmlsec/issues/244 + tests/test_ds.py::TestSignContext::test_sign_case5 ) distutils_enable_tests pytest diff --git a/dev-python/zeep/Manifest b/dev-python/zeep/Manifest index 26004ac6bc90..c9d97727a3e0 100644 --- a/dev-python/zeep/Manifest +++ b/dev-python/zeep/Manifest @@ -1,3 +1,3 @@ DIST zeep-4.2.1.tar.gz 161072 BLAKE2B 01e3ec848bc4a98b301b7d091a0740f4a69057f3bb56e884a31b1d73ed51b0c62b4e0e148b2a59ebb6f01469aa949cb4079c0147dae7b3d8e7c8a2f66e5b31f8 SHA512 08de88c1e4cd1787137ea18f12bf343c5c9bb7b353ecd8781c58c7c1acf1b6ee8a0483b47d9a78eb24c79d8ecc347eb8595d460d9f75ca0428963f36a76dff5d -EBUILD zeep-4.2.1.ebuild 1384 BLAKE2B a8740da0ee1010818cbe93ed49de01ff04e6c4de4d98fa47e9e89478ba0221b12d5e6b815304356f072fa99f043604e0976318052565e07f495450e1d9747585 SHA512 273a1896bb6a1d36b53942a5f6b2012e01a0bec358ec753613073d374b6c27ac857f6c0060e4e1d228bf72874a36c416aadc5ea91e10385b973377243852fb8a +EBUILD zeep-4.2.1.ebuild 1330 BLAKE2B e73f74aa2688e08c69fd19988b7b51a73b8818cd057f3e64493adaa41b8f3506b00acbfb7eb9e034269dd1bda30c5a0ffc341ad8c87822980f98e64053e308f5 SHA512 972b2f286225771326ef373493952f3a43010625e5160e46e5e884764632e7340814200916a32897d7bf8b7e1d516c66d41c574687a9e33ec63f29462266f5c8 MISC metadata.xml 485 BLAKE2B 7bf7fe5fa8c3803d58acb9b572a9b8cf5250f5bb95c95eb385748bd87da46fed52a6c13c48c5c623c61256289b598873c05c7bd24aeac331651708c365974557 SHA512 e4af11481fdcdc75c3e5f31d457707c7ea8baacee3c0e912a93b2d224e60685d821347f6cb7f6f12483e2051043ea25f5560446ef11f210cdd41b13e1e4e1fcc diff --git a/dev-python/zeep/zeep-4.2.1.ebuild b/dev-python/zeep/zeep-4.2.1.ebuild index 975c1a5afa95..73a4d2354650 100644 --- a/dev-python/zeep/zeep-4.2.1.ebuild +++ b/dev-python/zeep/zeep-4.2.1.ebuild @@ -4,9 +4,9 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..10} ) +PYTHON_COMPAT=( python3_{9..11} ) -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="A modern/fast Python SOAP client based on lxml / requests" HOMEPAGE=" @@ -14,7 +14,6 @@ HOMEPAGE=" https://github.com/mvantellingen/python-zeep/ https://pypi.org/project/zeep/ " -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" @@ -39,10 +38,10 @@ BDEPEND=" dev-python/freezegun[${PYTHON_USEDEP}] dev-python/mock[${PYTHON_USEDEP}] dev-python/pretend[${PYTHON_USEDEP}] - dev-python/python-xmlsec[${PYTHON_USEDEP}] dev-python/pytest-asyncio[${PYTHON_USEDEP}] dev-python/pytest-httpx[${PYTHON_USEDEP}] dev-python/requests-mock[${PYTHON_USEDEP}] + dev-python/xmlsec[${PYTHON_USEDEP}] ) " |