diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-04-01 01:43:15 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-04-01 01:43:15 +0000 |
| commit | cffbcdadc6d16999a8ea9d79d035f4c86310f9bc (patch) | |
| tree | 73ca9cc9f9af753d6ba15cc509224c5ab94bc3cd /dev-python | |
| parent | da2764e87424db6597eb7d660475cf04c8557655 (diff) | |
| download | baldeagleos-repo-cffbcdadc6d16999a8ea9d79d035f4c86310f9bc.tar.gz baldeagleos-repo-cffbcdadc6d16999a8ea9d79d035f4c86310f9bc.tar.xz baldeagleos-repo-cffbcdadc6d16999a8ea9d79d035f4c86310f9bc.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
130 files changed, 677 insertions, 1944 deletions
diff --git a/dev-python/PyGithub/PyGithub-1.55-r1.ebuild b/dev-python/PyGithub/PyGithub-1.55-r1.ebuild index 55fa80007403..b841c0b8ad54 100644 --- a/dev-python/PyGithub/PyGithub-1.55-r1.ebuild +++ b/dev-python/PyGithub/PyGithub-1.55-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="LGPL-3+" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" RDEPEND=" dev-python/deprecated[${PYTHON_USEDEP}] diff --git a/dev-python/PyGithub/PyGithub-1.55.ebuild b/dev-python/PyGithub/PyGithub-1.55.ebuild deleted file mode 100644 index 46c6aee14274..000000000000 --- a/dev-python/PyGithub/PyGithub-1.55.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="Python library to access the Github API v3" -HOMEPAGE="https://github.com/PyGithub/PyGithub/" -# Use github since pypi is missing test data -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="LGPL-3+" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND="dev-python/deprecated[${PYTHON_USEDEP}] - >=dev-python/pyjwt-2.0[${PYTHON_USEDEP}] - >=dev-python/pynacl-1.4.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.14.0[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/httpretty-0.9.6[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest diff --git a/dev-python/aiohttp-cors/aiohttp-cors-0.7.0-r1.ebuild b/dev-python/aiohttp-cors/aiohttp-cors-0.7.0-r1.ebuild deleted file mode 100644 index 049cf26903d8..000000000000 --- a/dev-python/aiohttp-cors/aiohttp-cors-0.7.0-r1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Implements CORS support for aiohttp asyncio-powered asynchronous HTTP server" -HOMEPAGE="https://github.com/aio-libs/aiohttp-cors" -SRC_URI="https://github.com/aio-libs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86" - -RDEPEND=">=dev-python/aiohttp-1.1.1[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( - dev-python/pytest-aiohttp[${PYTHON_USEDEP}] - dev-python/selenium[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -# https://github.com/aio-libs/aiohttp-cors/pull/278 -PATCHES=( - "${FILESDIR}/${P}-tests.patch" - "${FILESDIR}/${P}-py3_7.patch" -) - -src_prepare() { - sed -i -e '/^addopts=/d' setup.cfg || die - echo " ignore::DeprecationWarning" >> pytest.ini - distutils-r1_src_prepare -} diff --git a/dev-python/aiohttp-cors/aiohttp-cors-0.7.0-r2.ebuild b/dev-python/aiohttp-cors/aiohttp-cors-0.7.0-r2.ebuild index e46a4b31d3ee..4013a7d74f71 100644 --- a/dev-python/aiohttp-cors/aiohttp-cors-0.7.0-r2.ebuild +++ b/dev-python/aiohttp-cors/aiohttp-cors-0.7.0-r2.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/aio-libs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86" RDEPEND=" >=dev-python/aiohttp-1.1.1[${PYTHON_USEDEP}] diff --git a/dev-python/aioresponses/aioresponses-0.7.3-r1.ebuild b/dev-python/aioresponses/aioresponses-0.7.3-r1.ebuild index b045e4bdf68f..d85bcb126a14 100644 --- a/dev-python/aioresponses/aioresponses-0.7.3-r1.ebuild +++ b/dev-python/aioresponses/aioresponses-0.7.3-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" RDEPEND=" dev-python/aiohttp[${PYTHON_USEDEP}] diff --git a/dev-python/aioresponses/aioresponses-0.7.3.ebuild b/dev-python/aioresponses/aioresponses-0.7.3.ebuild deleted file mode 100644 index cd456f7c237d..000000000000 --- a/dev-python/aioresponses/aioresponses-0.7.3.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Helper to mock/fake web requests in Python's aiohttp package" -HOMEPAGE="https://github.com/pnuckowski/aioresponses" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}]" -BDEPEND=" - dev-python/pbr[${PYTHON_USEDEP}] - test? ( - dev-python/ddt[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs -distutils_enable_tests pytest - -python_test() { - local deselect=( - # These tests require Internet access - tests/test_aioresponses.py::AIOResponsesTestCase::test_address_as_instance_of_url_combined_with_pass_through - tests/test_aioresponses.py::AIOResponsesTestCase::test_pass_through_with_origin_params - ) - epytest ${deselect[@]/#/--deselect } -} diff --git a/dev-python/bandit/Manifest b/dev-python/bandit/Manifest index 39d9c1e94443..2c321875463e 100644 --- a/dev-python/bandit/Manifest +++ b/dev-python/bandit/Manifest @@ -1,3 +1 @@ -DIST bandit-1.7.2.tar.gz 497104 BLAKE2B 235e8c29658db9b0916b2108a46931581384851650217a7e368f06fe9225aadf181b320a75061387b277d1e3ff3f1d38fe6d07be14f7c7d056fa06e8db84e4e4 SHA512 fde27d409dcb867285f3c7a9ee88a079dae58211e17c2157601bbff9e9144e604def3c0179a7c9016266bdf70ed9da9ca519641f4aca4e76a30859c8e01177b9 -DIST bandit-1.7.3.tar.gz 495009 BLAKE2B fb31ae7a5115ec98ba9b62100a2601552e6ca54b9f57fe61e0bb3f2b4b107cc83c25425a43e2681a1e83d7606e209089cbfa95068bb3dc0f35f188b75a307390 SHA512 4a95c67185446ba4250bb2e37dcafb423d4985952122793a698788f8d973ac700964dce0603b5d547d4b74f82272593bc72be266c34ec73af903f3d016015148 DIST bandit-1.7.4.tar.gz 495104 BLAKE2B 5531a602dea877745ebdecf768fa83e0e478c52d472fbfdf98fec32c73a76a73e4f6dd957be760b4757e47c5f9cc25f6cd2f6c593df1e54165e647950a9f8a54 SHA512 93e1a25fd41e9409971f4cbac2ff73971ba270936a6b2aeecb3e0a2aa2015bcefd5eaab3cc94b2d9d96e4604d1a39c5ca1150c9eadd073357a90c5265c592407 diff --git a/dev-python/bandit/bandit-1.7.2-r1.ebuild b/dev-python/bandit/bandit-1.7.2-r1.ebuild deleted file mode 100644 index f487f378d841..000000000000 --- a/dev-python/bandit/bandit-1.7.2-r1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="A security linter from OpenStack Security" -HOMEPAGE="https://github.com/PyCQA/bandit" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~s390 x86" - -RDEPEND=" - >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] - >=dev-python/GitPython-1.0.1[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}] - >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] - test? ( - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - >=dev-python/testscenarios-0.5.0[${PYTHON_USEDEP}] - >=dev-python/testtools-2.3.0[${PYTHON_USEDEP}] - >=dev-python/beautifulsoup4-4.8.0[${PYTHON_USEDEP}] - >=dev-python/pylint-1.9.4[${PYTHON_USEDEP}] - dev-python/toml[${PYTHON_USEDEP}] - )" - -distutils_enable_tests unittest diff --git a/dev-python/bandit/bandit-1.7.3.ebuild b/dev-python/bandit/bandit-1.7.3.ebuild deleted file mode 100644 index b8207362b981..000000000000 --- a/dev-python/bandit/bandit-1.7.3.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="A security linter from OpenStack Security" -HOMEPAGE="https://github.com/PyCQA/bandit" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~s390 ~x86" - -RDEPEND=" - >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] - >=dev-python/GitPython-1.0.1[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}] - >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] - test? ( - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - >=dev-python/testscenarios-0.5.0[${PYTHON_USEDEP}] - >=dev-python/testtools-2.3.0[${PYTHON_USEDEP}] - >=dev-python/beautifulsoup4-4.8.0[${PYTHON_USEDEP}] - >=dev-python/pylint-1.9.4[${PYTHON_USEDEP}] - dev-python/toml[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest diff --git a/dev-python/bandit/bandit-1.7.4.ebuild b/dev-python/bandit/bandit-1.7.4.ebuild index b8207362b981..d6bcd32e6c8c 100644 --- a/dev-python/bandit/bandit-1.7.4.ebuild +++ b/dev-python/bandit/bandit-1.7.4.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~s390 ~x86" +KEYWORDS="amd64 ~arm arm64 ~s390 x86" RDEPEND=" >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/blosc/blosc-1.10.5-r1.ebuild b/dev-python/blosc/blosc-1.10.5-r1.ebuild index c50eaf2a3031..2888160a6f02 100644 --- a/dev-python/blosc/blosc-1.10.5-r1.ebuild +++ b/dev-python/blosc/blosc-1.10.5-r1.ebuild @@ -19,7 +19,7 @@ S=${WORKDIR}/${MY_P} SLOT="0" LICENSE="MIT" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/coverage/coverage-6.3.2-r1.ebuild b/dev-python/coverage/coverage-6.3.2-r1.ebuild index c5a8ab57fcbf..1cee77861ebd 100644 --- a/dev-python/coverage/coverage-6.3.2-r1.ebuild +++ b/dev-python/coverage/coverage-6.3.2-r1.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" BDEPEND=" test? ( diff --git a/dev-python/css-parser/css-parser-1.0.7-r1.ebuild b/dev-python/css-parser/css-parser-1.0.7-r1.ebuild index e9020c11068c..4531a4a391ac 100644 --- a/dev-python/css-parser/css-parser-1.0.7-r1.ebuild +++ b/dev-python/css-parser/css-parser-1.0.7-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="LGPL-2.1+" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" BDEPEND=" test? ( dev-python/chardet[${PYTHON_USEDEP}] ) diff --git a/dev-python/css-parser/css-parser-1.0.7.ebuild b/dev-python/css-parser/css-parser-1.0.7.ebuild deleted file mode 100644 index 37f3aa965b12..000000000000 --- a/dev-python/css-parser/css-parser-1.0.7.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="A CSS Cascading Style Sheets library (fork of cssutils)" -HOMEPAGE="https://pypi.org/project/css-parser/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="LGPL-2.1+" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND="test? ( dev-python/chardet[${PYTHON_USEDEP}] )" - -distutils_enable_tests setup.py diff --git a/dev-python/defcon/defcon-0.10.0-r1.ebuild b/dev-python/defcon/defcon-0.10.0-r1.ebuild index 384521522525..f31eb8970a83 100644 --- a/dev-python/defcon/defcon-0.10.0-r1.ebuild +++ b/dev-python/defcon/defcon-0.10.0-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/robotools/defcon/archive/${PV}.tar.gz -> ${P}.tar.gz LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" RDEPEND=" >=dev-python/fonttools-4.28.5[${PYTHON_USEDEP}] diff --git a/dev-python/defcon/defcon-0.10.0.ebuild b/dev-python/defcon/defcon-0.10.0.ebuild deleted file mode 100644 index 7b135fe6a147..000000000000 --- a/dev-python/defcon/defcon-0.10.0.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="A set of UFO based objects for use in font editing applications" -HOMEPAGE="https://github.com/robotools/defcon" -SRC_URI="https://github.com/robotools/defcon/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" -IUSE="" - -RDEPEND=">=dev-python/fonttools-4.28.5[${PYTHON_USEDEP}]" -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}] - test? ( - dev-python/fs[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/doc8/Manifest b/dev-python/doc8/Manifest index af1dc3de8868..48183abf05d6 100644 --- a/dev-python/doc8/Manifest +++ b/dev-python/doc8/Manifest @@ -1,2 +1,3 @@ DIST doc8-0.11.0.tar.gz 25540 BLAKE2B 4ccfd741da44206e12ec0adcc2155534225363fdd034dfef259b425fc862bfcb62eea691bc86bb39d0fc26fda036956be4f60eaa2214a8eaf6ec1086fa83ec1d SHA512 9a8b57bfe21dcc7302fbdcb9b5f1592c7449b43d4475622926b794a0e9041e85ae7806990517e911348f78f5871133983ec0feab13cea3ccca7e75449e519351 +DIST doc8-0.11.1.tar.gz 25643 BLAKE2B 5f7eaa00b6fac123d02da41e02c7585c7c7160664766466a3bf06ba146411fda14b3720f8c8277f307f7b4985ded47707c836f9f6e6d7e4f89dc1af50111b87f SHA512 88b0882af3a671afc2a87d9dea0df5e7890895907545ff8fc02b40ae7f765c142bc715bff3e90685dd1d2358b701b8c6c30cac431fe3d6d0ec078b78added2f3 DIST doc8-0.9.1.tar.gz 31122 BLAKE2B 84708d05414fe1545558910d0d74ae9612091500efb1880062910b395f1244c6edb1fe1c95ff97a177fcbb4127fcbc4b819a749f90c8384c0c23e9041af12b25 SHA512 058403a808ec2d55cf732c8eb0e28f6902c935a6fe0fd4e3ce1a11088888f32875a416adf478b81192948ebd581548b2d1591581222f1e841e97777980a80d69 diff --git a/dev-python/doc8/doc8-0.11.1.ebuild b/dev-python/doc8/doc8-0.11.1.ebuild new file mode 100644 index 000000000000..fa0495e36edb --- /dev/null +++ b/dev-python/doc8/doc8-0.11.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Style checker for Sphinx (or other) RST documentation" +HOMEPAGE=" + https://pypi.org/project/doc8/ + https://github.com/pycqa/doc8/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + >=dev-python/restructuredtext-lint-0.7[${PYTHON_USEDEP}] + dev-python/stevedore[${PYTHON_USEDEP}] + dev-python/tomli[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest + +python_test() { + eunittest -s src +} diff --git a/dev-python/ephemeral-port-reserve/ephemeral-port-reserve-1.1.4.ebuild b/dev-python/ephemeral-port-reserve/ephemeral-port-reserve-1.1.4.ebuild index fa7e985b655f..8a3c6db9fdd8 100644 --- a/dev-python/ephemeral-port-reserve/ephemeral-port-reserve-1.1.4.ebuild +++ b/dev-python/ephemeral-port-reserve/ephemeral-port-reserve-1.1.4.ebuild @@ -20,6 +20,6 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~riscv" +KEYWORDS="~amd64 ~riscv ~x86" distutils_enable_tests pytest diff --git a/dev-python/graphviz/graphviz-0.19.1-r1.ebuild b/dev-python/graphviz/graphviz-0.19.1-r1.ebuild index 2d5e626d1269..702f2cf86f59 100644 --- a/dev-python/graphviz/graphviz-0.19.1-r1.ebuild +++ b/dev-python/graphviz/graphviz-0.19.1-r1.ebuild @@ -13,7 +13,7 @@ HOMEPAGE="https://graphviz.readthedocs.io/" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" LICENSE="MIT" -KEYWORDS="~amd64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~riscv x86 ~amd64-linux ~x86-linux" SLOT="0" RDEPEND=" diff --git a/dev-python/graphviz/graphviz-0.19.1.ebuild b/dev-python/graphviz/graphviz-0.19.1.ebuild deleted file mode 100644 index 7818cc9dac9c..000000000000 --- a/dev-python/graphviz/graphviz-0.19.1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="Simple Python interface for Graphviz" -HOMEPAGE="https://graphviz.readthedocs.io/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" - -LICENSE="MIT" -KEYWORDS="amd64 ~riscv x86 ~amd64-linux ~x86-linux" -SLOT="0" - -RDEPEND="media-gfx/graphviz" -BDEPEND=" - app-arch/unzip - test? ( - >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] - >=dev-python/pytest-mock-1.8[${PYTHON_USEDEP}] - media-gfx/graphviz[gts,pdf] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -e 's:--cov --cov-report=term --cov-report=html::' \ - -i setup.cfg || die - distutils-r1_src_prepare -} - -python_test() { - "${EPYTHON}" run-tests.py -vv -ra -l -Wdefault -p no:xdoctest || - die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/ini2toml/Manifest b/dev-python/ini2toml/Manifest new file mode 100644 index 000000000000..9fa4a3fcb1f6 --- /dev/null +++ b/dev-python/ini2toml/Manifest @@ -0,0 +1 @@ +DIST ini2toml-0.10.gh.tar.gz 93535 BLAKE2B 8d8a5b31c53b9194e578b473dfd562b1b569d701b36b267ec4f59ea75ec03abd6e1df5541327b9414a2f1c04b1cb41ec57c6f900007f69a3c51a172143d2eacd SHA512 3d88f97c50a13fe3878e3fa35d70c9051874bec99d278411dcc7098d86898deb0e490be26f293e9a304d4c9a2842274e68126a2d20dac77b526161fde682dd75 diff --git a/dev-python/ini2toml/ini2toml-0.10.ebuild b/dev-python/ini2toml/ini2toml-0.10.ebuild new file mode 100644 index 000000000000..d0e165d7fe13 --- /dev/null +++ b/dev-python/ini2toml/ini2toml-0.10.ebuild @@ -0,0 +1,63 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Automatically conversion of .ini/.cfg files to TOML equivalents" +HOMEPAGE=" + https://pypi.org/project/ini2toml/ + https://github.com/abravalheri/ini2toml/ +" +SRC_URI=" + https://github.com/abravalheri/ini2toml/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/packaging-20.7[${PYTHON_USEDEP}] + >=dev-python/tomli-w-0.4.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/tomli[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +EPYTEST_DESELECT=( + # pyproject_fmt is not packaged + tests/test_cli.py::test_auto_formatting + + # fails on whitespace/comments/formatting + tests/test_translator.py::test_simple_example + tests/test_translator.py::test_parser_opts + tests/plugins/test_setuptools_pep621.py::test_move_entry_points_and_apply_value_processing + tests/plugins/test_setuptools_pep621.py::test_split_subtables + tests/plugins/test_setuptools_pep621.py::test_entrypoints_and_split_subtables + tests/plugins/test_setuptools_pep621.py::test_handle_dynamic +) + +EPYTEST_IGNORE=( + # configupdater is not packaged + tests/test_examples.py + tests/test_transformations.py + tests/drivers/test_configupdater.py +) + +src_prepare() { + sed -i -e 's:--cov ini2toml --cov-report term-missing::' setup.cfg || die + distutils-r1_src_prepare +} diff --git a/dev-python/ini2toml/metadata.xml b/dev-python/ini2toml/metadata.xml new file mode 100644 index 000000000000..2e97d2f00e3f --- /dev/null +++ b/dev-python/ini2toml/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>python@gentoo.org</email> + </maintainer> + + <origin>gentoo-staging</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/ipywidgets/ipywidgets-7.6.5-r2.ebuild b/dev-python/ipywidgets/ipywidgets-7.6.5-r2.ebuild index d3660988becb..c7778d7a68d9 100644 --- a/dev-python/ipywidgets/ipywidgets-7.6.5-r2.ebuild +++ b/dev-python/ipywidgets/ipywidgets-7.6.5-r2.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 hppa ~ia64 ppc ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/ipykernel-4.5.1[${PYTHON_USEDEP}] diff --git a/dev-python/irc/irc-20.0.0-r1.ebuild b/dev-python/irc/irc-20.0.0-r1.ebuild index f9733a464e1d..21907577542e 100644 --- a/dev-python/irc/irc-20.0.0-r1.ebuild +++ b/dev-python/irc/irc-20.0.0-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="examples" RDEPEND=" diff --git a/dev-python/irc/irc-20.0.0.ebuild b/dev-python/irc/irc-20.0.0.ebuild deleted file mode 100644 index 2ce1a5f09b3c..000000000000 --- a/dev-python/irc/irc-20.0.0.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="IRC client framework written in Python" -HOMEPAGE="https://github.com/jaraco/irc" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="examples test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/jaraco-collections[${PYTHON_USEDEP}] - >=dev-python/jaraco-functools-1.20[${PYTHON_USEDEP}] - >=dev-python/jaraco-itertools-1.8[${PYTHON_USEDEP}] - dev-python/jaraco-logging[${PYTHON_USEDEP}] - dev-python/jaraco-stream[${PYTHON_USEDEP}] - dev-python/jaraco-text[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - >=dev-python/tempora-1.6[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/setuptools_scm-3.4.1[${PYTHON_USEDEP}] -" - -distutils_enable_sphinx docs '>=dev-python/jaraco-packaging-3.2' \ - '>=dev-python/rst-linker-1.9' -distutils_enable_tests pytest - -python_install_all() { - if use examples; then - docompress -x "/usr/share/doc/${PF}/scripts" - dodoc -r scripts - fi - distutils-r1_python_install_all -} diff --git a/dev-python/jaraco-envs/Manifest b/dev-python/jaraco-envs/Manifest index a3baa885d02e..3fed58bb955c 100644 --- a/dev-python/jaraco-envs/Manifest +++ b/dev-python/jaraco-envs/Manifest @@ -1,2 +1 @@ -DIST jaraco.envs-2.2.0.tar.gz 6151 BLAKE2B a620bb64ffad881e9b31569d90b621ac79f27ff78c6531f0e89e7f4cf386a4a8045aa9676e561b51d75ce1bef82b4f86342fb51dfe1a1acc32eeae58b4237373 SHA512 b852168f718c133142b592402d17891cad821493842324263c195d0c6d15592946c89431d278b4860f8802363debce87f35e11f1357a52b94620bcc3f90d99ec DIST jaraco.envs-2.3.0.tar.gz 6939 BLAKE2B 6cbdc2dff26d29c6985175851072278cdec1f4811ef609017870d133547ab69f3e98e6cf09bf6f9770b2cadd62281b806ddbd6d1cab3f5793ec185aa019edd8f SHA512 c0f1e8e515d18d1f5c181c1072fe72b3f99ad06971ec420e3aae6631daa734e0fef05e720cb7770e37de07d65c02578f9be916354d0507761a5fde749c7cb643 diff --git a/dev-python/jaraco-envs/jaraco-envs-2.2.0-r1.ebuild b/dev-python/jaraco-envs/jaraco-envs-2.2.0-r1.ebuild deleted file mode 100644 index 1fa5368284b6..000000000000 --- a/dev-python/jaraco-envs/jaraco-envs-2.2.0-r1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) -inherit distutils-r1 - -MY_P=${P/-/.} -DESCRIPTION="Classes for orchestrating Python (virtual) environments" -HOMEPAGE="https://github.com/jaraco/jaraco.envs" -SRC_URI="mirror://pypi/${MY_P::1}/${PN/-/.}/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv sparc x86 ~x64-macos" - -RDEPEND=" - dev-python/path-py[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}] -" - -# there are no actual tests, just flake8 etc -RESTRICT="test" - -src_prepare() { - # optional runtime dep, not used by anything in ::gentoo - sed -i -e '/tox/d' setup.cfg || die - distutils-r1_src_prepare -} diff --git a/dev-python/jaraco-envs/jaraco-envs-2.3.0.ebuild b/dev-python/jaraco-envs/jaraco-envs-2.3.0.ebuild index 358e5dc3e693..be265e2028f5 100644 --- a/dev-python/jaraco-envs/jaraco-envs-2.3.0.ebuild +++ b/dev-python/jaraco-envs/jaraco-envs-2.3.0.ebuild @@ -16,7 +16,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv sparc x86 ~x64-macos" RDEPEND=" dev-python/path-py[${PYTHON_USEDEP}] diff --git a/dev-python/loky/Manifest b/dev-python/loky/Manifest index dc701cbd202c..ddf2f8ca14a6 100644 --- a/dev-python/loky/Manifest +++ b/dev-python/loky/Manifest @@ -1,2 +1 @@ -DIST loky-3.0.0.tar.gz 152463 BLAKE2B 99f0a1fc85e879626d12402dd4fee4b92345eab9520b1afaf95bbf869d2dc9e429f1f9810554e10d97f0ecbc4add28b1cbaee0477de05aa366faeb335eaef7c8 SHA512 ad171bfac031ab4d6749bde416031e905eb29adb97dab9c3348791c9df78b17e1e3eab8a354954d7c16fb2095ccc03d26cf2153fe53a546007a7a89c6046cb36 DIST loky-3.1.0.tar.gz 139211 BLAKE2B 32e95312c40d6f8d8f9fc8daf5a1e85f1b874cbb902a4885621983d84a5fa9da42f05ff7d5d6bf58cf04a320c04c6e698ff0105cdad9ddd3248a109cc71c9883 SHA512 8bf6b032bb4f770d89c8de93d95c5805fa90dae34f2754f14c3a9fe7860230e8ce8ea97e1b09fa2cdf67f8aecdbd6d1e47ae4fb746fb1c6912d2dd65033f5b6f diff --git a/dev-python/loky/loky-3.0.0.ebuild b/dev-python/loky/loky-3.0.0.ebuild deleted file mode 100644 index 152f6d8c01cd..000000000000 --- a/dev-python/loky/loky-3.0.0.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 2020-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="Robust and reusable Executor for joblib" -HOMEPAGE="https://github.com/joblib/loky" -SRC_URI=" - https://github.com/joblib/loky/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~riscv x86" - -RDEPEND=" - dev-python/cloudpickle[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( - dev-python/numpy[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -python_test() { - local args=( - # docker, seriously? - --deselect 'tests/test_loky_module.py::test_cpu_count_cfs_limit' - # hangs, and even pytest-timeout does not help - --deselect 'tests/test_reusable_executor.py::TestExecutorDeadLock::test_deadlock_kill' - # one test that uses a lot of memory, also broken on 32-bit - # platforms - --skip-high-memory - # breaks teardown - -p no:xvfb - ) - - epytest "${args[@]}" -} diff --git a/dev-python/loky/loky-3.1.0.ebuild b/dev-python/loky/loky-3.1.0.ebuild index 8053462204a0..db10a36ec39a 100644 --- a/dev-python/loky/loky-3.1.0.ebuild +++ b/dev-python/loky/loky-3.1.0.ebuild @@ -15,7 +15,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~riscv x86" RDEPEND=" dev-python/cloudpickle[${PYTHON_USEDEP}] diff --git a/dev-python/mando/mando-0.7.1.ebuild b/dev-python/mando/mando-0.7.1.ebuild index 67846423dca8..2351aac90039 100644 --- a/dev-python/mando/mando-0.7.1.ebuild +++ b/dev-python/mando/mando-0.7.1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/rubik/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" IUSE="examples" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" diff --git a/dev-python/nbclient/nbclient-0.5.13.ebuild b/dev-python/nbclient/nbclient-0.5.13.ebuild index a99288ee41ac..f27a34914cd0 100644 --- a/dev-python/nbclient/nbclient-0.5.13.ebuild +++ b/dev-python/nbclient/nbclient-0.5.13.ebuild @@ -19,7 +19,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 hppa ~ia64 ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 ~arm ~arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/jupyter_client-6.1.5[${PYTHON_USEDEP}] diff --git a/dev-python/nbconvert/nbconvert-6.4.2.ebuild b/dev-python/nbconvert/nbconvert-6.4.2.ebuild index 323941ea0e11..4556294f1f9a 100644 --- a/dev-python/nbconvert/nbconvert-6.4.2.ebuild +++ b/dev-python/nbconvert/nbconvert-6.4.2.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 hppa ~ia64 ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 ~arm ~arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/bleach[${PYTHON_USEDEP}] diff --git a/dev-python/nbsphinx/nbsphinx-0.8.8-r1.ebuild b/dev-python/nbsphinx/nbsphinx-0.8.8-r1.ebuild index 68a958b32252..2fbd5c071113 100644 --- a/dev-python/nbsphinx/nbsphinx-0.8.8-r1.ebuild +++ b/dev-python/nbsphinx/nbsphinx-0.8.8-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 x86" RDEPEND=" dev-python/docutils[${PYTHON_USEDEP}] diff --git a/dev-python/nbsphinx/nbsphinx-0.8.8.ebuild b/dev-python/nbsphinx/nbsphinx-0.8.8.ebuild deleted file mode 100644 index dc2a7abda36e..000000000000 --- a/dev-python/nbsphinx/nbsphinx-0.8.8.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="Jupyter Notebook Tools for Sphinx" -HOMEPAGE="https://github.com/spatialaudio/nbsphinx/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" - -RDEPEND=" - dev-python/docutils[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/nbconvert[${PYTHON_USEDEP}] - dev-python/nbformat[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.8[${PYTHON_USEDEP}] - dev-python/traitlets[${PYTHON_USEDEP}]" diff --git a/dev-python/notebook/notebook-6.4.8.ebuild b/dev-python/notebook/notebook-6.4.8.ebuild index 810346b0a6e9..8c8eabc6203d 100644 --- a/dev-python/notebook/notebook-6.4.8.ebuild +++ b/dev-python/notebook/notebook-6.4.8.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 hppa ~ia64 ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 ~arm ~arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-libs/mathjax-2.4 diff --git a/dev-python/oauth2client/oauth2client-4.1.3-r1.ebuild b/dev-python/oauth2client/oauth2client-4.1.3-r1.ebuild deleted file mode 100644 index 3792d32b05cb..000000000000 --- a/dev-python/oauth2client/oauth2client-4.1.3-r1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Library for accessing resources protected by OAuth 2.0" -HOMEPAGE="https://github.com/googleapis/oauth2client" -SRC_URI="https://github.com/googleapis/oauth2client/archive/v${PV/_p/-post}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}"/${P/_p/-post} - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/httplib2-0.9.1[${PYTHON_USEDEP}] - >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] - >=dev-python/pyasn1-modules-0.0.5[${PYTHON_USEDEP}] - >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] - >=dev-python/six-1.6.1[${PYTHON_USEDEP}] - dev-python/keyring[${PYTHON_USEDEP}] - !<=dev-python/google-api-python-client-1.1[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/flask[${PYTHON_USEDEP}] - dev-python/sqlalchemy[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests nose - -PATCHES=( - "${FILESDIR}/oauth2client-4.1.3-py38.patch" -) - -python_prepare() { - # keyring is not fuly supported by pypy yet, because dbus-python can't support pypy - # oauth2client -> keyring -> secretstorage -> dbus-python - # https://github.com/mitya57/secretstorage/issues/10 - case $PYTHON in - pypy|*pypy|*pypy3|pypy3) \ - find "${BUILD_DIR}/.." -name '*keyring*py' -delete ;; - esac -} - -python_test() { - nosetests -v \ - -e appengine \ - -e django_util \ - -e test_multiprocess_file_storage \ - -e test_bad_positional || die "tests fail with ${EPYTHON}" - # appengine - requires appengine - # django_util - requires django - # test_multiprocess_file_storage - requires fasteners - # test_bad_positional - expects TypeError, gets ValueError -} diff --git a/dev-python/oauth2client/oauth2client-4.1.3-r2.ebuild b/dev-python/oauth2client/oauth2client-4.1.3-r2.ebuild index 61a34ae1f428..1265f6ae36cd 100644 --- a/dev-python/oauth2client/oauth2client-4.1.3-r2.ebuild +++ b/dev-python/oauth2client/oauth2client-4.1.3-r2.ebuild @@ -15,7 +15,7 @@ S="${WORKDIR}"/${P/_p/-post} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/httplib2-0.9.1[${PYTHON_USEDEP}] diff --git a/dev-python/openpyxl/openpyxl-3.0.9-r1.ebuild b/dev-python/openpyxl/openpyxl-3.0.9-r1.ebuild index 966c17bd9319..4d35450dcc8a 100644 --- a/dev-python/openpyxl/openpyxl-3.0.9-r1.ebuild +++ b/dev-python/openpyxl/openpyxl-3.0.9-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://foss.heptapod.net/openpyxl/openpyxl/-/archive/${PV}/${P}.tar.bz LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" dev-python/et_xmlfile[${PYTHON_USEDEP}] diff --git a/dev-python/openpyxl/openpyxl-3.0.9.ebuild b/dev-python/openpyxl/openpyxl-3.0.9.ebuild deleted file mode 100644 index c0a9f5cb225b..000000000000 --- a/dev-python/openpyxl/openpyxl-3.0.9.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Pure python reader and writer of Excel OpenXML files" -HOMEPAGE="https://openpyxl.readthedocs.io/en/stable/" -# Upstream doesn't want to include tests in PyPI tarballs -SRC_URI="https://foss.heptapod.net/openpyxl/openpyxl/-/archive/${PV}/${P}.tar.bz2" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86" - -RDEPEND=" - dev-python/et_xmlfile[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP},tiff,jpeg] - )" - -distutils_enable_sphinx doc -distutils_enable_tests pytest diff --git a/dev-python/oslotest/oslotest-4.5.0-r1.ebuild b/dev-python/oslotest/oslotest-4.5.0-r1.ebuild index a5e3ad47e521..2e44be8573db 100644 --- a/dev-python/oslotest/oslotest-4.5.0-r1.ebuild +++ b/dev-python/oslotest/oslotest-4.5.0-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 ~riscv x86 ~amd64-linux ~x86-linux" BDEPEND=" >=dev-python/pbr-1.8[${PYTHON_USEDEP}] diff --git a/dev-python/oslotest/oslotest-4.5.0.ebuild b/dev-python/oslotest/oslotest-4.5.0.ebuild deleted file mode 100644 index 40767ced0a54..000000000000 --- a/dev-python/oslotest/oslotest-4.5.0.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="Oslo test framework" -HOMEPAGE="https://launchpad.net/oslo" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86 ~amd64-linux ~x86-linux" - -BDEPEND=">=dev-python/pbr-1.8[${PYTHON_USEDEP}]" -RDEPEND=" - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - >=dev-python/subunit-1.0.0[${PYTHON_USEDEP}] - >=dev-python/six-1.10.0[${PYTHON_USEDEP}] - >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] -" - -distutils_enable_tests unittest diff --git a/dev-python/parameterized/parameterized-0.8.1-r1.ebuild b/dev-python/parameterized/parameterized-0.8.1-r1.ebuild index e59950d269a6..107aeb7ca64e 100644 --- a/dev-python/parameterized/parameterized-0.8.1-r1.ebuild +++ b/dev-python/parameterized/parameterized-0.8.1-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" BDEPEND=" test? ( diff --git a/dev-python/parameterized/parameterized-0.8.1.ebuild b/dev-python/parameterized/parameterized-0.8.1.ebuild deleted file mode 100644 index e0c92fd3e9a9..000000000000 --- a/dev-python/parameterized/parameterized-0.8.1.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Parameterized testing with any Python test framework" -HOMEPAGE="https://github.com/wolever/parameterized" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests nose diff --git a/dev-python/path-py/Manifest b/dev-python/path-py/Manifest index e8fc17d0686e..38cd6ccae0ad 100644 --- a/dev-python/path-py/Manifest +++ b/dev-python/path-py/Manifest @@ -1,2 +1 @@ -DIST path-16.2.0.tar.gz 45276 BLAKE2B 40b8eacc7e28398324f24b955adef11e5fc0bd512cd711cd3117f35a322ce0c3959b55255d4c96bbae64f914b5f3768088eb73fb45511c09f2e21bf99b3e9911 SHA512 f893d9fe3539eff0b43e4945076f770ffa7c3125151774d6accaa3a609fce351bc121562deb7ef695c0b1fc7aba12ce7487ae09a0b5daba2d5340586fc41ec79 DIST path-16.4.0.tar.gz 48289 BLAKE2B 5ae3272ecc92689c18ffc612b8b11923225dcface88fa47dc4f42b0dc960034fa6a3c856a9521ed83c9507616577efc3d1c0a5119b0c5605ea6f6b758cfe6d2b SHA512 bb78119f929fe3b160646b06db8911e737060695ae89c28bcce84835213dfbaa12a34300b540be6b51e9462c5b378b235e1e72536524750ec910255399c513d3 diff --git a/dev-python/path-py/path-py-16.2.0.ebuild b/dev-python/path-py/path-py-16.2.0.ebuild deleted file mode 100644 index db8acfa1d7f6..000000000000 --- a/dev-python/path-py/path-py-16.2.0.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) -inherit distutils-r1 - -MY_P="path-${PV}" -DESCRIPTION="A module wrapper for os.path" -HOMEPAGE="https://pypi.org/project/path/ https://github.com/jaraco/path" -SRC_URI="mirror://pypi/p/path/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} - -SLOT="0" -LICENSE="MIT" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" - -RDEPEND=" - dev-python/appdirs[${PYTHON_USEDEP}] - !<dev-python/pytest-shutil-1.7.0-r1 - !<dev-python/pytest-virtualenv-1.7.0-r1" -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}] - test? ( - dev-python/packaging[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -python_test() { - local deselect=( - # unreliable, not really meaningful for end users - test_path.py::TestPerformance - ) - - epytest ${deselect[@]/#/--deselect } -} diff --git a/dev-python/path-py/path-py-16.4.0.ebuild b/dev-python/path-py/path-py-16.4.0.ebuild index 9ab356f6cc14..b16b67938fd1 100644 --- a/dev-python/path-py/path-py-16.4.0.ebuild +++ b/dev-python/path-py/path-py-16.4.0.ebuild @@ -16,7 +16,7 @@ S=${WORKDIR}/${MY_P} SLOT="0" LICENSE="MIT" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" RDEPEND=" dev-python/appdirs[${PYTHON_USEDEP}] diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest index 00b29e534ca0..e370ac89b2b5 100644 --- a/dev-python/phonenumbers/Manifest +++ b/dev-python/phonenumbers/Manifest @@ -1,3 +1 @@ -DIST phonenumbers-8.12.43.tar.gz 2270278 BLAKE2B 7cae8ad1180231b7a3f6a852563fe8a4e3c515d72e3b969fe37412714cd4e36cb61b96d779b1ee2e8610e648342d6dd9f743b1a049ee7889bf592292641aead3 SHA512 bc0dbfb78f490b70215c33b284761cd0a88183fb51a602359913617f512579862d5b216d2899bc19a143e3a1d9fd16163e5c54bfaded1fe59ba1158b3e7e68a6 -DIST python-phonenumbers-8.12.44.gh.tar.gz 4897962 BLAKE2B 27deab5c717dfc4aa697d2bb4b764fb933101cfd6ad8b9cf573cd6b9027556cabf6d471decadff5dd317ff3fdffc8346b2ee72ea6c48505dc9bb9410c13fe393 SHA512 e3531cf9895bbb40c7444743ec2896fa2df0c4282bbfe085e51afaac5c6b0a76d6245ee899409f72bcbef64ce757aff0db4c9edc399ac0138a03ad1a6580bab1 DIST python-phonenumbers-8.12.45.gh.tar.gz 4898103 BLAKE2B e1102bd6f0911a7d1098fbe020f71b8ffb1020ff0acecc2f58383ecb538ba09b9fcbc3febd09ca8863093a6a017c74a9e834bea50c44c9b87bf775a4057825d4 SHA512 539170a363541a7bbf04d3448786d4ab4da2928eedef3d02ce0ba075e5b7c43a36d0e7071ad764026bac01e445da340756e6ef8cf484e39ea4f9d8e8897c6fa5 diff --git a/dev-python/phonenumbers/phonenumbers-8.12.43.ebuild b/dev-python/phonenumbers/phonenumbers-8.12.43.ebuild deleted file mode 100644 index 091fc838c401..000000000000 --- a/dev-python/phonenumbers/phonenumbers-8.12.43.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Python port of Google's libphonenumber" -HOMEPAGE="https://github.com/daviddrysdale/python-phonenumbers" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 x86" - -DOCS=( README.md ) - -distutils_enable_tests setup.py diff --git a/dev-python/phonenumbers/phonenumbers-8.12.44.ebuild b/dev-python/phonenumbers/phonenumbers-8.12.44.ebuild deleted file mode 100644 index fbc47b80e02a..000000000000 --- a/dev-python/phonenumbers/phonenumbers-8.12.44.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -MY_P=python-${P} -DESCRIPTION="Python port of Google's libphonenumber" -HOMEPAGE=" - https://github.com/daviddrysdale/python-phonenumbers/ - https://pypi.org/project/phonenumbers/ -" -SRC_URI=" - https://github.com/daviddrysdale/python-phonenumbers/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P}/python - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - test? ( - dev-python/protobuf-python[${PYTHON_USEDEP}] - ) -" - -DOCS=( ../README.md ) - -python_test() { - "${EPYTHON}" testwrapper.py -v || die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/phonenumbers/phonenumbers-8.12.45.ebuild b/dev-python/phonenumbers/phonenumbers-8.12.45.ebuild index ec95c5a695a3..184fb765cb50 100644 --- a/dev-python/phonenumbers/phonenumbers-8.12.45.ebuild +++ b/dev-python/phonenumbers/phonenumbers-8.12.45.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P}/python LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" +KEYWORDS="amd64 ~riscv x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/pillow/pillow-9.0.1-r1.ebuild b/dev-python/pillow/pillow-9.0.1-r1.ebuild index f6f0cfca1832..5f4f2f826b37 100644 --- a/dev-python/pillow/pillow-9.0.1-r1.ebuild +++ b/dev-python/pillow/pillow-9.0.1-r1.ebuild @@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="HPND" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux" IUSE="examples imagequant +jpeg jpeg2k lcms test tiff tk truetype webp xcb zlib" REQUIRED_USE="test? ( jpeg jpeg2k tiff truetype )" RESTRICT="!test? ( test )" diff --git a/dev-python/plumbum/plumbum-1.7.2-r1.ebuild b/dev-python/plumbum/plumbum-1.7.2-r1.ebuild index e0c0a659930f..afad3f2611eb 100644 --- a/dev-python/plumbum/plumbum-1.7.2-r1.ebuild +++ b/dev-python/plumbum/plumbum-1.7.2-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" BDEPEND=" test? ( diff --git a/dev-python/plumbum/plumbum-1.7.2.ebuild b/dev-python/plumbum/plumbum-1.7.2.ebuild deleted file mode 100644 index c3ca5c3bb126..000000000000 --- a/dev-python/plumbum/plumbum-1.7.2.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 optfeature - -DESCRIPTION="A library for shell script-like programs in python" -HOMEPAGE="https://plumbum.readthedocs.io/en/latest/ https://github.com/tomerfiliba/plumbum" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" - -BDEPEND=" - test? ( - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # Need sshd running - tests/test_remote.py - tests/test_utils.py - # Windows specific - tests/test_putty.py - # Needs sudo without password - tests/test_sudo.py - # Wrong assumptions about env handling - tests/test_env.py::TestEnv::test_change_env - tests/test_env.py::TestEnv::test_dictlike - tests/test_local.py::TestLocalPath::test_iterdir -) - -src_prepare() { - sed -e '/addopts/d' -i setup.cfg || die - distutils-r1_src_prepare -} - -pkg_postinst() { - optfeature "remote commands via ssh" dev-python/paramiko - optfeature "progress bars in jupyter" dev-python/ipywidgets - optfeature "colored output in jupyter" dev-python/ipython - optfeature "images on the command line" dev-python/pillow -} diff --git a/dev-python/py-amqp/Manifest b/dev-python/py-amqp/Manifest index eec17eddaefa..cc1e6322dd7f 100644 --- a/dev-python/py-amqp/Manifest +++ b/dev-python/py-amqp/Manifest @@ -1,2 +1 @@ -DIST amqp-5.0.9.tar.gz 127478 BLAKE2B f4e23c43ad66cf88e076e9542d8825daac9ad3cf93ca954fe0f1baf3648bfc00afa0002b86d73a95936fad7c859b0a75ee2996cc0d19c6bfcd3ec556e0c1eab3 SHA512 b94bf176e816b1dad4bbc2891a5324f7eb8e27fd475c34a01e6f39d27caf66447cfceab6a3cb3538fd1b610a250eed1423682deef4a174fdd201e0b3a7368bc9 DIST amqp-5.1.0.tar.gz 128629 BLAKE2B 8fe0b07233fce04b84b46e0ab4da1badf2de8a2ac53494dbb33b246d149ccec728de42c4f9f7d40752701a8e02851805456d8d54c2e519bbbfdbbb1274edf124 SHA512 9f4f3fd4cea6c214ff03a80a9aec7c5bff65a964ff1e77fbc937f1b6daf45f7b06be0b0873b2998afc3de22b4693a3327f0b439f70a4496060997b9f1aa73331 diff --git a/dev-python/py-amqp/py-amqp-5.0.9-r1.ebuild b/dev-python/py-amqp/py-amqp-5.0.9-r1.ebuild deleted file mode 100644 index e30290e01de4..000000000000 --- a/dev-python/py-amqp/py-amqp-5.0.9-r1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -MY_P="amqp-${PV}" -DESCRIPTION="Low-level AMQP client for Python (fork of amqplib)" -HOMEPAGE="https://github.com/celery/py-amqp https://pypi.org/project/amqp/" -SRC_URI="mirror://pypi/${MY_P:0:1}/amqp/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="extras" - -BDEPEND=" - >=dev-python/vine-5.0.0[${PYTHON_USEDEP}] - test? ( - >=dev-python/case-1.3.1[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - >=dev-python/pytest-rerunfailures-6.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs dev-python/sphinx_celery -distutils_enable_tests pytest - -EPYTEST_IGNORE=( - # rmq tests require a rabbitmq instance - t/integration/test_rmq.py -) - -EPYTEST_DESELECT=( - # fails when gssapi is installed (how does that test make sense?!) - t/unit/test_sasl.py::test_SASL::test_gssapi_missing -) - -python_install_all() { - if use extras; then - insinto /usr/share/${PF}/extras - doins -r extra - fi - distutils-r1_python_install_all -} diff --git a/dev-python/py-amqp/py-amqp-5.0.9.ebuild b/dev-python/py-amqp/py-amqp-5.0.9.ebuild deleted file mode 100644 index 51fc580fe9cf..000000000000 --- a/dev-python/py-amqp/py-amqp-5.0.9.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -MY_P="amqp-${PV}" -DESCRIPTION="Low-level AMQP client for Python (fork of amqplib)" -HOMEPAGE="https://github.com/celery/py-amqp https://pypi.org/project/amqp/" -SRC_URI="mirror://pypi/${MY_P:0:1}/amqp/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" -IUSE="extras" - -BDEPEND=" - >=dev-python/vine-5.0.0[${PYTHON_USEDEP}] - test? ( - >=dev-python/case-1.3.1[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - >=dev-python/pytest-rerunfailures-6.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs dev-python/sphinx_celery -distutils_enable_tests pytest - -EPYTEST_IGNORE=( - # rmq tests require a rabbitmq instance - t/integration/test_rmq.py -) - -EPYTEST_DESELECT=( - # fails when gssapi is installed (how does that test make sense?!) - t/unit/test_sasl.py::test_SASL::test_gssapi_missing -) - -python_install_all() { - if use extras; then - insinto /usr/share/${PF}/extras - doins -r extra - fi - distutils-r1_python_install_all -} diff --git a/dev-python/py-amqp/py-amqp-5.1.0.ebuild b/dev-python/py-amqp/py-amqp-5.1.0.ebuild index 58aef932e297..816cd17d8c42 100644 --- a/dev-python/py-amqp/py-amqp-5.1.0.ebuild +++ b/dev-python/py-amqp/py-amqp-5.1.0.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 x86" IUSE="extras" BDEPEND=" diff --git a/dev-python/pyopengl/pyopengl-3.1.6.ebuild b/dev-python/pyopengl/pyopengl-3.1.6.ebuild index 09cf34f45cf6..224017a6e352 100644 --- a/dev-python/pyopengl/pyopengl-3.1.6.ebuild +++ b/dev-python/pyopengl/pyopengl-3.1.6.ebuild @@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux" IUSE="tk" RDEPEND=" diff --git a/dev-python/pytest-check/Manifest b/dev-python/pytest-check/Manifest index 7cb85a73456f..00b72c7e7fed 100644 --- a/dev-python/pytest-check/Manifest +++ b/dev-python/pytest-check/Manifest @@ -1 +1,2 @@ DIST pytest-check-1.0.4.gh.tar.gz 7738 BLAKE2B 179575dfd4f9e50715fd5a664039fe882b0e14c9369afb6f7aca65e9ab276147b2a0b7fe580d2a249721152d891c12cedfa06ae7e26027c6b7d3b34da17d4a53 SHA512 ca71295fc5a831df295c8ce40c6a57cde9a1b98ca25354a3954fc44c9094096ea0c9c6a49139659d4c9aa4e3d3d81d80893edb657bfd3f4d988c75864e843447 +DIST pytest-check-1.0.5.gh.tar.gz 10296 BLAKE2B 8eac4185e223736181e9465c8d4220874553d9e12d068069b40e7a1ea150c93d533facc8b3483649eb00da9a2286544c58e2c530138f830155466e3bb71aeedc SHA512 73c42c98639bf3026e62f5c2c9ce404ddbd4711afa1ff31d207886329a45cfc1c0f263dd3321a9b203b9b68cad87f76bbff61894ed7a67d0bd26e7d0d20ede21 diff --git a/dev-python/pytest-check/pytest-check-1.0.5.ebuild b/dev-python/pytest-check/pytest-check-1.0.5.ebuild new file mode 100644 index 000000000000..c481108f6e94 --- /dev/null +++ b/dev-python/pytest-check/pytest-check-1.0.5.ebuild @@ -0,0 +1,38 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="pytest plugin that allows multiple failures per test" +HOMEPAGE=" + https://github.com/okken/pytest-check/ + https://pypi.org/project/pytest_check/ +" +SRC_URI=" + https://github.com/okken/pytest-check/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/pytest-6[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + # Fix expecting result in case pytest throws deprecation warnings + sed -e '/fnmatch_lines/s/\* /\*/g' \ + -e '/fnmatch_lines/s/ \*/\*/g' \ + -i tests/test_check.py || die + + distutils-r1_src_prepare +} diff --git a/dev-python/pytest-httpbin/Manifest b/dev-python/pytest-httpbin/Manifest index c043de604318..e3ee1b204a3e 100644 --- a/dev-python/pytest-httpbin/Manifest +++ b/dev-python/pytest-httpbin/Manifest @@ -1,2 +1 @@ -DIST pytest-httpbin-1.0.1.gh.tar.gz 18036 BLAKE2B 1277118a83d059f23c06758d6a5e83b78f09ba3bd44458f18aebdad06b7266a3deb9ee00f10732c552fddb42673dfe3f5862195f44ce48a224961b5df81dcae7 SHA512 3a11073d85478e7b748cfae5a7f639b2cf6ebc396ebb9972f39ead3d869ab1abaf0afa90f113e2393652ed08621716e54c9c5dcb41c59ff67341f7b28445544d DIST pytest-httpbin-1.0.2.gh.tar.gz 18727 BLAKE2B 56a7fa1c1694cad98815fc6c6f676b509942fa1fca192ecb4cb5a0d9f325d7df6ddb3a3ac67d884c8f8caba807677351c42c28a3bcba80b9196e74d666951cc2 SHA512 b4adac1c37506391d83f7772814b4a9ce5134cc6834d8758e71d39610f8b29e57e72b11b2233be51e41b2c36bc305d40fc4b260a7f83d10390f4e940df8aa366 diff --git a/dev-python/pytest-httpbin/pytest-httpbin-1.0.1.ebuild b/dev-python/pytest-httpbin/pytest-httpbin-1.0.1.ebuild deleted file mode 100644 index 9fda22cd2219..000000000000 --- a/dev-python/pytest-httpbin/pytest-httpbin-1.0.1.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) -inherit distutils-r1 - -DESCRIPTION="Easily test your HTTP library against a local copy of httpbin" -HOMEPAGE="https://github.com/kevin1024/pytest-httpbin - https://pypi.org/project/pytest-httpbin/" -SRC_URI="https://github.com/kevin1024/pytest-httpbin/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" - -RDEPEND=" - dev-python/httpbin[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( dev-python/requests[${PYTHON_USEDEP}] ) -" - -PATCHES=( - "${FILESDIR}"/pytest-httpbin-1.0.0-pypy3-hang.patch -) - -distutils_enable_tests pytest diff --git a/dev-python/pytest-httpbin/pytest-httpbin-1.0.2.ebuild b/dev-python/pytest-httpbin/pytest-httpbin-1.0.2.ebuild index 828f54672fcc..36bae1411990 100644 --- a/dev-python/pytest-httpbin/pytest-httpbin-1.0.2.ebuild +++ b/dev-python/pytest-httpbin/pytest-httpbin-1.0.2.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/kevin1024/pytest-httpbin/archive/v${PV}.tar.gz -> ${ LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" RDEPEND=" dev-python/httpbin[${PYTHON_USEDEP}] diff --git a/dev-python/pytest-qt/pytest-qt-4.0.2-r1.ebuild b/dev-python/pytest-qt/pytest-qt-4.0.2-r1.ebuild index 69f2446704ba..6ecacc3f98bf 100644 --- a/dev-python/pytest-qt/pytest-qt-4.0.2-r1.ebuild +++ b/dev-python/pytest-qt/pytest-qt-4.0.2-r1.ebuild @@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 x86" RDEPEND="dev-python/QtPy[gui,testlib,widgets(+),${PYTHON_USEDEP}]" BDEPEND=" diff --git a/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild b/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild deleted file mode 100644 index ccd3c03bc1c6..000000000000 --- a/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 virtualx - -DESCRIPTION="Pytest plugin for PyQt5 and PySide2 applications" -HOMEPAGE=" - https://pypi.org/project/pytest-qt/ - https://github.com/pytest-dev/pytest-qt/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" - -RDEPEND="dev-python/QtPy[gui,testlib,widgets(+),${PYTHON_USEDEP}]" -BDEPEND=" - test? ( - dev-python/PyQt5[gui,testlib,widgets,${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/pyside2[gui,testlib,widgets,${PYTHON_USEDEP}] - ' python3_{8..9} ) - ) -" - -distutils_enable_tests --install pytest -distutils_enable_sphinx docs dev-python/sphinx_rtd_theme - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - # warnings from other plugins cause the test output matchers to fail - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=pytestqt.plugin - - local EPYTEST_DESELECT=( - # requires the window to be activated; that doesn't seem - # to be possible inside Xvfb - "tests/test_basics.py::test_wait_window[waitActive-True]" - - # we are forcing a specific module via envvar, effectively - # overriding the config - tests/test_basics.py::test_qt_api_ini_config - tests/test_basics.py::test_qt_api_ini_config_with_envvar - ) - - distutils_install_for_testing - PYTEST_QT_API="pyqt5" epytest || die - if [[ "${EPYTHON}" == "python3.10" ]]; then - return - else - PYTEST_QT_API="pyside2" epytest || die - fi -} diff --git a/dev-python/python-xmlsec/python-xmlsec-1.3.12-r1.ebuild b/dev-python/python-xmlsec/python-xmlsec-1.3.12-r1.ebuild index 7bc693721333..0c049b03cdd6 100644 --- a/dev-python/python-xmlsec/python-xmlsec-1.3.12-r1.ebuild +++ b/dev-python/python-xmlsec/python-xmlsec-1.3.12-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/mehcode/python-xmlsec/archive/${PV}.tar.gz -> ${P}.t LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~x86" +KEYWORDS="amd64 ~ppc64 x86" RDEPEND=" dev-libs/xmlsec:= diff --git a/dev-python/python-xmlsec/python-xmlsec-1.3.12.ebuild b/dev-python/python-xmlsec/python-xmlsec-1.3.12.ebuild deleted file mode 100644 index d28322d6a6e5..000000000000 --- a/dev-python/python-xmlsec/python-xmlsec-1.3.12.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -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" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~ppc64 x86" - -RDEPEND="dev-libs/xmlsec:= - dev-python/lxml[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND}" -BDEPEND="dev-python/pkgconfig[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - )" - -PATCHES=( - "${FILESDIR}/${PN}-1.3.11-fix-xml-testfail.patch" -) - -EPYTEST_DESELECT=( - # Fragile based on black version? - tests/test_type_stubs.py::test_xmlsec_constants_stub -) - -distutils_enable_tests --install pytest - -python_prepare_all() { - sed -e "s:use_scm_version=.*:version='${PV}',:" \ - -e "/setup_requires/ d" \ - -i setup.py || die - - distutils-r1_python_prepare_all -} diff --git a/dev-python/python-xmp-toolkit/python-xmp-toolkit-2.0.1-r1.ebuild b/dev-python/python-xmp-toolkit/python-xmp-toolkit-2.0.1-r1.ebuild deleted file mode 100644 index 3cdbdc5cb332..000000000000 --- a/dev-python/python-xmp-toolkit/python-xmp-toolkit-2.0.1-r1.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 2020-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -if [[ ${PV} == "9999" ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/python-xmp-toolkit/${PN}.git" -else - SRC_URI="https://github.com/python-xmp-toolkit/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~x86" -fi - -DESCRIPTION="Library for working with XMP metadata" -HOMEPAGE="https://github.com/python-xmp-toolkit/python-xmp-toolkit/ https://pypi.org/project/python-xmp-toolkit/" - -LICENSE="BSD" -SLOT="0" -IUSE="doc test" -RESTRICT="!test? ( test )" - -DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( media-libs/exempi )" -RDEPEND="dev-python/pytz[${PYTHON_USEDEP}]" - -PATCHES=( "${FILESDIR}"/${P}-test.patch ) - -python_compile_all() { - use doc && emake -C docs html -} - -python_test() { - esetup.py test -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/.build/html/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/python-xmp-toolkit/python-xmp-toolkit-2.0.1-r2.ebuild b/dev-python/python-xmp-toolkit/python-xmp-toolkit-2.0.1-r2.ebuild index be8420346777..ee2287b9922c 100644 --- a/dev-python/python-xmp-toolkit/python-xmp-toolkit-2.0.1-r2.ebuild +++ b/dev-python/python-xmp-toolkit/python-xmp-toolkit-2.0.1-r2.ebuild @@ -13,7 +13,7 @@ if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="https://github.com/python-xmp-toolkit/${PN}.git" else SRC_URI="https://github.com/python-xmp-toolkit/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" + KEYWORDS="amd64 ~x86" fi DESCRIPTION="Library for working with XMP metadata" diff --git a/dev-python/qtconsole/Manifest b/dev-python/qtconsole/Manifest index 56acbfb34537..0e16eb4ec5b5 100644 --- a/dev-python/qtconsole/Manifest +++ b/dev-python/qtconsole/Manifest @@ -1,3 +1,4 @@ DIST qtconsole-5.1.1.tar.gz 428840 BLAKE2B eb5f6dacf576133c07bc45a9f0fcfdfd041f72012d9564e288a40ac060a6843f6438c80836bcf2f35ffa1f575383bdffe347a498930fe96e2d99a1f1fbe3a032 SHA512 dd9f725fc6e55dea3910650c4c5641336ed1ed56e6eeaad91e6567743bc02fbd0ca567295c3c8897bb800df305ec0bf9f2d8caa8ad0099cdfa2d20c7ca96fbdc DIST qtconsole-5.2.1.tar.gz 429573 BLAKE2B 57d42dee8710576785dd1e2e054469b5b2325fad1c30aab1b071f1aac80f3146edc057b03b025d72f0c8691d002a06dbe45bf51d51876ff730d39106d4e4aaa4 SHA512 86e310da66f36e38a584758b18482da927acd70f095600554d4bef3c0b0fcfab5df9d9990b94943a14932afbb8d5ec1db5810c40ef2a7e59172788291684d9aa DIST qtconsole-5.2.2.tar.gz 429610 BLAKE2B 1a9f163dfa8a2d38829b2db5a5589b80605b82f144d95e51e3668f296b8e839fd3045c813505926a4c8690e438e79d82c0307c33416152d28899b2f0324aec1e SHA512 43727a08a0b828421bb051063055b3306a2111bedfd148aea6bccc04e103bbffb798c35440bfdb82ffa6bf17a2b0ce9e1ad2d0b3df9aaea294a23dcf582dfd57 +DIST qtconsole-5.3.0.tar.gz 430258 BLAKE2B 883c95124d911b17a1cebedc357f207e042a9679a09eb63bace09f7f39eac4b1f3a24ccd372760e3142494208119dc4131939cd82e8cab364dacecca184c8545 SHA512 6fcfaa7ad842f3f45d4e2286ce816a0b4c71e3c3fb07b86589934efcc637e2cd6f5712fa8a10c375b8e86d1e1e6ce32de9f2be2fc0decd554b51c658e106b120 diff --git a/dev-python/qtconsole/qtconsole-5.3.0.ebuild b/dev-python/qtconsole/qtconsole-5.3.0.ebuild new file mode 100644 index 000000000000..4ebc646f6baa --- /dev/null +++ b/dev-python/qtconsole/qtconsole-5.3.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10} ) +PYTHON_REQ_USE="threads(+)" +inherit distutils-r1 + +DESCRIPTION="Qt-based console for Jupyter with support for rich media output" +HOMEPAGE="https://jupyter.org" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/ipykernel-4.1[${PYTHON_USEDEP}] + dev-python/ipython_genutils[${PYTHON_USEDEP}] + dev-python/jupyter_core[${PYTHON_USEDEP}] + >=dev-python/jupyter_client-4.1.1[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + >=dev-python/pyzmq-17.1[${PYTHON_USEDEP}] + dev-python/traitlets[${PYTHON_USEDEP}] + >=dev-python/QtPy-2.0.1[${PYTHON_USEDEP},gui,printsupport,svg] +" +# The test suite tests both against pyqt5 *and* pyside2 +BDEPEND=" + test? ( + dev-python/QtPy[pyqt5,pyside2,${PYTHON_USEDEP},svg,testlib] + ) +" +# required by the tests that are removed: +# dev-python/flaky[${PYTHON_USEDEP}] +# dev-python/pytest-qt[${PYTHON_USEDEP}] + +PDEPEND="dev-python/ipython[${PYTHON_USEDEP}]" + +distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme +distutils_enable_tests pytest + +python_test() { + # TODO: these tests require virtx; however, running under virtx + # causes pytest to segv on exit (even though tests pass) + EPYTEST_IGNORE=( + qtconsole/tests/test_00_console_widget.py + qtconsole/tests/test_jupyter_widget.py + ) + epytest +} diff --git a/dev-python/random2/random2-1.0.1-r2.ebuild b/dev-python/random2/random2-1.0.1-r2.ebuild index da128774253b..04f6be33866d 100644 --- a/dev-python/random2/random2-1.0.1-r2.ebuild +++ b/dev-python/random2/random2-1.0.1-r2.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm64 ~riscv x86" BDEPEND="app-arch/unzip" diff --git a/dev-python/requests-kerberos/requests-kerberos-0.14.0-r1.ebuild b/dev-python/requests-kerberos/requests-kerberos-0.14.0-r1.ebuild index 7e95342c125c..618e6543276b 100644 --- a/dev-python/requests-kerberos/requests-kerberos-0.14.0-r1.ebuild +++ b/dev-python/requests-kerberos/requests-kerberos-0.14.0-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/requests/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="ISC" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm arm64 x86" RDEPEND=" dev-python/cryptography[${PYTHON_USEDEP}] diff --git a/dev-python/requests-kerberos/requests-kerberos-0.14.0.ebuild b/dev-python/requests-kerberos/requests-kerberos-0.14.0.ebuild deleted file mode 100644 index 29d8ba653afc..000000000000 --- a/dev-python/requests-kerberos/requests-kerberos-0.14.0.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -HOMEPAGE="https://github.com/requests/requests-kerberos/" -DESCRIPTION="A Kerberos authentication handler for python-requests" -SRC_URI="https://github.com/requests/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 x86" - -RDEPEND=" - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/requests-1.1.0[${PYTHON_USEDEP}] - dev-python/pyspnego[${PYTHON_USEDEP}] - dev-python/gssapi[${PYTHON_USEDEP}] - dev-python/krb5[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/rope/Manifest b/dev-python/rope/Manifest index 74237cb3fdeb..37502321faab 100644 --- a/dev-python/rope/Manifest +++ b/dev-python/rope/Manifest @@ -1,2 +1 @@ -DIST rope-0.22.0.tar.gz 260138 BLAKE2B 11aff47af50225d66ade44a63a2c747bc11f0adcec1abed2dff71466f088f1460b3eec541db326af545f89907eb9d4f518c24ec8a445ca07b3116573883123ec SHA512 ead82eba834890d90a6972cc432d153b977a123588621712b50decf1f1bfff03cd411e3615dff63a5272cf4a46b32791ea625f30e3dfdf9d1969081a99544396 DIST rope-0.23.0.tar.gz 260990 BLAKE2B 34064f45f72d6c9c5613eb5d9480dde25aeb5426ab3ea9b56e7ba5e4da1d9930735bd87757e3e885d4504ddcb24b23aa96b0d5be7c23ca4969201aedbaa3aa24 SHA512 1ab0a36c792fdc4d0fd1e554deec0fb6d1e877d91164fb8ee2e5f99240087f8a8d4608d1975be100bca87be0321d672b91579cf36795acffc742aa021cdf5e1b diff --git a/dev-python/rope/rope-0.22.0-r1.ebuild b/dev-python/rope/rope-0.22.0-r1.ebuild deleted file mode 100644 index fe040c792cce..000000000000 --- a/dev-python/rope/rope-0.22.0-r1.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Python refactoring library" -HOMEPAGE="https://github.com/python-rope/rope" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="LGPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc" - -BDEPEND=" - doc? ( dev-python/docutils[${PYTHON_USEDEP}] ) - test? ( dev-python/pytest-timeout[${PYTHON_USEDEP}] ) -" - -distutils_enable_tests pytest - -python_compile_all() { - if use doc; then - pushd docs > /dev/null || die - mkdir build || die - local i - for i in ./*.rst; do - rst2html.py $i > ./build/${i/rst/html} || die - done - popd > /dev/null || die - fi -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/build/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/rope/rope-0.22.0.ebuild b/dev-python/rope/rope-0.22.0.ebuild deleted file mode 100644 index 6290e9ceeec3..000000000000 --- a/dev-python/rope/rope-0.22.0.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="Python refactoring library" -HOMEPAGE="https://github.com/python-rope/rope" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="LGPL-3+" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux" -IUSE="doc" - -# Dependency for docbuild documentation which is not noted in -# setup.py, using standard docutils builds docs successfully. -BDEPEND=" - doc? ( dev-python/docutils[${PYTHON_USEDEP}] ) - test? ( dev-python/pytest-timeout[${PYTHON_USEDEP}] )" - -distutils_enable_tests pytest - -python_compile_all() { - if use doc; then - pushd docs > /dev/null || die - mkdir build || die - local i - for i in ./*.rst; do - rst2html.py $i > ./build/${i/rst/html} || die - done - popd > /dev/null || die - fi -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/build/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/rope/rope-0.23.0.ebuild b/dev-python/rope/rope-0.23.0.ebuild index fe040c792cce..0519d8829750 100644 --- a/dev-python/rope/rope-0.23.0.ebuild +++ b/dev-python/rope/rope-0.23.0.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="LGPL-3+" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux" IUSE="doc" BDEPEND=" diff --git a/dev-python/setuptools-declarative-requirements/setuptools-declarative-requirements-1.2.0.ebuild b/dev-python/setuptools-declarative-requirements/setuptools-declarative-requirements-1.2.0-r1.ebuild index 4c1f52256b00..3bba68da31ac 100644 --- a/dev-python/setuptools-declarative-requirements/setuptools-declarative-requirements-1.2.0.ebuild +++ b/dev-python/setuptools-declarative-requirements/setuptools-declarative-requirements-1.2.0-r1.ebuild @@ -25,6 +25,7 @@ BDEPEND=" dev-python/wheel[${PYTHON_USEDEP}] test? ( dev-python/pypiserver[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] ) " diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest index 1d663b3f7520..8da4881d2c84 100644 --- a/dev-python/setuptools/Manifest +++ b/dev-python/setuptools/Manifest @@ -2,3 +2,4 @@ DIST python-gentoo-patches-3.10.0_p1.tar.xz 10068 BLAKE2B 1c9817b449831559f0a0b7 DIST setuptools-60.10.0.tar.gz 2420706 BLAKE2B 66d7f3b648b1e3222736ddf46ff97441bc9ed4dc528e0d4ee32ef18c99b2d3488e7525a1598a18df4f2cbdac409a4096a40539807c343d99707068a15003111d SHA512 e679bd84d31cb68f92899e0b25d5a6bf85cf63d9c8e1dfbfe974d7bf819cb36f451596b8715000be6a93656b972dc6c4d90a8a8534a6c88874a0be8140f2f091 DIST setuptools-60.5.0.tar.gz 2292478 BLAKE2B e41b2717b34d454b3959ee5b6f4fdc70dfec13d97fe6962bd1c1ea2296be8ee2d27bb14ed2cc5e6fb9a757661a0415984b3cf7cf1665347c62a50965f651f9d4 SHA512 b2cf7d99e60d0c862a7a4fd8e806019db52502de48ff77556df26ce39a8620f476de767e2e8be8aa260366f54d1429db8a42d538345ec2cd2cfd5286e62e770d DIST setuptools-60.9.2.tar.gz 2425956 BLAKE2B 09baded7eef555ebd76db1672d69cd06cf6bcfc1126ba0fb0143b038d6599998f53460afc914f761d44ff25710802f6f371a793dca60040240cc328da0a3ea92 SHA512 be99bee951797632a68d08b94e0b604763662c13f58cecc872615081036081b3d72c5c468af47649449d6f7422f52ee99cf2f87fa9c840d10f98cd0217c0cff2 +DIST setuptools-61.3.0.gh.tar.gz 2643769 BLAKE2B 4ede87e7a597a6916dc089c311b0e4d098b08debbd1c4a9cb97078730e9cdc8dbcacd4236ca98a42e3cfafdf66d8f39bb64bc9135291335224b1c3b0bf79deff SHA512 35e2b848cf79e577b8c469562cb68a80b27d42d2d9c1c94f84fea9beb85e2db0796ed64d414add67a404d801c4f4e6cd489a72153de4dc8ed8b45fab24c28fd9 diff --git a/dev-python/setuptools/setuptools-61.3.0.ebuild b/dev-python/setuptools/setuptools-61.3.0.ebuild new file mode 100644 index 000000000000..b69ee9282302 --- /dev/null +++ b/dev-python/setuptools/setuptools-61.3.0.ebuild @@ -0,0 +1,131 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 7 -- sys-apps/portage dep +EAPI=7 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 multiprocessing + +CPY_PATCHSET="python-gentoo-patches-3.10.0_p1" +DESCRIPTION="Collection of extensions to Distutils" +HOMEPAGE=" + https://github.com/pypa/setuptools/ + https://pypi.org/project/setuptools/ +" +SRC_URI=" + https://github.com/pypa/setuptools/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + https://dev.gentoo.org/~floppym/python/${CPY_PATCHSET}.tar.xz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/appdirs-1.4.4-r2[${PYTHON_USEDEP}] + >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] + >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] + dev-python/nspektr[${PYTHON_USEDEP}] + >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}] + >=dev-python/packaging-21.3-r2[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/importlib_metadata-4.10.1-r1[${PYTHON_USEDEP}] + ' 3.8 3.9) + $(python_gen_cond_dep ' + >=dev-python/importlib_resources-5.4.0-r3[${PYTHON_USEDEP}] + ' 3.8) +" +BDEPEND=" + ${RDEPEND} + >=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}] + test? ( + $(python_gen_cond_dep ' + dev-python/build[${PYTHON_USEDEP}] + >=dev-python/ini2toml-0.9[${PYTHON_USEDEP}] + >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}] + >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}] + >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/pip-run[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-fixture-config[${PYTHON_USEDEP}] + dev-python/pytest-virtualenv[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/tomli[${PYTHON_USEDEP}] + >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + ' python3_{8..10} pypy3) + ) +" +PDEPEND=" + >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}] + dev-python/setuptools_scm[${PYTHON_USEDEP}] +" + +DOCS=( {CHANGES,README}.rst ) + +src_prepare() { + # remove bundled dependencies, setuptools will switch to system deps + # automatically + rm -r */_vendor || die + + # remove the ugly */extern hack that breaks on unvendored deps + rm -r */extern || die + find -name '*.py' -exec sed \ + -e 's:from \w*[.]\+extern ::' -e 's:\w*[.]\+extern[.]::' \ + -i {} + || die + + # apply distutils patches to the bundled distutils + pushd setuptools/_distutils >/dev/null || die + # TODO: distutils C++ patch? + eapply -p3 "${WORKDIR}/${CPY_PATCHSET}/0006-distutils-make-OO-enable-both-opt-1-and-opt-2-optimi.patch" + popd >/dev/null || die + + distutils-r1_src_prepare + + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +} + +python_test() { + local -x SETUPTOOLS_USE_DISTUTILS=stdlib + + # keep in sync with python_gen_cond_dep above! + has "${EPYTHON}" python3.{8..10} pypy3 || continue + + local EPYTEST_DESELECT=( + # network + # TODO: see if PRE_BUILT_SETUPTOOLS_* helps + setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist + setuptools/tests/test_distutils_adoption.py + setuptools/tests/test_virtualenv.py::test_clean_env_install + setuptools/tests/test_virtualenv.py::test_no_missing_dependencies + 'setuptools/tests/test_virtualenv.py::test_pip_upgrade_from_source[None]' + setuptools/tests/test_virtualenv.py::test_test_command_install_requirements + setuptools/tests/test_setuptools.py::test_its_own_wheel_does_not_contain_tests + setuptools/tests/config/test_apply_pyprojecttoml.py::test_apply_pyproject_equivalent_to_setupcfg + # unhappy with pytest-xdist? + setuptools/tests/test_easy_install.py::TestUserInstallTest::test_local_index + # TODO + setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts + setuptools/tests/test_test.py::test_tests_are_run_once + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors + # expects bundled deps in virtualenv + setuptools/tests/test_editable_install.py::test_editable_with_pyproject + ) + + # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg + # It tries to sandbox the test in a tempdir + HOME="${PWD}" epytest \ + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" setuptools +} diff --git a/dev-python/slixmpp/Manifest b/dev-python/slixmpp/Manifest index a816fce8cb4e..93180e7a2c76 100644 --- a/dev-python/slixmpp/Manifest +++ b/dev-python/slixmpp/Manifest @@ -1,3 +1 @@ -DIST slixmpp-1.7.1.tar.gz 931753 BLAKE2B 3de14be36353bc5f5f2cfbe002c44c5e843a7b36fa31a9dd315e363fc67e36d080df0dc70d82e65c6802c41377c2e98f56ff4e23cc5e9a92165c3d3b7565493f SHA512 5a59fcbb901e6f4456049f1ec2bbf781b1ec7c5a3ad4b66216d4c5daffa7f0606f74b941647fe2b53e6c8cdc476371305c7b7a2ca24d21450e19548f888be3b1 -DIST slixmpp-1.8.0.1.tar.gz 532519 BLAKE2B c4cda06d1d16ef92404263a90a6abbba46e526b4f9edc54228757b73c9faa0f04e9340ea80b5f0491017bad04094512bd25fe04fc095742b639cecba73db058b SHA512 0bfa39f126f2154702e160117b619f41319362723226ebf0ed4b803aafef0302d4df9d9a4cff5fd890507a10ac7424a07cc3bece519451bd56be400998dc0178 DIST slixmpp-1.8.1.tar.gz 532622 BLAKE2B d0c12c240c8a14df0a0765f8bac02eb545951a0b9749ec9569d651caa3457af1a71f1c6b3a10db879fe25648b1c3c456b78e48042a83124b0a8d4d35df60134d SHA512 13b355592d564b7e211e6007fa19099e619480d0a87332b68163115852840ad2f0c70063b4260fc88d4da67e13ea97c88972fc05999c1870256b0de0257409f9 diff --git a/dev-python/slixmpp/files/slixmpp-1.7.1-fix-py3.10.patch b/dev-python/slixmpp/files/slixmpp-1.7.1-fix-py3.10.patch deleted file mode 100644 index 0901090e4651..000000000000 --- a/dev-python/slixmpp/files/slixmpp-1.7.1-fix-py3.10.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 8b7648502b003d433a08333b041baf1d4960c9d4 Mon Sep 17 00:00:00 2001 -From: Nicolas Cedilnik <nicoco@nicoco.fr> -Date: Mon, 22 Feb 2021 13:07:15 +0100 -Subject: [PATCH] Fix deprecation warning - ---- - slixmpp/thirdparty/orderedset.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/slixmpp/thirdparty/orderedset.py b/slixmpp/thirdparty/orderedset.py -index f6642db3..43023af4 100644 ---- a/slixmpp/thirdparty/orderedset.py -+++ b/slixmpp/thirdparty/orderedset.py -@@ -20,9 +20,9 @@ - # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR - # OTHER DEALINGS IN THE SOFTWARE. - --import collections -+from collections.abc import MutableSet - --class OrderedSet(collections.MutableSet): -+class OrderedSet(MutableSet): - - def __init__(self, iterable=None): - self.end = end = [] --- -GitLab - diff --git a/dev-python/slixmpp/slixmpp-1.7.1.ebuild b/dev-python/slixmpp/slixmpp-1.7.1.ebuild deleted file mode 100644 index 98cb16677a44..000000000000 --- a/dev-python/slixmpp/slixmpp-1.7.1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Python 3 library for XMPP" -HOMEPAGE="https://lab.louiz.org/poezio/slixmpp" -LICENSE="MIT" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://lab.louiz.org/poezio/${PN}.git" - inherit git-r3 -else - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - KEYWORDS="amd64" -fi - -DEPEND=" - net-dns/libidn -" -RDEPEND=" - dev-python/aiodns[${PYTHON_USEDEP}] - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/pyasn1-modules[${PYTHON_USEDEP}] - dev-python/pyasn1[${PYTHON_USEDEP}] - ${DEPEND} -" - -PATCHES=( - "${FILESDIR}/${P}-fix-py3.10.patch" -) - -distutils_enable_tests unittest diff --git a/dev-python/slixmpp/slixmpp-1.8.0.1.ebuild b/dev-python/slixmpp/slixmpp-1.8.0.1.ebuild deleted file mode 100644 index 8fe12a5511d9..000000000000 --- a/dev-python/slixmpp/slixmpp-1.8.0.1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Python 3 library for XMPP" -HOMEPAGE="https://lab.louiz.org/poezio/slixmpp" -LICENSE="MIT" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://lab.louiz.org/poezio/${PN}.git" - inherit git-r3 -else - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - KEYWORDS="~amd64" -fi - -DEPEND=" - net-dns/libidn -" -RDEPEND=" - dev-python/aiodns[${PYTHON_USEDEP}] - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/defusedxml[${PYTHON_USEDEP}] - dev-python/pyasn1-modules[${PYTHON_USEDEP}] - dev-python/pyasn1[${PYTHON_USEDEP}] - ${DEPEND} -" - -distutils_enable_tests unittest diff --git a/dev-python/slixmpp/slixmpp-1.8.1.ebuild b/dev-python/slixmpp/slixmpp-1.8.1.ebuild index 8fe12a5511d9..1df02496a979 100644 --- a/dev-python/slixmpp/slixmpp-1.8.1.ebuild +++ b/dev-python/slixmpp/slixmpp-1.8.1.ebuild @@ -18,7 +18,7 @@ if [[ "${PV}" == "9999" ]]; then inherit git-r3 else SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - KEYWORDS="~amd64" + KEYWORDS="amd64" fi DEPEND=" diff --git a/dev-python/sphinx-testing/sphinx-testing-1.0.1-r2.ebuild b/dev-python/sphinx-testing/sphinx-testing-1.0.1-r2.ebuild index 966e67971718..5772da13b999 100644 --- a/dev-python/sphinx-testing/sphinx-testing-1.0.1-r2.ebuild +++ b/dev-python/sphinx-testing/sphinx-testing-1.0.1-r2.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/six[${PYTHON_USEDEP}] diff --git a/dev-python/spyder-kernels/Manifest b/dev-python/spyder-kernels/Manifest index 18410ebca031..818fba82d64e 100644 --- a/dev-python/spyder-kernels/Manifest +++ b/dev-python/spyder-kernels/Manifest @@ -1 +1,2 @@ DIST spyder-kernels-2.2.1.tar.gz 86912 BLAKE2B 290c7cd1c89ebccf1b25bd120488fef25369a1d44262f2eea4924068fd6626b8048f0ad65250824352c2888ae7aa267cc219bc5e5b539de81d3c7e09360cbc74 SHA512 0b2a92ba2d3bc9da73532f57fddc873c0a1c36390aec479c689254689ab9ded2692a407b5b5754357ec6edfe36081c735200da933a4232c5b8a4d4701f597359 +DIST spyder-kernels-2.3.0.tar.gz 89425 BLAKE2B 60f9894ef83e1e4df828b35da4a1453721bfe4fe5f9c5655a120835e936a10c90cfc0431553b57e89e1a4cd81b5290709d9b0389bf961f29e5dfdc3caabeb190 SHA512 86b523b8c5a873ded6f222a42a0137143d134f1cdbe54a2d3d7019f4514eea9c117d7e56586092c568eda5eb101a7779b4e9b757d50649bb7ba314b1afaaa836 diff --git a/dev-python/spyder-kernels/spyder-kernels-2.3.0.ebuild b/dev-python/spyder-kernels/spyder-kernels-2.3.0.ebuild new file mode 100644 index 000000000000..7c553a90ae5a --- /dev/null +++ b/dev-python/spyder-kernels/spyder-kernels-2.3.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Kernels used by spyder on its ipython console" +HOMEPAGE="https://github.com/spyder-ide/spyder-kernels/ + https://pypi.org/project/spyder-kernels/" +SRC_URI="https://github.com/spyder-ide/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/cloudpickle[${PYTHON_USEDEP}] + >=dev-python/ipykernel-6.9.2[${PYTHON_USEDEP}] + >=dev-python/ipython-7.31.1[${PYTHON_USEDEP}] + <dev-python/ipython-8[${PYTHON_USEDEP}] + >=dev-python/jupyter_client-7.1.0[${PYTHON_USEDEP}] + dev-python/matplotlib-inline[${PYTHON_USEDEP}] + >=dev-python/pyzmq-22.1.0[${PYTHON_USEDEP}] + >=dev-python/wurlitzer-1.0.3[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/cython[${PYTHON_USEDEP}] + dev-python/dask[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/matplotlib[tk,${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/xarray[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +python_test() { + local deselect=( + # we no longer package distributed + spyder_kernels/console/tests/test_console_kernel.py::test_dask_multiprocessing + # RuntimeError: There is no current event loop in thread 'MainThread'. + # https://bugs.gentoo.org/834893 + spyder_kernels/console/tests/test_console_kernel.py::test_cwd_in_sys_path + spyder_kernels/console/tests/test_console_kernel.py::test_multiprocessing + spyder_kernels/console/tests/test_console_kernel.py::test_multiprocessing_2 + spyder_kernels/console/tests/test_console_kernel.py::test_runfile + spyder_kernels/console/tests/test_console_kernel.py::test_np_threshold + spyder_kernels/console/tests/test_console_kernel.py::test_matplotlib_inline + ) + + epytest ${deselect[@]/#/--deselect } +} diff --git a/dev-python/spyder-terminal/Manifest b/dev-python/spyder-terminal/Manifest index 6737827eb346..cf606e745a83 100644 --- a/dev-python/spyder-terminal/Manifest +++ b/dev-python/spyder-terminal/Manifest @@ -1 +1,2 @@ DIST spyder-terminal-1.2.1.tar.gz 9286045 BLAKE2B 239d0ae4f4e015cb5105de89fad600db44cbcc6fe3ad3419658e4e161d788ef1c32724404d081f36c69027ca49bbae66133979b72afc09146d72d964026cc8f6 SHA512 d0ff71d53090ef3b0d9535209c87217187ce08bf332153928a6c69afebeec5ece7dad01c4c7710118ebf1e0bff5fba1193fb2f5fd56b65321037ef76b9dbfae3 +DIST spyder-terminal-1.2.2.tar.gz 9486091 BLAKE2B 0ac3178bddf82704bd1414999388248c83f9becaf96341a44a4117db88089730882acd08d4688b3ef8a09e52d06b5dc595edcd0fca07b3855fd9c82100af2f0e SHA512 7a4e7ca82553bf870650e0f3ce22f4ab93d54c539799ff855599e17452e4b0887854c30cadba1106b4feece021326709ec7c599e2953d0e72fae8e268db93cce diff --git a/dev-python/spyder-terminal/spyder-terminal-1.2.2.ebuild b/dev-python/spyder-terminal/spyder-terminal-1.2.2.ebuild new file mode 100644 index 000000000000..c65ef22e50a4 --- /dev/null +++ b/dev-python/spyder-terminal/spyder-terminal-1.2.2.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Run system terminals inside Spyder" +HOMEPAGE="https://github.com/spyder-ide/spyder-terminal" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT BSD Apache-2.0 BSD-2 ISC CC-BY-4.0 ZLIB WTFPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/coloredlogs[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + >=dev-python/spyder-5.2.0[${PYTHON_USEDEP}] + >=dev-python/terminado-0.13.1[${PYTHON_USEDEP}] + www-servers/tornado[${PYTHON_USEDEP}] +" diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest index 988a1df37ace..325e79857241 100644 --- a/dev-python/spyder/Manifest +++ b/dev-python/spyder/Manifest @@ -1,2 +1,4 @@ DIST spyder-5.2.2.tar.gz 23913924 BLAKE2B 40bf968212f4b5d343b59ce6fd069f1e6a0d7f8bccbd3ff6eb76960638e9d4ff8f232a764673a75dcea9d8048ed6a5c36d3bd52719c6773cc26e922f5597e35a SHA512 e88a1332da503fcbd55496b7600a7b7dbfa5aa8d2d248b2f4a6cb4e394c07a38b6681db3ac7c0997ff87984a561f1d794a5bec6492f7c7c131c5cfee55c445b2 +DIST spyder-5.3.0.tar.gz 24404638 BLAKE2B 558c0d1ce8cda61786a772bf7ea471eab69755e3852f5701363b3c52cf1cac388a3800d2e59f266ca9e99007c7096582fbd341956752385b23c3af12ef097204 SHA512 c556deb8bed91ad6c59761e70e1e69f2402a216d8c87a57b3fc55f3624418d95114b015f5fc5baf0cb7e405955cd2ae82372105830b405ea52c50d7329ba7f42 DIST spyder-docs-cd0c65d943595da438410559811a5809bf0227a3.tar.gz 90033347 BLAKE2B 11c17ff2e7fd58ca29c927add366490e0e9a218551b2d5b5be8b2e2eaa955cec52983273bfc3630a9b96a76c5650aa2b36a18a44cbcf78ac624758c8f41ed816 SHA512 d0814775026d76156c5c5a3d3a00b764b0803a71416e72c6b974d60dde0b661f06a4cc0940cd3f391a1903a07ceb078918267d332a94e09773906fec4c15eea2 +DIST spyder-docs-f99196cc267b07fa7ad56f0134744b545fa21fcd.tar.gz 90037460 BLAKE2B 8d279e2c2e397a63919c4ba8723ce674d2c5660793330dc578b9a6e05034af016085faedd73894f16241c0ffe1f734217d9e237f7589e59fe2186511552cefe1 SHA512 6c7d35274fd2f627b3b9371c7a2a9f0446c8aee3754b7c7dda6c5a2b9fd4ab04e73637648a188960c71d43f348c6f9ef1911979fec4c281515937e1069e68500 diff --git a/dev-python/spyder/spyder-5.3.0.ebuild b/dev-python/spyder/spyder-5.3.0.ebuild new file mode 100644 index 000000000000..99a1bfd32280 --- /dev/null +++ b/dev-python/spyder/spyder-5.3.0.ebuild @@ -0,0 +1,200 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10} ) +DISTUTILS_USE_PEP517=setuptools + +inherit optfeature xdg distutils-r1 + +# Commit of documentation to fetch +DOCS_PV="f99196cc267b07fa7ad56f0134744b545fa21fcd" + +DESCRIPTION="The Scientific Python Development Environment" +HOMEPAGE=" + https://www.spyder-ide.org/ + https://github.com/spyder-ide/spyder/ + https://pypi.org/project/spyder/ +" +SRC_URI=" + https://github.com/spyder-ide/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/spyder-ide/${PN}-docs/archive/${DOCS_PV}.tar.gz -> ${PN}-docs-${DOCS_PV}.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# The test suite often hangs or does not work. Technically spyder requires +# pyqt5<13, which we do not have in ::gentoo any more. Likely this is the reason +# many of the tests fail or hang. RESTRICTing because IMO it is not worth the +# several hours I spend every single version bump checking which tests do and +# do not work. Spyder itself works fine with pyqt5>13. +RESTRICT="test" + +RDEPEND=" + >=dev-python/atomicwrites-1.2.0[${PYTHON_USEDEP}] + >=dev-python/chardet-2.0.0[${PYTHON_USEDEP}] + >=dev-util/cookiecutter-1.6.0[${PYTHON_USEDEP}] + >=dev-python/diff-match-patch-20181111[${PYTHON_USEDEP}] + >=dev-python/intervaltree-3.0.2[${PYTHON_USEDEP}] + >=dev-python/jellyfish-0.7[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] + >=dev-python/keyring-17.0.0[${PYTHON_USEDEP}] + >=dev-python/nbconvert-4.0[${PYTHON_USEDEP}] + >=dev-python/numpydoc-0.6.0[${PYTHON_USEDEP}] + >=dev-python/pexpect-4.4.0[${PYTHON_USEDEP}] + >=dev-python/pickleshare-0.4[${PYTHON_USEDEP}] + >=dev-python/psutil-5.3[${PYTHON_USEDEP}] + >=dev-python/pygments-2.0[${PYTHON_USEDEP}] + >=dev-python/python-lsp-black-1.2.0[${PYTHON_USEDEP}] + >=dev-python/pyls-spyder-0.4.0[${PYTHON_USEDEP}] + >=dev-python/pyxdg-0.26[${PYTHON_USEDEP}] + >=dev-python/pyzmq-17[${PYTHON_USEDEP}] + >=dev-python/qdarkstyle-3.0.2[${PYTHON_USEDEP}] + <dev-python/qdarkstyle-3.1.0[${PYTHON_USEDEP}] + >=dev-python/qstylizer-0.1.10[${PYTHON_USEDEP}] + >=dev-python/qtawesome-1.0.2[${PYTHON_USEDEP}] + >=dev-python/qtconsole-5.3.0[${PYTHON_USEDEP}] + <dev-python/qtconsole-5.4.0[${PYTHON_USEDEP}] + >=dev-python/QtPy-2.0.1[${PYTHON_USEDEP},svg,webengine] + >=sci-libs/rtree-0.9.7[${PYTHON_USEDEP}] + >=dev-python/sphinx-0.6.6[${PYTHON_USEDEP}] + >=dev-python/spyder-kernels-2.3.0[${PYTHON_USEDEP}] + <dev-python/spyder-kernels-2.4.0[${PYTHON_USEDEP}] + >=dev-python/textdistance-4.2.0[${PYTHON_USEDEP}] + >=dev-python/three-merge-0.1.1[${PYTHON_USEDEP}] + >=dev-python/watchdog-0.10.3[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/cython[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/matplotlib[tk,${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pytest-lazy-fixture[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-ordering[${PYTHON_USEDEP}] + <dev-python/pytest-qt-4[${PYTHON_USEDEP}] + dev-python/pytest-xvfb[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/sympy[${PYTHON_USEDEP}] + )" + +# Based on the courtesy of Arfrever +# This patch removes a call to update-desktop-database during build +# This fails because access is denied to this command during build +PATCHES=( + "${FILESDIR}/${PN}-5.0.0-build.patch" + "${FILESDIR}/${PN}-5.2.0-doc-theme-renamed.patch" +) + +DOCS=( + "AUTHORS.txt" + "Announcements.md" + "CHANGELOG.md" + "CODE_OF_CONDUCT.md" + "CONTRIBUTING.md" + "NOTICE.txt" + "README.md" + "RELEASE.md" +) + +distutils_enable_tests pytest +distutils_enable_sphinx docs/doc \ + dev-python/sphinx-panels \ + dev-python/pydata-sphinx-theme \ + dev-python/sphinx-multiversion + +python_prepare_all() { + # move docs into workdir + mv ../spyder-docs-${DOCS_PV}* docs || die + + # these dependencies are packaged separately: + # dev-python/spyder-kernels, + # dev-python/python-lsp-server, + # dev-python/qdarkstyle + rm -r external-deps/* || die + # runs against things packaged in external-deps dir + rm conftest.py || die + + # Do not depend on pyqt5<5.16, this dependency is carried by QtPy[pyqt5] + # Do not depend on pyqtwebengine<5.16, this dependency is carried by QtPy[webengine] + # Do not depend on parso and jedi, this is dependency is carried in python-lsp-server + # Do not depend on python-lsp-server, this dependency is carried in pyls-spyder + # The explicit version requirements only make things more complicated, if e.g. + # pyls-spyder gains compatibility with a newer version of python-lsp-server + # in a new release it will take time for this information to propagate into + # the next spyder release. So just remove the dependency and let the other + # ebuilds handle the version requirements to speed things up and prevent + # issues such as Bug 803269. + sed -i \ + -e '/pyqt5/d' \ + -e '/pyqtwebengine/d' \ + -e '/python-lsp-server/d' \ + -e '/parso/d' \ + -e '/jedi/d' \ + -e '/pylint/d' \ + requirements/conda.txt || die + sed -i \ + -e "/'pyqt5[ 0-9<=>.,]*',/d" \ + -e "/'pyqtwebengine[ 0-9<=>.,]*',/d" \ + -e "/'python-lsp-server\[all\][ 0-9<=>.,]*',/d" \ + -e "/'parso[ 0-9<=>.,]*',/d" \ + -e "/'jedi[ 0-9<=>.,]*',/d" \ + -e "/'pylint[ 0-9<=>.,]*',/d" \ + setup.py || die + sed -i \ + -e "/^PYLS_REQVER/c\PYLS_REQVER = '>=0.0.1'" \ + -e "/^PYLSP_REQVER/c\PYLSP_REQVER = '>=0.0.1'" \ + -e "/^PARSO_REQVER/c\PARSO_REQVER = '>=0.0.1'" \ + -e "/^JEDI_REQVER/c\JEDI_REQVER = '>=0.0.1'" \ + -e "/^PYLINT_REQVER/c\PYLINT_REQVER = '>=0.0.1'" \ + spyder/dependencies.py || die + + # do not check deps, fails because we removed dependencies above + sed -i -e 's:test_dependencies_for_spyder_setup_install_requires_in_sync:_&:' \ + spyder/tests/test_dependencies_in_sync.py || die + + # can't check for update, need network + rm spyder/workers/tests/test_update.py || die + + # skip online test + rm spyder/widgets/github/tests/test_github_backend.py || die + + distutils-r1_python_prepare_all +} + +# Calling pytest directly makes the tests freeze after completing even if successful +# Exit code is nonzero even upon success, so can't add || die here test results +# should be checked for success manually +python_test() { + "${EPYTHON}" runtests.py +} + +pkg_postinst() { + xdg_pkg_postinst + + optfeature "2D/3D plotting in the Python and IPython consoles" dev-python/matplotlib + optfeature "View and edit DataFrames and Series in the Variable Explorer" dev-python/pandas + optfeature "View and edit two or three dimensional arrays in the Variable Explorer" dev-python/numpy + optfeature "Symbolic mathematics in the IPython console" dev-python/sympy + optfeature "Import Matlab workspace files in the Variable Explorer" dev-python/scipy + optfeature "Run Cython files in the IPython console" dev-python/cython + optfeature "The hdf5/h5py plugin" dev-python/h5py + # optfeature "The line profiler plugin" dev-python/spyder-line-profiler + # optfeature "The memory profiler plugin" dev-python/spyder-memory-profiler + # spyder-autopep8 does not have a release (yet) + # and are not compatible with >=spyder-4.0.0 at the moment + # optfeature "The autopep8 plugin" dev-python/spyder-autopep8 + # optfeature "Vim key bindings" dev-python/spyder-vim + optfeature "Unittest support" dev-python/spyder-unittest + # optfeature "Jupyter notebook support" dev-python/spyder-notebook + optfeature "System terminal inside spyder" dev-python/spyder-terminal + # spyder-reports not yet updated to >=spyder-4.0.0 + # optfeature "Markdown reports using Pweave" dev-python/spyder-reports +} diff --git a/dev-python/sybil/Manifest b/dev-python/sybil/Manifest index 7eb33000d04d..df143e6c4dbb 100644 --- a/dev-python/sybil/Manifest +++ b/dev-python/sybil/Manifest @@ -1,2 +1 @@ -DIST sybil-3.0.0.tar.gz 38011 BLAKE2B 7a42d5b0f3f13ac111d9edc9f74cb4d968f49680bb33d267ee762e830b134fa8c2e1697834d6a6a7aa09c9cd1dc52552379ca43e6667ee844f54f34b8bd3ffc7 SHA512 b6f5b5ebdeeab2ecbe17b6f83f0bc7e83e68f8e784b6a0eea292020db42294f8a1d0288d208f8a5803d5866038c3226f0b7d0d177c91469c4651364078d1bb4d DIST sybil-3.0.1.tar.gz 38265 BLAKE2B 3a9dd8d85a5a6228944f104d255826b4dfee80f5a349da3a0fa69edcfa0953145378f002c1bf834e21c0d382fc96a993b927bdc92bb3e9a84d34998ad6ade62f SHA512 312c57f0de646b1e7a3b992806362c1020b2d567c805d248e94ab22a336a8fc77704234e123e1ec74987bfea620b2f8c4d3714d32aee03587c615d3d90fe5558 diff --git a/dev-python/sybil/files/sybil-3.0.0-test-order.patch b/dev-python/sybil/files/sybil-3.0.0-test-order.patch deleted file mode 100644 index 1badf5b06a19..000000000000 --- a/dev-python/sybil/files/sybil-3.0.0-test-order.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 4d1e1c891bd619a0dec0a265a930bf49050833d1 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Wed, 27 Oct 2021 13:07:01 +0200 -Subject: [PATCH] Restore sorting of test paths to make tests reliable again - -11496eb5761761b687ad4889b4173d3124caa844 has replaced the all_documents -method with a direct call to glob. This has implicitly resulted -in removal of path sorting that in turn means that the test output -depends on filesystem order now and is no longer reliable. -In particular, the tests can now fail randomly depending -on the underlying filesystem, unpack/checkout order, etc. Restore -explicit sorting to make test order predictable again. - -Fixes #34 ---- - sybil/integration/unittest.py | 2 +- - tests/test_sybil.py | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/sybil/integration/unittest.py b/sybil/integration/unittest.py -index 7129ddf..ce34caf 100644 ---- a/sybil/integration/unittest.py -+++ b/sybil/integration/unittest.py -@@ -38,7 +38,7 @@ def unittest_integration(sybil: 'Sybil'): - - def load_tests(loader=None, tests=None, pattern=None): - suite = TestSuite() -- for path in sybil.path.glob('**/*'): -+ for path in sorted(sybil.path.glob('**/*')): - if path.is_file() and sybil.should_parse(path): - document = sybil.parse(path) - -diff --git a/tests/test_sybil.py b/tests/test_sybil.py -index 74a04ea..72a5aea 100644 ---- a/tests/test_sybil.py -+++ b/tests/test_sybil.py -@@ -243,7 +243,7 @@ def parse(document): - - def test_namespace(capsys): - sybil = Sybil([parse], path='./samples') -- documents = [sybil.parse(p) for p in sybil.path.glob('sample*.txt')] -+ documents = [sybil.parse(p) for p in sorted(sybil.path.glob('sample*.txt'))] - actual = [] - for document in documents: - for example in document: diff --git a/dev-python/sybil/sybil-3.0.0.ebuild b/dev-python/sybil/sybil-3.0.0.ebuild deleted file mode 100644 index 7a648c8b34a0..000000000000 --- a/dev-python/sybil/sybil-3.0.0.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 2019-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="Automated testing for the examples in your documentation" -HOMEPAGE="https://github.com/simplistix/sybil" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}"/${P}-test-order.patch -) diff --git a/dev-python/sybil/sybil-3.0.1.ebuild b/dev-python/sybil/sybil-3.0.1.ebuild index f307d0b07df9..4320956888a3 100644 --- a/dev-python/sybil/sybil-3.0.1.ebuild +++ b/dev-python/sybil/sybil-3.0.1.ebuild @@ -14,6 +14,6 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv x86" distutils_enable_tests pytest diff --git a/dev-python/testfixtures/Manifest b/dev-python/testfixtures/Manifest index d69d9f63bf71..fb77740e695d 100644 --- a/dev-python/testfixtures/Manifest +++ b/dev-python/testfixtures/Manifest @@ -1,3 +1 @@ -DIST testfixtures-6.18.3.tar.gz 122142 BLAKE2B 014cc2245d5fbe0d39310c8e2c21cd5f289d6ec7a6a561d055e86d4cd25b79f1aa535067746219e2382df2aeec050dfa24cdae674636d92ee61016fa9861e705 SHA512 e556e7cb28f122526ef19550b1e593b61f01923d0be53951344f917f89b3d4cae29e525ceda3d0290bc18c3641b509dd7236e7b55ae50da0157fe11ca9f04cca -DIST testfixtures-6.18.4.tar.gz 124910 BLAKE2B 8c19672903d3b6ba5139b95f1d060c0d71ae8891e8c190a8891fded6d79af3549a91809b73a114f69cf2b0de49740e49a9e38e44981addcd09d7b4c343ea3ced SHA512 2643ddfd7c4be7b514070e2df8e52479ad51f50a8b69507faf36d90bd92aa0201f1c3033eb00e644bac194601b0a9190c02727f18d899629ab09abfa3546ecd7 DIST testfixtures-6.18.5.tar.gz 124944 BLAKE2B 6f1431b3e7201a3c12bf683cfcb123329b186f42a64fdfe3ee7897ab0c5e9ba3995deb88934ae59f0d35b64710ac04b421d07f1c496429b18a0b6a03e600885d SHA512 4d4ec7295bb056102995dc1c872b86059109b114ab921769d3aa2c2de96a3789fef30558f51826655b6d2d668ea1b1bc9f161a4584aab628f59d4da1fa95940e diff --git a/dev-python/testfixtures/files/testfixtures-6.18.1-py3.10.patch b/dev-python/testfixtures/files/testfixtures-6.18.1-py3.10.patch deleted file mode 100644 index cd1ecbd8133d..000000000000 --- a/dev-python/testfixtures/files/testfixtures-6.18.1-py3.10.patch +++ /dev/null @@ -1,172 +0,0 @@ -From 8fb2122eea0f1d0de1ccca7a3a0f5426bc6d4964 Mon Sep 17 00:00:00 2001 -From: Louis Sautier <sautier.louis@gmail.com> -Date: Sat, 21 Aug 2021 03:00:51 +0200 -Subject: [PATCH] tests: fix with Python 3.10 (changed exception messages) - ---- - testfixtures/compat.py | 1 + - testfixtures/tests/test_popen.py | 41 ++++++++++++++++++------------ - testfixtures/tests/test_replace.py | 24 ++++++++++------- - 3 files changed, 41 insertions(+), 25 deletions(-) - -diff --git a/testfixtures/compat.py b/testfixtures/compat.py -index 1042d27..ca00f32 100644 ---- a/testfixtures/compat.py -+++ b/testfixtures/compat.py -@@ -5,6 +5,7 @@ - - PY_36_PLUS = PY_VERSION >= (3, 6) - PY_37_PLUS = PY_VERSION >= (3, 7) -+PY_310_PLUS = PY_VERSION >= (3, 10) - - - if PY_VERSION > (3, 0): -diff --git a/testfixtures/tests/test_popen.py b/testfixtures/tests/test_popen.py -index aa211da..4ec3186 100644 ---- a/testfixtures/tests/test_popen.py -+++ b/testfixtures/tests/test_popen.py -@@ -6,7 +6,7 @@ - from testfixtures import ShouldRaise, compare, Replacer - - from testfixtures.popen import MockPopen, PopenBehaviour --from testfixtures.compat import BytesLiteral, PY2 -+from testfixtures.compat import BytesLiteral, PY2, PY_310_PLUS - - import signal - -@@ -471,10 +471,11 @@ def test_default_command_max_args(self): - ], Popen.mock.method_calls) - - def test_invalid_parameters(self): -+ message = "__init__() got an unexpected keyword argument 'foo'" -+ if PY_310_PLUS: -+ message = "MockPopenInstance." + message - Popen = MockPopen() -- with ShouldRaise(TypeError( -- "__init__() got an unexpected keyword argument 'foo'" -- )): -+ with ShouldRaise(TypeError(message)): - Popen(foo='bar') - - def test_invalid_method_or_attr(self): -@@ -492,39 +493,43 @@ def test_invalid_attribute(self): - process.foo - - def test_invalid_communicate_call(self): -+ message = "communicate() got an unexpected keyword argument 'foo'" -+ if PY_310_PLUS: -+ message = "MockPopenInstance." + message - Popen = MockPopen() - Popen.set_command('bar') - process = Popen('bar') -- with ShouldRaise(TypeError( -- "communicate() got an unexpected keyword argument 'foo'" -- )): -+ with ShouldRaise(TypeError(message)): - process.communicate(foo='bar') - - def test_invalid_wait_call(self): -+ message = "wait() got an unexpected keyword argument 'foo'" -+ if PY_310_PLUS: -+ message = "MockPopenInstance." + message - Popen = MockPopen() - Popen.set_command('bar') - process = Popen('bar') -- with ShouldRaise(TypeError( -- "wait() got an unexpected keyword argument 'foo'" -- )): -+ with ShouldRaise(TypeError(message)): - process.wait(foo='bar') - - def test_invalid_send_signal(self): -+ message = "send_signal() got an unexpected keyword argument 'foo'" -+ if PY_310_PLUS: -+ message = "MockPopenInstance." + message - Popen = MockPopen() - Popen.set_command('bar') - process = Popen('bar') -- with ShouldRaise(TypeError( -- "send_signal() got an unexpected keyword argument 'foo'" -- )): -+ with ShouldRaise(TypeError(message)): - process.send_signal(foo='bar') - - def test_invalid_terminate(self): -+ message = "terminate() got an unexpected keyword argument 'foo'" -+ if PY_310_PLUS: -+ message = "MockPopenInstance." + message - Popen = MockPopen() - Popen.set_command('bar') - process = Popen('bar') -- with ShouldRaise(TypeError( -- "terminate() got an unexpected keyword argument 'foo'" -- )): -+ with ShouldRaise(TypeError(message)): - process.terminate(foo='bar') - - def test_invalid_kill(self): -@@ -535,6 +540,8 @@ def test_invalid_kill(self): - text = 'kill() takes exactly 1 argument (2 given)' - else: - text = 'kill() takes 1 positional argument but 2 were given' -+ if PY_310_PLUS: -+ text = "MockPopenInstance." + text - with ShouldRaise(TypeError(text)): - process.kill('moo') - -@@ -546,6 +553,8 @@ def test_invalid_poll(self): - text = 'poll() takes exactly 1 argument (2 given)' - else: - text = 'poll() takes 1 positional argument but 2 were given' -+ if PY_310_PLUS: -+ text = "MockPopenInstance." + text - with ShouldRaise(TypeError(text)): - process.poll('moo') - -diff --git a/testfixtures/tests/test_replace.py b/testfixtures/tests/test_replace.py -index 5a77e23..d3544a8 100644 ---- a/testfixtures/tests/test_replace.py -+++ b/testfixtures/tests/test_replace.py -@@ -13,7 +13,7 @@ - - from testfixtures.tests import sample1 - from testfixtures.tests import sample2 --from ..compat import PY3 -+from ..compat import PY3, PY_310_PLUS - - from warnings import catch_warnings - -@@ -259,19 +259,25 @@ def test_something(obj): - self.failIf(hasattr(sample1, 'foo')) - - def test_replace_delattr_cant_remove(self): -+ if PY_310_PLUS: -+ message = "cannot set 'today' attribute of " \ -+ "immutable type 'datetime.datetime'" -+ else: -+ message = "can't set attributes of " \ -+ "built-in/extension type 'datetime.datetime'" - with Replacer() as r: -- with ShouldRaise(TypeError( -- "can't set attributes of " -- "built-in/extension type 'datetime.datetime'" -- )): -+ with ShouldRaise(TypeError(message)): - r.replace('datetime.datetime.today', not_there) - - def test_replace_delattr_cant_remove_not_strict(self): -+ if PY_310_PLUS: -+ message = "cannot set 'today' attribute of " \ -+ "immutable type 'datetime.datetime'" -+ else: -+ message = "can't set attributes of " \ -+ "built-in/extension type 'datetime.datetime'" - with Replacer() as r: -- with ShouldRaise(TypeError( -- "can't set attributes of " -- "built-in/extension type 'datetime.datetime'" -- )): -+ with ShouldRaise(TypeError(message)): - r.replace('datetime.datetime.today', not_there, strict=False) - - def test_replace_dict_remove_key(self): diff --git a/dev-python/testfixtures/testfixtures-6.18.3.ebuild b/dev-python/testfixtures/testfixtures-6.18.3.ebuild deleted file mode 100644 index e223a673d9e1..000000000000 --- a/dev-python/testfixtures/testfixtures-6.18.3.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="A collection of helpers and mock objects for unit tests and doc tests" -HOMEPAGE="https://pypi.org/project/testfixtures/ https://github.com/Simplistix/testfixtures" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -SLOT="0" -LICENSE="MIT" -KEYWORDS="amd64 ~arm arm64 ~riscv x86 ~amd64-linux ~x86-linux" - -BDEPEND=" - test? ( - $(python_gen_impl_dep sqlite) - dev-python/django[${PYTHON_USEDEP}] - dev-python/pytest-django[${PYTHON_USEDEP}] - dev-python/sybil[${PYTHON_USEDEP}] - >=dev-python/twisted-18[${PYTHON_USEDEP}] - dev-python/zope-component[${PYTHON_USEDEP}] - )" - -distutils_enable_sphinx docs -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/Simplistix/testfixtures/commit/8fb2122eea0f1d0de1ccca7a3a0f5426bc6d4964 - "${FILESDIR}/testfixtures-6.18.1-py3.10.patch" -) - -python_prepare_all() { - # kill weird way of declaring build deps - sed -e '/build=/d' -i setup.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - local -x PYTHONPATH="." - local -x DJANGO_SETTINGS_MODULE=testfixtures.tests.test_django.settings - epytest -Wignore::DeprecationWarning -} diff --git a/dev-python/testfixtures/testfixtures-6.18.4.ebuild b/dev-python/testfixtures/testfixtures-6.18.4.ebuild deleted file mode 100644 index 8bfac283adc8..000000000000 --- a/dev-python/testfixtures/testfixtures-6.18.4.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="A collection of helpers and mock objects for unit tests and doc tests" -HOMEPAGE="https://pypi.org/project/testfixtures/ https://github.com/Simplistix/testfixtures" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -SLOT="0" -LICENSE="MIT" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" - -BDEPEND=" - test? ( - $(python_gen_impl_dep sqlite) - dev-python/django[${PYTHON_USEDEP}] - dev-python/pytest-django[${PYTHON_USEDEP}] - dev-python/sybil[${PYTHON_USEDEP}] - >=dev-python/twisted-18[${PYTHON_USEDEP}] - dev-python/zope-component[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs -distutils_enable_tests pytest - -python_prepare_all() { - # kill weird way of declaring build deps - sed -e '/build=/d' -i setup.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - local -x PYTHONPATH="." - local -x DJANGO_SETTINGS_MODULE=testfixtures.tests.test_django.settings - - local EPYTEST_DESELECT=( - # TODO - testfixtures/tests/test_shouldwarn.py::ShouldWarnTests::test_filter_missing - testfixtures/tests/test_shouldwarn.py::ShouldWarnTests::test_filter_present - ) - - epytest -} diff --git a/dev-python/testfixtures/testfixtures-6.18.5.ebuild b/dev-python/testfixtures/testfixtures-6.18.5.ebuild index 8bfac283adc8..4865d2743a07 100644 --- a/dev-python/testfixtures/testfixtures-6.18.5.ebuild +++ b/dev-python/testfixtures/testfixtures-6.18.5.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" SLOT="0" LICENSE="MIT" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 ~riscv x86 ~amd64-linux ~x86-linux" BDEPEND=" test? ( diff --git a/dev-python/tqdm/Manifest b/dev-python/tqdm/Manifest index ab52b3363922..ea99205e61fd 100644 --- a/dev-python/tqdm/Manifest +++ b/dev-python/tqdm/Manifest @@ -1,3 +1 @@ -DIST tqdm-4.62.3.tar.gz 167952 BLAKE2B d5732fc97256e1fc4f55bd1a0f69f98a87e7132cc1d8484baa12b7615da5a95ce20268515539c595c2b2aaf20f9a9434c17d581b3b90ea3cad3515150e469471 SHA512 1083ca2080163c98bbb55e124ce9d47c790e47c83cd8dad60e4c93773d1d97a50aacb5a25ddb8a2ae3691738e4f4942c88d55dab406c3e810cac18b8929d20ee -DIST tqdm-4.63.0.tar.gz 168556 BLAKE2B f4fa47290f580f0923fa4325e88b103c4175344c928844149bf4b4445816bb7e87bd176d666b93a94a5981b246541017f0a34d710becf082110caca68b9ee45d SHA512 939ac7e310204094cb0c6a935ba6a91af45cd63fa8fa83865b75d1bcea440d5ff21a4d3405f5bcce864b43159921d3ef7b92d9c390fe30902f24e4e724c7eaf9 DIST tqdm-4.63.1.tar.gz 168619 BLAKE2B c5d282f07bd1042097ba24cfc7c5311ce53fa5b66e4f9d4b8504c5d102a4c380dfbc8bb59deee469c90d9726b7d36a34cf9c88ed07b412378f51819f789e8e9c SHA512 3d7dfb81ca6b8b72f26d6b3ef4309af19e1679d3ee805e3c1326e804df4204acc20de8d935394eac736a1598d9c5485165f3cbd2b83b746c2bbf202d3b1e4c5c diff --git a/dev-python/tqdm/tqdm-4.62.3.ebuild b/dev-python/tqdm/tqdm-4.62.3.ebuild deleted file mode 100644 index 5d0dabd768e0..000000000000 --- a/dev-python/tqdm/tqdm-4.62.3.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) -inherit distutils-r1 - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/tqdm/tqdm" -else - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" -fi - -DESCRIPTION="Add a progress meter to your loops in a second" -HOMEPAGE="https://github.com/tqdm/tqdm" - -LICENSE="MIT" -SLOT="0" -IUSE="examples" - -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}] - test? ( - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -python_test() { - # Skip unpredictable performance tests - epytest --ignore 'tests/tests_perf.py' -} - -python_install() { - doman "${BUILD_DIR}"/lib/tqdm/tqdm.1 - rm "${BUILD_DIR}"/lib/tqdm/tqdm.1 || die - distutils-r1_python_install -} - -python_install_all() { - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi - distutils-r1_python_install_all -} diff --git a/dev-python/tqdm/tqdm-4.63.0.ebuild b/dev-python/tqdm/tqdm-4.63.0.ebuild deleted file mode 100644 index 4edbbeb8e4f3..000000000000 --- a/dev-python/tqdm/tqdm-4.63.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) - -inherit bash-completion-r1 distutils-r1 - -DESCRIPTION="Add a progress meter to your loops in a second" -HOMEPAGE=" - https://github.com/tqdm/tqdm/ - https://pypi.org/project/tqdm/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" -IUSE="examples" - -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}] - test? ( - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_IGNORE=( - # Skip unpredictable performance tests - tests/tests_perf.py -) - -python_install_all() { - doman tqdm/tqdm.1 - newbashcomp tqdm/completion.sh tqdm - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi - distutils-r1_python_install_all -} diff --git a/dev-python/tqdm/tqdm-4.63.1.ebuild b/dev-python/tqdm/tqdm-4.63.1.ebuild index 4edbbeb8e4f3..224c8581aea0 100644 --- a/dev-python/tqdm/tqdm-4.63.1.ebuild +++ b/dev-python/tqdm/tqdm-4.63.1.ebuild @@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" IUSE="examples" BDEPEND=" diff --git a/dev-python/translate-toolkit/Manifest b/dev-python/translate-toolkit/Manifest index 3aecc0b090eb..0c6f793cc181 100644 --- a/dev-python/translate-toolkit/Manifest +++ b/dev-python/translate-toolkit/Manifest @@ -1,2 +1 @@ -DIST translate-3.5.3.gh.tar.gz 1148120 BLAKE2B e848a089281ab7f1e17b28beefbea50245025bc3db0616bab3f5e1d288b2aacc0df636dca11f17481af863a4845594ecff9fc66dbc33d403a8fe0575ff90581d SHA512 3ad1bc4742e4d91dbdd8b4662597d07c792e306426dac42b6f8720cefdf1f4cf502d587941df3e6a93dd5648a1b92f5951bd1b5e79a41e5476f1b9ca06624656 DIST translate-3.6.0.gh.tar.gz 1150765 BLAKE2B 0b69d21782d8d6b3ae322b480ad2205e577d87a3a9448f8a428f666d3d141063ad06f83eaa38f5d5903cc4263bbdcf261523fef57111c1ba705b640835c11416 SHA512 3ce371cb688dcfa656676fdc3ca920d76088fad67dbfb112511a0439250913e1f4587df681752bf1b288b9c4af3e4ebd11b8f8db51670f0fe14e9db68d7917f7 diff --git a/dev-python/translate-toolkit/translate-toolkit-3.5.3.ebuild b/dev-python/translate-toolkit/translate-toolkit-3.5.3.ebuild deleted file mode 100644 index 20e25974d058..000000000000 --- a/dev-python/translate-toolkit/translate-toolkit-3.5.3.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -PYTHON_REQ_USE="sqlite" - -inherit distutils-r1 - -MY_P=translate-${PV} -DESCRIPTION="Toolkit to convert between many translation formats" -HOMEPAGE="https://github.com/translate/translate" -SRC_URI=" - https://github.com/translate/translate/archive/refs/tags/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 arm64 x86" -IUSE="+html +ical +ini +subtitles +yaml" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -BDEPEND=">=dev-python/six-1.11.0[${PYTHON_USEDEP}]" -RDEPEND="${BDEPEND} - !dev-python/pydiff - app-text/iso-codes - >=dev-python/chardet-3.0.4[${PYTHON_USEDEP}] - dev-python/cheroot[${PYTHON_USEDEP}] - >=dev-python/lxml-4.3.1[${PYTHON_USEDEP}] - >=dev-python/pycountry-19.8.18[${PYTHON_USEDEP}] - >=dev-python/python-levenshtein-0.12.0[${PYTHON_USEDEP}] - >=dev-python/pyparsing-3[${PYTHON_USEDEP}] - dev-python/ruamel-yaml[${PYTHON_USEDEP}] - sys-devel/gettext - html? ( dev-python/utidylib[${PYTHON_USEDEP}] ) - ical? ( dev-python/vobject[${PYTHON_USEDEP}] ) - ini? ( >=dev-python/iniparse-0.5[${PYTHON_USEDEP}] ) - subtitles? ( media-video/gaupol[${PYTHON_USEDEP}] ) - yaml? ( dev-python/pyyaml[${PYTHON_USEDEP}] ) -" -BDEPEND+=" - test? ( dev-python/phply[${PYTHON_USEDEP}] )" - -distutils_enable_sphinx docs \ - dev-python/sphinx-bootstrap-theme -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}"/translate-toolkit-3.3.0-no-install-docs.patch -) - -python_test() { - local EPYTEST_DESELECT=( - # Fails with network-sandbox (and even with it off but w/ softer fail) - 'tests/xliff_conformance/test_xliff_conformance.py::test_open_office_to_xliff' - 'tests/xliff_conformance/test_xliff_conformance.py::test_po_to_xliff' - ) - local EPYTEST_IGNORE=( - # unpackaged fluent.* - translate/storage/test_fluent.py - ) - - if ! use ini; then - EPYTEST_IGNORE+=( - translate/convert/test_ini2po.py - translate/convert/test_po2ini.py - ) - fi - - if ! use subtitles; then - EPYTEST_IGNORE+=( - translate/storage/test_subtitles.py - ) - fi - - # translate/storage/test_mo.py needs 'pocompile' - distutils_install_for_testing - epytest -} - -python_install_all() { - distutils-r1_python_install_all - - if ! use html; then - rm "${ED}"/usr/bin/{html2po,po2html} || die - fi - if ! use ical; then - rm "${ED}"/usr/bin/{ical2po,po2ical} || die - fi - if ! use ini; then - rm "${ED}"/usr/bin/{ini2po,po2ini} || die - fi - if ! use subtitles; then - rm "${ED}"/usr/bin/{sub2po,po2sub} || die - fi - - python_optimize -} diff --git a/dev-python/translate-toolkit/translate-toolkit-3.6.0.ebuild b/dev-python/translate-toolkit/translate-toolkit-3.6.0.ebuild index 18599f013a77..7b2354445d2d 100644 --- a/dev-python/translate-toolkit/translate-toolkit-3.6.0.ebuild +++ b/dev-python/translate-toolkit/translate-toolkit-3.6.0.ebuild @@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 x86" IUSE="+html +ical +ini +subtitles +yaml" BDEPEND=" diff --git a/dev-python/twython/twython-3.9.1-r1.ebuild b/dev-python/twython/twython-3.9.1-r1.ebuild index 60352049de80..af6bd2a6579d 100644 --- a/dev-python/twython/twython-3.9.1-r1.ebuild +++ b/dev-python/twython/twython-3.9.1-r1.ebuild @@ -16,7 +16,7 @@ SRC_URI=" SLOT="0" LICENSE="MIT" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" RDEPEND=" >=dev-python/requests-2.1.0[${PYTHON_USEDEP}] diff --git a/dev-python/twython/twython-3.9.1.ebuild b/dev-python/twython/twython-3.9.1.ebuild deleted file mode 100644 index 9314f8fa336e..000000000000 --- a/dev-python/twython/twython-3.9.1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="An easy way to access Twitter data with Python" -HOMEPAGE="https://github.com/ryanmcgrath/twython" -SRC_URI=" - https://github.com/ryanmcgrath/twython/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz" - -SLOT="0" -LICENSE="MIT" -KEYWORDS="amd64 x86" - -RDEPEND=" - >=dev-python/requests-2.1.0[${PYTHON_USEDEP}] - >=dev-python/requests-oauthlib-0.4.0[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( dev-python/responses[${PYTHON_USEDEP}] )" - -distutils_enable_tests pytest - -python_test() { - local deselect=( - # tests are largely unmaintained and outdated - tests/test_core.py::TwythonAPITestCase::test_get_lastfunction_header_should_return_header - tests/test_core.py::TwythonAPITestCase::test_request_should_handle_400_for_missing_auth_data - tests/test_core.py::TwythonAPITestCase::test_request_should_handle_400_that_is_not_auth_related - tests/test_core.py::TwythonAPITestCase::test_request_should_handle_401 - tests/test_core.py::TwythonAPITestCase::test_request_should_handle_rate_limit - ) - epytest ${deselect[@]/#/--deselect } -} diff --git a/dev-python/unicodecsv/unicodecsv-0.14.1-r1.ebuild b/dev-python/unicodecsv/unicodecsv-0.14.1-r1.ebuild deleted file mode 100644 index 5bb8900fb537..000000000000 --- a/dev-python/unicodecsv/unicodecsv-0.14.1-r1.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Drop-in replacement for python stdlib csv module supporting unicode" -HOMEPAGE="https://pypi.org/project/unicodecsv/ https://github.com/jdunck/python-unicodecsv" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc x86" - -distutils_enable_tests unittest - -src_prepare() { - # un-depend on unittest2 - sed -i -e 's:unittest2 as ::' unicodecsv/test.py || die - distutils-r1_src_prepare -} diff --git a/dev-python/unicodecsv/unicodecsv-0.14.1-r2.ebuild b/dev-python/unicodecsv/unicodecsv-0.14.1-r2.ebuild index 391056a481c8..329902cd2b3f 100644 --- a/dev-python/unicodecsv/unicodecsv-0.14.1-r2.ebuild +++ b/dev-python/unicodecsv/unicodecsv-0.14.1-r2.ebuild @@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc x86" distutils_enable_tests unittest diff --git a/dev-python/websocket-client/Manifest b/dev-python/websocket-client/Manifest index eed7fe040ac6..acee5185f131 100644 --- a/dev-python/websocket-client/Manifest +++ b/dev-python/websocket-client/Manifest @@ -1,3 +1,2 @@ -DIST websocket-client-1.2.3.tar.gz 46434 BLAKE2B e1e294938b41e6d82fa5cf8cd58fd9653e5170e11e546a04bce6dc0c8a9752cc25a21dbc1352fc614651f9fee43410a269a35e4c8dbacffec14f1ed8e8526f89 SHA512 5e5e00d43b7b4da5e2cb0d00d1e743e420791856e51e2b3d28d78219edcd7a2eace834ae4d7ee2faf89ab27c2b65f063e508f0e470a47ff9d88c36748b3dd113 DIST websocket-client-1.3.1.tar.gz 47672 BLAKE2B c28af7684750e5d678a2e3bb5440eee2ff96effdc6f08a7312b7f596e39b29fd96936f04735b737fe00426869a3d8bb9eaf51c2aac32cbc845e7386d0a653780 SHA512 d60c5e755944ed0b2d426c75da9650a6624ee5718061a0cfb71b9a700e5bd3db9143702657175d7988b57e81117bad9cbb58636fb14ca55ad6addd90ff02ce0f DIST websocket-client-1.3.2.tar.gz 47821 BLAKE2B bdd398885f1c76646e094f6e2efa3c886bfddb0d5f1a2961ad2586444c9bff7272f61d880567e7826aa49c36ac48d6cad1583d0cc4bdb73d0f1702e9b4bf2e2b SHA512 c2a38aa3fff0e7f94433cec1939ce75074d9f89d403c0627f34e3a0486dc35fe00230ba7c05f9172a89d3ee49f0ef53ae367eca864f34ec95932966b31d6c3a8 diff --git a/dev-python/websocket-client/websocket-client-1.2.3.ebuild b/dev-python/websocket-client/websocket-client-1.2.3.ebuild deleted file mode 100644 index 3b41bea0b703..000000000000 --- a/dev-python/websocket-client/websocket-client-1.2.3.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) -inherit distutils-r1 - -DESCRIPTION="WebSocket client for python with hybi13 support" -HOMEPAGE="https://github.com/websocket-client/websocket-client" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="examples" - -BDEPEND=" - test? ( - dev-python/python-socks[${PYTHON_USEDEP}] - )" - -distutils_enable_tests unittest - -python_install_all() { - if use examples; then - docompress -x "/usr/share/doc/${PF}/examples" - dodoc -r examples - fi - distutils-r1_python_install_all -} diff --git a/dev-python/websocket-client/websocket-client-1.3.1.ebuild b/dev-python/websocket-client/websocket-client-1.3.1.ebuild index 5968d1c40f2f..8eef84e1442f 100644 --- a/dev-python/websocket-client/websocket-client-1.3.1.ebuild +++ b/dev-python/websocket-client/websocket-client-1.3.1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" IUSE="examples" BDEPEND=" diff --git a/dev-python/werkzeug/werkzeug-2.1.0.ebuild b/dev-python/werkzeug/werkzeug-2.1.0.ebuild index c06d7dfe1207..5903e79c32af 100644 --- a/dev-python/werkzeug/werkzeug-2.1.0.ebuild +++ b/dev-python/werkzeug/werkzeug-2.1.0.ebuild @@ -19,7 +19,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~riscv" +KEYWORDS="~amd64 ~riscv ~x86" BDEPEND=" test? ( diff --git a/dev-python/widgetsnbextension/widgetsnbextension-3.5.1-r1.ebuild b/dev-python/widgetsnbextension/widgetsnbextension-3.5.1-r1.ebuild index 3e0d2cee5444..af1d495f77df 100644 --- a/dev-python/widgetsnbextension/widgetsnbextension-3.5.1-r1.ebuild +++ b/dev-python/widgetsnbextension/widgetsnbextension-3.5.1-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 hppa ~ia64 ppc ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" IUSE="" RDEPEND="dev-python/notebook[${PYTHON_USEDEP}]" diff --git a/dev-python/wsproto/wsproto-1.1.0.ebuild b/dev-python/wsproto/wsproto-1.1.0.ebuild index daf5146eada4..4f5410b308a6 100644 --- a/dev-python/wsproto/wsproto-1.1.0.ebuild +++ b/dev-python/wsproto/wsproto-1.1.0.ebuild @@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86" RDEPEND=" >=dev-python/h11-0.9[${PYTHON_USEDEP}] diff --git a/dev-python/xlrd/xlrd-2.0.1-r1.ebuild b/dev-python/xlrd/xlrd-2.0.1-r1.ebuild index 3aee34e15581..c901883ae84c 100644 --- a/dev-python/xlrd/xlrd-2.0.1-r1.ebuild +++ b/dev-python/xlrd/xlrd-2.0.1-r1.ebuild @@ -20,6 +20,6 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" distutils_enable_tests pytest diff --git a/dev-python/xlrd/xlrd-2.0.1.ebuild b/dev-python/xlrd/xlrd-2.0.1.ebuild deleted file mode 100644 index 3393a0ccc880..000000000000 --- a/dev-python/xlrd/xlrd-2.0.1.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Library to extract data from Microsoft Excel spreadsheets" -HOMEPAGE=" - https://www.python-excel.org/ - https://github.com/python-excel/xlrd/" -SRC_URI=" - https://github.com/python-excel/xlrd/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" - -distutils_enable_tests pytest diff --git a/dev-python/xlsxwriter/Manifest b/dev-python/xlsxwriter/Manifest index 2a6a98d8e707..57ed2a081a4c 100644 --- a/dev-python/xlsxwriter/Manifest +++ b/dev-python/xlsxwriter/Manifest @@ -1,2 +1 @@ -DIST XlsxWriter-RELEASE_3.0.2.tar.gz 34433041 BLAKE2B 748d710d3f953ae22154022a75f3a67898846914cab67302167ba34ba5e449041a95dbc984883e4ff58c078b940ebd429898109abb7a39f57ea499e5fcff83fa SHA512 790eb7fb93d25987adf5d30bfa28e0fa137f809dc9a293edfe86105e0a948263759df85b5a0f9fb19b89c256a33b5b68179d95a210964b6f82345972ee9e6108 DIST XlsxWriter-RELEASE_3.0.3.tar.gz 35519702 BLAKE2B f4dfa6b286dda94a1a44d8168b8e17f7a37f2f59a23aa3a5ed0efa46b5d8bdcdb831e99a61924e22755c6a921c23f5c540c048152cd07363841ff09a49549c79 SHA512 92a53226aa9ee9f8493fe7171ce752f3a13ef8f3107aecbef896f17022e93bd7dbccb5e619fcbbb3598102030b190d75508d4dacce20b9643eead59a4441f6aa diff --git a/dev-python/xlsxwriter/xlsxwriter-3.0.2.ebuild b/dev-python/xlsxwriter/xlsxwriter-3.0.2.ebuild deleted file mode 100644 index 5744d3f28da9..000000000000 --- a/dev-python/xlsxwriter/xlsxwriter-3.0.2.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) -inherit distutils-r1 - -TAG=RELEASE_${PV} -MY_P=XlsxWriter-${TAG} -DESCRIPTION="Python module for creating Excel XLSX files" -HOMEPAGE="https://github.com/jmcnamara/XlsxWriter" -SRC_URI=" - https://github.com/jmcnamara/XlsxWriter/archive/${TAG}.tar.gz - -> ${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} - -SLOT="0" -LICENSE="BSD" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" - -distutils_enable_tests pytest diff --git a/dev-python/xlsxwriter/xlsxwriter-3.0.3.ebuild b/dev-python/xlsxwriter/xlsxwriter-3.0.3.ebuild index a55f9be37974..ee4be41431a4 100644 --- a/dev-python/xlsxwriter/xlsxwriter-3.0.3.ebuild +++ b/dev-python/xlsxwriter/xlsxwriter-3.0.3.ebuild @@ -20,6 +20,6 @@ S=${WORKDIR}/${MY_P} SLOT="0" LICENSE="BSD" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" distutils_enable_tests pytest diff --git a/dev-python/xlwt/xlwt-1.3.0-r1.ebuild b/dev-python/xlwt/xlwt-1.3.0-r1.ebuild deleted file mode 100644 index 8b542aae6f4f..000000000000 --- a/dev-python/xlwt/xlwt-1.3.0-r1.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="Python library to create spreadsheet files compatible with Excel" -HOMEPAGE="https://pypi.org/project/xlwt/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" -IUSE="examples" - -distutils_enable_sphinx docs \ - dev-python/pkginfo -distutils_enable_tests nose - -python_install_all() { - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF} - fi - distutils-r1_python_install_all -} diff --git a/dev-python/xlwt/xlwt-1.3.0-r2.ebuild b/dev-python/xlwt/xlwt-1.3.0-r2.ebuild index ea8b3b6ee46e..065f8bafafe2 100644 --- a/dev-python/xlwt/xlwt-1.3.0-r2.ebuild +++ b/dev-python/xlwt/xlwt-1.3.0-r2.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" IUSE="examples" distutils_enable_sphinx docs \ |
