diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-01-14 00:39:51 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-01-14 00:39:51 +0000 |
| commit | 3c285e31037b8a9e44f6f9f805065a1de260f0e2 (patch) | |
| tree | 023089710a2f88292082d3c144a748e7e0c42a13 /dev-python | |
| parent | dd16aecbd531f3a41594d14ca534af2d19607468 (diff) | |
| download | baldeagleos-repo-3c285e31037b8a9e44f6f9f805065a1de260f0e2.tar.gz baldeagleos-repo-3c285e31037b8a9e44f6f9f805065a1de260f0e2.tar.xz baldeagleos-repo-3c285e31037b8a9e44f6f9f805065a1de260f0e2.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python')
89 files changed, 329 insertions, 1102 deletions
diff --git a/dev-python/cryptography/cryptography-3.3.1.ebuild b/dev-python/cryptography/cryptography-3.3.1.ebuild index 2519876383c0..5d8ada7b1937 100644 --- a/dev-python/cryptography/cryptography-3.3.1.ebuild +++ b/dev-python/cryptography/cryptography-3.3.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz LICENSE="|| ( Apache-2.0 BSD )" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="libressl idna" RDEPEND=" diff --git a/dev-python/cx_Freeze/Manifest b/dev-python/cx_Freeze/Manifest index 62b3839afdfc..6dbe8b8495e8 100644 --- a/dev-python/cx_Freeze/Manifest +++ b/dev-python/cx_Freeze/Manifest @@ -1,2 +1 @@ -DIST cx_Freeze-6.1.tar.gz 92474 BLAKE2B 5341b30b202ab96c34c82e5b12dc6a99ebaf429b6a4b6356a55c5d4fefae7504fd017cb5d29cd1601a6affca0e8e8aa1e01ececbf57011f9235b4c516b21a772 SHA512 029753e8b9eafdad383254af0f7296052c124b662473f4453b6bda0ea500430642d93941a59c23df1d0bbbee462f7d61390b5f66c946372c96bf41ea6ffbc685 DIST cx_Freeze-6.4.2.tar.gz 108571 BLAKE2B 742d2491154706f51ebb3e072428afac1ce5c647f2b8cb6325ea166bbedc1852503ad40e56a532345f1e2a045532620cdad24622e19ecb12d9577cf57abd291d SHA512 4c9a92b6f8dc458f82abb144171b18db1349e75b237f707ca37b7b68527508e8fb3adcf5d7b142922709727501fdc46f16a01619b29e98a6af1a0c09f9306b82 diff --git a/dev-python/cx_Freeze/cx_Freeze-6.1.ebuild b/dev-python/cx_Freeze/cx_Freeze-6.1.ebuild deleted file mode 100644 index f1557c4c1b7b..000000000000 --- a/dev-python/cx_Freeze/cx_Freeze-6.1.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="Create standalone executables from Python scripts" -HOMEPAGE="https://cx-freeze.readthedocs.io/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="PYTHON" -SLOT="0" -KEYWORDS="amd64 x86" - -PATCHES=( - "${FILESDIR}/${PN}-5.0.2-buildsystem.patch" # bug #491602 -) -# test folder missing half the source content. diff --git a/dev-python/cx_Freeze/cx_Freeze-6.4.2.ebuild b/dev-python/cx_Freeze/cx_Freeze-6.4.2.ebuild index 300da8ed3cd0..f0e97d77ab36 100644 --- a/dev-python/cx_Freeze/cx_Freeze-6.4.2.ebuild +++ b/dev-python/cx_Freeze/cx_Freeze-6.4.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="PYTHON" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" PATCHES=( # bug #491602 diff --git a/dev-python/cx_Freeze/files/cx_Freeze-5.0.2-buildsystem.patch b/dev-python/cx_Freeze/files/cx_Freeze-5.0.2-buildsystem.patch deleted file mode 100644 index 6289bb2df2c2..000000000000 --- a/dev-python/cx_Freeze/files/cx_Freeze-5.0.2-buildsystem.patch +++ /dev/null @@ -1,16 +0,0 @@ -From: Julian Ospald <hasufell@gentoo.org> -Date: Tue Nov 19 11:20:21 UTC 2013 - -Respect LDFLAGS, remove stripping. -Fixes Gentoo bug #491602 - ---- a/setup.py -+++ b/setup.py -@@ -95,7 +95,6 @@ - extraArgs.extend(vars["BASEMODLIBS"].split()) - if vars["LOCALMODLIBS"]: - extraArgs.extend(vars["LOCALMODLIBS"].split()) -- extraArgs.append("-s") - self.compiler.link_executable(objects, fullName, - libraries = libraries, - library_dirs = libraryDirs, diff --git a/dev-python/cx_Freeze/metadata.xml b/dev-python/cx_Freeze/metadata.xml index d11234000952..fb5a9eb9328b 100644 --- a/dev-python/cx_Freeze/metadata.xml +++ b/dev-python/cx_Freeze/metadata.xml @@ -11,7 +11,7 @@ </maintainer> <upstream> <remote-id type="github">marcelotduarte/cx_Freeze</remote-id> - <remote-id type="pypi">cx_Freeze</remote-id> + <remote-id type="pypi">cx-Freeze</remote-id> </upstream> <origin>gentoo-staging</origin> </pkgmetadata> diff --git a/dev-python/defcon/Manifest b/dev-python/defcon/Manifest index b40722009cdb..63004c6aac5f 100644 --- a/dev-python/defcon/Manifest +++ b/dev-python/defcon/Manifest @@ -1 +1,2 @@ DIST defcon-0.6.0.tar.gz 403682 BLAKE2B c85cf4f846cab3f7543dcec885221e9f828cdf56fb1a373c9d06b27a29c1ab22fc9702d2ce561af97e3d4aa3b03712538ce0b29a0042fa4a0fea6f11eacba69b SHA512 b981c87d2355dc83b5da0ea4879707336ade8ea4d6ca2bc13da064367938579f2a60dfa5b1c0fd3629f4a2de97676e4f02f30f99a6116049cc2a10abd13a3d7b +DIST defcon-0.7.2.tar.gz 424146 BLAKE2B 6a3cc6c4bd8ccf030cda5fdaa3d7d2ba8aabc74daf71ce9a006de015d459ff0e5d876d584e7873fba7349a2941490db8d0ebd9a9c880e80db534b231639d3147 SHA512 9cf402b6626b75222e351d11afcde3e0c8be88b3ceb6ed4ff68cc3762b636905b61f31ece288f4d7e5273b6cd2b044661188a39fde1941e1bb5b483b23f3b42e diff --git a/dev-python/defcon/defcon-0.7.2.ebuild b/dev-python/defcon/defcon-0.7.2.ebuild new file mode 100644 index 000000000000..554bba3ce09c --- /dev/null +++ b/dev-python/defcon/defcon-0.7.2.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,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 ~x86" +IUSE="" + +RDEPEND=">=dev-python/fonttools-3.31.0[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/fs[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/eventlet/eventlet-0.30.0.ebuild b/dev-python/eventlet/eventlet-0.30.0.ebuild index 956b8ddabacc..5f4809b3bb60 100644 --- a/dev-python/eventlet/eventlet-0.30.0.ebuild +++ b/dev-python/eventlet/eventlet-0.30.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/e/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ppc ~ppc64 ~s390 ~sparc ~x86" IUSE="doc examples test" RDEPEND=" diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest index 406c663416d6..9bdeb5f33271 100644 --- a/dev-python/fonttools/Manifest +++ b/dev-python/fonttools/Manifest @@ -1,3 +1,2 @@ -DIST fonttools-4.1.0.tar.gz 2253792 BLAKE2B 470207d74404851aa111142ad8541d45820ded0212029867c289f2e7741d4b41b4ac824f65555a23d4f3dcc974428537cd319a8787bc4d80f2fb67561a21d1ee SHA512 3d9485cd34b5ea3dfdcc26474e0b21a96811b84eda16341c39165aea72bb09c3cf3360a069b316ae6575a399e26f6518c199180caec7bb959f245ced7ca45e3b DIST fonttools-4.18.1.tar.gz 2498166 BLAKE2B 9ea9fd372c71883e37756c9b0b5bcd193782d49a99df37e7245f788362b284af8e5b9456c31b1c6b84fb6cccd8bce0339e95c87cecc008f0130e47a40c74bfe5 SHA512 d87c466e87ffa70bb15ee40f889b25e1187d51a1074b6e47a259d5984d51d7ce988ef50db91796fcbd06b5692b2c627d0a4cd76e3be6d0da348c0872ff01317c DIST fonttools-4.18.2.tar.gz 2499129 BLAKE2B 1ae93418121942e4303e4b138b192a30195d25c87e8c6204b508cc6a5b7a87608fcde7acbb6a2e8fb3c71ea59938827dabbe1556b7edad537523f6f0b3615696 SHA512 ceec3656c674ff5c43f4dc7cdf1468ddaf5c8bbe569d865fb015a9251ac089caedcf3dcea82c93a0c367576fcd7d65451642a6ab5d3093d941aa391b50070d53 diff --git a/dev-python/fonttools/fonttools-4.1.0.ebuild b/dev-python/fonttools/fonttools-4.1.0.ebuild deleted file mode 100644 index 8caa574e939c..000000000000 --- a/dev-python/fonttools/fonttools-4.1.0.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -PYTHON_REQ_USE="xml(+)" - -inherit distutils-r1 virtualx - -DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts" -HOMEPAGE="https://github.com/fonttools/fonttools/" -SRC_URI="https://github.com/fonttools/fonttools/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~x64-macos" -RESTRICT="!test? ( test )" -IUSE="test" - -RDEPEND="" -DEPEND="${RDEPEND} - test? ( - >=dev-python/pytest-2.8[${PYTHON_USEDEP}] - - >=dev-python/fs-2.4.9[${PYTHON_USEDEP}] - app-arch/brotli[python,${PYTHON_USEDEP}] - app-arch/zopfli - )" - -python_prepare_all() { - # When dev-python/pytest-shutil is installed, we get weird import errors. - # This is due to incomplete nesting in the Tests/ tree: - # - # Tests/feaLib/__init__.py - # Tests/ufoLib/__init__.py - # Tests/svgLib/path/__init__.py - # Tests/otlLib/__init__.py - # Tests/varLib/__init__.py - # - # This tree requires an __init__.py in Tests/svgLib/ too, bug #701148. - touch Tests/svgLib/__init__.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - # virtualx used when matplotlib is installed causing plot module tests to run - virtx pytest -vv Tests fontTools -} diff --git a/dev-python/fonttools/fonttools-4.18.1.ebuild b/dev-python/fonttools/fonttools-4.18.1.ebuild index fd020bfebe8a..526747c102cb 100644 --- a/dev-python/fonttools/fonttools-4.18.1.ebuild +++ b/dev-python/fonttools/fonttools-4.18.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -15,7 +15,7 @@ SRC_URI="https://github.com/fonttools/fonttools/archive/${PV}.tar.gz -> ${P}.tar LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~x64-macos" RESTRICT="!test? ( test )" IUSE="test" diff --git a/dev-python/google-auth/Manifest b/dev-python/google-auth/Manifest index a31de1663821..4a95bd631668 100644 --- a/dev-python/google-auth/Manifest +++ b/dev-python/google-auth/Manifest @@ -1,2 +1 @@ -DIST google-auth-1.20.1.tar.gz 107375 BLAKE2B 2f57cd9752c46891c59ed13e2ec8c6f98e5b3cd07d329769a78872877a17580c1ff5bb9da0381ef9bd4b6b9f72f04125ef71102543cfe1dc7bc3b09a5d5d9039 SHA512 6aad44b58c71f96c686606d6e8b6f273c64ce1559737920ccc31ad761442cad7f5fab19a59daee9408b284405a00c2de769c00221ac91bcfdd48851dba6f680f DIST google-auth-1.24.0.tar.gz 120351 BLAKE2B b0a78ad87622bc806cce72847d5dad3844afe080ffbcd822575dab6208952806360bed4e8756133d5b4fe2755f6cbeeb239b8f51634dd3d4cede9346372b689a SHA512 3e678dd946eb6c3c865cd35df1480a96ed35cf14b973f2239c5213b223a6569b4a9642609ac51243af75c662a08bbf0518d8592db97af297cf67c52b83019e30 diff --git a/dev-python/google-auth/google-auth-1.20.1.ebuild b/dev-python/google-auth/google-auth-1.20.1.ebuild deleted file mode 100644 index e70df7038423..000000000000 --- a/dev-python/google-auth/google-auth-1.20.1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 - -DESCRIPTION="Google Authentication Library" -HOMEPAGE="https://github.com/GoogleCloudPlatform/google-auth-library-python https://pypi.org/project/google-auth/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/namespace-google[${PYTHON_USEDEP}] - >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] - >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}] - >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] - >=dev-python/six-1.9.0[${PYTHON_USEDEP}] - >=dev-python/cachetools-2.0.0[${PYTHON_USEDEP}] - " -DEPEND="${RDEPEND} - test? ( - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/moto[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-localserver[${PYTHON_USEDEP}] - dev-python/oauth2client[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -src_prepare() { - # delete stray files included in the tarball - find "${S}"/tests -name '*.pyc' -delete || die - distutils-r1_src_prepare -} - -python_install_all() { - distutils-r1_python_install_all - find "${ED}" -name '*.pth' -delete || die -} diff --git a/dev-python/google-auth/google-auth-1.24.0.ebuild b/dev-python/google-auth/google-auth-1.24.0.ebuild index 718fca9387bb..88e4d1589e40 100644 --- a/dev-python/google-auth/google-auth-1.24.0.ebuild +++ b/dev-python/google-auth/google-auth-1.24.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -9,12 +9,14 @@ DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 DESCRIPTION="Google Authentication Library" -HOMEPAGE="https://github.com/GoogleCloudPlatform/google-auth-library-python https://pypi.org/project/google-auth/" +HOMEPAGE=" + https://github.com/googleapis/google-auth-library-python/ + https://pypi.org/project/google-auth/" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/google-auth/metadata.xml b/dev-python/google-auth/metadata.xml index 3960cb0145a7..12630dae7363 100644 --- a/dev-python/google-auth/metadata.xml +++ b/dev-python/google-auth/metadata.xml @@ -8,7 +8,7 @@ <stabilize-allarches/> <upstream> <remote-id type="pypi">google-auth</remote-id> - <remote-id type="github">GoogleCloudPlatform/google-auth-library-python</remote-id> + <remote-id type="github">googleapis/google-auth-library-python</remote-id> </upstream> <origin>gentoo-staging</origin> </pkgmetadata> diff --git a/dev-python/googleapis-common-protos/Manifest b/dev-python/googleapis-common-protos/Manifest index 33b26cd26986..eba7a6ec3e6e 100644 --- a/dev-python/googleapis-common-protos/Manifest +++ b/dev-python/googleapis-common-protos/Manifest @@ -1,2 +1 @@ -DIST googleapis-common-protos-1.51.0.tar.gz 35176 BLAKE2B 517004426bb04dc58b85a43fc4268407bbb3a5b6abc1949bda39e03a08a506e727e2bd1741180dc03695b09f4f094c55fe836d275b2c2de146459c399f584355 SHA512 31b6754d5541de4a6ce13e1e54dc54ee29c8153b57de3d0faf40bb236b6af9bee0516957f4b1f64f4404d713e3185126ef782a7825747fede827a8a8e604e303 DIST googleapis-common-protos-1.52.0.tar.gz 39383 BLAKE2B 0b2a21b62c1e48cec91b6fe0d141baa1c1081b621c27d60d0a045932388d8c1b8c1eaee3219cdc3af1919b19358e6ec759e109865367b1b7879b3af05f7ec9be SHA512 470d949379a6aa21875b1c5851de54391847f89136b0b7ee84ac68931388a6294f53be167b6095265b2c2c0f30c7d8c71a4e5a546638670d24a9bd544538ff1a diff --git a/dev-python/googleapis-common-protos/googleapis-common-protos-1.51.0.ebuild b/dev-python/googleapis-common-protos/googleapis-common-protos-1.51.0.ebuild deleted file mode 100644 index 9f3842cc3cda..000000000000 --- a/dev-python/googleapis-common-protos/googleapis-common-protos-1.51.0.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="python classes generated from the common protos in the googleapis repository" -HOMEPAGE="https://pypi.org/project/googleapis-common-protos/" -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/namespace-google[${PYTHON_USEDEP}] - dev-python/protobuf-python[${PYTHON_USEDEP}] -" - -python_install_all() { - distutils-r1_python_install_all - find "${D}" -name '*.pth' -delete || die -} - -# no tests as this is all generated code diff --git a/dev-python/googleapis-common-protos/googleapis-common-protos-1.52.0.ebuild b/dev-python/googleapis-common-protos/googleapis-common-protos-1.52.0.ebuild index 47423952d5e7..8023415d6798 100644 --- a/dev-python/googleapis-common-protos/googleapis-common-protos-1.52.0.ebuild +++ b/dev-python/googleapis-common-protos/googleapis-common-protos-1.52.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 x86" RDEPEND=" dev-python/namespace-google[${PYTHON_USEDEP}] diff --git a/dev-python/greenlet/Manifest b/dev-python/greenlet/Manifest index f87324766557..7ec4497a33b9 100644 --- a/dev-python/greenlet/Manifest +++ b/dev-python/greenlet/Manifest @@ -1 +1,2 @@ DIST greenlet-0.4.17.tar.gz 61381 BLAKE2B fd5b8ed72acd390f3d5fe3ca1d5894bc47278b1f0e04e4fe5c6015c60dfb3109e766dc6072bf85b96760f673a1af08cd546171906800a1221a216899077a908e SHA512 41afd80a6cd5e9cf9c8149016f24d0944d2651288d50094ef04bb6759202903c436af639872d7aab631ed8fe13aad7d4405beb428415b198a3ba30a96d4bd3de +DIST greenlet-1.0.0.tar.gz 84525 BLAKE2B b5b7094a3dd7b6426fb93fb147077e98e7313700be7a94c221cda3df3bb12f5322f0cea786b77b7b6500e5e97f71ba19b2c32535ccdbdf8a14c3db049cc2850a SHA512 7b615792c340e0eb8ca61bd09bde48ed15110d97254910bd8598312e15adb7267ba795e9e6b52f0998db27d8413d2e1aa9e977511c0d09cd3a5583b37475f882 diff --git a/dev-python/greenlet/greenlet-1.0.0.ebuild b/dev-python/greenlet/greenlet-1.0.0.ebuild new file mode 100644 index 000000000000..759433c1abb8 --- /dev/null +++ b/dev-python/greenlet/greenlet-1.0.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# Note: greenlet is built-in in pypy +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 flag-o-matic + +DESCRIPTION="Lightweight in-process concurrent programming" +HOMEPAGE="https://pypi.org/project/greenlet/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 -hppa -ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +distutils_enable_sphinx doc --no-autodoc + +python_test() { + "${EPYTHON}" -m unittest discover -v greenlet.tests || + die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/humanize/Manifest b/dev-python/humanize/Manifest index 837989d96cfa..4884437c0e85 100644 --- a/dev-python/humanize/Manifest +++ b/dev-python/humanize/Manifest @@ -1,2 +1 @@ -DIST humanize-3.1.0.tar.gz 54352 BLAKE2B 0e25f4f7f01244f5b24a33c54546c2b2d82e0e069d2cabbe67ff0e5f8e2bc9d3aa2eb7f4d63d4a01dc8ff4ddcfee030b33015ede00d769dfafccb6c2af95171a SHA512 71cb2766a791481f4dc5e02b77357e8e4e7332e533ee055a207cf145f2b2f9041c5bc4ce25f061f0cc1498f37edbc6243f63b888a322c0cf19e5216e120542dc DIST humanize-3.2.0.tar.gz 53976 BLAKE2B 2e9347418ffa103c6a66583136aa0c79bce669b48fcbc01bf482ba16659af14d4b4a88e78167e8013a8ede6467ed7b7f5eea8f46ed4234294a79b0c63fabd17c SHA512 448919e762e0ecc95f5a7158e0dd8bc028d173ee236be8e15fd0283741af037af1bcdc671ed83b0c16c1998dc0a70debf11cb1c349085530e458bc7aa2f6dde4 diff --git a/dev-python/humanize/humanize-3.1.0.ebuild b/dev-python/humanize/humanize-3.1.0.ebuild deleted file mode 100644 index 2bd16ee4d9ef..000000000000 --- a/dev-python/humanize/humanize-3.1.0.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 - -DESCRIPTION="Common humanization utilities" -HOMEPAGE="https://github.com/jmoiron/humanize/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" - -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}] - test? ( dev-python/freezegun[${PYTHON_USEDEP}] ) -" - -distutils_enable_tests pytest - -python_test() { - # The package uses pkg_resources to determine its version - distutils_install_for_testing - pytest -vv || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/humanize/humanize-3.2.0.ebuild b/dev-python/humanize/humanize-3.2.0.ebuild index f7c2754b14a7..fa2f785a7a39 100644 --- a/dev-python/humanize/humanize-3.2.0.ebuild +++ b/dev-python/humanize/humanize-3.2.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -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=" dev-python/setuptools_scm[${PYTHON_USEDEP}] diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 2ad79b75d758..edb2735ff3a7 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,8 +1,3 @@ -DIST hypothesis-python-5.41.5.tar.gz 9098660 BLAKE2B 6caa742d34a3a2aeb6c6fdec3f8772e5221e1d0b2becc1362b657d383387f2a1152756222cfe86ffbb3e23a53e395050a16325d74ec9e03822a5c0020505b38e SHA512 b220a48e5746bacc6fa257f79feed0dc2c0a9f66862aba74806fb1ac3d06f380620410c9c46c377c50e4fa7c3171d5b31ce2759e7a3e0e2abd0920b237242dd6 -DIST hypothesis-python-5.43.3.tar.gz 9103991 BLAKE2B e374edf17571c33e48dc8d259db2fb23b9cc358f56189ebd60f3e9141ade7759eede1bdbd91d924f144a20b1ea0b7ec19817559b7f82a90f026ac101a7feeabd SHA512 392fb794fc5ba06acd1e465cf1500f742d8b056148540778f1ec9c5065be66c0f514f0fa6872337869079636c71235d51d4c6722a63b03037b689edd6f09809f DIST hypothesis-python-5.43.4.tar.gz 9104105 BLAKE2B 08b8c9ac7ac72afcc4556ae2167af7b4ab79d505da8c9f6a11c91d211f26ccf320c8f5ed41458f5e34f75614ad4aecdbf6df62275868dc079c037390dcbc9e08 SHA512 065e1bdd878eab35f38105e8da3f5cf108670a51fd48ea1996bebedf8c8a152386d0eb5284ed43d4e588695a408b3a455a2e4757430e31bb5dbf0ece1f64d294 -DIST hypothesis-python-5.47.0.tar.gz 9101964 BLAKE2B 7f57eebb6f27bf57373f2560612458bf9fd6233f8a9f254e59ced22c070a6f00453036c09b4e224b340843ad5027a9217e83473aaa13c1f94d354408d8d28799 SHA512 6a72469f0c2d0f16ddb56846a96f584104e726e4cd459abe30a744aef20ff50811e00e2a0feb72a3e3e6a3c6c7a7bf15be7c633640350e3bd550ad145c97c693 -DIST hypothesis-python-5.48.0.tar.gz 9102665 BLAKE2B 985957be8e13ada8830bc9c8c3941d8ecec0ef3d3684a177aa4d9cc10c1d57972ddef9f5b35194197ede2d1e5932299a9a99f04eabe6dd8789a786300d1b5608 SHA512 b4d46db6aa9c3dc59f38e209b702580ce9fa0d8771792943cbe28fcca4ea434c23a6f49b9889cb28339d7282e529f1c947a7768c38d726b5e993a2ba3c029e00 DIST hypothesis-python-5.49.0.tar.gz 9103591 BLAKE2B 158cbc38f6f2407d437656a7b94b5826193d427e06eca59d91b3fe85667282ec3392d72e7bbdf2bd952a495871a86814275883e2dcbc80758fcb3e68936d6d20 SHA512 96b7f98e7d87f82dac52a7b2de2bc0c29507cee05ee9a93f838e090e45a9f484ca75db1ab83ab52361b27e4e0f2747914ec09324fc188f6100c3397b1596778c -DIST hypothesis-python-6.0.0.tar.gz 9103769 BLAKE2B 91ce33c4370530611f1c14abdaf8760a4e40b314ee01bf9536e0ee6b618f1191b0173cf8f65f78fb31ccb23331d5c12779703f94fa85b4d648d9b879762bd8b0 SHA512 c06d95fd889a0560325435787344a5d57041269e5ea4945dac4517ccf04b0b2aa58ae06058937640b208c5433fc0ff3d81c958baca5a5d9100a8f058aeccf41e DIST hypothesis-python-6.0.1.tar.gz 9104122 BLAKE2B c4702a2c94fb5ecfc44543b70995150090949067ca986f5671a936d5da651e2e1ed072457ed1238ae04549709019722f7501ff7c2a37c46da3d25b43fa416b08 SHA512 3981a40ba61ca38140582f46b1ebb1ac2fc0816e8210c37ddc91249515d035534208c6ba926f367607bbd79792383eb166c1f4710a8a5ba5e04876383ac44644 diff --git a/dev-python/hypothesis/hypothesis-5.41.5.ebuild b/dev-python/hypothesis/hypothesis-5.41.5.ebuild deleted file mode 100644 index 9ee4402b50d3..000000000000 --- a/dev-python/hypothesis/hypothesis-5.41.5.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 eutils multiprocessing optfeature - -DESCRIPTION="A library for property based testing" -HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/" -SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz" -S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~x64-macos" -IUSE="cli test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' python3_{6..9}) - ) -" -BDEPEND=" - test? ( - ${RDEPEND} - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - >=dev-python/pytest-5.3.5[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/typing-3.7.4.1 - ) -" - -python_prepare() { - if ! use cli || [[ ${EPYTHON} != python* ]]; then - sed -i -e '/console_scripts/d' setup.py || die - fi -} - -python_test() { - distutils_install_for_testing --via-root - pytest -vv tests/cover tests/pytest tests/quality \ - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" || - die "Tests fail with ${EPYTHON}" -} - -pkg_postinst() { - optfeature "datetime support" dev-python/pytz - optfeature "dateutil support" dev-python/python-dateutil - optfeature "numpy support" dev-python/numpy - optfeature "django support" dev-python/django dev-python/pytz - optfeature "pandas support" dev-python/pandas - optfeature "pytest support" dev-python/pytest -} diff --git a/dev-python/hypothesis/hypothesis-5.43.3.ebuild b/dev-python/hypothesis/hypothesis-5.43.3.ebuild deleted file mode 100644 index 307da417cfd4..000000000000 --- a/dev-python/hypothesis/hypothesis-5.43.3.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 eutils multiprocessing optfeature - -DESCRIPTION="A library for property based testing" -HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/" -SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz" -S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" -IUSE="cli test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' python3_{6..9}) - ) -" -BDEPEND=" - test? ( - ${RDEPEND} - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - >=dev-python/pytest-5.3.5[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/typing-3.7.4.1 - ) -" - -python_prepare() { - if ! use cli || [[ ${EPYTHON} != python* ]]; then - sed -i -e '/console_scripts/d' setup.py || die - fi -} - -python_test() { - distutils_install_for_testing --via-root - pytest -vv tests/cover tests/pytest tests/quality \ - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" || - die "Tests fail with ${EPYTHON}" -} - -pkg_postinst() { - optfeature "datetime support" dev-python/pytz - optfeature "dateutil support" dev-python/python-dateutil - optfeature "numpy support" dev-python/numpy - optfeature "django support" dev-python/django dev-python/pytz - optfeature "pandas support" dev-python/pandas - optfeature "pytest support" dev-python/pytest -} diff --git a/dev-python/hypothesis/hypothesis-5.43.4.ebuild b/dev-python/hypothesis/hypothesis-5.43.4.ebuild index 2d51777ccb3f..51e94f5001a5 100644 --- a/dev-python/hypothesis/hypothesis-5.43.4.ebuild +++ b/dev-python/hypothesis/hypothesis-5.43.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" LICENSE="MPL-2.0" 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="cli test" RESTRICT="!test? ( test )" diff --git a/dev-python/hypothesis/hypothesis-5.47.0.ebuild b/dev-python/hypothesis/hypothesis-5.47.0.ebuild deleted file mode 100644 index 9c1c85cb43dc..000000000000 --- a/dev-python/hypothesis/hypothesis-5.47.0.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 eutils multiprocessing optfeature - -DESCRIPTION="A library for property based testing" -HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/" -SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz" -S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" -IUSE="cli test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' python3_{6..9}) - ) -" -BDEPEND=" - test? ( - ${RDEPEND} - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - <dev-python/pytest-6.2[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/typing-3.7.4.1 - ) -" - -python_prepare() { - if ! use cli || [[ ${EPYTHON} != python* ]]; then - sed -i -e '/console_scripts/d' setup.py || die - fi -} - -python_test() { - distutils_install_for_testing --via-root - pytest -vv tests/cover tests/pytest tests/quality \ - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" || - die "Tests fail with ${EPYTHON}" -} - -pkg_postinst() { - optfeature "datetime support" dev-python/pytz - optfeature "dateutil support" dev-python/python-dateutil - optfeature "numpy support" dev-python/numpy - optfeature "django support" dev-python/django dev-python/pytz - optfeature "pandas support" dev-python/pandas - optfeature "pytest support" dev-python/pytest -} diff --git a/dev-python/hypothesis/hypothesis-5.48.0.ebuild b/dev-python/hypothesis/hypothesis-5.48.0.ebuild deleted file mode 100644 index 9c1c85cb43dc..000000000000 --- a/dev-python/hypothesis/hypothesis-5.48.0.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 eutils multiprocessing optfeature - -DESCRIPTION="A library for property based testing" -HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/" -SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz" -S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" -IUSE="cli test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' python3_{6..9}) - ) -" -BDEPEND=" - test? ( - ${RDEPEND} - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - <dev-python/pytest-6.2[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/typing-3.7.4.1 - ) -" - -python_prepare() { - if ! use cli || [[ ${EPYTHON} != python* ]]; then - sed -i -e '/console_scripts/d' setup.py || die - fi -} - -python_test() { - distutils_install_for_testing --via-root - pytest -vv tests/cover tests/pytest tests/quality \ - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" || - die "Tests fail with ${EPYTHON}" -} - -pkg_postinst() { - optfeature "datetime support" dev-python/pytz - optfeature "dateutil support" dev-python/python-dateutil - optfeature "numpy support" dev-python/numpy - optfeature "django support" dev-python/django dev-python/pytz - optfeature "pandas support" dev-python/pandas - optfeature "pytest support" dev-python/pytest -} diff --git a/dev-python/hypothesis/hypothesis-6.0.0.ebuild b/dev-python/hypothesis/hypothesis-6.0.0.ebuild deleted file mode 100644 index 9c1c85cb43dc..000000000000 --- a/dev-python/hypothesis/hypothesis-6.0.0.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 eutils multiprocessing optfeature - -DESCRIPTION="A library for property based testing" -HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/" -SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz" -S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" -IUSE="cli test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' python3_{6..9}) - ) -" -BDEPEND=" - test? ( - ${RDEPEND} - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - <dev-python/pytest-6.2[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/typing-3.7.4.1 - ) -" - -python_prepare() { - if ! use cli || [[ ${EPYTHON} != python* ]]; then - sed -i -e '/console_scripts/d' setup.py || die - fi -} - -python_test() { - distutils_install_for_testing --via-root - pytest -vv tests/cover tests/pytest tests/quality \ - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" || - die "Tests fail with ${EPYTHON}" -} - -pkg_postinst() { - optfeature "datetime support" dev-python/pytz - optfeature "dateutil support" dev-python/python-dateutil - optfeature "numpy support" dev-python/numpy - optfeature "django support" dev-python/django dev-python/pytz - optfeature "pandas support" dev-python/pandas - optfeature "pytest support" dev-python/pytest -} diff --git a/dev-python/iminuit/Manifest b/dev-python/iminuit/Manifest index 6f7f80440c7b..2d6325690102 100644 --- a/dev-python/iminuit/Manifest +++ b/dev-python/iminuit/Manifest @@ -1 +1,2 @@ DIST iminuit-1.3.8.tar.gz 496459 BLAKE2B 71920535b48ea135b34c9f55b0ac0aecc290ff68dd9a27e549ad643caabb4722899ed8eb3e413850ceb965910c39452c59c3ff4cb93416e4f945534f9a518071 SHA512 4c0069389a5e53b6e082ef82e56226427fdfd66c51b6c5bc488ebb2b113fd98ab6494d26c94f97255eec775e6441bda5c506b402ad13ad8698c361742e8cbc60 +DIST iminuit-2.2.1.tar.gz 371183 BLAKE2B 3b7f1c2930a490c458d1f5659e7cadabe782b74d4426a1b16c56acb3f3c2fc3c413d6765156ae681cf838d184db674d5f66fb419324b43c5a91944b8f6190eb5 SHA512 21f04b82c646c4bd6a9e5cc1b8bd0503e1693e994bef83f57595935733cc238231f57337a38fb15abc62782228de73b960b39ae46250a4124ea4f7fca8d8c5b9 diff --git a/dev-python/iminuit/iminuit-2.2.1.ebuild b/dev-python/iminuit/iminuit-2.2.1.ebuild new file mode 100644 index 000000000000..cd3713e0fd5a --- /dev/null +++ b/dev-python/iminuit/iminuit-2.2.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 virtualx + +DESCRIPTION="Minuit numerical function minimization in Python" +HOMEPAGE="https://github.com/iminuit/iminuit" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +SLOT="0" +LICENSE="MIT LGPL-2" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/cython[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] )" + +python_test() { + virtx pytest +} diff --git a/dev-python/importlib_metadata/Manifest b/dev-python/importlib_metadata/Manifest index 4273289c545e..c40bf9f21e0a 100644 --- a/dev-python/importlib_metadata/Manifest +++ b/dev-python/importlib_metadata/Manifest @@ -1,3 +1,2 @@ -DIST importlib_metadata-3.1.1.tar.gz 32217 BLAKE2B 85155574f554146d89fedbaeffa5b5842c5c76f98d0f8488a019cded9fc7e45323b31a9cb612f81c379feb822a0e5a44f86566510c5bccaa344cbe10ef8676e9 SHA512 a0a3fc0c4cb08ba5676ae144a2176e9b2e02d122a09c1be67fe0c1e1c8304aeac4f624fa060898b20f99f67f9cfee2bdf1177d82cd12e5879edfa268e02cdce3 DIST importlib_metadata-3.3.0.tar.gz 33549 BLAKE2B 6646cf7f8dbbeeadd7b4e9e572a59c14e2f17444dcd84aef817e27b299cbc3f0fa868657a59221a42ea8c49c5cc75e9e170a787df3e3014808d19eff1f89debf SHA512 af2215405b0f7e120d2745f3736d021174e611ad226abe64b496192a210e85786e78560349f1188deb3bffbfceb36385e9fbac20f4447aafb025a1d735c333ac DIST importlib_metadata-3.4.0.tar.gz 33841 BLAKE2B e2ac38c0f6fc5ecf78d3a4018715282b176f448e0a9f2cb16320812c1f9ca18f797b2ddfa85a96d83f6ff9540b486abcd8b5a38fa7f9261abbde4a88962e765d SHA512 d17aae60ca79ddb3c2e60218144e7a3e055b2807e8ca4e55f0d0c1ae428323ab7d832e4178dd05a60f1de2f157497a6261afa7baa8f91bec85d042303869fb67 diff --git a/dev-python/importlib_metadata/importlib_metadata-3.1.1.ebuild b/dev-python/importlib_metadata/importlib_metadata-3.1.1.ebuild deleted file mode 100644 index 60d6299544ab..000000000000 --- a/dev-python/importlib_metadata/importlib_metadata-3.1.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=7 - -# Included in Python >= 3.8 -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Read metadata from Python packages" -HOMEPAGE="https://github.com/python/importlib_metadata" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -RDEPEND="dev-python/zipp[${PYTHON_USEDEP}]" -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}] - test? ( - >=dev-python/importlib_resources-1.3.0[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/pyfakefs[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs dev-python/jaraco-packaging dev-python/rst-linker -distutils_enable_tests unittest - -python_prepare_all() { - # Skip a test that requires pep517 which is not in the tree - sed -e 's:test_find_local:_&:' -i tests/test_integration.py || die - - distutils-r1_python_prepare_all -} diff --git a/dev-python/importlib_metadata/importlib_metadata-3.3.0.ebuild b/dev-python/importlib_metadata/importlib_metadata-3.3.0.ebuild index 05a98db2f94c..d692c07b3f1b 100644 --- a/dev-python/importlib_metadata/importlib_metadata-3.3.0.ebuild +++ b/dev-python/importlib_metadata/importlib_metadata-3.3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" 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" RDEPEND=" $(python_gen_cond_dep 'dev-python/typing-extensions[${PYTHON_USEDEP}]' python3_{6,7}) diff --git a/dev-python/iniconfig/Manifest b/dev-python/iniconfig/Manifest index 9834a43946fc..3aec5a70f66c 100644 --- a/dev-python/iniconfig/Manifest +++ b/dev-python/iniconfig/Manifest @@ -1,2 +1 @@ -DIST iniconfig-1.0.0.tar.gz 7807 BLAKE2B a77c4d8c6f549db911110505ac5a367be5175adbb580211d4aded14d1108e189fd6d6a229ac4e0e742baafa9b037d58c2bbc810897c8b274c07493c518ef752e SHA512 639a4e765637110f69627fb18a5e719b6d648e5549fd857168183d97da7880434d447c9af1e254dd2aa5d0e36cbd3f5c4ffabf8a949ed3d6294002e7e1b2f6e1 DIST iniconfig-1.1.1.tar.gz 8104 BLAKE2B 31301484887018a6aa75c944e2f8643f85b2433534ae46a8da893a113f2376eca14cbee88095a3784d1c52f26d4c748260c1df59c46b8f94cd342038f93242e8 SHA512 c9341db7e3ec2204b6a674fca7824cbeb492e3576d5ac3f084b234c82842b28f2f6acbfdb812e183f4334a95b990551f942a4caf548f5ce7ef14885f931535ee diff --git a/dev-python/iniconfig/files/iniconfig-1.0.0-pytest-5.patch b/dev-python/iniconfig/files/iniconfig-1.0.0-pytest-5.patch deleted file mode 100644 index f8fca367b342..000000000000 --- a/dev-python/iniconfig/files/iniconfig-1.0.0-pytest-5.patch +++ /dev/null @@ -1,57 +0,0 @@ -From da205253f0d78204900ec82b6cb2cb0afd9f1254 Mon Sep 17 00:00:00 2001 -From: Stanislav Levin <slev@altlinux.org> -Date: Thu, 8 Aug 2019 19:43:12 +0300 -Subject: [PATCH] Fix Pytest 5 errors - -This fixes -""" -pytest.PytestDeprecationWarning: raises(..., 'code(as_a_string)') -is deprecated, use the context manager form or use `exec()` directly. -""" - -Fixes: https://github.com/RonnyPfannschmidt/iniconfig/issues/6 -Signed-off-by: Stanislav Levin <slev@altlinux.org> ---- - test_iniconfig.py | 12 +++++------- - 1 file changed, 5 insertions(+), 7 deletions(-) - -diff --git a/test_iniconfig.py b/test_iniconfig.py -index 27fd53f..fe12421 100644 ---- a/test_iniconfig.py -+++ b/test_iniconfig.py -@@ -150,27 +150,25 @@ def test_iniconfig_from_file(tmpdir): - assert list(config.sections) == ['metadata'] - config = IniConfig(path, "[diff]") - assert list(config.sections) == ['diff'] -- py.test.raises(TypeError, "IniConfig(data=path.read())") -+ with pytest.raises(TypeError): -+ IniConfig(data=path.read()) - - - def test_iniconfig_section_first(tmpdir): -- excinfo = py.test.raises(ParseError, """ -+ with pytest.raises(ParseError) as excinfo: - IniConfig("x", data='name=1') -- """) - assert excinfo.value.msg == "no section header defined" - - - def test_iniconig_section_duplicate_fails(): -- excinfo = py.test.raises(ParseError, r""" -+ with pytest.raises(ParseError) as excinfo: - IniConfig("x", data='[section]\n[section]') -- """) - assert 'duplicate section' in str(excinfo.value) - - - def test_iniconfig_duplicate_key_fails(): -- excinfo = py.test.raises(ParseError, r""" -+ with pytest.raises(ParseError) as excinfo: - IniConfig("x", data='[section]\nname = Alice\nname = bob') -- """) - - assert 'duplicate name' in str(excinfo.value) - --- -2.28.0 - diff --git a/dev-python/iniconfig/iniconfig-1.0.0.ebuild b/dev-python/iniconfig/iniconfig-1.0.0.ebuild deleted file mode 100644 index 120671328fe3..000000000000 --- a/dev-python/iniconfig/iniconfig-1.0.0.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -inherit distutils-r1 - -DESCRIPTION="Brain-dead simple config-ini parsing" -HOMEPAGE=" - https://github.com/RonnyPfannschmidt/iniconfig - " -SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~x64-macos" - -BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}"/${P}-pytest-5.patch -) diff --git a/dev-python/iniconfig/iniconfig-1.1.1.ebuild b/dev-python/iniconfig/iniconfig-1.1.1.ebuild index 8475ca2ee691..b7f085d0a86d 100644 --- a/dev-python/iniconfig/iniconfig-1.1.1.ebuild +++ b/dev-python/iniconfig/iniconfig-1.1.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~x64-macos" BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]" diff --git a/dev-python/iniconfig/metadata.xml b/dev-python/iniconfig/metadata.xml index c2f60d3fa0da..93a6b196e4ce 100644 --- a/dev-python/iniconfig/metadata.xml +++ b/dev-python/iniconfig/metadata.xml @@ -4,6 +4,7 @@ <maintainer type="project"> <email>python@gentoo.org</email> </maintainer> + <stabilize-allarches/> <upstream> <remote-id type="pypi">iniconfig</remote-id> </upstream> diff --git a/dev-python/mkdocs-bootstrap/metadata.xml b/dev-python/mkdocs-bootstrap/metadata.xml index e29d10b84c17..f8d03abd2abe 100644 --- a/dev-python/mkdocs-bootstrap/metadata.xml +++ b/dev-python/mkdocs-bootstrap/metadata.xml @@ -9,6 +9,7 @@ <email>proxy-maint@gentoo.org</email> <name>Proxy Maintainers</name> </maintainer> + <stabilize-allarches/> <upstream> <remote-id type="pypi">mkdocs-bootstrap</remote-id> <remote-id type="github">mkdocs/mkdocs-bootstrap</remote-id> diff --git a/dev-python/mkdocs-bootstrap/mkdocs-bootstrap-1.1-r1.ebuild b/dev-python/mkdocs-bootstrap/mkdocs-bootstrap-1.1-r1.ebuild index 83b72d723b87..b84a55099085 100644 --- a/dev-python/mkdocs-bootstrap/mkdocs-bootstrap-1.1-r1.ebuild +++ b/dev-python/mkdocs-bootstrap/mkdocs-bootstrap-1.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -15,6 +15,6 @@ SRC_URI="https://github.com/mkdocs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" DEPEND="dev-python/mkdocs" diff --git a/dev-python/mkdocs-bootstrap/mkdocs-bootstrap-1.1.ebuild b/dev-python/mkdocs-bootstrap/mkdocs-bootstrap-1.1.ebuild deleted file mode 100644 index f875b60adc6f..000000000000 --- a/dev-python/mkdocs-bootstrap/mkdocs-bootstrap-1.1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 - -DESCRIPTION="Bootstrap theme for MkDocs" -HOMEPAGE="https://www.mkdocs.org https://github.com/mkdocs/mkdocs-bootstrap" -SRC_URI="https://github.com/mkdocs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" - -IUSE="doc" - -DEPEND="dev-python/mkdocs" - -python_compile_all() { - default - if use doc; then - mkdocs build || die "Failed to make docs" - # Colliding files found by ecompress: - rm site/sitemap.xml.gz || die - HTML_DOCS=( "site/." ) - fi -} diff --git a/dev-python/mkdocs-bootswatch/metadata.xml b/dev-python/mkdocs-bootswatch/metadata.xml index 286f63c5122c..4982728de64d 100644 --- a/dev-python/mkdocs-bootswatch/metadata.xml +++ b/dev-python/mkdocs-bootswatch/metadata.xml @@ -9,6 +9,7 @@ <email>proxy-maint@gentoo.org</email> <name>Proxy Maintainers</name> </maintainer> + <stabilize-allarches/> <upstream> <remote-id type="pypi">mkdocs-bootswatch</remote-id> <remote-id type="github">mkdocs/mkdocs-bootswatch</remote-id> diff --git a/dev-python/mkdocs-bootswatch/mkdocs-bootswatch-1.1-r1.ebuild b/dev-python/mkdocs-bootswatch/mkdocs-bootswatch-1.1-r1.ebuild index 5f6886e1de0c..3c0e0e1db9c3 100644 --- a/dev-python/mkdocs-bootswatch/mkdocs-bootswatch-1.1-r1.ebuild +++ b/dev-python/mkdocs-bootswatch/mkdocs-bootswatch-1.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -15,6 +15,6 @@ SRC_URI="https://github.com/mkdocs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" DEPEND="dev-python/mkdocs" diff --git a/dev-python/mkdocs-bootswatch/mkdocs-bootswatch-1.1.ebuild b/dev-python/mkdocs-bootswatch/mkdocs-bootswatch-1.1.ebuild deleted file mode 100644 index ab054fe4b5c3..000000000000 --- a/dev-python/mkdocs-bootswatch/mkdocs-bootswatch-1.1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 - -DESCRIPTION="Bootswatch themes for MkDocs" -HOMEPAGE="https://www.mkdocs.org https://github.com/mkdocs/mkdocs-bootswatch" -SRC_URI="https://github.com/mkdocs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" - -IUSE="doc" - -DEPEND="dev-python/mkdocs" - -python_compile_all() { - default - if use doc; then - mkdocs build || die "Failed to make docs" - # Colliding files found by ecompress: - rm site/sitemap.xml.gz || die - HTML_DOCS=( "site/." ) - fi -} diff --git a/dev-python/mock/metadata.xml b/dev-python/mock/metadata.xml index 9106b004b2c4..4ed2fb36215d 100644 --- a/dev-python/mock/metadata.xml +++ b/dev-python/mock/metadata.xml @@ -5,6 +5,7 @@ <email>python@gentoo.org</email> <name>Python</name> </maintainer> + <stabilize-allarches/> <upstream> <remote-id type="pypi">mock</remote-id> <remote-id type="github">testing-cabal/mock</remote-id> diff --git a/dev-python/mock/mock-4.0.3.ebuild b/dev-python/mock/mock-4.0.3.ebuild index ea859e662d9d..510ecdd61579 100644 --- a/dev-python/mock/mock-4.0.3.ebuild +++ b/dev-python/mock/mock-4.0.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,7 +13,7 @@ SRC_URI="https://github.com/testing-cabal/mock/archive/${PV}.tar.gz -> ${P}.gh.t LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/notebook/Manifest b/dev-python/notebook/Manifest index 14146151d284..e9dd7c92f81b 100644 --- a/dev-python/notebook/Manifest +++ b/dev-python/notebook/Manifest @@ -1,3 +1,4 @@ DIST notebook-6.1.3.tar.gz 13806042 BLAKE2B da63fdabd1a71e4247a9e340539e688410a84c58d94049dfb7e8e3fcdc53686a55eb855687df34ff48f599a0c5aececbd9a8e1aa1d2ff7baa2a6da1b4e1bcf24 SHA512 67a8feb01dfb665bb24f3ce1b28212e9bad5a188e8cef1d168c4edaf207cbc16d516f6024ca905f75f1c27ba4890da858c5278a3ee84a4c4ac1bdbf225afa351 DIST notebook-6.1.5.tar.gz 13925632 BLAKE2B ce9d0ee110a158ba0ee3f3199a7cc1c8d53ecb72e8f77f43d2b1e5552b4a0378edca9a987634e12d8429c70595ec4cc226784248d196501b3a04c67e4ba88c85 SHA512 4b0893c805a0494c369b363b7d1c606a1b124869e601eafce1eb4c93ad1436b757c6149bc76c489aa26171412280d69e894b44d7d19141341fb1194a8e2f447b DIST notebook-6.1.6.tar.gz 13926673 BLAKE2B 944f92d468ade0f0d3fbe01d46cb2893866fca067b48c6a6cefe653b9941bbde0802c7d9ee17b493bcf6391d1b0a77e710f5b5c8f1d58ec692b40753ac0692e9 SHA512 d1271273ae9cc098d5937a3ac91dc8035b033bb8da799f31c5d71abe48b17579f2fadc8b0ff7134dedda72ac49cc29c5adafaa4ef6f347cc4f6698ab46d83040 +DIST notebook-6.2.0.tar.gz 13927515 BLAKE2B ca752f0cb316b46b71d8451c59c196c324008c296dfc7fbc4ee426ba5b3c1035e90170e46720547a9e3f2cf381ab5e0294185ee1a814d31ffbe6ecf546f229d6 SHA512 217392000ca2d0266137f937fc4d2a1b81ed19217fdbf6550b07453eede8b9a6e15c8fbb1c94f559a7f44ac73dfadcefeae815c186e56bb1e9a30120fe070f3a diff --git a/dev-python/notebook/metadata.xml b/dev-python/notebook/metadata.xml index 136d2f14a12b..038343d8c7b1 100644 --- a/dev-python/notebook/metadata.xml +++ b/dev-python/notebook/metadata.xml @@ -12,6 +12,7 @@ <stabilize-allarches/> <upstream> <remote-id type="pypi">notebook</remote-id> + <remote-id type="github">jupyter/notebook</remote-id> </upstream> <origin>gentoo-staging</origin> </pkgmetadata> diff --git a/dev-python/notebook/notebook-6.2.0.ebuild b/dev-python/notebook/notebook-6.2.0.ebuild new file mode 100644 index 000000000000..4616b199552c --- /dev/null +++ b/dev-python/notebook/notebook-6.2.0.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Jupyter Interactive Notebook" +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-libs/mathjax-2.4 + dev-python/argon2-cffi[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + >=dev-python/terminado-0.8.3[${PYTHON_USEDEP}] + >=www-servers/tornado-6.0[${PYTHON_USEDEP}] + dev-python/ipython_genutils[${PYTHON_USEDEP}] + >=dev-python/traitlets-4.2.1[${PYTHON_USEDEP}] + >=dev-python/jupyter_core-4.6.1[${PYTHON_USEDEP}] + >=dev-python/pyzmq-17[${PYTHON_USEDEP}] + >=dev-python/jupyter_client-5.3.4[${PYTHON_USEDEP}] + dev-python/nbformat[${PYTHON_USEDEP}] + >=dev-python/nbconvert-4.2.0[${PYTHON_USEDEP}] + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/send2trash[${PYTHON_USEDEP}] + dev-python/prometheus_client[${PYTHON_USEDEP}]" + +# sphinx 2+ seems to have a problem with its github plugin. temporarily adding +# a version constraint. +BDEPEND=" + test? ( + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-unixsocket[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/${PN}"-5.7.0-no-mathjax.patch +) + +distutils_enable_tests --install pytest + +python_prepare_all() { + # disable bundled mathjax + sed -i 's/^.*MathJax.*$//' bower.json || die + + # require geckodriver + rm -r notebook/tests/selenium || die + # trash doesn't seem to work for us + sed -e 's:test_delete:_&:' \ + -i notebook/services/contents/tests/test_manager.py || die + sed -e 's:test_checkpoints_follow_file:_&:' \ + -e 's:test_delete:_&:' \ + -i notebook/services/contents/tests/test_contents_api.py || die + # network-sandbox? + sed -e 's:test_connections:_&:' \ + -e 's:test_culling:_&:' \ + -i notebook/services/kernels/tests/test_kernels_api.py || die + + sed -i -e "/'bdist_egg':/d" setup.py || die + + distutils-r1_python_prepare_all +} + +python_install() { + distutils-r1_python_install + + ln -sf \ + "${EPREFIX}/usr/share/mathjax" \ + "${D}$(python_get_sitedir)/notebook/static/components/MathJax" || die +} + +pkg_preinst() { + # remove old mathjax folder if present + rm -rf "${EROOT}"/usr/lib*/python*/site-packages/notebook/static/components/MathJax || die +} diff --git a/dev-python/piexif/metadata.xml b/dev-python/piexif/metadata.xml index af478d621eff..eb79c1cb3fb4 100644 --- a/dev-python/piexif/metadata.xml +++ b/dev-python/piexif/metadata.xml @@ -4,6 +4,7 @@ <maintainer type="person"> <email>sping@gentoo.org</email> </maintainer> + <stabilize-allarches/> <upstream> <remote-id type="pypi">piexif</remote-id> <remote-id type="github">hMatoba/Piexif</remote-id> diff --git a/dev-python/piexif/piexif-1.1.3-r1.ebuild b/dev-python/piexif/piexif-1.1.3-r1.ebuild index e7dd8c9ba60a..d81d65d80559 100644 --- a/dev-python/piexif/piexif-1.1.3-r1.ebuild +++ b/dev-python/piexif/piexif-1.1.3-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/piexif/piexif-1.1.3.ebuild b/dev-python/piexif/piexif-1.1.3.ebuild deleted file mode 100644 index 62f016bbbb9c..000000000000 --- a/dev-python/piexif/piexif-1.1.3.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) - -inherit edos2unix distutils-r1 - -DESCRIPTION="Exif manipulation with pure Python" -HOMEPAGE="https://github.com/hMatoba/Piexif - https://pypi.org/project/piexif/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - app-arch/unzip - test? ( dev-python/pillow[jpeg] )" -RDEPEND="" - -PATCHES=( - # From https://github.com/hMatoba/Piexif/pull/109 - "${FILESDIR}"/${P}-tests-pillow-7.2.0.patch -) - -src_prepare() { - edos2unix tests/s_test.py # to be able to patch it - default -} - -python_test() { - "${PYTHON}" setup.py test || die -} diff --git a/dev-python/pyenchant/pyenchant-3.2.0.ebuild b/dev-python/pyenchant/pyenchant-3.2.0.ebuild index 974bc2033c38..a12d05413616 100644 --- a/dev-python/pyenchant/pyenchant-3.2.0.ebuild +++ b/dev-python/pyenchant/pyenchant-3.2.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="LGPL-2.1" 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="app-text/enchant:*" BDEPEND=" diff --git a/dev-python/pytest/pytest-6.2.0.ebuild b/dev-python/pytest/pytest-6.2.0.ebuild index 161e76e304f4..fb6b915b2e32 100644 --- a/dev-python/pytest/pytest-6.2.0.ebuild +++ b/dev-python/pytest/pytest-6.2.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/python-linux-procfs/Manifest b/dev-python/python-linux-procfs/Manifest index cf7f084be080..9c5966272ecc 100644 --- a/dev-python/python-linux-procfs/Manifest +++ b/dev-python/python-linux-procfs/Manifest @@ -1 +1,2 @@ DIST python-linux-procfs-0.6.1.tar.xz 18540 BLAKE2B efda66e0264db15b0c1904b9dca631683d089207abe57d165a25e71f68194c249a22394c997a13a71b0333aa27dbe7ac1b47488f715e22655d0f9217346d7ce7 SHA512 14f7510828d5a3eea1a8267041b604046392dbb8d7980b03b4d10bdefa88a89a5f69acdfea77255ba664c2ef33ce52273490214b3f76d2865e7b1dcc83e8e265 +DIST python-linux-procfs-0.6.3.tar.xz 18808 BLAKE2B 02fdc0349dd456819f67f82d6836a44e3285e16d9654dd52b58ac7d86e48bc559feda18f105db7911ac5f670fd0e6cfd5c6cc69a958a3e8494813ff244f8b06f SHA512 18e42bf12456893740c5ec950ffcca86945b1ff202a6ea3ae6ac800145771a39b4ab7e8bbb440210d48d0fe9de646e334095afd0b20060e2e28ab3fa844f6140 diff --git a/dev-python/python-linux-procfs/python-linux-procfs-0.6.3.ebuild b/dev-python/python-linux-procfs/python-linux-procfs-0.6.3.ebuild new file mode 100644 index 000000000000..d136157d1e00 --- /dev/null +++ b/dev-python/python-linux-procfs/python-linux-procfs-0.6.3.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Python classes to extract information from the Linux kernel /proc files" +HOMEPAGE=" + https://git.kernel.org/pub/scm/libs/python/python-linux-procfs/ + https://kernel.googlesource.com/pub/scm/libs/python/python-linux-procfs/python-linux-procfs/" +SRC_URI="https://cdn.kernel.org/pub/software/libs/python/${PN}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-python/six[${PYTHON_USEDEP}]" diff --git a/dev-python/pytools/Manifest b/dev-python/pytools/Manifest index d89ed32963de..fc14521af6c7 100644 --- a/dev-python/pytools/Manifest +++ b/dev-python/pytools/Manifest @@ -1,4 +1,2 @@ -DIST pytools-2020.4.3.tar.gz 62980 BLAKE2B 692d3aec649c89e473754ceeb13d141df6709f287ae45ae793d84de4321ba13a7fca766456a99f2134e81be4e3a084169f0e1f8f8b9595182efbaab89aefb616 SHA512 4f162114fee298812c0f63b0af1c4113fa1636b6dd4bb750b18decb60d7ad89adc2e460b9861c46ee1c8e11ca3ec437836ff173abe4436ba7784f18b1d6455a6 DIST pytools-2020.4.4.tar.gz 61208 BLAKE2B e124ae0f2c6be9c760ac178f2043e2d63af7e1eaa79e343b52dc183724bac7e869185d14d43a79efb91cfc55f39c81747581c61badbcb8cbd3d02d6e9a9a79a0 SHA512 32dc47a5a6c39c806c0bc4ffc34a41a1bb51ada537dbba36cfefad7f4370793879b3cb143b37d6fd3542aad0d64ac663cca4c8f7a05db36a9522e9919a1ef3d1 -DIST pytools-2020.4.tar.gz 67157 BLAKE2B 57fd583a7d5cc1337e20fedb5bc1c53c4025a01e7d4e3a5b05a0770a86e2bcabdde31dd535321215cf1bf2c7f3ed0b54e2407583bea63b63ca5b829f590a00be SHA512 66dea0d67c99c152edd7cd44e1262b6d163f065f5a4b697a5997f7453145af8fb0539d8eafa606fa18128908ce933c724b51bd1a76a6f7ab02e27db24496dc4c DIST pytools-2021.1.tar.gz 62003 BLAKE2B 2938359365082d9475cfb51586c78d3dce264cf0e8b1cf3fea0c7c688570c6e25c9a558b78977c35331ee89afd23ab7eb44a8702b3908eea160b07747646cc53 SHA512 c365cbb65b756869407f7f053112cb9732aeb138493172f2b90563a4f45e6d993557e54de2165a463931b8e2bd29c3ccd32c059702f21fb59e3dee74c19efd8f diff --git a/dev-python/pytools/pytools-2020.4.3.ebuild b/dev-python/pytools/pytools-2020.4.3.ebuild deleted file mode 100644 index dcc622b21365..000000000000 --- a/dev-python/pytools/pytools-2020.4.3.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -PYTHON_REQ_USE='sqlite' -DISTUTILS_USE_SETUPTOOLS=bdepend - -inherit distutils-r1 - -DESCRIPTION="Collection of tools missing from the Python standard library" -HOMEPAGE="https://mathema.tician.de/software/pytools/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=">=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}] - >=dev-python/decorator-3.2.0[${PYTHON_USEDEP}] - >=dev-python/numpy-1.6.0[${PYTHON_USEDEP}] - >=dev-python/six-1.8.0[${PYTHON_USEDEP}]" - -distutils_enable_tests pytest diff --git a/dev-python/pytools/pytools-2020.4.4.ebuild b/dev-python/pytools/pytools-2020.4.4.ebuild index cb1dd7a7c86e..87d7e057d4e1 100644 --- a/dev-python/pytools/pytools-2020.4.4.ebuild +++ b/dev-python/pytools/pytools-2020.4.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" RDEPEND=" >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}] diff --git a/dev-python/pytools/pytools-2020.4.ebuild b/dev-python/pytools/pytools-2020.4.ebuild deleted file mode 100644 index 2deae366f545..000000000000 --- a/dev-python/pytools/pytools-2020.4.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -PYTHON_REQ_USE='sqlite' -DISTUTILS_USE_SETUPTOOLS=bdepend - -inherit distutils-r1 - -DESCRIPTION="Collection of tools missing from the Python standard library" -HOMEPAGE="https://mathema.tician.de/software/pytools/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64" - -RDEPEND=">=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}] - >=dev-python/decorator-3.2.0[${PYTHON_USEDEP}] - >=dev-python/numpy-1.6.0[${PYTHON_USEDEP}] - >=dev-python/six-1.8.0[${PYTHON_USEDEP}]" - -distutils_enable_tests pytest diff --git a/dev-python/pyudev/pyudev-0.22.0.ebuild b/dev-python/pyudev/pyudev-0.22.0.ebuild index 3beac7d6a8c2..796424b05193 100644 --- a/dev-python/pyudev/pyudev-0.22.0.ebuild +++ b/dev-python/pyudev/pyudev-0.22.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~ia64 ~mips x86" +KEYWORDS="~alpha amd64 arm ~arm64 ~ia64 ~mips ~sparc x86" IUSE="qt5" RDEPEND=" diff --git a/dev-python/rpyc/Manifest b/dev-python/rpyc/Manifest index 9ded86342009..b5a1ba137268 100644 --- a/dev-python/rpyc/Manifest +++ b/dev-python/rpyc/Manifest @@ -1,3 +1,3 @@ -DIST rpyc-4.1.4.tar.gz 1251969 BLAKE2B 8d77d6c80fb69d96847878830c8fd0b8333223b8a2f13389de250bea6c8d9fc79477ee9ddd738776c1f1fdb4ed6d9d349a2d5cbdf3dd4486fe9b11113df0fedd SHA512 50b146fa07c213ad51cc3ba5e29264e5c16a6061fb109b94b9183582399495697c73c38e6e4958989a90080a88155bb140bf8e1ca43e0c6fb1f72eda2795d71f DIST rpyc-4.1.5.tar.gz 1252268 BLAKE2B 3669b10e7b9dc28feec33cb8472e74087fb31801564fcd9d9230f88a44dca8c7100a6134ad5c0e4974b8252e6c2f8d33877550facfe5f6c21d8a388e38c9e9f7 SHA512 27f67c7e7bf6f1e94815b3124f300da5f1317e7b454280953d85eca8c7146afc33937ac66a1bb8ac2344b73532ae232b190a647ef90aa723b8b5173b96877454 DIST rpyc-5.0.0.tar.gz 1257159 BLAKE2B cc1b9465745b22ba8d21a11c1f1b874e62acda6ee706591d4cf4389e5be36c3b39b24e6790356f8f5c5ad03c9739a3f835abd5e50768403e35731afa78bc608c SHA512 dadacd7bfa5c564843fbad377b7f346f582640e91b8d3ce1625e537625d448f902104b376203d026fcd08b1a89ddc8cfe2259fa035a16f0184d227543fbc465f +DIST rpyc-5.0.1.tar.gz 1258657 BLAKE2B 84d0bee67004928c26a1765a26267e3e8eb5dc09a8fd53c1d75ca691cf313a7563398626b7e89a8893415294721623206204784da01444708edb56aec8101719 SHA512 57b0d6b2dba33c7f6c9d204b4deae8ab08ed56e5799aa2c7ae4bcb8ab98486055090e3079d8b0d615fcd517111a6e02893dff85607aaca5497ae76429abe3148 diff --git a/dev-python/rpyc/metadata.xml b/dev-python/rpyc/metadata.xml index 0c4a0861fcdc..f2520688fec1 100644 --- a/dev-python/rpyc/metadata.xml +++ b/dev-python/rpyc/metadata.xml @@ -9,10 +9,18 @@ <email>python@gentoo.org</email> <name>Python</name> </maintainer> + <stabilize-allarches/> <upstream> <remote-id type="sourceforge">rpyc</remote-id> <remote-id type="pypi">rpyc</remote-id> - <remote-id type="github">tomerfiliba/rpyc</remote-id> + <remote-id type="github">tomerfiliba-org/rpyc</remote-id> </upstream> + <use> + <flag name="numpy">Run tests depending on + <pkg>dev-python/numpy</pkg>, <pkg>dev-python/pandas</pkg> + </flag> + <flag name="gdb">Run tests depending on <pkg>sys-devel/gdb</pkg> + </flag> + </use> <origin>gentoo-staging</origin> </pkgmetadata> diff --git a/dev-python/rpyc/rpyc-4.1.4.ebuild b/dev-python/rpyc/rpyc-4.1.4.ebuild deleted file mode 100644 index 9018918336e5..000000000000 --- a/dev-python/rpyc/rpyc-4.1.4.ebuild +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Remote Python Call (RPyC), a transparent and symmetric RPC library" -HOMEPAGE="https://rpyc.readthedocs.io/en/latest/" -SRC_URI="https://github.com/tomerfiliba/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND="dev-python/plumbum[${PYTHON_USEDEP}]" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" diff --git a/dev-python/rpyc/rpyc-4.1.5.ebuild b/dev-python/rpyc/rpyc-4.1.5.ebuild index 994352b42b14..ab5ab1e49f47 100644 --- a/dev-python/rpyc/rpyc-4.1.5.ebuild +++ b/dev-python/rpyc/rpyc-4.1.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -8,11 +8,11 @@ inherit distutils-r1 DESCRIPTION="Remote Python Call (RPyC), a transparent and symmetric RPC library" HOMEPAGE="https://rpyc.readthedocs.io/en/latest/" -SRC_URI="https://github.com/tomerfiliba/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/tomerfiliba-org/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" RDEPEND="dev-python/plumbum[${PYTHON_USEDEP}]" DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" diff --git a/dev-python/rpyc/rpyc-5.0.0.ebuild b/dev-python/rpyc/rpyc-5.0.0.ebuild index 742f01a92991..4645ccdc49a1 100644 --- a/dev-python/rpyc/rpyc-5.0.0.ebuild +++ b/dev-python/rpyc/rpyc-5.0.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -10,7 +10,7 @@ DESCRIPTION="Remote Python Call (RPyC), a transparent and symmetric RPC library" HOMEPAGE="https://rpyc.readthedocs.io/en/latest/ https://pypi.org/project/rpyc/ https://github.com/tomerfiliba-org/rpyc" -SRC_URI="https://github.com/tomerfiliba/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/tomerfiliba-org/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" diff --git a/dev-python/rpyc/rpyc-5.0.1.ebuild b/dev-python/rpyc/rpyc-5.0.1.ebuild new file mode 100644 index 000000000000..ab6f6c4503ec --- /dev/null +++ b/dev-python/rpyc/rpyc-5.0.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Remote Python Call (RPyC), a transparent and symmetric RPC library" +HOMEPAGE="https://rpyc.readthedocs.io/en/latest/ + https://pypi.org/project/rpyc/ + https://github.com/tomerfiliba-org/rpyc" +SRC_URI="https://github.com/tomerfiliba-org/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# USE flags gdb, numpy are used *only* to run tests depending on these packages +IUSE="test numpy gdb" +RESTRICT="!test? ( test )" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + numpy? ( dev-python/numpy[${PYTHON_USEDEP}] dev-python/pandas[${PYTHON_USEDEP}] ) + gdb? ( sys-devel/gdb )" + +RDEPEND="dev-python/plumbum[${PYTHON_USEDEP}] + dev-python/gevent[${PYTHON_USEDEP}]" + +src_prepare() { + default + + # Windows specific test + rm tests/test_win32pipes.py || die "rm tests/test_win32pipes.py failed" + + # These tests require running sshd + rm tests/test_ssh.py tests/test_deploy.py || die "rm test_ssh.py test_deploy.py failed" + + # This test requires internet access + rm tests/test_registry.py || die "rm test_registry.py failed" + + if ! use numpy + then rm tests/test_service_pickle.py || die "rm test_service_pickle.py failed" + fi + + if ! use gdb + then rm tests/test_gdb.py || die "rm test_gdb.py failed" + fi +} + +python_test() { + # for some reason, when tests are run via pytest or nose, some of them hung + pushd tests > /dev/null || die "pushd tests failed" + for x in test_*.py + do ${PYTHON} ${x} || die "${x} failed" + done + popd > /dev/null +} diff --git a/dev-python/soupsieve/Manifest b/dev-python/soupsieve/Manifest index e2fbb2a156dc..b85ec7128837 100644 --- a/dev-python/soupsieve/Manifest +++ b/dev-python/soupsieve/Manifest @@ -1,2 +1 @@ -DIST soupsieve-2.0.1.tar.gz 96436 BLAKE2B 00fe9390569886181d484c5eb3f2a14352c16c3807d4e2eca8b5fe0ff0fdc1ec77fcf6b32885d76f3a085c149848bdeafa1fd2cabdd4fe4742fc175c34aa72c4 SHA512 f4ef4deee81bb31952e1d3216250712f09b425e7a2253e15bd1b38cb74b680e421e7d086a8770737898f6b57867f07f2dd07b8a98108d05e338bce92b274b85f DIST soupsieve-2.1.0.tar.gz 98150 BLAKE2B 37f6ef00f42d164ef57be88135e8a942166f53a39ed5643d6ae0468916a66be04c79e4e70da6ad38f8adf6fac41cb8bccb7edcfabd7e1a07083ab8a043d5203a SHA512 19cd4ee596d189a001bbaf9f047e6c9eff569e2149ef5424bfe55c9b4325d856c957de87d55510335f748aab322dbb847b06b48931fbdeadbcc3790259c69eb1 diff --git a/dev-python/soupsieve/soupsieve-2.0.1.ebuild b/dev-python/soupsieve/soupsieve-2.0.1.ebuild deleted file mode 100644 index 4c307fd02856..000000000000 --- a/dev-python/soupsieve/soupsieve-2.0.1.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A modern CSS selector implementation for BeautifulSoup" -HOMEPAGE="https://github.com/facelessuser/soupsieve - https://pypi.python.org/pypi/soupsieve" -SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~x64-macos" -IUSE="test" -RESTRICT+=" !test? ( test )" - -BDEPEND="${RDEPEND} - test? ( - dev-python/beautifulsoup[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/html5lib[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/soupsieve/soupsieve-2.1.0.ebuild b/dev-python/soupsieve/soupsieve-2.1.0.ebuild index 96572fd46a3f..ce09cdbc94d2 100644 --- a/dev-python/soupsieve/soupsieve-2.1.0.ebuild +++ b/dev-python/soupsieve/soupsieve-2.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -14,7 +14,7 @@ SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> ${P}.tar. LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~x64-macos" IUSE="test" RESTRICT+=" !test? ( test )" diff --git a/dev-python/testfixtures/Manifest b/dev-python/testfixtures/Manifest index 55322221d0b0..be7ca976a609 100644 --- a/dev-python/testfixtures/Manifest +++ b/dev-python/testfixtures/Manifest @@ -1,3 +1,2 @@ -DIST testfixtures-6.15.0.tar.gz 116119 BLAKE2B cc0e351bd6778393cf061b741d7d593f56bc1b6a3d53d2e34baa006f7edd718c86f1b16c094e42cf116805a5c6652ac6827f71c1ebbb160d48c071317603c151 SHA512 34b9f1b9a5e76c5e20acf9abae2961694817de3822361cd5afc4a405ccdbcf26c617a01fbd8d2d977c2a0bc696232c2363df4a9fb7ba9187e0743cf2a6fe98e1 DIST testfixtures-6.16.0.tar.gz 120986 BLAKE2B bb17c44091370edca55f1e273f70e454c2e74a152a228f97efba08d605e3a024c64bfc163b3aa50805f038556c76fb754825b16fdf4451760403682c06251c80 SHA512 0c519fa2d2619ad71f6b487456ea1480365aa421c14a9beaeee916e7841bd266be2c95d48c61b64e91554b37d2621358a45b124be6a6d25b3e381f966653c9b8 DIST testfixtures-6.17.0.tar.gz 121419 BLAKE2B 62dc8808cf9fbc37386fcf9e44c56edbdc2c51ee0698518142dcbc52b73ab538445d49d5d4a779cd68bf51b6aa267222f877bdc703d3dc87230f6a6db81e258a SHA512 2ace802d3bf8b261727037a5ac26a0beca852ca8c2e57ec33344707f300edae7cf317f1bb79c05aa809b1f68d38ffabcc6c5383ce9ecfd4f66a80b02ff4c7315 diff --git a/dev-python/testfixtures/testfixtures-6.15.0.ebuild b/dev-python/testfixtures/testfixtures-6.15.0.ebuild deleted file mode 100644 index b8d8833f0e03..000000000000 --- a/dev-python/testfixtures/testfixtures-6.15.0.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,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 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() { - PYTHONPATH="." \ - DJANGO_SETTINGS_MODULE=testfixtures.tests.test_django.settings \ - pytest -vv || die -} diff --git a/dev-python/testfixtures/testfixtures-6.16.0.ebuild b/dev-python/testfixtures/testfixtures-6.16.0.ebuild index c963b2a56fd4..fbb828208b6d 100644 --- a/dev-python/testfixtures/testfixtures-6.16.0.ebuild +++ b/dev-python/testfixtures/testfixtures-6.16.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" SLOT="0" LICENSE="MIT" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" BDEPEND=" test? ( diff --git a/dev-python/voluptuous/Manifest b/dev-python/voluptuous/Manifest index fcd498312d7f..4bcf0fdff88d 100644 --- a/dev-python/voluptuous/Manifest +++ b/dev-python/voluptuous/Manifest @@ -1,2 +1 @@ -DIST voluptuous-0.12.0.tar.gz 46958 BLAKE2B ec41ea9d5775bdc443153b913bcef7e73f14e29d47c6997e5597958b59c2b1143c83b65ca08d2a06aba3725f76f9168be4f46f68d91d87ceb4e4e3b6643e6800 SHA512 7c72d965f2a2eeb2ad099a19b41e2249b9921e51985ff975ed62fe5a6d5b3f2d5c2a7d6fc2cbe3c80abbea17cfc46c39f1953db5daecc0faafb348c838f80417 DIST voluptuous-0.12.1.tar.gz 47476 BLAKE2B aa991ab2131e478eb06909c8b7ca86158980b47431d7fae82f41ab2c09b2d23c21d6da937394732cb479436fc247268947c3b31701c6260132cd6f9c7f7e288f SHA512 14ead6bd99c9238318e7ed39fa543cb3363cbb0716a251061e6f533b8fae3fd5e754bd6b2756b6d76745da0e02236e04bfe0ae4e25dd87d291bb2a716660eebc diff --git a/dev-python/voluptuous/voluptuous-0.12.0.ebuild b/dev-python/voluptuous/voluptuous-0.12.0.ebuild deleted file mode 100644 index 7a38fa25f7b0..000000000000 --- a/dev-python/voluptuous/voluptuous-0.12.0.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="A Python data validation library." -HOMEPAGE="https://github.com/alecthomas/voluptuous" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 s390 sparc x86 ~amd64-linux ~x86-linux" - -PATCHES=( "${FILESDIR}"/${PN}-0.11.5-fix-doctest.patch ) - -distutils_enable_tests nose diff --git a/dev-python/voluptuous/voluptuous-0.12.1.ebuild b/dev-python/voluptuous/voluptuous-0.12.1.ebuild index d462864db631..fc7ffa94f4fa 100644 --- a/dev-python/voluptuous/voluptuous-0.12.1.ebuild +++ b/dev-python/voluptuous/voluptuous-0.12.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 s390 sparc x86 ~amd64-linux ~x86-linux" PATCHES=( "${FILESDIR}"/${PN}-0.11.5-fix-doctest.patch ) diff --git a/dev-python/watchdog/Manifest b/dev-python/watchdog/Manifest index 05311b7537d5..b9143771050a 100644 --- a/dev-python/watchdog/Manifest +++ b/dev-python/watchdog/Manifest @@ -1,4 +1,2 @@ -DIST watchdog-0.10.4.tar.gz 90303 BLAKE2B 0c057fe35383deaa6b7a66c24c07b2260153e94072b2769dd023210e0e5af90b4556ac18a4e8cab8af794c9dad8709205d9f48022458ee6c93fc0f2926b6f372 SHA512 abaadebd74dd869af545b5a3f10edc9d58f4f0f31f43aaf2244aed2c0ef56828f0b4cf9eda919727c832b20c79e95f50df7193dc8ea9d05d28a52dc322a3a497 -DIST watchdog-0.10.5.tar.gz 91432 BLAKE2B 0f10a94edf4cb79d68b83f0cc6eebc1eae9a00a0fd7b8164977a2511b952b6dda9d0b26404ef316a57524f948eb6676a5da65bb711530f64a4a37ab82576b9a9 SHA512 b107fe23b123360ba8ad049576bdbbb40061c70157bee0663bcf9ee9a9a9f65b95234540a477ba9ae6d617199ca1d77fe30b3b9dc4868bfef08a6b9099d6fe51 DIST watchdog-1.0.0.tar.gz 89861 BLAKE2B 79734397fc91e3c733fd28e8c607c07265230f8e7949b07e4236e4fe38af48cd0f758270990b384ccee88bc88311291cc3758f29296edda2dff06dc757d6d492 SHA512 e89f34aba7547022a48ff16e36e6a2eea340e80a4b1e1f8657d4e70d4a451ac43351aafc76978fb4241c583df11c2dd6c53cb1a03c43c2734f4a8a07d5b2604f DIST watchdog-1.0.2.tar.gz 91796 BLAKE2B 001cbe82ff8aff0c4e56e4d1f02519047580cccb48466566ad7c9c1f462f90a9a036cf90846eb38ec4fb24ff1df2a1ddfec20b3f0587afdc1f938ada1bb0b1ef SHA512 e87a0955ce822daabd7d030804876698f98ed2aad58486e26a94585763655302063f091b653abd385ea99642361b6253d8e051d96019b243a77b078ba86b0d6e diff --git a/dev-python/watchdog/watchdog-0.10.4.ebuild b/dev-python/watchdog/watchdog-0.10.4.ebuild deleted file mode 100644 index 43423462e8a9..000000000000 --- a/dev-python/watchdog/watchdog-0.10.4.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 optfeature - -DESCRIPTION="Python API and shell utilities to monitor file system events" -HOMEPAGE="https://github.com/gorakhargosh/watchdog" -SRC_URI="https://github.com/gorakhargosh/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc x86" - -CDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]" -RDEPEND="${CDEPEND} - dev-python/argh[${PYTHON_USEDEP}] - dev-python/pathtools[${PYTHON_USEDEP}]" -DEPEND="${CDEPEND} - test? ( - >=dev-python/pytest-timeout-0.3[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e '/--cov/d' setup.cfg || die - # broken when django is installed - sed -i -e 's:test_eventlet_monkey_patching:_&:' \ - tests/test_skip_repeats_queue.py || die - default -} - -pkg_postinst() { - optfeature "Bash completion" dev-python/argcomplete -} diff --git a/dev-python/watchdog/watchdog-0.10.5.ebuild b/dev-python/watchdog/watchdog-0.10.5.ebuild deleted file mode 100644 index 5912b969c304..000000000000 --- a/dev-python/watchdog/watchdog-0.10.5.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 optfeature - -DESCRIPTION="Python API and shell utilities to monitor file system events" -HOMEPAGE="https://github.com/gorakhargosh/watchdog" -SRC_URI="https://github.com/gorakhargosh/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" - -CDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]" -RDEPEND="${CDEPEND} - dev-python/argh[${PYTHON_USEDEP}] - dev-python/pathtools[${PYTHON_USEDEP}]" -DEPEND="${CDEPEND} - test? ( - >=dev-python/pytest-timeout-0.3[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e '/--cov/d' setup.cfg || die - # broken when django is installed - sed -i -e 's:test_eventlet_monkey_patching:_&:' \ - tests/test_skip_repeats_queue.py || die - default -} - -pkg_postinst() { - optfeature "Bash completion" dev-python/argcomplete -} diff --git a/dev-python/watchdog/watchdog-1.0.0.ebuild b/dev-python/watchdog/watchdog-1.0.0.ebuild index 2f8d278e0dd2..5eb55c041cb4 100644 --- a/dev-python/watchdog/watchdog-1.0.0.ebuild +++ b/dev-python/watchdog/watchdog-1.0.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -14,7 +14,7 @@ SRC_URI="https://github.com/gorakhargosh/${PN}/archive/v${PV}.tar.gz -> ${P}.tar LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" +KEYWORDS="amd64 ~arm arm64 ~ppc x86" CDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]" RDEPEND="${CDEPEND} diff --git a/dev-python/wheel/Manifest b/dev-python/wheel/Manifest index 056638b6ea71..fa55c58f41f2 100644 --- a/dev-python/wheel/Manifest +++ b/dev-python/wheel/Manifest @@ -1,2 +1 @@ -DIST wheel-0.36.1.gh.tar.gz 65846 BLAKE2B 906bd8887ab0efc6542547c603d613e6b12e4ea56e8d037c3a4532e064f3d337cd5c161e2c2557cc832262a42eeda2850303f1d92e8de45f44321ebc9d47c955 SHA512 1f9a27604b0fa0d1ae4782bdba57956a70d74a9a736f4c41481b417cd1e8a86938705555c37835ffe1a061ef55f8adad3475bfc20e2c1fd8de8083dd5c72cca0 DIST wheel-0.36.2.gh.tar.gz 67999 BLAKE2B 0bb6742ddb25a5b94f94fd071dfe63ae5fa555731625b4b8ca2c7abb1a255e24590ae9ea250ada0473fcd74f19bdca7e529f8eda1a79d8e394d8b339bd2a257a SHA512 23f3dd0540ecc8e762f37a4bb69713abe99125a605c03b1a3412cec910fb7a6cea3eee3910d7c98122b276170a17414c9132b57b57a30a4ba1283cea8f9e20fa diff --git a/dev-python/wheel/wheel-0.36.1.ebuild b/dev-python/wheel/wheel-0.36.1.ebuild deleted file mode 100644 index 1c3dd4ace5fb..000000000000 --- a/dev-python/wheel/wheel-0.36.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 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) - -inherit distutils-r1 eutils - -DESCRIPTION="A built-package format for Python" -HOMEPAGE="https://pypi.org/project/wheel/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -SRC_URI="https://github.com/pypa/wheel/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~x64-macos" - -distutils_enable_tests pytest - -src_prepare() { - sed \ - -e 's:--cov=wheel::g' \ - -i setup.cfg || die - distutils-r1_src_prepare -} - -python_test() { - if ! python_is_python3; then - # install fails due to unicode in paths - ewarn "Testing is broken with py2.7, please test externally" - return - fi - - distutils_install_for_testing --via-root - pytest -vv || die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/wheel/wheel-0.36.2.ebuild b/dev-python/wheel/wheel-0.36.2.ebuild index 0475f2c77666..1c3dd4ace5fb 100644 --- a/dev-python/wheel/wheel-0.36.2.ebuild +++ b/dev-python/wheel/wheel-0.36.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -15,7 +15,7 @@ SRC_URI="https://github.com/pypa/wheel/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="MIT" 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" distutils_enable_tests pytest diff --git a/dev-python/yappi/Manifest b/dev-python/yappi/Manifest index 15620f122210..bf54e86e8269 100644 --- a/dev-python/yappi/Manifest +++ b/dev-python/yappi/Manifest @@ -1,3 +1,3 @@ DIST yappi-1.2.5.tar.gz 928100 BLAKE2B 1d303226821d53fb215ac29f8363d9f564f9f40096b5ba8f67475c4074012316f523afb6d770cff879038cd333ef7f050b29c015e2dd2e517859f66a0e1f36f3 SHA512 ec784e76b56e8bc0c3cfe07c90d0810fa90d5a7da62f36187e8a09a9d6e01f3c2d74320de3dd3f4bf1d4a9425fee319c7a575a9d35ad5412c1501c934f1ba353 -DIST yappi-1.3.0.tar.gz 928100 BLAKE2B 1d303226821d53fb215ac29f8363d9f564f9f40096b5ba8f67475c4074012316f523afb6d770cff879038cd333ef7f050b29c015e2dd2e517859f66a0e1f36f3 SHA512 ec784e76b56e8bc0c3cfe07c90d0810fa90d5a7da62f36187e8a09a9d6e01f3c2d74320de3dd3f4bf1d4a9425fee319c7a575a9d35ad5412c1501c934f1ba353 +DIST yappi-1.3.0.gh.tar.gz 936160 BLAKE2B fcb7651a188e8442f9cac8dc680cc2c944f0f20d322982eaa3f75893f8575db45144f9fac51af58e4c75001603fce08c65d5ffd02b47cceb0d4db0af0ffb1b36 SHA512 ae7c27231721df1a705905c0270feb3e469d156fd8e62fe83a8387920662eb10c5262783b74e97fb01c8ea0dcdb6b78dcce3a87ab5472f1a8f6f03849480a523 DIST yappi-1.3.2.tar.gz 936566 BLAKE2B 55f114b8ed8689944f8146cb283701b41f34e87f3e5104d7d8df239cd2afc24f1ca1bf86f99bf672735677005df6527c83c5306a7902ea45e335134a925d6e18 SHA512 7a555bf6db8d7b9d8b4e36ceda1a40319a3d0aa478c512fb0fbca678dd3966b1facffa7555dca1ffaf07461ed3ab81284bd643e331eb2e6d1ee9c99eab1acb55 diff --git a/dev-python/yappi/yappi-1.3.0.ebuild b/dev-python/yappi/yappi-1.3.0-r1.ebuild index d0075ee20ebe..b089fb1d2ed5 100644 --- a/dev-python/yappi/yappi-1.3.0.ebuild +++ b/dev-python/yappi/yappi-1.3.0-r1.ebuild @@ -1,26 +1,27 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 + PYTHON_COMPAT=( python3_{6,7,8,9,10} ) DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 # no tags on github, no tests on pypi -COMMIT_HASH="b6c7d9f0bb40b511f61bb82cc395ad9140a4f4b0" +COMMIT_HASH="ade55478807aa957714e0ef3e228d0cf0c68949d" DESCRIPTION="Yet Another Python Profiler" HOMEPAGE="https://pypi.org/project/yappi/ https://github.com/sumerc/yappi" -SRC_URI="https://github.com/sumerc/yappi/archive/${COMMIT_HASH}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/sumerc/yappi/archive/${COMMIT_HASH}.tar.gz -> ${P}.gh.tar.gz" S="${WORKDIR}/${PN}-${COMMIT_HASH}" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm64 x86" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" -#RDEPEND=" -# $(python_gen_cond_dep 'dev-python/contextvars[${PYTHON_USEDEP}]' 'python3_6') -#" +BDEPEND="test? ( dev-python/gevent[${PYTHON_USEDEP}] )" distutils_enable_tests unittest diff --git a/dev-python/yappi/yappi-1.3.2.ebuild b/dev-python/yappi/yappi-1.3.2.ebuild index f4bc01208e2c..7cadfac832cf 100644 --- a/dev-python/yappi/yappi-1.3.2.ebuild +++ b/dev-python/yappi/yappi-1.3.2.ebuild @@ -2,6 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 + PYTHON_COMPAT=( python3_{6,7,8,9,10} ) DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 @@ -17,10 +18,10 @@ S="${WORKDIR}/${PN}-${COMMIT_HASH}" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" -#RDEPEND=" -# $(python_gen_cond_dep 'dev-python/contextvars[${PYTHON_USEDEP}]' 'python3_6') -#" +BDEPEND="test? ( dev-python/gevent[${PYTHON_USEDEP}] )" distutils_enable_tests unittest |
