From f0f407150b4be5952bfb3501d1368b9e371b216e Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Mon, 31 Jan 2022 13:43:08 +0000 Subject: Adding metadata --- dev-python/cachecontrol/Manifest | 1 + .../cachecontrol/cachecontrol-0.12.10.ebuild | 36 +++++ dev-python/cachecontrol/metadata.xml | 13 ++ dev-python/charset_normalizer/Manifest | 1 + .../charset_normalizer-2.0.11.ebuild | 33 +++++ dev-python/cheroot/cheroot-8.6.0.ebuild | 2 +- dev-python/flit_core/flit_core-3.5.1-r1.ebuild | 2 +- dev-python/flit_core/flit_core-3.6.0-r1.ebuild | 2 +- dev-python/flit_core/flit_core-3.6.0-r2.ebuild | 2 +- dev-python/fonttools/fonttools-4.29.0.ebuild | 8 +- dev-python/humanize/Manifest | 1 + dev-python/humanize/humanize-3.14.0.ebuild | 24 ++++ .../installer/installer-0.4.0_p20220124.ebuild | 2 +- dev-python/ipython/ipython-8.0.1.ebuild | 6 +- dev-python/isort/isort-5.10.1.ebuild | 2 + .../jaraco-collections-3.5.1.ebuild | 2 +- dev-python/liblarch/liblarch-3.1.0-r1.ebuild | 4 +- dev-python/natsort/Manifest | 1 + dev-python/natsort/natsort-8.1.0.ebuild | 29 +++++ dev-python/pandas/pandas-1.4.0.ebuild | 9 +- dev-python/pillow/pillow-9.0.0-r1.ebuild | 6 +- dev-python/pip/Manifest | 1 + dev-python/pip/pip-21.3.1-r1.ebuild | 2 + dev-python/pip/pip-22.0.1.ebuild | 145 +++++++++++++++++++++ dev-python/pycryptodome/Manifest | 1 + dev-python/pycryptodome/pycryptodome-3.14.0.ebuild | 46 +++++++ dev-python/pygresql/Manifest | 1 + dev-python/pygresql/pygresql-5.2.3.ebuild | 54 ++++++++ dev-python/pylibmc/pylibmc-1.6.1-r2.ebuild | 2 +- dev-python/pymssql/Manifest | 1 - dev-python/pymssql/pymssql-2.2.1.ebuild | 38 ------ dev-python/pypiserver/pypiserver-1.4.2.ebuild | 4 +- .../pypy3-exe-bin/pypy3-exe-bin-7.3.8_rc1.ebuild | 2 +- .../pytest-services/pytest-services-2.2.1.ebuild | 4 +- dev-python/python-lsp-black/Manifest | 1 + .../python-lsp-black/python-lsp-black-1.1.0.ebuild | 25 ++++ dev-python/sphobjinv/Manifest | 1 + dev-python/sphobjinv/sphobjinv-2.2.ebuild | 50 +++++++ .../tikzplotlib/tikzplotlib-0.9.17-r1.ebuild | 4 +- 39 files changed, 508 insertions(+), 60 deletions(-) create mode 100644 dev-python/cachecontrol/Manifest create mode 100644 dev-python/cachecontrol/cachecontrol-0.12.10.ebuild create mode 100644 dev-python/cachecontrol/metadata.xml create mode 100644 dev-python/charset_normalizer/charset_normalizer-2.0.11.ebuild create mode 100644 dev-python/humanize/humanize-3.14.0.ebuild create mode 100644 dev-python/natsort/natsort-8.1.0.ebuild create mode 100644 dev-python/pip/pip-22.0.1.ebuild create mode 100644 dev-python/pycryptodome/pycryptodome-3.14.0.ebuild create mode 100644 dev-python/pygresql/pygresql-5.2.3.ebuild delete mode 100644 dev-python/pymssql/pymssql-2.2.1.ebuild create mode 100644 dev-python/python-lsp-black/python-lsp-black-1.1.0.ebuild create mode 100644 dev-python/sphobjinv/sphobjinv-2.2.ebuild (limited to 'dev-python') diff --git a/dev-python/cachecontrol/Manifest b/dev-python/cachecontrol/Manifest new file mode 100644 index 000000000000..fb7a8d106e67 --- /dev/null +++ b/dev-python/cachecontrol/Manifest @@ -0,0 +1 @@ +DIST cachecontrol-0.12.10.gh.tar.gz 39944 BLAKE2B a760db75384a48a21506d7bcc9edc63dd5b8f7b09ba4ff7afb968c7df3a505a9c6e5eece6e275ec1c9d49763a36124f7221123739fe07695ac2b0bbfb62e948c SHA512 3374a2b0cd42d6f3975b42de46e7aaf92a15403b65aaf53ba14102d6ce68bad85dc4d8f0eaa294604b54ee3e2b1d7d3c56c1dac8e717de41cc7be6d880afc1e7 diff --git a/dev-python/cachecontrol/cachecontrol-0.12.10.ebuild b/dev-python/cachecontrol/cachecontrol-0.12.10.ebuild new file mode 100644 index 000000000000..92ee7b252e1d --- /dev/null +++ b/dev-python/cachecontrol/cachecontrol-0.12.10.ebuild @@ -0,0 +1,36 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="httplib2 caching for requests" +HOMEPAGE=" + https://pypi.org/project/CacheControl/ + https://github.com/ionrock/cachecontrol/ +" +SRC_URI=" + https://github.com/ionrock/cachecontrol/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/msgpack-0.5.2[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/cherrypy[${PYTHON_USEDEP}] + dev-python/lockfile[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/cachecontrol/metadata.xml b/dev-python/cachecontrol/metadata.xml new file mode 100644 index 000000000000..3707b6ffcbe8 --- /dev/null +++ b/dev-python/cachecontrol/metadata.xml @@ -0,0 +1,13 @@ + + + + + python@gentoo.org + Python + + + CacheControl + + gentoo-staging + + \ No newline at end of file diff --git a/dev-python/charset_normalizer/Manifest b/dev-python/charset_normalizer/Manifest index 0914f183bf25..53fbe23ae995 100644 --- a/dev-python/charset_normalizer/Manifest +++ b/dev-python/charset_normalizer/Manifest @@ -1,2 +1,3 @@ DIST charset_normalizer-2.0.10.gh.tar.gz 82368 BLAKE2B 935af7625c138f8751de60c4179ee6b0195e99366c7bbecd8e9dfdf09ea557e2eb7cb86830321f91b3b7aa3fc1b3cc376266a4c22d23aabc6dfa6b9db57beb45 SHA512 87c8cbadef8c57121f0f6e2ea9558a9d2124dc444789dd984beadae020349a4e48a484e8937399f0e99f8c87edc621d55d26a9f22fa738e468e70ed17564d7ae +DIST charset_normalizer-2.0.11.gh.tar.gz 83221 BLAKE2B 3342c56b9e66c64e80ec8a29d9b416e8d11c0c57800f40dcbdb9105ae11c1e838682e178d46b2b604b29afa61aabf0b9c3f9db3063998542f03f1c379a64b7f8 SHA512 1026302a412263ce0fc1b2f3c1a32f27b060cdcabe49f4567a5641e4f58a5375813d5d668e96b37af1a982b2d2c6e437ae229706704196a211ba14dfdc7c9ea0 DIST charset_normalizer-2.0.9.gh.tar.gz 79757 BLAKE2B 9e4b3f65689791739f6b7509bcf9cce8f0a9c536251452b1130aa4476fa218c11087db719d8273087884a9e96b9daf32599d1386e95bda42ca31600b0b37299e SHA512 0957752c1083897193fbdfbeec453a2b279b0834c0074f9f1ae08faac51d3e281eeb0a6d8fb217885101fd04761296555364a9f957e89bf8103fdc569d249056 diff --git a/dev-python/charset_normalizer/charset_normalizer-2.0.11.ebuild b/dev-python/charset_normalizer/charset_normalizer-2.0.11.ebuild new file mode 100644 index 000000000000..274f4669eff6 --- /dev/null +++ b/dev-python/charset_normalizer/charset_normalizer-2.0.11.ebuild @@ -0,0 +1,33 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 7 -- sys-apps/portage dep +EAPI=7 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="The Real First Universal Charset Detector" +HOMEPAGE=" + https://pypi.org/project/charset-normalizer/ + https://github.com/Ousret/charset_normalizer/" +SRC_URI=" + https://github.com/Ousret/charset_normalizer/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" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/addopts/d' setup.cfg || die + distutils-r1_src_prepare +} + +python_test() { + # pytest-httpx interferes with logging tests + epytest -p no:httpx +} diff --git a/dev-python/cheroot/cheroot-8.6.0.ebuild b/dev-python/cheroot/cheroot-8.6.0.ebuild index 4a96fb778c63..a8977b5c96a8 100644 --- a/dev-python/cheroot/cheroot-8.6.0.ebuild +++ b/dev-python/cheroot/cheroot-8.6.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 DESCRIPTION="High-performance, pure-Python HTTP server used by CherryPy" diff --git a/dev-python/flit_core/flit_core-3.5.1-r1.ebuild b/dev-python/flit_core/flit_core-3.5.1-r1.ebuild index db0f7089333c..ae35516ce8eb 100644 --- a/dev-python/flit_core/flit_core-3.5.1-r1.ebuild +++ b/dev-python/flit_core/flit_core-3.5.1-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86" +KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND=" dev-python/tomli[${PYTHON_USEDEP}] diff --git a/dev-python/flit_core/flit_core-3.6.0-r1.ebuild b/dev-python/flit_core/flit_core-3.6.0-r1.ebuild index 9fcab03f7791..5f9289c0059d 100644 --- a/dev-python/flit_core/flit_core-3.6.0-r1.ebuild +++ b/dev-python/flit_core/flit_core-3.6.0-r1.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND=" dev-python/tomli[${PYTHON_USEDEP}] diff --git a/dev-python/flit_core/flit_core-3.6.0-r2.ebuild b/dev-python/flit_core/flit_core-3.6.0-r2.ebuild index 2f9afce8e9bc..54f37b45ca74 100644 --- a/dev-python/flit_core/flit_core-3.6.0-r2.ebuild +++ b/dev-python/flit_core/flit_core-3.6.0-r2.ebuild @@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND=" dev-python/tomli[${PYTHON_USEDEP}] diff --git a/dev-python/fonttools/fonttools-4.29.0.ebuild b/dev-python/fonttools/fonttools-4.29.0.ebuild index e247a223db08..45cda8035417 100644 --- a/dev-python/fonttools/fonttools-4.29.0.ebuild +++ b/dev-python/fonttools/fonttools-4.29.0.ebuild @@ -48,7 +48,11 @@ src_configure() { export FONTTOOLS_WITH_CYTHON=1 } -python_test() { +src_test() { # virtualx used when matplotlib is installed causing plot module tests to run - virtx epytest Tests fontTools + virtx distutils-r1_src_test +} + +python_test() { + epytest Tests fontTools || die "Tests failed with ${EPYTHON}" } diff --git a/dev-python/humanize/Manifest b/dev-python/humanize/Manifest index a9cf59049dcf..be9a0c66f456 100644 --- a/dev-python/humanize/Manifest +++ b/dev-python/humanize/Manifest @@ -1 +1,2 @@ DIST humanize-3.13.1.tar.gz 72109 BLAKE2B a17033c704fb1a12a82008bf07ed1f672c6d9b8a2a1ee16e34a49b2e9ce697099951f8bad638692b183d424a20836dff42f7fb8fffd1112a8ba9c4f42365db23 SHA512 f2d510347f05f953bb6f67811a7fd062f721c76892388d43ea0f19f826e75853c6f7b6cddcd986c06414dc8a3c8b3c88bee16a61fa23baa24d951ba275114de2 +DIST humanize-3.14.0.tar.gz 72030 BLAKE2B a1ba7a664c33551d9d776904b0646aad9077a53fd5a546060a9deb23e9817f1306acaddb6b133be71fdbe2a20dd3c25cef2f41448c0bc0137c657da61aad4b93 SHA512 6c3d4fba1af287023d86cc2b9bcc4b7a2fc1855271fa772b316bfab3bec2f8e0b7a91d8672e156986ccf9044dc937c3fa2e73e4537ebe919eb0869ce59c3ce73 diff --git a/dev-python/humanize/humanize-3.14.0.ebuild b/dev-python/humanize/humanize-3.14.0.ebuild new file mode 100644 index 000000000000..85ebad3f04d5 --- /dev/null +++ b/dev-python/humanize/humanize-3.14.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) + +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 diff --git a/dev-python/installer/installer-0.4.0_p20220124.ebuild b/dev-python/installer/installer-0.4.0_p20220124.ebuild index bd36db4c7e95..a7ceb809ed7f 100644 --- a/dev-python/installer/installer-0.4.0_p20220124.ebuild +++ b/dev-python/installer/installer-0.4.0_p20220124.ebuild @@ -27,7 +27,7 @@ S=${WORKDIR}/${PN}-${EGIT_COMMIT} 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-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" # NB: newer git doesn't use mock anymore BDEPEND=" diff --git a/dev-python/ipython/ipython-8.0.1.ebuild b/dev-python/ipython/ipython-8.0.1.ebuild index ac9115338514..982fa898fde6 100644 --- a/dev-python/ipython/ipython-8.0.1.ebuild +++ b/dev-python/ipython/ipython-8.0.1.ebuild @@ -99,6 +99,10 @@ python_compile_all() { fi } +src_test() { + virtx distutils-r1_src_test +} + python_test() { local -x IPYTHON_TESTING_TIMEOUT_SCALE=20 local EPYTEST_DESELECT=( @@ -113,7 +117,7 @@ python_test() { IPython/core/tests/test_completer.py::TestCompleter::test_all_completions_dups IPython/core/tests/test_completer.py::TestCompleter::test_deduplicate_completions ) - virtx epytest + epytest || die "Tests failed with ${EPYTHON}" } python_install() { diff --git a/dev-python/isort/isort-5.10.1.ebuild b/dev-python/isort/isort-5.10.1.ebuild index 1d526efdaf9c..2181b833025d 100644 --- a/dev-python/isort/isort-5.10.1.ebuild +++ b/dev-python/isort/isort-5.10.1.ebuild @@ -50,6 +50,8 @@ python_test() { distutils_install_for_testing popd >/dev/null || die done + # remove examples leaked into BUILD_DIR + rm "${BUILD_DIR}"/lib/example* || die local EPYTEST_IGNORE=( # Excluded from upstream's test script diff --git a/dev-python/jaraco-collections/jaraco-collections-3.5.1.ebuild b/dev-python/jaraco-collections/jaraco-collections-3.5.1.ebuild index 36d5a524203a..e22934286f74 100644 --- a/dev-python/jaraco-collections/jaraco-collections-3.5.1.ebuild +++ b/dev-python/jaraco-collections/jaraco-collections-3.5.1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 MY_PN="${PN/-/.}" diff --git a/dev-python/liblarch/liblarch-3.1.0-r1.ebuild b/dev-python/liblarch/liblarch-3.1.0-r1.ebuild index d6aedb5b08ad..623d480c78b6 100644 --- a/dev-python/liblarch/liblarch-3.1.0-r1.ebuild +++ b/dev-python/liblarch/liblarch-3.1.0-r1.ebuild @@ -24,6 +24,6 @@ RDEPEND="${DEPEND}" distutils_enable_tests pytest -python_test() { - virtx epytest +src_test() { + virtx distutils-r1_src_test } diff --git a/dev-python/natsort/Manifest b/dev-python/natsort/Manifest index bec2d1e024c6..643131f681e1 100644 --- a/dev-python/natsort/Manifest +++ b/dev-python/natsort/Manifest @@ -1 +1,2 @@ DIST natsort-8.0.2.tar.gz 144912 BLAKE2B 0e5d83e6991ef1208b84cbf17e287f487a2a059d68274876977ae6f18f89492284bc166499a9518bfc2df19999e5593f386ce88beca94c23d8a050697c0b2a36 SHA512 fad31e1af1e1d4a33061b8b3e31d022f353f662d306136d05e0121a0531f33cf388467a40f91f51036f283ab8fbdefc1193d09f440052960ffdf733186b5fb27 +DIST natsort-8.1.0.tar.gz 145241 BLAKE2B dcf9ffdb58cfe4d0f7ca0ed74701c8137a87716831dc747c5fb68d187a93c1b7414fa3625c0ed385e727e97c36feb99e9ecc6a41dd3d9da342d357646b5aaf32 SHA512 a065899b124e6a6ee8560ce1882650e35f0c36ddfd3c56462820886b076cd8cdb0121825e30e298af576e07915cc5bc1e90fe3f0b1f7bfb89f816c00665baa22 diff --git a/dev-python/natsort/natsort-8.1.0.ebuild b/dev-python/natsort/natsort-8.1.0.ebuild new file mode 100644 index 000000000000..6e6f3104200a --- /dev/null +++ b/dev-python/natsort/natsort-8.1.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Natural sorting for Python" +HOMEPAGE="https://pypi.org/project/natsort/" +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 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +pkg_postinst() { + optfeature "sorting results that match most file browsers" "dev-python/pyicu" +} diff --git a/dev-python/pandas/pandas-1.4.0.ebuild b/dev-python/pandas/pandas-1.4.0.ebuild index 9cbfad7f5774..cf9daf9dc633 100644 --- a/dev-python/pandas/pandas-1.4.0.ebuild +++ b/dev-python/pandas/pandas-1.4.0.ebuild @@ -140,6 +140,10 @@ python_compile_all() { fi } +src_test() { + virtx distutils-r1_src_test +} + python_test() { local EPYTEST_DESELECT=( # test for rounding errors, fails if we have better precision @@ -155,8 +159,9 @@ python_test() { local -x LC_ALL=C.UTF-8 cd "${BUILD_DIR}/install$(python_get_sitedir)" || die "${EPYTHON}" -c "import pandas; pandas.show_versions()" || die - virtx epytest pandas --skip-slow --skip-network -m "not single" \ - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" + epytest pandas --skip-slow --skip-network -m "not single" \ + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" || + die "Tests failed with ${EPYTHON}" } python_install_all() { diff --git a/dev-python/pillow/pillow-9.0.0-r1.ebuild b/dev-python/pillow/pillow-9.0.0-r1.ebuild index 03ad86112e40..ce03b286e979 100644 --- a/dev-python/pillow/pillow-9.0.0-r1.ebuild +++ b/dev-python/pillow/pillow-9.0.0-r1.ebuild @@ -82,10 +82,14 @@ python_configure_all() { tc-export PKG_CONFIG } +src_test() { + virtx distutils-r1_src_test +} + python_test() { "${EPYTHON}" selftest.py --installed || die "selftest failed with ${EPYTHON}" # no:relaxed: pytest-relaxed plugin make our tests fail. deactivate if installed - virtx epytest -p no:relaxed + epytest -p no:relaxed || die "Tests failed with ${EPYTHON}" } python_install() { diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest index 105f0877a738..bc358516b9bd 100644 --- a/dev-python/pip/Manifest +++ b/dev-python/pip/Manifest @@ -1,4 +1,5 @@ DIST pip-21.3.1.tar.gz 8961896 BLAKE2B f694956854cfd26f9b043fc28994448d2b2efff04080808f4e89ba15905887b432efb02d1c81370f75bd42e5c615a5a2360af63437967bc2fef63a85d59906a7 SHA512 2f50f95fe36cffc18821a70824f5b28d03598894f9ea5b02acc4921d16fc7739131814828a2159bcd577331cc780c7776a3669fa1ca2d4690c861add10a16f00 +DIST pip-22.0.1.tar.gz 9288984 BLAKE2B 11936d6baffb8ccf3715f1183ac007f93930c6188c9b8b7c063b1c42513658cf8de31ce98a73d7d94a0a5b28407c985fe419419a689fae2a43bfc5c2fcb0439e SHA512 64ee12c8bfa12e8df4d5160c24064f28805d14c215d9db2663ca069d49e1e3c7050084bd9059bfdb31f0901440b4c2711d4544440a937a94ca1b9fa7f213924d DIST setuptools-57.4.0-py3-none-any.whl 819017 BLAKE2B afba86cf9aeea58ee869fdc11bbb192abbf2f89710e468b90dc291fec228ca16202483e36195a5ad4e2b8d210326bc83e2be6ec696ab413d94ffaeb05bb9c030 SHA512 9bf230f4e0e72acab07ab372a6ca05adb3d175a8079d2f73d327c632f3d27b8ee10442d3e60f4c94a6e61d5ba2212fc78187ca6e1717e15bb570bdce4263fd0b DIST virtualenv-16.7.11.tar.gz 8134533 BLAKE2B ea81e11c210d911bf9576edf7b1754721b270adcc5d9633415d33b8f659149d64932fe2d366200121ec00c266c25dae380e248add438fc357477114eba4dfb4e SHA512 82d0d2a964508511e8e1686703581ff543f65791dc2449d9741d46ea57c4c89673947d2477ba374176f05fcea2a5ca572aa650c61c4f3271c4d73d1ff9d9ff42 DIST wheel-0.36.2-py2.py3-none-any.whl 35046 BLAKE2B bc4e8dab7c74eea34d3b4a813b7eaf6295a99a396a861b6cdd76f743043e89140bad132bdd13e385e8945ce02e0798e1d3ac73fc1b23bde5b2a83e4bb4dd5cdc SHA512 6bb5119b4d3704fe1e3c1eaaa3124edab13f61b46f8a0a8e75974fac4e5b25d8b53606071a03a8d8990ad1cfe2ab247ddea260098df2c0c35ae965be47080284 diff --git a/dev-python/pip/pip-21.3.1-r1.ebuild b/dev-python/pip/pip-21.3.1-r1.ebuild index 429e3a6a47e5..1a6d70993502 100644 --- a/dev-python/pip/pip-21.3.1-r1.ebuild +++ b/dev-python/pip/pip-21.3.1-r1.ebuild @@ -113,6 +113,8 @@ python_test() { pushd "${WORKDIR}/virtualenv-${VENV_PV}" >/dev/null || die distutils_install_for_testing popd >/dev/null || die + # prevent it from being installed + rm -r "${BUILD_DIR}"/lib/virtualenv* || die local -x GENTOO_PIP_TESTING=1 \ PATH="${TEST_DIR}/scripts:${PATH}" \ diff --git a/dev-python/pip/pip-22.0.1.ebuild b/dev-python/pip/pip-22.0.1.ebuild new file mode 100644 index 000000000000..46e18afcf46c --- /dev/null +++ b/dev-python/pip/pip-22.0.1.ebuild @@ -0,0 +1,145 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +PYTHON_REQ_USE="ssl(+),threads(+)" + +inherit bash-completion-r1 distutils-r1 + +# setuptools & wheel .whl files are required for testing, +# the exact version is not very important. +SETUPTOOLS_WHL="setuptools-57.4.0-py3-none-any.whl" +WHEEL_WHL="wheel-0.36.2-py2.py3-none-any.whl" +# upstream still requires virtualenv-16 for testing, we are now fetching +# it directly to avoid blockers with virtualenv-20 +VENV_PV=16.7.11 + +DESCRIPTION="Installs python packages -- replacement for easy_install" +HOMEPAGE=" + https://pip.pypa.io/en/stable/ + https://pypi.org/project/pip/ + https://github.com/pypa/pip/" +SRC_URI=" + https://github.com/pypa/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz + test? ( + https://files.pythonhosted.org/packages/py3/s/setuptools/${SETUPTOOLS_WHL} + https://files.pythonhosted.org/packages/py2.py3/w/wheel/${WHEEL_WHL} + https://github.com/pypa/virtualenv/archive/${VENV_PV}.tar.gz + -> virtualenv-${VENV_PV}.tar.gz + ) +" + +LICENSE="MIT" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +SLOT="0" +IUSE="test vanilla" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pretend[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/scripttest[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + !alpha? ( !hppa? ( !ia64? ( + dev-python/cryptography[${PYTHON_USEDEP}] + ) ) ) + ) +" + +python_prepare_all() { + local PATCHES=( + "${FILESDIR}/${PN}-21.3-no-coverage.patch" + ) + if ! use vanilla; then + PATCHES+=( "${FILESDIR}/pip-20.0.2-disable-system-install.patch" ) + fi + + distutils-r1_python_prepare_all + + if use test; then + mkdir tests/data/common_wheels/ || die + cp "${DISTDIR}"/{${SETUPTOOLS_WHL},${WHEEL_WHL}} \ + tests/data/common_wheels/ || die + fi +} + +python_test() { + if [[ ${EPYTHON} == pypy* ]]; then + ewarn "Skipping tests on ${EPYTHON} since they are very broken" + return 0 + fi + + local EPYTEST_DESELECT=( + tests/functional/test_install.py::test_double_install_fail + tests/functional/test_list.py::test_multiple_exclude_and_normalization + 'tests/unit/test_commands.py::test_index_group_handle_pip_version_check[False-False-True-download]' + 'tests/unit/test_commands.py::test_index_group_handle_pip_version_check[False-False-True-install]' + 'tests/unit/test_commands.py::test_index_group_handle_pip_version_check[False-False-True-list]' + 'tests/unit/test_commands.py::test_index_group_handle_pip_version_check[False-False-True-wheel]' + tests/functional/test_install.py::test_install_pip_does_not_modify_pip_when_satisfied + # Internet + tests/functional/test_install.py::test_install_editable_with_prefix_setup_cfg + tests/functional/test_install.py::test_editable_install__local_dir_no_setup_py_with_pyproject + tests/functional/test_install.py::test_editable_install__local_dir_setup_requires_with_pyproject + ) + + [[ ${EPYTHON} == python3.10 ]] && EPYTEST_DESELECT+=( + tests/lib/test_lib.py::test_correct_pip_version + # uses vendored packaging that uses deprecated distutils + tests/functional/test_warning.py::test_pip_works_with_warnings_as_errors + ) + + if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/functional/test_install.py::test_install_sends_client_cert + tests/functional/test_install_config.py::test_do_not_prompt_for_authentication + tests/functional/test_install_config.py::test_prompt_for_authentication + tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed + ) + fi + + distutils_install_for_testing + pushd "${WORKDIR}/virtualenv-${VENV_PV}" >/dev/null || die + distutils_install_for_testing + popd >/dev/null || die + # prevent it from being installed + rm -r "${BUILD_DIR}"/lib/virtualenv* || die + + local -x GENTOO_PIP_TESTING=1 \ + PATH="${TEST_DIR}/scripts:${PATH}" \ + PYTHONPATH="${TEST_DIR}/lib:${BUILD_DIR}/lib" + epytest -m "not network" +} + +python_install_all() { + # Prevent dbus auto-launch + # https://bugs.gentoo.org/692178 + export DBUS_SESSION_BUS_ADDRESS="disabled:" + + local DOCS=( AUTHORS.txt docs/html/**/*.rst ) + distutils-r1_python_install_all + + COMPLETION="${T}"/completion.tmp + + # 'pip completion' command embeds full $0 into completion script, which confuses + # 'complete' and causes QA warning when running as "${PYTHON} -m pip". + # This trick sets correct $0 while still calling just installed pip. + local pipcmd='import sys; sys.argv[0] = "pip"; __file__ = ""; from pip._internal.cli.main import main; sys.exit(main())' + + "${EPYTHON}" -c "${pipcmd}" completion --bash > "${COMPLETION}" || die + newbashcomp "${COMPLETION}" ${PN} + + "${EPYTHON}" -c "${pipcmd}" completion --zsh > "${COMPLETION}" || die + insinto /usr/share/zsh/site-functions + newins "${COMPLETION}" _pip +} diff --git a/dev-python/pycryptodome/Manifest b/dev-python/pycryptodome/Manifest index e530c7250b25..3c9af95faa47 100644 --- a/dev-python/pycryptodome/Manifest +++ b/dev-python/pycryptodome/Manifest @@ -1,2 +1,3 @@ DIST pycryptodome-3.12.0.tar.gz 15130980 BLAKE2B 5eb34a03523652d990ddfdd1eebcbbacea30bffbe4838289c195b07658a98814ebec322aaffbed7b3fa564bc005d52ea1e483dedcb9f40b65d00e50c28d78582 SHA512 67f2a814d74305614fdf9dfb633c4fd9d80d2064119d0ecab24ae52fd8ce4b6de1a1e82c6ba7bcf22fb7db1a5a850adf078e22317b4c07229cd7cb8cb7f1ffd4 DIST pycryptodome-3.13.0.tar.gz 15306369 BLAKE2B 97ef26868fb2be2f3240960d8debd897cb82c4a6f1ea1c179fc790693eb2e37de14cbf16bd7deafe0ca1d28983e9bee8583cbe8adde2fa50533cf2bd1274108c SHA512 daafdc80ae8df7f5f282adbdd3fbd9f848b03a3de0c21739b3bb973368daf721c9cd306e56c16baceeda4a0ebc3470abbc0cddc4e8409b5e4fe4255f3d62ec2e +DIST pycryptodome-3.14.0.tar.gz 15339838 BLAKE2B 804ceabfb5e29775df279a00eaadced776a10301e9bd254471b234f10c65fcfce507c8e51eb5dc5387eb81f856ccfe46ff035ca96a8acebf8b4f59c960fd35a4 SHA512 2f20a3a2bfef14a0f4c05587d64da3a4be7303ae37aaee02e49a3c7ef69009fa958e4b7151c1441f2cc63833cc29642d6d13c1006fb0f215743178d36c9de802 diff --git a/dev-python/pycryptodome/pycryptodome-3.14.0.ebuild b/dev-python/pycryptodome/pycryptodome-3.14.0.ebuild new file mode 100644 index 000000000000..b5457786df89 --- /dev/null +++ b/dev-python/pycryptodome/pycryptodome-3.14.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="A self-contained cryptographic library for Python" +HOMEPAGE="https://www.pycryptodome.org/ + https://github.com/Legrandin/pycryptodome/ + https://pypi.org/project/pycryptodome/" +SRC_URI=" + https://github.com/Legrandin/pycryptodome/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="BSD-2 Unlicense" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +DEPEND=" + dev-libs/gmp:0= + >=dev-libs/libtomcrypt-1.18.2-r1:=" +BDEPEND=" + virtual/python-cffi[${PYTHON_USEDEP}]" +RDEPEND=" + ${DEPEND} + ${BDEPEND} + !dev-python/pycrypto" + +PATCHES=( + "${FILESDIR}/pycryptodome-3.10.1-system-libtomcrypt.patch" +) + +distutils_enable_tests setup.py + +python_prepare_all() { + # make sure we're unbundling it correctly + rm -r src/libtom || die + + distutils-r1_python_prepare_all +} diff --git a/dev-python/pygresql/Manifest b/dev-python/pygresql/Manifest index eb92599eee0c..eeaf21151278 100644 --- a/dev-python/pygresql/Manifest +++ b/dev-python/pygresql/Manifest @@ -1 +1,2 @@ DIST PyGreSQL-5.2.2.tar.gz 268818 BLAKE2B 4b74c5496f63208164efa10e70222b63512f3afb928bdc612f9874556ee2084b42a80ba05e9ebc6951c68c1c8a70c71320396aabb20b9d5c00d5edd46e287f3f SHA512 a88af2590a515ece19b7f64796e241c6e7b53c8aef90c6e2ae064298a4c71d44695dcf43e0e84595a704c4fdafb9abe35e1779492d3a9ad3708759215cb188a1 +DIST PyGreSQL-5.2.3.tar.gz 269952 BLAKE2B 9588f4e97dcc2b52e070405df3869c50bb9968716f19fa2154b6aa248d015c7b80aa6d2bf12a3bb30a77e4572b96939b5a6a98043fe70c911f80a54e09cb034e SHA512 94fe212801e89a97ccaac0cd72df4a79e28acc0992e855dfc2e8e8fd08750c97d2f2801eef07fdfa8a258061cc63c4aa9e4127852ba58c845414ec2d5e5f1483 diff --git a/dev-python/pygresql/pygresql-5.2.3.ebuild b/dev-python/pygresql/pygresql-5.2.3.ebuild new file mode 100644 index 000000000000..b2a9900284ab --- /dev/null +++ b/dev-python/pygresql/pygresql-5.2.3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_PEP517=setuptools +POSTGRES_COMPAT=( 9.6 {10..14} ) +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 postgres + +MY_P="PyGreSQL-${PV}" + +DESCRIPTION="A Python interface for the PostgreSQL database" +HOMEPAGE="https://pygresql.org/" +SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="POSTGRESQL" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86" + +DEPEND="${POSTGRES_DEP}" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-5.2-CFLAGS.patch +) + +distutils_enable_tests unittest + +src_test() { + local db="${T}/pgsql" + initdb --username=portage -D "${db}" || die + pg_ctl -w -D "${db}" start \ + -o "-h '127.0.0.1' -p 5432 -k '${T}'" || die + psql -h "${T}" -U portage -d postgres \ + -c "ALTER ROLE portage WITH PASSWORD 'postgres';" || die + createdb -h "${T}" -U portage unittest || die + + cat > tests/LOCAL_PyGreSQL.py <<-EOF || die + dbhost = '${T}' + EOF + + distutils-r1_src_test + + pg_ctl -w -D "${db}" stop || die +} + +python_install_all() { + local DOCS=( docs/*.rst docs/community/* docs/contents/tutorial.rst ) + + distutils-r1_python_install_all +} diff --git a/dev-python/pylibmc/pylibmc-1.6.1-r2.ebuild b/dev-python/pylibmc/pylibmc-1.6.1-r2.ebuild index db502d045037..2c5aa5ad8079 100644 --- a/dev-python/pylibmc/pylibmc-1.6.1-r2.ebuild +++ b/dev-python/pylibmc/pylibmc-1.6.1-r2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 diff --git a/dev-python/pymssql/Manifest b/dev-python/pymssql/Manifest index ecb02c8ac9aa..5db121675453 100644 --- a/dev-python/pymssql/Manifest +++ b/dev-python/pymssql/Manifest @@ -1,2 +1 @@ -DIST pymssql-2.2.1.tar.gz 170421 BLAKE2B 0bd57ffef97f6a557bf78056ed0f184c3b5de09fa031f80f1b7420486bb137ba1750c2ac63e89c0476a3b1808e08beb037b2d9c3fce89bce98a266626222b5c7 SHA512 d44fbe506d7daf3b5fc1dfa20b99814aa3ed025cf8e4e14097f53014bc21918e0969e15149fa93c39367a06567502be08bb673e30ebdf87d6fc2c30b01216b7c DIST pymssql-2.2.3.tar.gz 170134 BLAKE2B ed7d6d289b67c5ed76d737d4aec3a6731a94a2cc6bed445e526d62c4f7e9e26fe0e443846727895dd9fc396678d3ee99f021b2b365df14680817b8b8c130e5fa SHA512 10b9b976c7bfaa4c8433e08d256a580354181d41b08b1ced2648f8b4f864d1c83ee46a2d240f394d2c87cd4b494ccd51c0adf923e88de41c4cab30f2a0bae2d9 diff --git a/dev-python/pymssql/pymssql-2.2.1.ebuild b/dev-python/pymssql/pymssql-2.2.1.ebuild deleted file mode 100644 index 6e43910554fd..000000000000 --- a/dev-python/pymssql/pymssql-2.2.1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="Simple MSSQL python extension module" -HOMEPAGE="https://www.pymssql.org/ https://pypi.org/project/pymssql/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86" -IUSE="test" - -# tests need a running instance of freetds -RESTRICT="test" - -RDEPEND=">=dev-db/freetds-0.63[mssql]" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - dev-python/setuptools_scm[${PYTHON_USEDEP}] - test? ( - dev-python/sqlalchemy[${PYTHON_USEDEP}] - )" - -PATCHES=( - "${FILESDIR}"/${P}-clock_gettime.patch -) - -distutils_enable_tests pytest - -src_configure() { - export LINK_FREETDS_STATICALLY=no -} diff --git a/dev-python/pypiserver/pypiserver-1.4.2.ebuild b/dev-python/pypiserver/pypiserver-1.4.2.ebuild index 7a35d43aa242..b623bc516a8a 100644 --- a/dev-python/pypiserver/pypiserver-1.4.2.ebuild +++ b/dev-python/pypiserver/pypiserver-1.4.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -40,6 +40,8 @@ python_test() { tests/test_server.py::test_hash_algos tests/test_server.py::test_pipInstall_openOk tests/test_server.py::test_pipInstall_authedOk + # TODO + tests/test_app.py::test_root_count ) if ! has_version "dev-python/twine[${PYTHON_USEDEP}]"; then diff --git a/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.8_rc1.ebuild b/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.8_rc1.ebuild index d55bb03c5536..9170699865c0 100644 --- a/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.8_rc1.ebuild +++ b/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.8_rc1.ebuild @@ -21,7 +21,7 @@ S="${WORKDIR}" LICENSE="MIT" SLOT="3.9-${PV%_p*}" -KEYWORDS="~amd64 ~x86" +KEYWORDS="" RDEPEND=">=sys-libs/zlib-1.1.3:0/1 || ( diff --git a/dev-python/pytest-services/pytest-services-2.2.1.ebuild b/dev-python/pytest-services/pytest-services-2.2.1.ebuild index 9f578439e7c9..3500d975791c 100644 --- a/dev-python/pytest-services/pytest-services-2.2.1.ebuild +++ b/dev-python/pytest-services/pytest-services-2.2.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 DESCRIPTION="Collection of fixtures and utility functions to run service processes for pytest" diff --git a/dev-python/python-lsp-black/Manifest b/dev-python/python-lsp-black/Manifest index 96fdf9956052..2a67d803d243 100644 --- a/dev-python/python-lsp-black/Manifest +++ b/dev-python/python-lsp-black/Manifest @@ -1 +1,2 @@ DIST python-lsp-black-1.0.1.gh.tar.gz 7013 BLAKE2B 596ef3f468524269fb2765ad7ba0f8305c9e67ec4cf826dbe68ea20058f1fc595c004b34c5228c14a70b6a489e29f370fef93cd7a9ef48d24ace3464ec7cd011 SHA512 43699438bf64b9cfb5dfa97b30385870a06d15be90d5a023c5282f1b969188e8536961c2a2ee6f1016d4b8188e4df6a81d6127dd628242bbcd3fbcc640504a24 +DIST python-lsp-black-1.1.0.gh.tar.gz 7547 BLAKE2B e362e3800763b28c9505e9548f2324299fac5db792cc98755b2f3e5db02cec3cf0061193aa5dda40a843f2db0abfc252b8ebf6ae12a403953bb334155e90b028 SHA512 47c1652e7c1732a01d0eaa29c3b36adaa484b4b61aed8f6a99967c734d43353173716946cd15ea247974ee7801daa57e34979f5ed9b52eb88fdf96830af8bd19 diff --git a/dev-python/python-lsp-black/python-lsp-black-1.1.0.ebuild b/dev-python/python-lsp-black/python-lsp-black-1.1.0.ebuild new file mode 100644 index 000000000000..3f08897c7844 --- /dev/null +++ b/dev-python/python-lsp-black/python-lsp-black-1.1.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Black plugin for the Python LSP Server" +HOMEPAGE="https://github.com/python-lsp/python-lsp-black + https://pypi.org/project/python-lsp-black/" +SRC_URI="https://github.com/python-lsp/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/python-lsp-server[${PYTHON_USEDEP}] + >=dev-python/black-19[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/sphobjinv/Manifest b/dev-python/sphobjinv/Manifest index 6fa2f2762a66..0681c1bf6e6e 100644 --- a/dev-python/sphobjinv/Manifest +++ b/dev-python/sphobjinv/Manifest @@ -1 +1,2 @@ DIST sphobjinv-2.1.tar.gz 1144017 BLAKE2B 71878e1bac5202ab74298b56cd6172236ea524050323e0d6b8bbc0c89f1937d75f10d40b4071cfbe8c9031641e9a0ecb283da908c40840a61c12a7c892438241 SHA512 cde77d73b09b72358b0ac5b0d8f1a748e78dce6664d1b849ba68f5ff70dc43cbcff4581374d0151be29c4d97efe2920c5c00ff68918371243be158031e9554fa +DIST sphobjinv-2.2.tar.gz 1150648 BLAKE2B db29624c9e7c5ec014793bb76693dfbe87d8742a688b91c196bec12ac03852ae7999717588e075f58f5d2c3109b10d532bd117d482b540d30af27760869a5904 SHA512 257327ad168d5804639d3a064db683e0b9eb4f1dcb864a12a8ba440f3fde31c832bd72298f6381d2590bfac85ffe811563b8de124a135de2b6c1511217925103 diff --git a/dev-python/sphobjinv/sphobjinv-2.2.ebuild b/dev-python/sphobjinv/sphobjinv-2.2.ebuild new file mode 100644 index 000000000000..fc1edfb4c3c0 --- /dev/null +++ b/dev-python/sphobjinv/sphobjinv-2.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Sphinx objects.inv Inspection/Manipulation Tool" +HOMEPAGE=" + https://github.com/bskinn/sphobjinv/ + https://pypi.org/project/sphobjinv/ +" +SRC_URI="https://github.com/bskinn/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +SLOT="0" + +RDEPEND=" + >=dev-python/attrs-19.2[${PYTHON_USEDEP}] + dev-python/certifi[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/dictdiffer[${PYTHON_USEDEP}] + dev-python/pytest-check[${PYTHON_USEDEP}] + dev-python/pytest-ordering[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + >=dev-python/stdio-mgr-1.0.1[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/timeout-decorator[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx doc/source \ + dev-python/sphinx_rtd_theme \ + dev-python/sphinx-issues \ + dev-python/sphinxcontrib-programoutput + +src_prepare() { + # --strict option is deprecated in pytest>6 + sed -i -e '/addopts/d' tox.ini || die + sed -e '/CLI_TEST_TIMEOUT/s/2/20/' -i tests/test_cli.py || die + + distutils-r1_src_prepare +} diff --git a/dev-python/tikzplotlib/tikzplotlib-0.9.17-r1.ebuild b/dev-python/tikzplotlib/tikzplotlib-0.9.17-r1.ebuild index 517eb6634624..ba9e67e7d979 100644 --- a/dev-python/tikzplotlib/tikzplotlib-0.9.17-r1.ebuild +++ b/dev-python/tikzplotlib/tikzplotlib-0.9.17-r1.ebuild @@ -33,7 +33,7 @@ BDEPEND=" distutils_enable_tests pytest distutils_enable_sphinx doc dev-python/mock -python_test() { +src_test() { local -x MPLBACKEND=Agg - virtx epytest + virtx distutils-r1_src_test } -- cgit v1.3