diff options
| author | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-07-17 06:56:32 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-07-17 06:56:32 +0000 |
| commit | f3c4550fbbf32895d8a71b1df500c98d71208673 (patch) | |
| tree | 051ed807cc08a33b25c63d0f4a44e36b9c60f70a /dev-python | |
| parent | ba872f10f8ac67e08d6c40c8ae1ae49c50ad72a9 (diff) | |
| download | baldeagleos-repo-f3c4550fbbf32895d8a71b1df500c98d71208673.tar.gz baldeagleos-repo-f3c4550fbbf32895d8a71b1df500c98d71208673.tar.xz baldeagleos-repo-f3c4550fbbf32895d8a71b1df500c98d71208673.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python')
68 files changed, 846 insertions, 229 deletions
diff --git a/dev-python/boto/boto-2.49.0-r3.ebuild b/dev-python/boto/boto-2.49.0-r3.ebuild index 7250100d8104..ea0014c4618f 100644 --- a/dev-python/boto/boto-2.49.0-r3.ebuild +++ b/dev-python/boto/boto-2.49.0-r3.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" PATCHES=( # taken from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=909545 diff --git a/dev-python/dogpile-cache/dogpile-cache-0.9.1.ebuild b/dev-python/dogpile-cache/dogpile-cache-0.9.1.ebuild index 2acea6ee6faf..f4834cc71ca1 100644 --- a/dev-python/dogpile-cache/dogpile-cache-0.9.1.ebuild +++ b/dev-python/dogpile-cache/dogpile-cache-0.9.1.ebuild @@ -13,7 +13,7 @@ S="${WORKDIR}/dogpile.cache-${PV}" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 arm64 x86" +KEYWORDS="amd64 ~arm arm64 x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/dulwich/dulwich-0.19.15.ebuild b/dev-python/dulwich/dulwich-0.19.15.ebuild index 4b0785701595..4621e167028d 100644 --- a/dev-python/dulwich/dulwich-0.19.15.ebuild +++ b/dev-python/dulwich/dulwich-0.19.15.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="doc examples test" RESTRICT="!test? ( test )" diff --git a/dev-python/geventhttpclient/geventhttpclient-1.4.2.ebuild b/dev-python/geventhttpclient/geventhttpclient-1.4.2.ebuild index 4f2a0c038631..66f21a945d4d 100644 --- a/dev-python/geventhttpclient/geventhttpclient-1.4.2.ebuild +++ b/dev-python/geventhttpclient/geventhttpclient-1.4.2.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 arm64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/geventhttpclient/geventhttpclient-1.4.4.ebuild b/dev-python/geventhttpclient/geventhttpclient-1.4.4.ebuild index 4d3f4094b52b..053029042b2f 100644 --- a/dev-python/geventhttpclient/geventhttpclient-1.4.4.ebuild +++ b/dev-python/geventhttpclient/geventhttpclient-1.4.4.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/helpdev/Manifest b/dev-python/helpdev/Manifest index 6cd8d947b85e..cf681794eb1a 100644 --- a/dev-python/helpdev/Manifest +++ b/dev-python/helpdev/Manifest @@ -1 +1,2 @@ DIST helpdev-0.6.10.tar.gz 12864 BLAKE2B f022e4a76b8f416e806bc11c11c27e4ee1c2a92cdc2a19561d2e8c0de60027eb03ae6696d968f7dcd803d2a9935c4ee9b3a0f8248f4cb8ca2afb13ff58d8be46 SHA512 6bdd51e573ec656de12e5b4c17e0de7c2cbfc26e696bb6f62eacd148fecde1c8c239879a9d44f8a30b12d744ab40e225799fe6176805d676cecabcbee6c1e4ff +DIST helpdev-0.7.1.tar.gz 51575 BLAKE2B b780513c8b7af12296c003360c5805e8414e5c82fe459ab1e4ccaf68c9f029c817a6cb86535d26ad0143ea7dc60fb86126f6d87d4a84e85a9b29a9dbe651e2c8 SHA512 ba0af843617c7cc69aae2bfe88d437e90df14afa90dd0a76c0e7c1062f03963270514ff7653c859a70caec0cde3cc3f18ca87573fdb6a1d5e2fd5874cc24e59e diff --git a/dev-python/helpdev/helpdev-0.7.1.ebuild b/dev-python/helpdev/helpdev-0.7.1.ebuild new file mode 100644 index 000000000000..48dabc7184c9 --- /dev/null +++ b/dev-python/helpdev/helpdev-0.7.1.ebuild @@ -0,0 +1,25 @@ +# 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} ) + +DISTUTILS_USE_SETUPTOOLS=rdepend +inherit distutils-r1 + +DESCRIPTION="Helping users and developers to get information about the environment" +HOMEPAGE="https://gitlab.com/dpizetta/helpdev" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' python3_{6,7,8} ) + dev-python/psutil[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs dev-python/sphinx_rtd_theme +distutils_enable_tests pytest diff --git a/dev-python/httpretty/httpretty-1.0.2-r1.ebuild b/dev-python/httpretty/httpretty-1.0.2-r1.ebuild index 2f4d7a2d767e..3bbabf33017e 100644 --- a/dev-python/httpretty/httpretty-1.0.2-r1.ebuild +++ b/dev-python/httpretty/httpretty-1.0.2-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" SLOT="0" LICENSE="MIT" -KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" +KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/importlib_metadata/importlib_metadata-1.6.1.ebuild b/dev-python/importlib_metadata/importlib_metadata-1.6.1.ebuild index 4bf756b762cc..4d3dfb4e0026 100644 --- a/dev-python/importlib_metadata/importlib_metadata-1.6.1.ebuild +++ b/dev-python/importlib_metadata/importlib_metadata-1.6.1.ebuild @@ -13,7 +13,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 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86" RDEPEND=" dev-python/zipp[${PYTHON_USEDEP}] diff --git a/dev-python/jedi/jedi-0.17.1.ebuild b/dev-python/jedi/jedi-0.17.1-r1.ebuild index 00e52e0a5408..59126ef7f00e 100644 --- a/dev-python/jedi/jedi-0.17.1.ebuild +++ b/dev-python/jedi/jedi-0.17.1-r1.ebuild @@ -25,7 +25,7 @@ LICENSE="MIT SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" -RDEPEND=">=dev-python/parso-0.5.2[${PYTHON_USEDEP}]" +RDEPEND=">=dev-python/parso-0.7.0[${PYTHON_USEDEP}]" distutils_enable_sphinx docs \ dev-python/sphinx_rtd_theme diff --git a/dev-python/jmespath/jmespath-0.10.0.ebuild b/dev-python/jmespath/jmespath-0.10.0.ebuild index 70889dcee2b9..90fc09e3dec7 100644 --- a/dev-python/jmespath/jmespath-0.10.0.ebuild +++ b/dev-python/jmespath/jmespath-0.10.0.ebuild @@ -17,6 +17,6 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" distutils_enable_tests nose diff --git a/dev-python/jsonpatch/jsonpatch-1.26.ebuild b/dev-python/jsonpatch/jsonpatch-1.26.ebuild index 789683263633..7b86861b301e 100644 --- a/dev-python/jsonpatch/jsonpatch-1.26.ebuild +++ b/dev-python/jsonpatch/jsonpatch-1.26.ebuild @@ -13,7 +13,7 @@ S="${WORKDIR}/python-json-patch-${PV}" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/keystoneauth/keystoneauth-4.0.1.ebuild b/dev-python/keystoneauth/keystoneauth-4.0.1.ebuild index 21ce2d584e88..9af2bde54fb9 100644 --- a/dev-python/keystoneauth/keystoneauth-4.0.1.ebuild +++ b/dev-python/keystoneauth/keystoneauth-4.0.1.ebuild @@ -13,7 +13,7 @@ S="${WORKDIR}/${PN}1-${PV}" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" IUSE="" CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/libsass/libsass-0.20.0.ebuild b/dev-python/libsass/libsass-0.20.0.ebuild index 6ae285a36e2f..b745260bad65 100644 --- a/dev-python/libsass/libsass-0.20.0.ebuild +++ b/dev-python/libsass/libsass-0.20.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_COMPAT=( python3_{6,7,8,9} ) DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 diff --git a/dev-python/openstackdocstheme/openstackdocstheme-1.18.1.ebuild b/dev-python/openstackdocstheme/openstackdocstheme-1.18.1.ebuild index 40f43c5d2d37..0bf8cdbfde36 100644 --- a/dev-python/openstackdocstheme/openstackdocstheme-1.18.1.ebuild +++ b/dev-python/openstackdocstheme/openstackdocstheme-1.18.1.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm64 ~ia64 ~ppc64 x86" +KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc64 x86" IUSE="" DEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/openstacksdk/openstacksdk-0.46.0.ebuild b/dev-python/openstacksdk/openstacksdk-0.46.0.ebuild index c6694550a51b..a89263bc354e 100644 --- a/dev-python/openstacksdk/openstacksdk-0.46.0.ebuild +++ b/dev-python/openstacksdk/openstacksdk-0.46.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" IUSE="" CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/os-service-types/os-service-types-1.7.0.ebuild b/dev-python/os-service-types/os-service-types-1.7.0.ebuild index 6db0f3f857eb..8f0547498dd6 100644 --- a/dev-python/os-service-types/os-service-types-1.7.0.ebuild +++ b/dev-python/os-service-types/os-service-types-1.7.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 arm64 x86" +KEYWORDS="amd64 ~arm arm64 x86" IUSE="" CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/pep8/pep8-1.7.1-r1.ebuild b/dev-python/pep8/pep8-1.7.1-r1.ebuild new file mode 100644 index 000000000000..66396c091a91 --- /dev/null +++ b/dev-python/pep8/pep8-1.7.1-r1.ebuild @@ -0,0 +1,28 @@ +# 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_{7,8} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Python style guide checker" +HOMEPAGE="https://github.com/PyCQA/pep8 https://pypi.org/project/pep8/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +distutils_enable_sphinx docs dev-python/sphinx_rtd_theme +distutils_enable_tests pytest + +python_prepare_all() { + # AssertionError: 7 is not false : 7 failure(s) + sed -i -e 's:test_checkers_testsuite:_&:' \ + testsuite/test_all.py || die + + distutils-r1_python_prepare_all +} diff --git a/dev-python/pydocstyle/pydocstyle-5.0.2-r1.ebuild b/dev-python/pydocstyle/pydocstyle-5.0.2-r1.ebuild new file mode 100644 index 000000000000..1887ba0bb246 --- /dev/null +++ b/dev-python/pydocstyle/pydocstyle-5.0.2-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8} ) + +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Python docstring style checker" +HOMEPAGE="https://github.com/PyCQA/pydocstyle/" +SRC_URI="https://github.com/PyCQA/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/snowballstemmer[${PYTHON_USEDEP}]" + +DEPEND="test? ( + dev-python/pytest-pep8[${PYTHON_USEDEP}] + dev-python/mypy[${PYTHON_USEDEP}] + dev-python/tox[${PYTHON_USEDEP}] +)" + +distutils_enable_tests pytest +# Requires network to lookup github issues +#distutils_enable_sphinx docs dev-python/sphinx_rtd_theme dev-python/sphinxcontrib-issuetracker + +src_prepare() { + default + + # These tests call pip. + # pip install fails because we are not allowed to do that inside an ebuild. + rm "${S}/src/tests/test_integration.py" || die +} diff --git a/dev-python/pyfakefs/pyfakefs-3.7.2.ebuild b/dev-python/pyfakefs/pyfakefs-3.7.2.ebuild index 93e4afe825eb..02e466b85f9e 100644 --- a/dev-python/pyfakefs/pyfakefs-3.7.2.ebuild +++ b/dev-python/pyfakefs/pyfakefs-3.7.2.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/jmcgeheeiv/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.g LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/pyre2/Manifest b/dev-python/pyre2/Manifest new file mode 100644 index 000000000000..bb8cbe40825f --- /dev/null +++ b/dev-python/pyre2/Manifest @@ -0,0 +1 @@ +DIST pyre2-1.0.7.tar.gz 11684 BLAKE2B 748a409aa56dab0e088961bdd0b8659dfe0ed817ed1f6fe1dce15fd03e32b30472776c4e21a4f39e66aa5b3539650a657c36acf8b857332b255a139ef0f890a9 SHA512 c4579bf73af2f0a5ccbb6a28b87ce777ef08199947c1bdf740b426960f41b3530c97a7158fac7768b51c92b8a3797f8e66de61e0c942f239920bd5397d63e2c4 diff --git a/dev-python/pyre2/metadata.xml b/dev-python/pyre2/metadata.xml new file mode 100644 index 000000000000..83745c664f87 --- /dev/null +++ b/dev-python/pyre2/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>chutzpah@gentoo.org</email> + <name>Patrick McLean</name> + </maintainer> + <maintainer type="person"> + <email>zmedico@gentoo.org</email> + <name>Zac Medico</name> + </maintainer> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-python/pyre2/pyre2-1.0.7.ebuild b/dev-python/pyre2/pyre2-1.0.7.ebuild new file mode 100644 index 000000000000..89d8eb68d771 --- /dev/null +++ b/dev-python/pyre2/pyre2-1.0.7.ebuild @@ -0,0 +1,20 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} ) +inherit distutils-r1 + +DESCRIPTION="Python bindings for dev-libs/re2" +HOMEPAGE="https://github.com/facebook/pyre2/" +SRC_URI="https://github.com/facebook/pyre2/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="dev-libs/re2:=" +RDEPEND="${DEPEND}" + +distutils_enable_tests setup.py diff --git a/dev-python/pyrsistent/pyrsistent-0.16.0.ebuild b/dev-python/pyrsistent/pyrsistent-0.16.0.ebuild index 04083f6cf990..e584c29e93f7 100644 --- a/dev-python/pyrsistent/pyrsistent-0.16.0.ebuild +++ b/dev-python/pyrsistent/pyrsistent-0.16.0.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" dev-python/six[${PYTHON_USEDEP}]" diff --git a/dev-python/pytest-cache/pytest-cache-1.0-r3.ebuild b/dev-python/pytest-cache/pytest-cache-1.0-r3.ebuild new file mode 100644 index 000000000000..32f786371d38 --- /dev/null +++ b/dev-python/pytest-cache/pytest-cache-1.0-r3.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="mechanisms for caching across test runs" +HOMEPAGE="https://pypi.org/project/pytest-cache/ + https://bitbucket.org/hpk42/pytest-cache/ + https://pythonhosted.org/pytest-cache/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND="dev-python/execnet[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) + " + +# https://bitbucket.org/hpk42/pytest-cache/issues/12 +RESTRICT=test + +python_test() { + PYTEST_PLUGINS="pytest_cache" py.test -v -v || die +} diff --git a/dev-python/pytest-pep8/pytest-pep8-1.0.6-r2.ebuild b/dev-python/pytest-pep8/pytest-pep8-1.0.6-r2.ebuild new file mode 100644 index 000000000000..141399f020e7 --- /dev/null +++ b/dev-python/pytest-pep8/pytest-pep8-1.0.6-r2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8} pypy3 ) + +DISTUTILS_USE_SETUPTOOLS=rdepend +inherit distutils-r1 + +DESCRIPTION="pytest plugin to check PEP8 requirements" +HOMEPAGE="https://pypi.org/project/pytest-pep8/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/pep8-1.3[${PYTHON_USEDEP}] + >=dev-python/pytest-2.4.2[${PYTHON_USEDEP}] + dev-python/pytest-cache[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/1.0.6-MANIFEST.patch +) + +python_test() { + ${EPYTHON} test_pep8.py || die +} diff --git a/dev-python/pytest-timeout/Manifest b/dev-python/pytest-timeout/Manifest index fa27ed99f7b5..7f13193f8dc5 100644 --- a/dev-python/pytest-timeout/Manifest +++ b/dev-python/pytest-timeout/Manifest @@ -1,2 +1,3 @@ DIST pytest-timeout-1.3.4.tar.gz 12255 BLAKE2B c8991e0255a490048f43e1163d0315cb8fabfaf9d96deb476e2d59da7efce8c63da09b1e8e6f9d6f3fe82b3c6f67608b5e5db117e6378a041ca6e5ba9c71fc05 SHA512 29af25f3c3776d9ef63c6b7217ffc6b0cedd873b8cc96be742a642da84d12c8988bb9b409e00850246e554b21908d6fd2207692650b154cf6831f38c4395bc80 DIST pytest-timeout-1.4.1.tar.gz 13804 BLAKE2B 45e9bdf6eb39e706cac2c9484cd34a9f16096d71d0146251bef9591c35c269043c95e641bed40b25e3d2076fe29a5782363bf9130b331eb04c4e867b1e8f646b SHA512 b62b090365c1cfe1a4d544b5645f828e451ec5229313c50a26ce04ba6cb203ff9ab487c61fb000af342f3d499e11f67aff5f84ff5b00328a129f1f39d4aabf28 +DIST pytest-timeout-1.4.2.tar.gz 15424 BLAKE2B b7ab91833e59af56ae50c066c14bb9b8ae9995d1586f35b29f107665d7da124828d7accc1b0149702f2973c61f18024739c68de736ae8aae6f55e8a10bf5d4ff SHA512 3446ecdb5aaad5fbca12df4e7f4f40c6c1a12895d3ed9f3a3ee24800ce36deed3cb8c09a4cc72220c962b06f821cfd55bf7eebbca23664c56abf2d0e5bc8fbea diff --git a/dev-python/pytest-timeout/pytest-timeout-1.4.2.ebuild b/dev-python/pytest-timeout/pytest-timeout-1.4.2.ebuild new file mode 100644 index 000000000000..516df2f00d54 --- /dev/null +++ b/dev-python/pytest-timeout/pytest-timeout-1.4.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python{2_7,3_{6,7,8,9}} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="py.test plugin to abort hanging tests" +HOMEPAGE="https://pypi.org/project/pytest-timeout/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +# do not rdepend on pytest, it won't be used without it anyway +# pytest-cov used to test compatibility +BDEPEND=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-cov[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +python_test() { + distutils_install_for_testing + + pytest -vv || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/python-fastimport/python-fastimport-0.9.8.ebuild b/dev-python/python-fastimport/python-fastimport-0.9.8.ebuild index 723334075aca..2e4a3c90c52e 100644 --- a/dev-python/python-fastimport/python-fastimport-0.9.8.ebuild +++ b/dev-python/python-fastimport/python-fastimport-0.9.8.ebuild @@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~alpha amd64 arm64 ~ia64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" S="${WORKDIR}/${MY_P}" diff --git a/dev-python/python-language-server/Manifest b/dev-python/python-language-server/Manifest index d4580b44f3f2..6b74797dda2e 100644 --- a/dev-python/python-language-server/Manifest +++ b/dev-python/python-language-server/Manifest @@ -1,2 +1,3 @@ DIST python-language-server-0.31.10.tar.gz 66009 BLAKE2B 9c5de5ab3d3e75273f4039ef11a7a94e14acc2b28a8a1b08fd664d24464e41a3c00b49e6937b8e6479028a382805502c27dfeeccc06d6daf0b848e4809d98058 SHA512 2f922fff1b88c197314816e5d749cd1d1148ce00ab3eeadbefe45a71fd1f521bce386be9494d882a4d1b001a9797a5b31e42c6a4637dd0343eba419b9fccc6e6 DIST python-language-server-0.32.0.tar.gz 67137 BLAKE2B 83611541c36ab70ab16fd3814a198280dfbb878cb8982625855e102bcd76fb605961fccd7efbb099f3f7b4dc7f974f12a5e064170140880eb5b9cd0a71702e9a SHA512 7c4a6de3998f7a09cca18530e0803629924b26eaec4f1a1a4001996c680fcf35195052013f390569b0f79da94000ec86f92e9d68215dff53018080567e28ca0f +DIST python-language-server-0.34.1.tar.gz 70238 BLAKE2B 55ec41875907bb6c09f682c8ce6165e7e2fab5d03c3d4758bcbe658968aeeee7f0316a472efe68ddd87872b0e2d34908c8a7e9528aa5eec6d3359b2565a2cbbc SHA512 12404753f4271ec3606cee535ba8e886037bf0c61cc5c4415358066be837e2248f6393124340551387cba7351dee924b4f5ebc9c4e35b1ab0943067968967a90 diff --git a/dev-python/python-language-server/python-language-server-0.34.1.ebuild b/dev-python/python-language-server/python-language-server-0.34.1.ebuild new file mode 100644 index 000000000000..e3eac548d087 --- /dev/null +++ b/dev-python/python-language-server/python-language-server-0.34.1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_7 ) + +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit eutils distutils-r1 + +DESCRIPTION="An implementation of the Language Server Protocol for Python" +HOMEPAGE="https://github.com/palantir/python-language-server" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="dev-python/versioneer[${PYTHON_USEDEP}]" + +RDEPEND=" + >=dev-python/jedi-0.17.0[${PYTHON_USEDEP}] + <dev-python/jedi-0.18.0[${PYTHON_USEDEP}] + dev-python/pluggy[${PYTHON_USEDEP}] + >=dev-python/python-jsonrpc-server-0.3.2[${PYTHON_USEDEP}] + ~dev-python/ujson-1.35[${PYTHON_USEDEP}] +" + +DEPEND="test? ( + dev-python/autopep8[${PYTHON_USEDEP}] + >=dev-python/flake8-3.8.0[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + >=dev-python/mccabe-0.6.0[${PYTHON_USEDEP}] + <dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + >=dev-python/pycodestyle-2.6.0[${PYTHON_USEDEP}] + <dev-python/pycodestyle-2.7.0[${PYTHON_USEDEP}] + >=dev-python/pydocstyle-2.0.0[${PYTHON_USEDEP}] + dev-python/pyflakes[${PYTHON_USEDEP}] + dev-python/pylint[${PYTHON_USEDEP}] + dev-python/QtPy[testlib,${PYTHON_USEDEP}] + >=dev-python/rope-0.10.5[${PYTHON_USEDEP}] + dev-python/yapf[${PYTHON_USEDEP}] +)" + +distutils_enable_tests pytest + +python_prepare_all() { + # remove pytest-cov dependencie + sed -i -e '16,18d' setup.cfg || die + + distutils-r1_python_prepare_all +} + +pkg_postinst() { + elog "To get additional features, optional runtime dependencies may be installed:" + optfeature "Automatically formats Python code to conform to the PEP 8 style guide" dev-python/autopep8 + optfeature "A wrapper around PyFlakes, pep8 & mccabe" dev-python/flake8 + optfeature "flake8 plugin: McCabe complexity checker" dev-python/mccabe + optfeature "Python style guide checker (fka pep8)" dev-python/pycodestyle + optfeature "Python docstring style checker" dev-python/pydocstyle + optfeature "Passive checker for Python programs" dev-python/pyflakes + optfeature "Python code static checker" dev-python/pylint + optfeature "Python refactoring library" dev-python/rope + optfeature "A formatter for Python files" dev-python/yapf +} diff --git a/dev-python/qdarkstyle/qdarkstyle-2.8.1.ebuild b/dev-python/qdarkstyle/qdarkstyle-2.8.1.ebuild index 9e29ded805c9..2e031c10132c 100644 --- a/dev-python/qdarkstyle/qdarkstyle-2.8.1.ebuild +++ b/dev-python/qdarkstyle/qdarkstyle-2.8.1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_COMPAT=( python3_{6,7,8,9} ) DISTUTILS_USE_SETUPTOOLS=rdepend diff --git a/dev-python/qtsass/qtsass-0.3.0.ebuild b/dev-python/qtsass/qtsass-0.3.0.ebuild index 16dcf1fd7207..55b1d70e7d73 100644 --- a/dev-python/qtsass/qtsass-0.3.0.ebuild +++ b/dev-python/qtsass/qtsass-0.3.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_COMPAT=( python3_{6,7,8,9} ) DISTUTILS_USE_SETUPTOOLS=rdepend diff --git a/dev-python/regex/regex-2020.4.4.ebuild b/dev-python/regex/regex-2020.4.4.ebuild index a65acd2ab661..af9059b06afd 100644 --- a/dev-python/regex/regex-2020.4.4.ebuild +++ b/dev-python/regex/regex-2020.4.4.ebuild @@ -13,7 +13,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 ~mips ppc ppc64 s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86" IUSE="doc" PATCHES=( diff --git a/dev-python/reno/reno-2.11.3.ebuild b/dev-python/reno/reno-2.11.3.ebuild index 627cf75489e2..67a2d6e5d14c 100644 --- a/dev-python/reno/reno-2.11.3.ebuild +++ b/dev-python/reno/reno-2.11.3.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm64 ~ia64 ~ppc64 ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86" IUSE="" BDEPEND=">=dev-python/pbr-1.4[${PYTHON_USEDEP}]" diff --git a/dev-python/requestsexceptions/requestsexceptions-1.4.0.ebuild b/dev-python/requestsexceptions/requestsexceptions-1.4.0.ebuild index 44dacc0e238c..5c3d976f6a4b 100644 --- a/dev-python/requestsexceptions/requestsexceptions-1.4.0.ebuild +++ b/dev-python/requestsexceptions/requestsexceptions-1.4.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 arm64 x86" +KEYWORDS="amd64 ~arm arm64 x86" IUSE="" CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]" diff --git a/dev-python/rope/Manifest b/dev-python/rope/Manifest index fda0302a1dd6..07462bd09e82 100644 --- a/dev-python/rope/Manifest +++ b/dev-python/rope/Manifest @@ -1 +1,2 @@ DIST rope-0.16.0.tar.gz 243304 BLAKE2B 2c41572687ef245eb20abfccebcc9f12ecaa177be313cec59c85be5102b7358566570730a7140f952b0a1c515b479c3d21740d32d4678e65c4c572acf86f4e27 SHA512 33ba57b246337e413126309a521c54e861899b03fd250e148b97d9789cddf6eceab36609ea6e36e84ad1ac514bc3363f4937b01bcb96b6103c2a33bec1d4fb75 +DIST rope-0.17.0.tar.gz 248629 BLAKE2B 7c9276b5f400dfa9661f81d365eac150a124620824d400131d5da7361475e5a2d548c8b53a88e61e7ae6e483a47c8ca4b8ca773235e209e8c6fb47b0088327fd SHA512 c27a17fdf73ed0ae85fe417132acd999452ae88a7b779d84fdf73134094fd34510ae08017dc24ddd7c34cb70353b5a43021229b88819002371790e7717b8ae46 diff --git a/dev-python/rope/rope-0.17.0.ebuild b/dev-python/rope/rope-0.17.0.ebuild new file mode 100644 index 000000000000..c5d96a7c3916 --- /dev/null +++ b/dev-python/rope/rope-0.17.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8} ) + +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 ~x86 ~amd64-linux ~x86-linux" + +IUSE="doc" + +# Dependency for docbuild documentation which is not noted in +# setup.py, using standard docutils builds docs successfully. +DEPEND="doc? ( dev-python/docutils[${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/rsa/rsa-4.2.ebuild b/dev-python/rsa/rsa-4.2.ebuild index 6a29cff3b3be..35c8068c1a04 100644 --- a/dev-python/rsa/rsa-4.2.ebuild +++ b/dev-python/rsa/rsa-4.2.ebuild @@ -18,7 +18,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc64 x86" +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 x86" RDEPEND=" >=dev-python/pyasn1-0.1.3[${PYTHON_USEDEP}] diff --git a/dev-python/scrypt/scrypt-0.8.15.ebuild b/dev-python/scrypt/scrypt-0.8.15.ebuild index 4c30326218fa..bbecfe7218ee 100644 --- a/dev-python/scrypt/scrypt-0.8.15.ebuild +++ b/dev-python/scrypt/scrypt-0.8.15.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="https://github.com/holgern/py-scrypt/" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD-2" -KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~ppc ~ppc64 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~ppc ~ppc64 sparc x86" SLOT="0" IUSE="libressl" diff --git a/dev-python/simplejson/Manifest b/dev-python/simplejson/Manifest index 757caacbbaf5..6572589811d6 100644 --- a/dev-python/simplejson/Manifest +++ b/dev-python/simplejson/Manifest @@ -1 +1,2 @@ DIST simplejson-3.17.0.tar.gz 83119 BLAKE2B 979dbcb5d50aeb55fd1c16daa398ef915ee1f23ca25a84870a3132c265202d1cd253090157cdea179cecc6603618df293a28adeadc795238ec3ccfceda88ea0a SHA512 383ee4fa3b2f378cd83152ba588ffbb620aa0e7cec80d3e3097edfb406a60e96afd6c5302a5b64adb710d3a52479c609873a2db7ab5756d7ca7a51412029e4c6 +DIST simplejson-3.17.2.tar.gz 83210 BLAKE2B 1b9f97a43bfe84f1ad506713d81483ebcd4006d1174558b7a27373f99d014e23ed72a9ec2b2006e64760c61e1e500a4f1ea4547104e7f4c71ba51003df0a5052 SHA512 003b2fbcb3f8e0849bdbd958c78f8b470081d97527bef82306db77940c6734a1cbf3b5dcb0984d2f9c9d14aa525e7865a08e70a10971f8841e138f7ad6476e4a diff --git a/dev-python/simplejson/simplejson-3.17.2.ebuild b/dev-python/simplejson/simplejson-3.17.2.ebuild new file mode 100644 index 000000000000..093a002c8044 --- /dev/null +++ b/dev-python/simplejson/simplejson-3.17.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Simple, fast, extensible JSON encoder/decoder for Python" +HOMEPAGE="https://github.com/simplejson/simplejson https://pypi.org/project/simplejson/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="|| ( MIT AFL-2.1 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" + +DOCS=( README.rst CHANGES.txt ) + +distutils_enable_tests unittest + +python_compile() { + if ! python_is_python3; then + local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" + fi + distutils-r1_python_compile +} diff --git a/dev-python/spyder-kernels/Manifest b/dev-python/spyder-kernels/Manifest index de07f23cd2b5..58b1504d6597 100644 --- a/dev-python/spyder-kernels/Manifest +++ b/dev-python/spyder-kernels/Manifest @@ -1 +1,2 @@ DIST spyder-kernels-1.9.1-gh.tar.gz 71106 BLAKE2B f6ccabb86d0b594c586215ffcd55697aaeca6b038178a4715df206dd77676e75e6e51d1de799d5d5d1e07cd935dc4bcf2c7c7d50417813391ea3b655bfa910b6 SHA512 856931663f7d3e964831e96bce8c3b6ea81596604dc5f53be132a536612c63d98e6b3862d4153c5ea64e6dee5cb1e27156d30b94edd7b7010ba7c6596ed6e5b1 +DIST spyder-kernels-1.9.2-gh.tar.gz 72034 BLAKE2B c6ba0f911ecc7ae000ef57605276cf7a089eeee580d78d0b9ba5b4a667f493754d0956690a8ee14e3e5031cec0407915ee4c8526e815a2226a7d50cc849cb414 SHA512 f7aab11bcfc746d56d67c28162ebadc5d583f0e05a5dda27ec30f5ac37f736c1f8d785371b5080bb19b964087d6c730d5f377c29781b7bd7bee273ec533799d9 diff --git a/dev-python/spyder-kernels/spyder-kernels-1.9.2.ebuild b/dev-python/spyder-kernels/spyder-kernels-1.9.2.ebuild new file mode 100644 index 000000000000..5f51d2e2363b --- /dev/null +++ b/dev-python/spyder-kernels/spyder-kernels-1.9.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_7 ) + +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}-gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/cloudpickle[${PYTHON_USEDEP}] + >=dev-python/ipykernel-5.1.3[${PYTHON_USEDEP}] + >=dev-python/jupyter_client-5.3.4[${PYTHON_USEDEP}] + >=dev-python/pyzmq-17[${PYTHON_USEDEP}] + >=dev-python/wurlitzer-1.0.3[${PYTHON_USEDEP}] +" + +DEPEND="test? ( + dev-python/cython[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + sci-libs/scipy[${PYTHON_USEDEP}] + dev-python/xarray[${PYTHON_USEDEP}] +)" + +distutils_enable_tests pytest + +python_prepare_all() { + # assert False + sed -i -e 's:test_dask_multiprocessing:_&:' \ + spyder_kernels/console/tests/test_console_kernel.py || die + + distutils-r1_python_prepare_all +} diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest index dce04209ea32..ee13c39ed1f1 100644 --- a/dev-python/spyder/Manifest +++ b/dev-python/spyder/Manifest @@ -1,2 +1,4 @@ DIST spyder-4.1.3.tar.gz 11610111 BLAKE2B 5cc25a6a8c6609dcec8e5e0d4beddfa582b2f632a4d1c61ef68e68e82f3cbc2b29694ddc7cdda216e4a8143254e6c1cca1e817a3f72be324671ff0196f3f0842 SHA512 0d0568c500c5b153bcd0073897eaf4e526e62bbc82c4a795683185cdac86f00c24d3b2efaa1f6bcd2f60305e387cda46bb732fbeaf21391e9d80ca4b18787b7e +DIST spyder-4.1.4.tar.gz 11699453 BLAKE2B 208ba4f32fa548ef8478d72c046e70ba43a2fccd2040629af03f7f56c379ebefa1e90594054f15a92aebdd14307d001c68ee5e6d2401a841e408c4af42436c33 SHA512 8a5f63b11648002838e0b4e5427b1c7cf9cbe4a4fd20af7e33e5e789cddaf6393bb7200bfacf8c7af19d723f12d99d2e962a769706b806335f7146ddd6853735 +DIST spyder-docs-0d5afe26b8e28f3eb9f36f4ec3828bf8375c339e.tar.gz 29749238 BLAKE2B 9cf655c2a6fdf84278eaeb2e6f13c92eb4e585f213fd4f164a2707bc3cf8cb8abaaa213c5e781414fb0eecb3cf26b1f1708b394cd1ca12fa353ccbdd33f01dcb SHA512 8ed005cbfc32d7c68cf633790446d5d271f4d38ad190c09b2bcfd3ee96f24af5443d911bcdea90dc6ad94c5dab78437b9db02d0d4a7ceb9afa37a31e4bad24ae DIST spyder-docs-6abac0ce8be017c6ecfb2b451700bf5b0e4c36dd.tar.gz 15821929 BLAKE2B 843510c87dc9ca616a6114159445894d2f4728201a93f424131f2524c8bc833d1b1540740d1e7cf473c4aed501cce775a073a9ee8748fe29b4193c927da70820 SHA512 c9161a7dc4bdef8e9a1ebe84ee7cc01fb9083965b54fc421d006a999ff753485c3d4a615e9646a6be47826663a64dc9af7f442dc2e4c81283c6eb5de55a8a3a9 diff --git a/dev-python/spyder/spyder-4.1.4.ebuild b/dev-python/spyder/spyder-4.1.4.ebuild new file mode 100644 index 000000000000..184855914157 --- /dev/null +++ b/dev-python/spyder/spyder-4.1.4.ebuild @@ -0,0 +1,154 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_7 ) + +inherit eutils xdg distutils-r1 virtualx + +# Commit of documentation to fetch +DOCS_PV="0d5afe26b8e28f3eb9f36f4ec3828bf8375c339e" + +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" + +# Tests succeed, but freezes at the end, installation does not continue +RESTRICT="test" + +RDEPEND=" + >=dev-python/atomicwrites-1.2.0[${PYTHON_USEDEP}] + >=dev-python/chardet-2.0.0[${PYTHON_USEDEP}] + >=dev-python/cloudpickle-0.5.0[${PYTHON_USEDEP}] + >=dev-python/diff-match-patch-20181111[${PYTHON_USEDEP}] + dev-python/intervaltree[${PYTHON_USEDEP}] + >=dev-python/ipython-4.0[${PYTHON_USEDEP}] + ~dev-python/jedi-0.17.1[${PYTHON_USEDEP}] + dev-python/keyring[${PYTHON_USEDEP}] + >=dev-python/nbconvert-4.0[${PYTHON_USEDEP}] + >=dev-python/numpydoc-0.6.0[${PYTHON_USEDEP}] + ~dev-python/parso-0.7.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/pylint-1.0[${PYTHON_USEDEP}] + >=dev-python/python-language-server-0.34.0[${PYTHON_USEDEP}] + <dev-python/python-language-server-1.0.0[${PYTHON_USEDEP}] + >=dev-python/pyxdg-0.26[${PYTHON_USEDEP}] + >=dev-python/pyzmq-17.0.0[${PYTHON_USEDEP}] + >=dev-python/qdarkstyle-2.8[${PYTHON_USEDEP}] + >=dev-python/qtawesome-0.5.7[${PYTHON_USEDEP}] + >=dev-python/qtconsole-4.6.0[${PYTHON_USEDEP}] + >=dev-python/QtPy-1.5.0[${PYTHON_USEDEP},svg,webengine] + >=dev-python/sphinx-0.6.6[${PYTHON_USEDEP}] + >=dev-python/spyder-kernels-1.9.2[${PYTHON_USEDEP}] + <dev-python/spyder-kernels-1.10.0[${PYTHON_USEDEP}] + dev-python/watchdog[${PYTHON_USEDEP}] +" + +DEPEND="test? ( + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/cython[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/matplotlib[tk,${PYTHON_USEDEP}] + dev-python/mock[${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-qt[${PYTHON_USEDEP}] + sci-libs/scipy[${PYTHON_USEDEP}] + dev-python/sympy[${PYTHON_USEDEP}] + dev-python/xarray[${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}-4.1.2-build.patch" + "${FILESDIR}/${PN}-4.1.2-py3-only.patch" +) + +distutils_enable_tests pytest +distutils_enable_sphinx docs/doc --no-autodoc + +python_prepare_all() { + # move docs into workdir + mv ../spyder-docs-${DOCS_PV}* docs || die + + # these deps are packaged separately + rm external-deps/* -r || die + + # some tests still depend on QtPy[webkit] which is removed + # spyder itself works fine without webkit + rm spyder/widgets/tests/test_browser.py || die + rm spyder/plugins/onlinehelp/tests/test_pydocgui.py || die + rm spyder/plugins/ipythonconsole/tests/test_ipythonconsole.py || die + rm spyder/plugins/ipythonconsole/tests/test_ipython_config_dialog.py || die + rm spyder/plugins/help/tests/test_widgets.py || die + rm spyder/plugins/help/tests/test_plugin.py || die + # fails to collect + rm spyder/app/tests/test_mainwindow.py || die + + # skip online test + rm spyder/widgets/github/tests/test_github_backend.py || die + + # AssertionError: assert '' == 'This is some test text!' + sed -i -e 's:test_tab_copies_find_to_replace:_&:' \ + spyder/plugins/editor/widgets/tests/test_editor.py || die + + # RuntimeError: Unsafe load() call disabled by Gentoo. See bug #659348 + sed -i -e 's:test_dependencies_for_binder_in_sync:_&:' \ + spyder/tests/test_dependencies_in_sync.py || die + + # Assertion error, can't connect/remember inside ebuild environment + rm spyder/plugins/ipythonconsole/widgets/tests/test_kernelconnect.py || die + + # Assertion error (pytest-qt), maybe we can't do shortcuts inside ebuild environment? + sed -i -e 's:test_transform_to_uppercase_shortcut:_&:' \ + -e 's:test_transform_to_lowercase_shortcut:_&:' \ + -e 's:test_go_to_line_shortcut:_&:' \ + -e 's:test_delete_line_shortcut:_&:' \ + spyder/plugins/editor/widgets/tests/test_shortcuts.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + virtx pytest -vv +} + +pkg_postinst() { + xdg_pkg_postinst + + elog "To get additional features, optional runtime dependencies may be installed:" + 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" sci-libs/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/sqlalchemy/sqlalchemy-1.3.17.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.3.17.ebuild index 77e3392221d4..5bd22ecd4782 100644 --- a/dev-python/sqlalchemy/sqlalchemy-1.3.17.ebuild +++ b/dev-python/sqlalchemy/sqlalchemy-1.3.17.ebuild @@ -18,7 +18,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" IUSE="examples +sqlite test" REQUIRED_USE="test? ( sqlite )" diff --git a/dev-python/stevedore/stevedore-3.1.0.ebuild b/dev-python/stevedore/stevedore-3.1.0.ebuild index 5a3e7abb647c..9bd342f667de 100644 --- a/dev-python/stevedore/stevedore-3.1.0.ebuild +++ b/dev-python/stevedore/stevedore-3.1.0.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~sparc ~x86" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/subunit/Manifest b/dev-python/subunit/Manifest index 60d5b945c2b6..cfcaf554695e 100644 --- a/dev-python/subunit/Manifest +++ b/dev-python/subunit/Manifest @@ -1,2 +1 @@ -DIST subunit-1.2.0.tar.gz 460532 BLAKE2B 7f8a459afc576efed8fbf271a9d2e175ae9de9dda68acb26322f222ac46f12fee5dece4cb2679fca608ba307a3692aa84b13d0e093606bd89a53c69b2081cd44 SHA512 f6559fd771ad0732985230d11a9a8326ef35c817b62d1f50dc332f0032f7b08559a46d2534983b7d3964e45682ac49b3e348581ee0983861390abcd4ec20459c DIST subunit-1.4.0.tar.gz 488022 BLAKE2B 4c3a714d02eeed9420074c4e032778a69b716a5cad0079193533e9bc8c0f4576d70b165eb413203ce8a916ac28466e9f5a113d4a7746019d7d09409df9860bae SHA512 5d2e3cb96c09067ef4595c86648f13330c810b19e39c0b35bc9546c57bee957ddcf5cad7b8e3f92bda9b54dcdbf175863e2f6ba94020f880230459be7afdbbcf diff --git a/dev-python/subunit/files/1.0.0-tests.patch b/dev-python/subunit/files/1.0.0-tests.patch deleted file mode 100644 index d83a1900cbe1..000000000000 --- a/dev-python/subunit/files/1.0.0-tests.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff -ur subunit-1.0.0.orig/python/subunit/tests/test_run.py subunit-1.0.0/python/subunit/tests/test_run.py ---- python/subunit/tests/test_run.py 2014-11-18 16:59:26.000000000 +0800 -+++ python/subunit/tests/test_run.py 2015-03-26 13:25:19.193341069 +0800 -@@ -77,21 +77,6 @@ - exc = self.assertRaises(SystemExit, runner.list, None, loader=loader) - self.assertEqual((2,), exc.args) - -- class FailingTest(TestCase): -- def test_fail(self): -- 1/0 -- -- def test_exits_zero_when_tests_fail(self): -- bytestream = io.BytesIO() -- stream = io.TextIOWrapper(bytestream, encoding="utf8") -- try: -- self.assertEqual(None, run.main( -- argv=["progName", "subunit.tests.test_run.TestSubunitTestRunner.FailingTest"], -- stdout=stream)) -- except SystemExit: -- self.fail("SystemExit raised") -- self.assertThat(bytestream.getvalue(), StartsWith(_b('\xb3'))) -- - class ExitingTest(TestCase): - def test_exit(self): - raise SystemExit(0) diff --git a/dev-python/subunit/subunit-1.2.0-r1.ebuild b/dev-python/subunit/subunit-1.2.0-r1.ebuild deleted file mode 100644 index 69fe77e2dca1..000000000000 --- a/dev-python/subunit/subunit-1.2.0-r1.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) - -inherit distutils-r1 eutils ltprune multilib-minimal versionator - -DESCRIPTION="A streaming protocol for test results" -HOMEPAGE="https://launchpad.net/subunit https://pypi.org/project/python-subunit/" -SRC_URI="https://launchpad.net/${PN}/trunk/$(get_version_component_range 1-2)/+download/${P}.tar.gz" - -LICENSE="Apache-2.0 BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86" -IUSE="static-libs test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] - dev-python/extras[${PYTHON_USEDEP}] - dev-lang/perl:=" - -DEPEND=" - ${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-libs/check-0.9.11[${MULTILIB_USEDEP}] - >=dev-util/cppunit-1.13.2[${MULTILIB_USEDEP}] - virtual/pkgconfig - test? ( - dev-python/fixtures[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/testscenarios[${PYTHON_USEDEP}] - )" - -# Take out rogue & trivial failing tests that exit the suite before it even gets started -# The removed class in fact works fine in py3 and fails with py2.7 & pupu -# The setu to restrict this patch is just those 2 is not worth it. -PATCHES=( "${FILESDIR}"/1.0.0-tests.patch ) - -src_prepare() { - sed -i -e 's/os.chdir(os.path.dirname(__file__))//' setup.py || die - - # Install perl modules in vendor_perl, bug 534654. - export INSTALLDIRS=vendor - - # needed for perl modules - distutils-r1_src_prepare - multilib_copy_sources -} - -multilib_src_configure() { - ECONF_SOURCE=${S} \ - econf \ - --enable-shared \ - $(use_enable static-libs static) -} - -multilib_src_compile() { - default - multilib_is_native_abi && distutils-r1_src_compile -} - -python_test() { - local -x PATH="${PWD}/shell/share:${PATH}" - local -x PYTHONPATH=python - # Following tests are known to fail in py2.7 & pypy. They pass under py3. - # DO NOT re-file - # test_add_error test_add_error_details test_add_expected_failure - # test_add_expected_failure_details test_add_failure test_add_failure - # https://bugs.launchpad.net/subunit/+bug/1436686 - - "${PYTHON}" -m testtools.run all_tests.test_suite || die "Testing failed with ${EPYTHON}" -} - -multilib_src_test() { - multilib_is_native_abi && distutils-r1_src_test -} - -multilib_src_install() { - local targets=( - install-include_subunitHEADERS - install-pcdataDATA - install-exec-local - install-libLTLIBRARIES - ) - emake DESTDIR="${D}" "${targets[@]}" - - multilib_is_native_abi && distutils-r1_src_install -} - -multilib_src_install_all() { - einstalldocs - prune_libtool_files -} diff --git a/dev-python/subunit/subunit-1.4.0.ebuild b/dev-python/subunit/subunit-1.4.0.ebuild index fdb92b5f6639..0719cf5c65f3 100644 --- a/dev-python/subunit/subunit-1.4.0.ebuild +++ b/dev-python/subunit/subunit-1.4.0.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz" LICENSE="Apache-2.0 BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86" IUSE="static-libs test" RESTRICT="!test? ( test )" diff --git a/dev-python/sure/sure-1.4.11.ebuild b/dev-python/sure/sure-1.4.11.ebuild index f79fe08909d9..9476b51123a7 100644 --- a/dev-python/sure/sure-1.4.11.ebuild +++ b/dev-python/sure/sure-1.4.11.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="GPL-3+" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" +KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index 2339bf7e4c4c..86bc8e698dc2 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -2,3 +2,4 @@ DIST tox-3.15.0.tar.gz 291890 BLAKE2B 9c42c587332eafcfd02d2d8a42588af6253baf9f62 DIST tox-3.15.2.tar.gz 293523 BLAKE2B a1a1c84a987d2b2e5194321405775ee3828b8e2c8dcd38c7e780a9d508b789a42f1880cffcecd68c50dfdc37008a4e9a117660fa2c732864c82af6c2eaf5a99e SHA512 9448554452c79039289d2d2c05c974f451647329701372c3e4b154a0161fa768245c0068cd5e3f1221b4b51a07be806f7c66ab9d4ef83a3e8e5964e18b9cde85 DIST tox-3.16.1.tar.gz 294080 BLAKE2B 692ef3f498f78f239ecbb3f9ac5745462430a96bb67df7a732e5c5756d1b579c4ee8582d528d5eafddc7b19905057c01514cccaa42d7c1a442ac24cd531a656f SHA512 83fefc4b82fb33adbf2ece9a6fd6ffaf27771ac6076af5d2939dcbf68f1dd88b8edd0a105b0ec86dc7ee37b127d27ed46748af61423811c7435d0093d2e8e1eb DIST tox-3.17.0.tar.gz 294481 BLAKE2B a4fe4c94616d003f348b2c4a58276a93887f479a3727fac3734f998071a03cd3c8da2e3b1c3bc27f0695b9d596c6d966e6c591506ce1b6ebbb5b0826c3dc20b7 SHA512 0a04b1fde7a8f7eaa24823bba59dc25c3bc48c7159866f85131bb55c0adb61d21e8c5bf88598fbbd09de58bdc51cd740d256802549e3566565af400ef7e1e95e +DIST tox-3.17.1.tar.gz 294492 BLAKE2B 1a2ed9a26ad366a1ae7343289b45a338a8d2a58c1b6df2aaf716a2e8bbcc1cbc797c70fb51665411cf1bb69243aa8415f7fb7c82d78afb2ffb7117e4ae75edad SHA512 b084d4552609c90d006573dc95d46d0b27cf53c40a54465040e3c625b5d33eb19f95f3fa488439f11029e30ca414ce4e9ed6793a44072023826bc1f4398aaeeb diff --git a/dev-python/tox/tox-3.17.1.ebuild b/dev-python/tox/tox-3.17.1.ebuild new file mode 100644 index 000000000000..499658c518d4 --- /dev/null +++ b/dev-python/tox/tox-3.17.1.ebuild @@ -0,0 +1,70 @@ +# 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..9} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="virtualenv-based automation of test activities" +HOMEPAGE="https://tox.readthedocs.io https://github.com/tox-dev/tox https://pypi.org/project/tox/" +SRC_URI="https://github.com/tox-dev/tox/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +# doc disabled because of missing deps in tree +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/filelock[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/importlib_metadata-1.1[${PYTHON_USEDEP}] + ' python3_{5,6,7} pypy3) + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pluggy-0.12[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/py[${PYTHON_USEDEP}] + >=dev-python/six-1.14[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}] + >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]" +# TODO: figure out how to make tests work without the package being +# installed first. +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + >=dev-python/flaky-3.4.0[${PYTHON_USEDEP}] + >=dev-python/freezegun-0.3.11[${PYTHON_USEDEP}] + dev-python/pathlib2[${PYTHON_USEDEP}] + >=dev-python/pytest-4.0.0[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + =dev-python/tox-${PV}-${PR}[${PYTHON_USEDEP}] + )" + +src_prepare() { + distutils-r1_src_prepare + + # broken without internet + sed -i -e 's:test_provision_non_canonical_dep:_&:' \ + tests/unit/session/test_provision.py || die + sed -i -e 's:test_provision_interrupt_child:_&:' \ + tests/integration/test_provision_int.py || die + # broken with our mock version (?) + sed -i -e 's:test_create_KeyboardInterrupt:_&:' \ + tests/unit/test_venv.py || die + # broken with Gentoo Python layout + sed -i -e 's:test_tox_get_python_executable:_&:' \ + -e 's:test_find_alias_on_path:_&:' \ + tests/unit/interpreters/test_interpreters.py || die + + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +} + +python_test() { + distutils_install_for_testing + pytest -vv --no-network || die "Testsuite failed under ${EPYTHON}" +} diff --git a/dev-python/tqdm/Manifest b/dev-python/tqdm/Manifest index 0a8f549d0894..4d04dae94ba5 100644 --- a/dev-python/tqdm/Manifest +++ b/dev-python/tqdm/Manifest @@ -1,3 +1,4 @@ DIST tqdm-4.40.0.tar.gz 129225 BLAKE2B 85030c11bdba6c1d6da461e3c648bae6ae173577fb18986e3153badd73a28352f807782759aa52ed082d7ee0c13dc5f850c1da563ee5892f6bf5e8f49c48c7ee SHA512 1c326d98130c79f614cea502723e4202baa57b7b4639e208133cb464785e4a8d4eaa9d262ea484246d45e5eb8f21994e7ecf3fd6ef0f4966f9049fc8013d7442 DIST tqdm-4.45.0.tar.gz 140990 BLAKE2B 8699b3a820859406e9bbafaaa48ba1b418e3083898d2b6c3401078996dd03431db259d5ad8a377226a50b80513ef0fc55bdaf2b67fc4a2bdd490bc5fdc04d681 SHA512 7b35f86205c6581ede9bdb0788e7f55be525c3f0f77952803046661c6a7a6cd3c15ed0323376ecedb5cddace1b32a41fee1932033dcaa49f9096dc3b9b674f10 DIST tqdm-4.47.0.tar.gz 145749 BLAKE2B 77a5efec763a8e58e071ee571077ee0db72d9243308592519ecd2c38f60d6b621fd7362dd87bdd0759a39f25c19cc3cc889e9a8376dc658ed565ca7e19fc68cd SHA512 4023988cef757f43a6f59f7eddc8f40246cbca4994cea91dbb4a788385c0706f376f4c0fd5c8c47146c10eb8c52be2c9d4855b7bea0a5036162c55447aac95d7 +DIST tqdm-4.48.0.tar.gz 148578 BLAKE2B 95ce438cc14cad5a4ad7b9b2b89b38d5a5c49e27a4ed797ae1a05d7eb3d9539dfaaee72f6330cd5f3f18721ca4259c5ee3f643ae8dd509f1e2261566ee9c3f02 SHA512 9c23b103603c5f56f9cc84d04e68950a0e6431cf40db856918f6e2f21aea61fafbbf466eff6d80fc14c40bb2a11dd0be80e801c55adbab02762c36ce9bed31a9 diff --git a/dev-python/tqdm/tqdm-4.48.0.ebuild b/dev-python/tqdm/tqdm-4.48.0.ebuild new file mode 100644 index 000000000000..563276f5d141 --- /dev/null +++ b/dev-python/tqdm/tqdm-4.48.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( pypy3 python{2_7,3_{6,7,8,9}} ) + +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 ~sparc ~x86" +fi + +DESCRIPTION="Add a progress meter to your loops in a second" +HOMEPAGE="https://github.com/tqdm/tqdm" + +LICENSE="MIT" +SLOT="0" +IUSE="examples" + +distutils_enable_tests nose + +python_prepare_all() { + sed -r \ + -e "s:'nose'(,[[:space:]]*|)::" \ + -e "s:'flake8'(,[[:space:]]*|)::" \ + -e "s:'coverage'(,[[:space:]]*|)::" \ + -i setup.py + + distutils-r1_python_prepare_all +} + +python_test() { + # tests_main.py requires the package to be installed + distutils_install_for_testing + # Skip unpredictable performance tests + nosetests tqdm -v --ignore 'tests_perf.py' \ + || die "tests failed with ${EPYTHON}" +} + +python_install() { + doman "${BUILD_DIR}"/lib/tqdm/tqdm.1 + rm "${BUILD_DIR}"/lib/tqdm/tqdm.1 || die + distutils-r1_python_install --skip-build +} + +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/ujson/ujson-1.35-r1.ebuild b/dev-python/ujson/ujson-1.35-r1.ebuild index 4a266318bd20..e2968cdabfaa 100644 --- a/dev-python/ujson/ujson-1.35-r1.ebuild +++ b/dev-python/ujson/ujson-1.35-r1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) +PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) inherit distutils-r1 diff --git a/dev-python/virtualenv/Manifest b/dev-python/virtualenv/Manifest index b78e3181d6a7..b3b81c3a197c 100644 --- a/dev-python/virtualenv/Manifest +++ b/dev-python/virtualenv/Manifest @@ -3,3 +3,4 @@ DIST virtualenv-16.7.10.tar.gz 5116776 BLAKE2B 42f0a4b4330850b504f8febd991ef6ecd DIST virtualenv-16.7.9.tar.gz 5116740 BLAKE2B 10b77c4d74d3b1be60d567caf60b48274893777313d7151350df1d8a7d86d7cbd299c6c04734cbad134512e2ea05f5bc694648b6e9307019ffd9b91f7d0cdaf5 SHA512 d7379941e299c44beba30eaab68d5f1a6650f767b24f95d5e8abd05c1529dca4c1423113a41ff42690bb2b2bd4fe05c3e47a8fed4f9df0972188f6c77034436b DIST virtualenv-20.0.23.tar.gz 8038565 BLAKE2B e11a7e36c33848fc9c8ad12fed369e6804c11a89e11cb66ff105b4e4e5758dcab15809932f88d9ddbc229d1bb862d29dead9ff2e4da655603e627887a1a2cd1d SHA512 01a56564ac09abca25cd163e7b425d8dbf1f57d6771b57e1f5fe4182f86197009e7ebdcb6f4a8640c8b8f0cdfcfdcd843f7be33848c66b0b5877cc7a8fe6ee0e DIST virtualenv-20.0.26.tar.gz 8264088 BLAKE2B 0d5bfbae10fa7de73ec3766863415a5a8f6680b168ef4ef25984b91a9291645189b987bfc63b96897b6f421fd692b4a388eee7a36995b0b65fe52d3019813da4 SHA512 d81fa8f25b7752fbb76494cea62f76d5f40e1397853ef71c1eb8078ffe8748fb365f275cc34ef04f64a001e3300a6f26f872542f68c047bee1eeb74cd49180a7 +DIST virtualenv-20.0.27.tar.gz 8265353 BLAKE2B 31e0a5fa11d988b5340b130615dc5095a61321393fdc4f72fd88e70d88bc7922c2f8f289b995fb623d2fe900a7da8f012433d4a7bb2ecd7ab53810865e05ea2b SHA512 812a17d1461c8e62568f345aba0722204dd22d0d149720d00e37712a34a9d2d614e1b854f07d7e89e1eb6e915ca3f90e8e81fb9c2442ed637efdc6b2120153d7 diff --git a/dev-python/virtualenv/virtualenv-20.0.27.ebuild b/dev-python/virtualenv/virtualenv-20.0.27.ebuild new file mode 100644 index 000000000000..a8a3d84852f0 --- /dev/null +++ b/dev-python/virtualenv/virtualenv-20.0.27.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_{6..9}} pypy3 ) +DISTUTILS_USE_SETUPTOOLS=manual + +inherit distutils-r1 + +DESCRIPTION="Virtual Python Environment builder" +HOMEPAGE=" + https://virtualenv.pypa.io/en/stable/ + https://pypi.org/project/virtualenv/ + https://github.com/pypa/virtualenv/ +" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/appdirs-1.4.3[${PYTHON_USEDEP}] + >=dev-python/distlib-0.3.1[${PYTHON_USEDEP}] + >=dev-python/filelock-3[${PYTHON_USEDEP}] + >=dev-python/setuptools-41[${PYTHON_USEDEP}] + >=dev-python/six-1.9.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/contextlib2-0.6.0[${PYTHON_USEDEP}] + >=dev-python/pathlib2-2.3.3[${PYTHON_USEDEP}] + ' -2) + $(python_gen_cond_dep ' + >=dev-python/importlib_metadata-0.12[${PYTHON_USEDEP}] + ' -2 python3_{6,7} pypy3) + $(python_gen_cond_dep ' + >=dev-python/importlib_resources-1.0[${PYTHON_USEDEP}] + ' -2 python3_6 pypy3)" +# coverage is used somehow magically in virtualenv, maybe it actually +# tests something useful +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + $(python_gen_cond_dep ' + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + >=dev-python/pip-20.0.2[${PYTHON_USEDEP}] + >=dev-python/pytest-5[${PYTHON_USEDEP}] + >=dev-python/pytest-freezegun-0.4.1[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-2.0.0[${PYTHON_USEDEP}] + >=dev-python/pytest-timeout-1.3.4[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + >=dev-python/packaging-20.0[${PYTHON_USEDEP}] + ' 'python3*') + )" + +distutils_enable_sphinx docs \ + dev-python/sphinx_rtd_theme \ + dev-python/towncrier + +src_prepare() { + # we don't have xonsh + rm tests/unit/activation/test_xonsh.py || die + # require internet + sed -e 's:test_seed_link_via_app_data:_&:' \ + -i tests/unit/seed/embed/test_boostrap_link_via_app_data.py || die + # TODO: investigate + sed -e 's:test_cross_major:_&:' \ + -i tests/unit/create/test_creator.py || die + + distutils-r1_src_prepare +} + +src_configure() { + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +} + +python_test() { + # TODO: fix/skip with more granularity tests on pypy3 + if has "${EPYTHON}" pypy3 python2.7; then + einfo "Skipping broken tests on pypy3" + continue + fi + + distutils_install_for_testing + + pytest -vv || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/werkzeug/Manifest b/dev-python/werkzeug/Manifest index 9c0ea1db5136..27e0e72d79b1 100644 --- a/dev-python/werkzeug/Manifest +++ b/dev-python/werkzeug/Manifest @@ -1,3 +1 @@ -DIST werkzeug-0.16.0.gh.tar.gz 939220 BLAKE2B 08f77bfbb8703b25be00dba018e9aea16cb4a6977ff3906f636fe24b4e16662f7777584839c8e153532f32a0551281a6fb28bf618da5d5e6c42cdc6e8b391162 SHA512 78e7d2ccceb8764f92a3252b2ff670065a42fe2ad1d2b4631e05c107d2128f8f6f4090e32bd975526e4b5985dbbdbac22e9ad1514d14e88ecfb064483107d0ed -DIST werkzeug-0.16.1.gh.tar.gz 937876 BLAKE2B e5f962e9cab4a06a6f2d63ac35df896ed764377b458ccdc744800ffa5d2d456a836f0a7c4aef08b750b95904e955ce3b0241102d48bd28080e91fe29823e789e SHA512 52611b2e22b8af6b643471ca1df6e6f262067ef8882363768f21d9b0ee837aedd192c358a3a41788b2036d6c6cc0156043f1f5b8f6a04b2a701790b66837a62e DIST werkzeug-1.0.1.gh.tar.gz 907482 BLAKE2B d2dcdce8b1bcbb177b52b0915f2c0ac17d235dee3c77b23e81e4b35412d1f53a194d3c7c7f2a5c065ade99797effe72cc464cf6980b12c761a8a919338021660 SHA512 ba82120fb3e96e3a1334c6452d5ba1950fc016d2d147d643bbc2168ccec496f1dea799982ae8c578167155082c0bdbda5d56a23f64b4b6865f97e90e22df022e diff --git a/dev-python/werkzeug/werkzeug-0.16.0.ebuild b/dev-python/werkzeug/werkzeug-0.16.0.ebuild deleted file mode 100644 index 8ce039d58df4..000000000000 --- a/dev-python/werkzeug/werkzeug-0.16.0.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) - -inherit distutils-r1 - -MY_PN="Werkzeug" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Collection of various utilities for WSGI applications" -HOMEPAGE="https://werkzeug.pocoo.org/ https://pypi.org/project/Werkzeug/ https://github.com/pallets/werkzeug" -#SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" -SRC_URI="https://github.com/pallets/werkzeug/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" - -RDEPEND="dev-python/simplejson[${PYTHON_USEDEP}]" -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/requests[${PYTHON_USEDEP}] - dev-python/pytest-xprocess[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -python_test() { - # dev_server seems to be broken with PyPy - # https://github.com/pallets/werkzeug/issues/1668 - # TODO: exclude only failing tests - [[ ${EPYTHON} == pypy ]] && continue - - pytest -vv -p no:httpbin || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/werkzeug/werkzeug-0.16.1.ebuild b/dev-python/werkzeug/werkzeug-0.16.1.ebuild deleted file mode 100644 index 2502d543726f..000000000000 --- a/dev-python/werkzeug/werkzeug-0.16.1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) - -inherit distutils-r1 - -MY_PN="Werkzeug" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Collection of various utilities for WSGI applications" -HOMEPAGE="https://werkzeug.pocoo.org/ https://pypi.org/project/Werkzeug/ https://github.com/pallets/werkzeug" -#SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" -SRC_URI="https://github.com/pallets/werkzeug/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" - -RDEPEND="dev-python/simplejson[${PYTHON_USEDEP}]" -DEPEND=" - test? ( - dev-python/requests[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/pytest-xprocess[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -python_test() { - pytest -vv -p no:httpbin || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/werkzeug/werkzeug-1.0.1.ebuild b/dev-python/werkzeug/werkzeug-1.0.1.ebuild index fc938acdce29..82c11ed7e8cb 100644 --- a/dev-python/werkzeug/werkzeug-1.0.1.ebuild +++ b/dev-python/werkzeug/werkzeug-1.0.1.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://github.com/pallets/werkzeug/archive/${PV}.tar.gz -> ${P}.gh.tar LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" RDEPEND="dev-python/simplejson[${PYTHON_USEDEP}]" DEPEND=" diff --git a/dev-python/wurlitzer/Manifest b/dev-python/wurlitzer/Manifest index 03996c2f8cd9..ff37e88f7be0 100644 --- a/dev-python/wurlitzer/Manifest +++ b/dev-python/wurlitzer/Manifest @@ -1 +1,2 @@ DIST wurlitzer-2.0.0.tar.gz 10203 BLAKE2B 526f1fa1cf2f257c126a4f2c67b27b373b23e113552e72372029ab69a6b629d9453c39feac083c1376e3996a44af8ad823d1ca119515b420d9fefbbf326da38e SHA512 5cafdf84e47e6d18074f6ed3af6bab2eaa1f5cfd3d658ea02a49d387127e9a9101de05c864480af42f5a7650cc47e0a218e822912a4ba3ef826e71206dd2f3e9 +DIST wurlitzer-2.0.1.tar.gz 10638 BLAKE2B e5350a3920ae072f93a0043ec368766d8e190558b3e897e68b272b06d0d6ff7907f2aeecfd41a99b54804a596ad9f7d7062995a5c465724a2b87419ee801daa3 SHA512 06f67b666c2a364b5ee497fa2f0ab8640aeb2953b678e35b13e1558ab29bc5554f479731f9942d8f033275f5151bb9f86408e0f04b1120bae0f29b27649d783c diff --git a/dev-python/wurlitzer/wurlitzer-2.0.1.ebuild b/dev-python/wurlitzer/wurlitzer-2.0.1.ebuild new file mode 100644 index 000000000000..f920b819d1d0 --- /dev/null +++ b/dev-python/wurlitzer/wurlitzer-2.0.1.ebuild @@ -0,0 +1,24 @@ +# 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} ) + +inherit distutils-r1 + +DESCRIPTION="Capture C-level stdout/stderr in Python" +HOMEPAGE="https://github.com/minrk/wurlitzer https://pypi.org/project/wurlitzer" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +python_test() { + pytest -vv test.py || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/xmlschema/metadata.xml b/dev-python/xmlschema/metadata.xml index 50567d15b867..20429c3d3fc5 100644 --- a/dev-python/xmlschema/metadata.xml +++ b/dev-python/xmlschema/metadata.xml @@ -4,5 +4,6 @@ <maintainer type="project"> <email>python@gentoo.org</email> </maintainer> + <stabilize-allarches/> <origin>gentoo-staging</origin> </pkgmetadata> diff --git a/dev-python/xmlschema/xmlschema-1.2.0.ebuild b/dev-python/xmlschema/xmlschema-1.2.0.ebuild index c1cf342a10c8..41b1690b4c7a 100644 --- a/dev-python/xmlschema/xmlschema-1.2.0.ebuild +++ b/dev-python/xmlschema/xmlschema-1.2.0.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~ppc ~ppc64 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86" IUSE="test" RESTRICT="!test? ( test )" |
