diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2020-12-23 01:04:18 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2020-12-23 01:04:18 +0000 |
| commit | a351fb3cf20a3a4a4fb7caee09a2ab3aa685d6ad (patch) | |
| tree | 5aedc459a333df54c97109041757767a81889d7c /dev-python | |
| parent | 06a6fdc60cfbbc10a64dc13c2ea385ab93c25760 (diff) | |
| download | baldeagleos-repo-a351fb3cf20a3a4a4fb7caee09a2ab3aa685d6ad.tar.gz baldeagleos-repo-a351fb3cf20a3a4a4fb7caee09a2ab3aa685d6ad.tar.xz baldeagleos-repo-a351fb3cf20a3a4a4fb7caee09a2ab3aa685d6ad.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python')
37 files changed, 243 insertions, 591 deletions
diff --git a/dev-python/PyICU/PyICU-2.6.ebuild b/dev-python/PyICU/PyICU-2.6.ebuild index 2bf1a788f1f0..fa998894bfdd 100644 --- a/dev-python/PyICU/PyICU-2.6.ebuild +++ b/dev-python/PyICU/PyICU-2.6.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 x86" RDEPEND="dev-libs/icu:=" DEPEND="${RDEPEND}" diff --git a/dev-python/ansi2html/Manifest b/dev-python/ansi2html/Manifest index 39861ac51fc7..0ebcc14deed0 100644 --- a/dev-python/ansi2html/Manifest +++ b/dev-python/ansi2html/Manifest @@ -1,2 +1 @@ -DIST ansi2html-1.5.2.tar.gz 27124 BLAKE2B 0d02e8cea46622c4d2cbd06f06fd31b3c7e93d61f6b9eadb37815d2ee490b6ce4233fb019f175f61465ef89520a944bbe14543627a6421a64304b58dc038c0ca SHA512 163d5784d04e6eea0847676b967051382fa74a354c19462d1b73980fd1b0a7eb45ce1f1bd88cca803356e7767ccab1bbce6de4152c98aec98534f4ed7d65a83f DIST ansi2html-1.6.0.tar.gz 36053 BLAKE2B deb63c6c9f431ff225cfcbbd2995f0fce9535736dba7d8c92f1f2e51d525640e69bc4269ab073438239edb35815288fa17b2d69c89cca7627ba2b5096009611f SHA512 35e5fb6cee96fe41a658c005734a58b08bc05e8ad5903ad18684c316bdad351a70c534b4162416225bc2ca774d01b4ac1bb8a8dad3170d0738aa7b3daf46b3c0 diff --git a/dev-python/ansi2html/ansi2html-1.5.2-r2.ebuild b/dev-python/ansi2html/ansi2html-1.5.2-r2.ebuild deleted file mode 100644 index 598296ec21de..000000000000 --- a/dev-python/ansi2html/ansi2html-1.5.2-r2.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 - -DESCRIPTION="Convert text with ANSI color codes to HTML" -HOMEPAGE="https://pypi.org/project/ansi2html/ https://github.com/ralphbean/ansi2html" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="LGPL-3+" -SLOT="0" -KEYWORDS="amd64 arm x86" - -RDEPEND=">=dev-python/six-1.7.3[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests setup.py - -python_install_all() { - doman man/${PN}.1 - distutils-r1_python_install_all -} diff --git a/dev-python/ansi2html/ansi2html-1.6.0.ebuild b/dev-python/ansi2html/ansi2html-1.6.0.ebuild index 66646f194738..675894198003 100644 --- a/dev-python/ansi2html/ansi2html-1.6.0.ebuild +++ b/dev-python/ansi2html/ansi2html-1.6.0.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="LGPL-3+" SLOT="0" -KEYWORDS="amd64 arm ~x86" +KEYWORDS="amd64 arm x86" IUSE="doc" RDEPEND=">=dev-python/six-1.7.3[${PYTHON_USEDEP}]" diff --git a/dev-python/breathe/breathe-4.22.1.ebuild b/dev-python/breathe/breathe-4.22.1.ebuild index 4c3b69fba306..bf09e1345340 100644 --- a/dev-python/breathe/breathe-4.22.1.ebuild +++ b/dev-python/breathe/breathe-4.22.1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~s390 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ~ppc64 ~s390 ~sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" app-doc/doxygen diff --git a/dev-python/cmd2/Manifest b/dev-python/cmd2/Manifest index e78a95c95c43..92fb127fca63 100644 --- a/dev-python/cmd2/Manifest +++ b/dev-python/cmd2/Manifest @@ -1,3 +1,2 @@ DIST cmd2-1.3.11.tar.gz 657770 BLAKE2B 829023a4ebd2c2034dbbcd276720476ef9e19a0869bdd2dcc18f2b7cb58bf7c9874b9c56c60d6ba15f7458327d768bce5f07890054361b58574697cf8408cfd6 SHA512 bd640a38723cfb7886b74631ded288fee87026fe718db48ea71a1eb3cb61cea514dda2c4ccd1df95b5ade3c8f8a4a14be3dd9d6722c59260a5fe7c4dfba30f24 -DIST cmd2-1.3.8.tar.gz 643320 BLAKE2B ca9eb089c4d1a5922d3f762e9fe118168349c807b770265d2e565a183447b938f08da578e0dc7de4a59a52fc39df2b53a63c84c1d86efd75c0ba58950bbe9a9a SHA512 af2b56234e0b257c4de564d46f4be83b56c37fd903ee737e825779558e44a9b60164bac1c0bc35a79c8aa1ba80155331c496c310e5ecad94f984673a30ef6976 DIST cmd2-1.4.0.tar.gz 660494 BLAKE2B 1a7d5efef704cf3011affa99303233ad9d16e09d16bbe9319324599e6d69b1a664556e9ed406f2a34bfc6021a6d1607a44fd4df9cedbd6688826e0bfe8d91b77 SHA512 1f35e9773578a1d2ea1255cd697754b126c1e90486e84319c0f86ee409ed22bfbc267ff1d3b9af1072985337c9cbc51eac4e288281146d9c20b54c8b364f1547 diff --git a/dev-python/cmd2/cmd2-1.3.11.ebuild b/dev-python/cmd2/cmd2-1.3.11.ebuild index 102f1b7a1573..0481ec3ca447 100644 --- a/dev-python/cmd2/cmd2-1.3.11.ebuild +++ b/dev-python/cmd2/cmd2-1.3.11.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~ppc64 sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~ppc64 sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" dev-python/attrs[${PYTHON_USEDEP}] diff --git a/dev-python/cmd2/cmd2-1.3.8.ebuild b/dev-python/cmd2/cmd2-1.3.8.ebuild deleted file mode 100644 index 0481ec3ca447..000000000000 --- a/dev-python/cmd2/cmd2-1.3.8.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 virtualx - -DESCRIPTION="Extra features for standard library's cmd module" -HOMEPAGE="https://github.com/python-cmd2/cmd2" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~ppc64 sparc x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - dev-python/attrs[${PYTHON_USEDEP}] - >=dev-python/colorama-0.3.7[${PYTHON_USEDEP}] - >=dev-python/pyperclip-1.6[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/wcwidth[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/importlib_metadata-1.6.0[${PYTHON_USEDEP}] - ' python3_{6,7}) -" -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}] - test? ( dev-python/pytest-mock[${PYTHON_USEDEP}] ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e 's:test_which_editor_good:_&:' tests/test_cmd2.py || die - distutils-r1_src_prepare -} - -src_test() { - # tests rely on very specific text wrapping... - local -x COLUMNS=80 - virtx distutils-r1_src_test -} - -python_test() { - distutils_install_for_testing - pytest -vv || die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/gevent/Manifest b/dev-python/gevent/Manifest index 9e3a056b3cbc..72dcce9035c6 100644 --- a/dev-python/gevent/Manifest +++ b/dev-python/gevent/Manifest @@ -1 +1,2 @@ +DIST gevent-20.12.0.tar.gz 5898634 BLAKE2B a73129c7d393aedcd84b6e62c890c3b306722876a1ea4c96485096ce2ea7d1db5f03c77ea77a2c35ef41c7a96183246316c577735bcf4b25fb41095282c64d38 SHA512 76c75128ba2b33e47bd85ef2788387aa6d47d230ef9aeac4bceee03e8a2555dd204c321de7d1779fe4f44503e4fca5dce3b43c1922238da994faed0d78e5c4c1 DIST gevent-20.9.0.tar.gz 5806581 BLAKE2B 6b1b653fa6e22539e049a9bba3d3a2b9d798a5555ce4ba60ce33ecbdf14bb5201967d22d677e1ce3170129b0763fddfcc5991347186fb102d10ae39e22538c44 SHA512 966efc945b623df2521fffadca3b7e56cae1efe6de904a724765e0593389e8b1305094baa6fbc9f4fa376b1157d0f230b01e2a90de21e4b9650614363edec9f4 diff --git a/dev-python/gevent/gevent-20.12.0.ebuild b/dev-python/gevent/gevent-20.12.0.ebuild new file mode 100644 index 000000000000..4c4a3a4ce592 --- /dev/null +++ b/dev-python/gevent/gevent-20.12.0.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_REQ_USE="ssl(+),threads(+)" + +inherit distutils-r1 flag-o-matic + +DESCRIPTION="Coroutine-based network library" +HOMEPAGE="https://www.gevent.org/ https://pypi.org/project/gevent/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="doc examples test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/libev-4.31:= + dev-libs/libuv:= + >=net-dns/c-ares-1.12:= + >=dev-python/greenlet-0.4.17 + dev-python/zope-event[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}] + virtual/python-greenlet[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + )" + +distutils_enable_sphinx doc + +# Tests take long and fail terribly a few times. +# It also seems that they require network access. +#RESTRICT="test" + +python_prepare_all() { + export LIBEV_EMBED="false" + export CARES_EMBED="false" + export EMBED="false" + + distutils-r1_python_prepare_all +} + +python_configure_all() { + append-flags -fno-strict-aliasing +} + +python_test() { + cd src/gevent/tests || die + # TODO: figure out how to make them work and not hang +# GEVENT_RESOLVER=ares \ +# "${EPYTHON}" -m gevent.tests \ +# -uall,-network \ +# --config known_failures.py \ +# --ignore tests_that_dont_use_resolver.txt || die +# GEVENT_RESOLVER=dnspython \ +# "${EPYTHON}" -m gevent.tests \ +# -uall,-network \ +# --config known_failures.py \ +# --ignore tests_that_dont_use_resolver.txt || die +# GEVENT_RESOLVER=thread \ +# "${EPYTHON}" -m gevent.tests \ +# --verbose \ +# -uall,-network \ +# --config known_failures.py \ +# --ignore tests_that_dont_use_resolver.txt || die + GEVENT_FILE=thread \ + "${EPYTHON}" -m gevent.tests \ + --verbose \ + -uall,-network \ + --config known_failures.py \ + test__*subprocess*.py || die +} + +python_install_all() { + local DOCS=( AUTHORS README.rst ) + use examples && dodoc -r examples + + distutils-r1_python_install_all +} diff --git a/dev-python/gevent/metadata.xml b/dev-python/gevent/metadata.xml index 24cc31a92916..5e54a5e8ccbe 100644 --- a/dev-python/gevent/metadata.xml +++ b/dev-python/gevent/metadata.xml @@ -6,7 +6,7 @@ <name>Python</name> </maintainer> <upstream> - <remote-id type="github">surfly/gevent</remote-id> + <remote-id type="github">gevent/gevent</remote-id> <remote-id type="pypi">gevent</remote-id> </upstream> <origin>gentoo-staging</origin> diff --git a/dev-python/keyring/Manifest b/dev-python/keyring/Manifest index 4ab3abad6a4c..b92afdcb531e 100644 --- a/dev-python/keyring/Manifest +++ b/dev-python/keyring/Manifest @@ -1,2 +1,4 @@ DIST keyring-21.4.0.tar.gz 73591 BLAKE2B ad8fe71a6a8bd3180b01ce3ca0372f9d1dc493d3eb58ced707d1869284d21ceaffaab314c1304b58461d771fa1a4a5981ec8fbcfaf333d602bdef7985d8799eb SHA512 149f1706296c830605d0ff2eddacf3d531c3d80f694465785d83e2af1d55a49204a2112db840522d4de10cd012073cafe571638e2c39a2f61c308821fe5ec901 DIST keyring-21.5.0.tar.gz 45885 BLAKE2B 73fe60f0d414cad3b36e0c995b63f048f75358b9f4d389f41ae3a32d68c82ccb9d1fe76d9bd375d06519bcebb8ad9aa34ba98676bf37f3c5a10d9424c161e074 SHA512 25cbbcac0810829e48e6ff4c9497b8c9f3c03011047e76a6901f6c422d6eb1711e535233a90d96f8dc16a77352d4228114f3b447d9e196184a9d87402658f5bd +DIST keyring-21.6.0.tar.gz 46983 BLAKE2B 847d4de4ec23ce0280684a00a9c2de77a13dc23bfe14e8ee22b4e2442a7c17ae61416c99997cef3177291ea835d4f3d24c8ac27a00a71bb95196c99d49921493 SHA512 892c5f019fecb145546488045152c2bfa5897e05ace9c370979a9d239f7ca50ed8e6f818a1306bfabaad62f1b5e4983784384e52b404e5108b397b1bd7125b5f +DIST keyring-21.7.0.tar.gz 46998 BLAKE2B 469d2de254ed88604a40a4e05c001f50986f55296d35b54969cfa8612473cbd5184f36bd6babdfb6631ab908e03f81858434b7e52471a2d366f97293c2c0ed93 SHA512 8fc5e8f0f0cf2a336c6ce900d59fcd31b4ec270d62559a1c2b4c36803428532b463bad0b2ace9af33b6fb0d50de94229449c4ef4042287ecaa8f1fac37c5faf8 diff --git a/dev-python/keyring/keyring-21.6.0.ebuild b/dev-python/keyring/keyring-21.6.0.ebuild new file mode 100644 index 000000000000..8718ebbd922e --- /dev/null +++ b/dev-python/keyring/keyring-21.6.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Provides access to the system keyring service" +HOMEPAGE="https://github.com/jaraco/keyring" +SRC_URI="https://github.com/jaraco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="PSF-2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos" +IUSE="doc" + +RDEPEND=" + dev-python/secretstorage[${PYTHON_USEDEP}] + dev-python/entrypoints[${PYTHON_USEDEP}] + dev-python/jeepney[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/importlib_metadata[${PYTHON_USEDEP}] + ' pypy3 python3_{5,6,7}) +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/jaraco-packaging \ + dev-python/rst-linker + +python_prepare_all() { + sed -i -e 's:--flake8 --black --cov --mypy::' pytest.ini || die + rm tests/backends/test_kwallet.py || die + + distutils-r1_python_prepare_all + + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +} diff --git a/dev-python/keyring/keyring-21.7.0.ebuild b/dev-python/keyring/keyring-21.7.0.ebuild new file mode 100644 index 000000000000..8718ebbd922e --- /dev/null +++ b/dev-python/keyring/keyring-21.7.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Provides access to the system keyring service" +HOMEPAGE="https://github.com/jaraco/keyring" +SRC_URI="https://github.com/jaraco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="PSF-2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos" +IUSE="doc" + +RDEPEND=" + dev-python/secretstorage[${PYTHON_USEDEP}] + dev-python/entrypoints[${PYTHON_USEDEP}] + dev-python/jeepney[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/importlib_metadata[${PYTHON_USEDEP}] + ' pypy3 python3_{5,6,7}) +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/jaraco-packaging \ + dev-python/rst-linker + +python_prepare_all() { + sed -i -e 's:--flake8 --black --cov --mypy::' pytest.ini || die + rm tests/backends/test_kwallet.py || die + + distutils-r1_python_prepare_all + + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +} diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest index 75ba045782b8..c0fe8427dd14 100644 --- a/dev-python/mypy/Manifest +++ b/dev-python/mypy/Manifest @@ -1,3 +1,2 @@ -DIST mypy-0.782.tar.gz 2529814 BLAKE2B c75771fb40524c2c8675236eaaddd6e39d13b4fd4f6f15f279b2e0be75eb0630987cb90f31bd7c65c4a322de4915d3a260e8f6f375b49157fea4b6362316f333 SHA512 f94433f79ea76b53ebb70589ca04ba3f39847050f73cf6deac00a3db13d742613a8ecb1a11fb84a878458025c6776b236b074e93e577c1b597e31d1300974767 DIST mypy-0.790.tar.gz 2082487 BLAKE2B f8efcb701b4b7533306948721968c9a01ab6c6e56ec99fe6c36e35aca50b52f29f518aee2268a628539a372b8024094ef2d4d87da580b4dd667f41133351596e SHA512 be670456bb64cd197bb6a73832b7e0fd6439ae4af128212328a41cd93d9f644a82e79ffb05bf4695e99bd9788244a24916bf765cf30a6f162cf3b471f45c25b8 DIST mypy-typeshed-5be9c91.tar.gz 583006 BLAKE2B 08ab2b6d479ccc66493524482051e825c65c0a94ea5cac8e56a8ea1dca85eda6104e4ed3188b7d5ce1ea99058019d66a21a7e270e3ad9df694be67ea1e6a7ce9 SHA512 2912bcf66e0f550941eb9c1f34979644857448a4bec478cfc0d662e9a401ade93ccfb2f57b5348504b4d6f0f23e576da609167f1ec3a0861414fc9c7dea80243 diff --git a/dev-python/mypy/files/mypy-0.782-conftest.patch b/dev-python/mypy/files/mypy-0.782-conftest.patch deleted file mode 100644 index 08da1b1b690a..000000000000 --- a/dev-python/mypy/files/mypy-0.782-conftest.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/conftest.py b/conftest.py -new file mode 100644 -index 00000000..83a6689f ---- /dev/null -+++ b/conftest.py -@@ -0,0 +1,18 @@ -+import os.path -+ -+pytest_plugins = [ -+ 'mypy.test.data', -+] -+ -+ -+def pytest_configure(config): -+ mypy_source_root = os.path.dirname(os.path.abspath(__file__)) -+ if os.getcwd() != mypy_source_root: -+ os.chdir(mypy_source_root) -+ -+ -+# This function name is special to pytest. See -+# http://doc.pytest.org/en/latest/writing_plugins.html#initialization-command-line-and-configuration-hooks -+def pytest_addoption(parser) -> None: -+ parser.addoption('--bench', action='store_true', default=False, -+ help='Enable the benchmark test runs') diff --git a/dev-python/mypy/files/mypy-0.782-py39-fixes.patch b/dev-python/mypy/files/mypy-0.782-py39-fixes.patch deleted file mode 100644 index 16c12daecae5..000000000000 --- a/dev-python/mypy/files/mypy-0.782-py39-fixes.patch +++ /dev/null @@ -1,138 +0,0 @@ -From 13ae58ffe8bedb7da9f4c657297f0d61e681d671 Mon Sep 17 00:00:00 2001 -From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> -Date: Sun, 30 Aug 2020 18:11:57 -0700 -Subject: [PATCH] mypy: get CI green for py39 (#9376) - -Due to Python 3.9's new parser, this has a different (and better) error -message on Python 3.9. - -This is effectively a test of typed_ast / ast, so I don't think it -matters too much. I'm happy to alternatively just get rid of the test -altogether, or if people feel strongly, come up with a way to run the -test when run with older Pythons. - -Co-authored-by: hauntsaninja <> ---- - .travis.yml | 3 --- - mypy/test/testcheck.py | 2 ++ - test-data/unit/check-kwargs.test | 7 ------- - test-data/unit/check-python39.test | 9 +++++++++ - 4 files changed, 11 insertions(+), 10 deletions(-) - create mode 100644 test-data/unit/check-python39.test - -diff --git a/mypy/test/testcheck.py b/mypy/test/testcheck.py -index 49a85861b6..39a35c7280 100644 ---- a/mypy/test/testcheck.py -+++ b/mypy/test/testcheck.py -@@ -94,6 +94,8 @@ - # Tests that use Python 3.8-only AST features (like expression-scoped ignores): - if sys.version_info >= (3, 8): - typecheck_files.append('check-python38.test') -+if sys.version_info >= (3, 9): -+ typecheck_files.append('check-python39.test') - - # Special tests for platforms with case-insensitive filesystems. - if sys.platform in ('darwin', 'win32'): -diff --git a/test-data/unit/check-kwargs.test b/test-data/unit/check-kwargs.test -index 1dd450caae..a587be3e06 100644 ---- a/test-data/unit/check-kwargs.test -+++ b/test-data/unit/check-kwargs.test -@@ -53,13 +53,6 @@ f(b=[], a=A()) - class A: pass - [builtins fixtures/list.pyi] - --[case testGivingSameKeywordArgumentTwice] --import typing --def f(a: 'A', b: 'B') -> None: pass --f(a=A(), b=B(), a=A()) # E: keyword argument repeated --class A: pass --class B: pass -- - [case testGivingArgumentAsPositionalAndKeywordArg] - import typing - def f(a: 'A', b: 'B' = None) -> None: pass -diff --git a/test-data/unit/check-python39.test b/test-data/unit/check-python39.test -new file mode 100644 -index 0000000000..0e9ec683ae ---- /dev/null -+++ b/test-data/unit/check-python39.test -@@ -0,0 +1,9 @@ -+[case testGivingSameKeywordArgumentTwice] -+# This test was originally in check-kwargs.test -+# Python 3.9's new parser started producing a different error message here. Since this isn't the -+# most important test, to deal with this we'll only run this test with Python 3.9 and later. -+import typing -+def f(a: 'A', b: 'B') -> None: pass -+f(a=A(), b=B(), a=A()) # E: "f" gets multiple values for keyword argument "a" -+class A: pass -+class B: pass -From da4430119255ac9205c96d54deb2e2ebed0ce8ce Mon Sep 17 00:00:00 2001 -From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> -Date: Fri, 31 Jul 2020 09:58:15 -0700 -Subject: [PATCH] mypyc: ignore deprecation (#9107) - -PyUnicode_AsUnicodeAndSize has been deprecated since 3.3 - -Python 3.9 has compiler warnings for this deprecated function, and we -compile with Werror, causing Python 3.9 builds to fail. - -I've just copied over the relevant deprecation ignoring code from the -original getargs.c (including the TODO, but I can remove that) - -Co-authored-by: hauntsaninja <> ---- - mypyc/lib-rt/getargs.c | 27 +++++++++++++++++++++++++++ - 1 file changed, 27 insertions(+) - -diff --git a/mypyc/lib-rt/getargs.c b/mypyc/lib-rt/getargs.c -index 32b387c8ab..e6b1a0c937 100644 ---- a/mypyc/lib-rt/getargs.c -+++ b/mypyc/lib-rt/getargs.c -@@ -18,6 +18,29 @@ - * and is responsible for decrefing them. - */ - -+// These macro definitions are copied from pyport.h in Python 3.9 and later -+// https://bugs.python.org/issue19569 -+#if defined(__clang__) -+#define _Py_COMP_DIAG_PUSH _Pragma("clang diagnostic push") -+#define _Py_COMP_DIAG_IGNORE_DEPR_DECLS \ -+ _Pragma("clang diagnostic ignored \"-Wdeprecated-declarations\"") -+#define _Py_COMP_DIAG_POP _Pragma("clang diagnostic pop") -+#elif defined(__GNUC__) \ -+ && ((__GNUC__ >= 5) || (__GNUC__ == 4) && (__GNUC_MINOR__ >= 6)) -+#define _Py_COMP_DIAG_PUSH _Pragma("GCC diagnostic push") -+#define _Py_COMP_DIAG_IGNORE_DEPR_DECLS \ -+ _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"") -+#define _Py_COMP_DIAG_POP _Pragma("GCC diagnostic pop") -+#elif defined(_MSC_VER) -+#define _Py_COMP_DIAG_PUSH __pragma(warning(push)) -+#define _Py_COMP_DIAG_IGNORE_DEPR_DECLS __pragma(warning(disable: 4996)) -+#define _Py_COMP_DIAG_POP __pragma(warning(pop)) -+#else -+#define _Py_COMP_DIAG_PUSH -+#define _Py_COMP_DIAG_IGNORE_DEPR_DECLS -+#define _Py_COMP_DIAG_POP -+#endif -+ - #include "Python.h" - #include "pythonsupport.h" - -@@ -756,6 +779,9 @@ convertsimple(PyObject *arg, const char **p_format, va_list *p_va, int flags, - case 'u': /* raw unicode buffer (Py_UNICODE *) */ - case 'Z': /* raw unicode buffer or None */ - { -+ // TODO: Raise DeprecationWarning -+_Py_COMP_DIAG_PUSH -+_Py_COMP_DIAG_IGNORE_DEPR_DECLS - Py_UNICODE **p = va_arg(*p_va, Py_UNICODE **); - - if (*format == '#') { -@@ -795,6 +821,7 @@ convertsimple(PyObject *arg, const char **p_format, va_list *p_va, int flags, - arg, msgbuf, bufsize); - } - break; -+_Py_COMP_DIAG_POP - } - - case 'e': {/* encoded string */ diff --git a/dev-python/mypy/files/mypy-0.782-pytest-6.patch b/dev-python/mypy/files/mypy-0.782-pytest-6.patch deleted file mode 100644 index 0252d1138807..000000000000 --- a/dev-python/mypy/files/mypy-0.782-pytest-6.patch +++ /dev/null @@ -1,210 +0,0 @@ -From 3e77959eacf3d445a0cb4db5a4bc6dcf606fc040 Mon Sep 17 00:00:00 2001 -From: Lawrence Chan <llchan@users.noreply.github.com> -Date: Tue, 4 Aug 2020 18:14:55 -0500 -Subject: [PATCH] Use pytest Node.from_parent if available (#9263) - -* Use pytest Node.from_parent if available - -* Use pytest Node.from_parent unconditionally (requires pytest 5.4+) - -* Bump pytest test requirements - -* Require pytest 6.0 and remove unused type ignores - -* Make flake8 happy ---- - mypy/test/data.py | 37 ++++++++++++++++++++++-------------- - mypy/test/helpers.py | 2 +- - mypy/test/testfinegrained.py | 2 +- - mypy/test/testipc.py | 2 +- - mypy/test/testparse.py | 2 +- - mypy/test/testpep561.py | 2 +- - mypy/test/testpythoneval.py | 2 +- - mypyc/test/testutil.py | 2 +- - pytest.ini | 3 +-- - test-requirements.txt | 9 ++++----- - 10 files changed, 35 insertions(+), 28 deletions(-) - -diff --git a/mypy/test/data.py b/mypy/test/data.py -index 5484fd99e9..a4f2d798b1 100644 ---- a/mypy/test/data.py -+++ b/mypy/test/data.py -@@ -9,7 +9,7 @@ - from abc import abstractmethod - import sys - --import pytest # type: ignore # no pytest in typeshed -+import pytest - from typing import List, Tuple, Set, Optional, Iterator, Any, Dict, NamedTuple, Union - - from mypy.test.config import test_data_prefix, test_temp_dir, PREFIX -@@ -160,9 +160,12 @@ def parse_test_case(case: 'DataDrivenTestCase') -> None: - case.expected_fine_grained_targets = targets - - --class DataDrivenTestCase(pytest.Item): # type: ignore # inheriting from Any -+class DataDrivenTestCase(pytest.Item): - """Holds parsed data-driven test cases, and handles directory setup and teardown.""" - -+ # Override parent member type -+ parent = None # type: DataSuiteCollector -+ - input = None # type: List[str] - output = None # type: List[str] # Output for the first pass - output2 = None # type: Dict[int, List[str]] # Output for runs 2+, indexed by run number -@@ -266,7 +269,7 @@ def repr_failure(self, excinfo: Any, style: Optional[Any] = None) -> str: - # call exit() and they already print out a stack trace. - excrepr = excinfo.exconly() - else: -- self.parent._prunetraceback(excinfo) -+ self.parent._prunetraceback(excinfo) # type: ignore[no-untyped-call] - excrepr = excinfo.getrepr(style='short') - - return "data: {}:{}:\n{}".format(self.file, self.line, excrepr) -@@ -510,7 +513,9 @@ def pytest_pycollect_makeitem(collector: Any, name: str, - # Non-None result means this obj is a test case. - # The collect method of the returned DataSuiteCollector instance will be called later, - # with self.obj being obj. -- return DataSuiteCollector(name, parent=collector) -+ return DataSuiteCollector.from_parent( # type: ignore[no-untyped-call] -+ parent=collector, name=name -+ ) - return None - - -@@ -535,19 +540,23 @@ def split_test_cases(parent: 'DataSuiteCollector', suite: 'DataSuite', - for i in range(1, len(cases), 6): - name, writescache, only_when, platform_flag, skip, data = cases[i:i + 6] - platform = platform_flag[1:] if platform_flag else None -- yield DataDrivenTestCase(parent, suite, file, -- name=add_test_name_suffix(name, suite.test_name_suffix), -- writescache=bool(writescache), -- only_when=only_when, -- platform=platform, -- skip=bool(skip), -- data=data, -- line=line_no) -+ yield DataDrivenTestCase.from_parent( -+ parent=parent, -+ suite=suite, -+ file=file, -+ name=add_test_name_suffix(name, suite.test_name_suffix), -+ writescache=bool(writescache), -+ only_when=only_when, -+ platform=platform, -+ skip=bool(skip), -+ data=data, -+ line=line_no, -+ ) - line_no += data.count('\n') + 1 - - --class DataSuiteCollector(pytest.Class): # type: ignore # inheriting from Any -- def collect(self) -> Iterator[pytest.Item]: # type: ignore -+class DataSuiteCollector(pytest.Class): -+ def collect(self) -> Iterator[pytest.Item]: - """Called by pytest on each of the object returned from pytest_pycollect_makeitem""" - - # obj is the object for which pytest_pycollect_makeitem returned self. -diff --git a/mypy/test/helpers.py b/mypy/test/helpers.py -index 46c01114c4..91c5ff6ab2 100644 ---- a/mypy/test/helpers.py -+++ b/mypy/test/helpers.py -@@ -10,7 +10,7 @@ - from mypy import defaults - import mypy.api as api - --import pytest # type: ignore # no pytest in typeshed -+import pytest - - # Exporting Suite as alias to TestCase for backwards compatibility - # TODO: avoid aliasing - import and subclass TestCase directly -diff --git a/mypy/test/testfinegrained.py b/mypy/test/testfinegrained.py -index 596391da44..d4ed18cab0 100644 ---- a/mypy/test/testfinegrained.py -+++ b/mypy/test/testfinegrained.py -@@ -35,7 +35,7 @@ - from mypy.config_parser import parse_config_file - from mypy.find_sources import create_source_list - --import pytest # type: ignore # no pytest in typeshed -+import pytest - - # Set to True to perform (somewhat expensive) checks for duplicate AST nodes after merge - CHECK_CONSISTENCY = False -diff --git a/mypy/test/testipc.py b/mypy/test/testipc.py -index 1d4829d561..7dd829a590 100644 ---- a/mypy/test/testipc.py -+++ b/mypy/test/testipc.py -@@ -3,7 +3,7 @@ - - from mypy.ipc import IPCClient, IPCServer - --import pytest # type: ignore -+import pytest - import sys - import time - -diff --git a/mypy/test/testparse.py b/mypy/test/testparse.py -index e990a403a5..e9ff6839bc 100644 ---- a/mypy/test/testparse.py -+++ b/mypy/test/testparse.py -@@ -2,7 +2,7 @@ - - import sys - --from pytest import skip # type: ignore[import] -+from pytest import skip - - from mypy import defaults - from mypy.test.helpers import assert_string_arrays_equal, parse_options -diff --git a/mypy/test/testpep561.py b/mypy/test/testpep561.py -index a8eabd7702..aadf01ae5f 100644 ---- a/mypy/test/testpep561.py -+++ b/mypy/test/testpep561.py -@@ -1,6 +1,6 @@ - from contextlib import contextmanager - import os --import pytest # type: ignore -+import pytest - import re - import subprocess - from subprocess import PIPE -diff --git a/mypy/test/testpythoneval.py b/mypy/test/testpythoneval.py -index 7586a3854e..e7e9f16183 100644 ---- a/mypy/test/testpythoneval.py -+++ b/mypy/test/testpythoneval.py -@@ -18,7 +18,7 @@ - import sys - from tempfile import TemporaryDirectory - --import pytest # type: ignore # no pytest in typeshed -+import pytest - - from typing import List - -diff --git a/mypyc/test/testutil.py b/mypyc/test/testutil.py -index 18ab39a103..c1ce8626ba 100644 ---- a/mypyc/test/testutil.py -+++ b/mypyc/test/testutil.py -@@ -7,7 +7,7 @@ - import shutil - from typing import List, Callable, Iterator, Optional, Tuple - --import pytest # type: ignore[import] -+import pytest - - from mypy import build - from mypy.errors import CompileError -diff --git a/pytest.ini b/pytest.ini -index 81586a2370..ed76809091 100644 ---- a/pytest.ini -+++ b/pytest.ini -@@ -1,6 +1,5 @@ - [pytest] --# testpaths is new in 2.8 --minversion = 2.8 -+minversion = 6.0.0 - - testpaths = mypy/test mypyc/test - diff --git a/dev-python/mypy/mypy-0.782.ebuild b/dev-python/mypy/mypy-0.782.ebuild deleted file mode 100644 index d3c72c0aa9fd..000000000000 --- a/dev-python/mypy/mypy-0.782.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 - -DESCRIPTION="Optional static typing for Python" -HOMEPAGE="https://www.mypy-lang.org/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm64 ~ia64 x86" - -# stubgen collides with this package: https://bugs.gentoo.org/585594 -RDEPEND=" - !dev-util/stubgen - >=dev-python/psutil-4[${PYTHON_USEDEP}] - >=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}] - <dev-python/typed-ast-1.5.0[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-3.7.4[${PYTHON_USEDEP}] - >=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}] - <dev-python/mypy_extensions-0.5.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-python/attrs-18.0[${PYTHON_USEDEP}] - >=dev-python/lxml-4.4.0[${PYTHON_USEDEP}] - >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}] - >=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}] - >=dev-python/py-1.5.2[${PYTHON_USEDEP}] - >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - # The first two patches are backports from upstream commits - # They should be removed during the next bump - "${FILESDIR}/${P}-py39-fixes.patch" - "${FILESDIR}/${P}-pytest-6.patch" - # Needed to collect all tests - # https://github.com/python/mypy/pull/9543 - "${FILESDIR}/${P}-conftest.patch" -) - -distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme -distutils_enable_tests pytest - -python_prepare_all() { - # https://github.com/python/mypy/commit/2f291f2e312dd3bf2c05c45da0b032b240bfd7ab - # Avoid a big patch by deleting the file manually - rm test-data/samples/crawl.py || die - distutils-r1_python_prepare_all -} diff --git a/dev-python/mypy/mypy-0.790.ebuild b/dev-python/mypy/mypy-0.790.ebuild index 7691e91083de..adeb317b2d52 100644 --- a/dev-python/mypy/mypy-0.790.ebuild +++ b/dev-python/mypy/mypy-0.790.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc x86" # stubgen collides with this package: https://bugs.gentoo.org/585594 RDEPEND=" diff --git a/dev-python/pandas/pandas-1.1.4-r1.ebuild b/dev-python/pandas/pandas-1.1.4-r1.ebuild index d780a546a792..639ff61bbd41 100644 --- a/dev-python/pandas/pandas-1.1.4-r1.ebuild +++ b/dev-python/pandas/pandas-1.1.4-r1.ebuild @@ -17,7 +17,7 @@ S="${WORKDIR}/${P/_/}" SLOT="0" LICENSE="BSD" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 x86" IUSE="doc full-support minimal test X" RESTRICT="!test? ( test )" diff --git a/dev-python/pychromecast/metadata.xml b/dev-python/pychromecast/metadata.xml index 0050fee38336..b97c6ca674ee 100644 --- a/dev-python/pychromecast/metadata.xml +++ b/dev-python/pychromecast/metadata.xml @@ -1,9 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="project"> - <email>python@gentoo.org</email> - </maintainer> <maintainer type="person"> <email>prometheanfire@gentoo.org</email> <name>Matthew Thode</name> diff --git a/dev-python/pychromecast/pychromecast-4.1.0.ebuild b/dev-python/pychromecast/pychromecast-4.1.0.ebuild index 68d477ab4cda..af0bc8910945 100644 --- a/dev-python/pychromecast/pychromecast-4.1.0.ebuild +++ b/dev-python/pychromecast/pychromecast-4.1.0.ebuild @@ -6,8 +6,8 @@ EAPI=7 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) inherit distutils-r1 -DESCRIPTION="Python module to talk to Google Chromecast." -HOMEPAGE="https://github.com/balloob/pychromecast" +DESCRIPTION="Python module to talk to Google Chromecast" +HOMEPAGE="https://github.com/home-assistant-libs/pychromecast" SRC_URI="mirror://pypi/P/PyChromecast/PyChromecast-${PV}.tar.gz" S="${WORKDIR}/PyChromecast-${PV}" diff --git a/dev-python/pychroot/Manifest b/dev-python/pychroot/Manifest index 69cce8bf705f..374595c93e08 100644 --- a/dev-python/pychroot/Manifest +++ b/dev-python/pychroot/Manifest @@ -1 +1 @@ -DIST pychroot-0.10.2.tar.gz 23477 BLAKE2B a5145908c565479ba05583e396c669d344193dacaa70b489b152b49cc092cf5f77193324d48917271d01ce67c06ae737815d5c3098d02bc9ed5f1c25c2dca0f9 SHA512 e5ed1b94dc0779890786bb381fba86d13fbcdbc3df411cfcafc868ebb62fe94cf1248d15a20902b4df5dc4420abc0a93fccc7ddcb2f42ad7244a657b5ec99c76 +DIST pychroot-0.10.3.tar.gz 23637 BLAKE2B 9ea0d3fdbabddd2901cf263b9f29eb91a6a6eb732c8973773c69630a320d6e39f458fb4f420f099617ba4f6e43353fe36dc4576cb84bca271a8e7b4db260b36c SHA512 b4d9fab3d2ba9bd5fd9bf6bcb988a1e63ea03aef0c898baf724d51de97943cb41c0223a235f4fa9f733cf737a3089a90006ae5ecb9049d74ec8c78712a1b6e7a diff --git a/dev-python/pychroot/pychroot-0.10.2.ebuild b/dev-python/pychroot/pychroot-0.10.3.ebuild index 6cc06fa7b1ad..4bc1e1be66ca 100644 --- a/dev-python/pychroot/pychroot-0.10.2.ebuild +++ b/dev-python/pychroot/pychroot-0.10.3.ebuild @@ -24,7 +24,7 @@ RESTRICT="!test? ( test )" if [[ ${PV} == *9999 ]]; then RDEPEND="~dev-python/snakeoil-9999[${PYTHON_USEDEP}]" else - RDEPEND=">=dev-python/snakeoil-0.8.4[${PYTHON_USEDEP}]" + RDEPEND=">=dev-python/snakeoil-0.8.9[${PYTHON_USEDEP}]" fi DEPEND="${RDEPEND}" diff --git a/dev-python/pychroot/pychroot-9999.ebuild b/dev-python/pychroot/pychroot-9999.ebuild index 6cc06fa7b1ad..4bc1e1be66ca 100644 --- a/dev-python/pychroot/pychroot-9999.ebuild +++ b/dev-python/pychroot/pychroot-9999.ebuild @@ -24,7 +24,7 @@ RESTRICT="!test? ( test )" if [[ ${PV} == *9999 ]]; then RDEPEND="~dev-python/snakeoil-9999[${PYTHON_USEDEP}]" else - RDEPEND=">=dev-python/snakeoil-0.8.4[${PYTHON_USEDEP}]" + RDEPEND=">=dev-python/snakeoil-0.8.9[${PYTHON_USEDEP}]" fi DEPEND="${RDEPEND}" diff --git a/dev-python/pyjwt/Manifest b/dev-python/pyjwt/Manifest index 83d65a7066a8..f6338047ad6a 100644 --- a/dev-python/pyjwt/Manifest +++ b/dev-python/pyjwt/Manifest @@ -1 +1,2 @@ DIST PyJWT-1.7.1.tar.gz 41979 BLAKE2B 5604b309838b2dfb2f95e18e291c43703954664aa8acb7439072f002c1c8a1e49ff2c21d907be77a4d2f86e695ec71970d550aad2541252ac85bd7133e300b28 SHA512 70cd38127b6848933992c8b88303725ef71bfb430ad42eb63247e549b0bdab2a194137349d43ab02a1c97212dbc89f447ee3f0c5403dd14632b8b4b6b9235fc4 +DIST PyJWT-2.0.0.tar.gz 56981 BLAKE2B e093bf23beb86a287e494018aed6bd6870d5923697b6502e4269f0b991b28c4ea6a53261b88789b0786b59e03b3d4eb763006becf0666921a81d0528c7677af5 SHA512 1831c93f100cd481e2ea80e23ff9f5114806cc493efc1c42ec6ff3ecc07e716d9ba2557b0b66fd8413946d166eebc1a44c453ec5407dfeef0529d222c9187e45 diff --git a/dev-python/pyjwt/metadata.xml b/dev-python/pyjwt/metadata.xml index 58a89fcf955e..b79fb958d331 100644 --- a/dev-python/pyjwt/metadata.xml +++ b/dev-python/pyjwt/metadata.xml @@ -7,7 +7,7 @@ </maintainer> <upstream> <remote-id type="pypi">PyJWT</remote-id> - <remote-id type="github">progrium/pyjwt</remote-id> + <remote-id type="github">jpadilla/pyjwt</remote-id> <remote-id type="cpe">cpe:/a:pyjwt_project:pyjwt</remote-id> </upstream> <origin>gentoo-staging</origin> diff --git a/dev-python/pyjwt/pyjwt-2.0.0.ebuild b/dev-python/pyjwt/pyjwt-2.0.0.ebuild new file mode 100644 index 000000000000..a6d2a4170fbf --- /dev/null +++ b/dev-python/pyjwt/pyjwt-2.0.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_{6,7,8,9,10} ) + +inherit distutils-r1 optfeature + +MY_PN="PyJWT" +DESCRIPTION="JSON Web Token implementation in Python" +HOMEPAGE="https://github.com/jpadilla/pyjwt/ https://pypi.org/project/PyJWT/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" +S="${WORKDIR}"/${MY_PN}-${PV} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND="" +DEPEND=" + test? ( + >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +python_prepare_all() { + find . -name '__pycache__' -prune -exec rm -rf {} + || die + find . -name '*.pyc' -delete || die + + # enables coverage, we don't need that + rm setup.cfg || die + + distutils-r1_python_prepare_all +} + +pkg_postinst() { + elog "Available optional features:" + optfeature "cryptography" dev-python/cryptography +} diff --git a/dev-python/pylatex/Manifest b/dev-python/pylatex/Manifest index 772b2cf8d0ad..a532a7052bb2 100644 --- a/dev-python/pylatex/Manifest +++ b/dev-python/pylatex/Manifest @@ -1,2 +1 @@ -DIST pylatex-1.4.0.tar.gz 301148 BLAKE2B 4d1fa6add43556b7b2c1ff13b3bc2130d06018499197c3d1f40c9180f4346e774d69c2a356d5eab6c8686957ebafac71a78506553cf7cd3cd57d03c0e0ffffd1 SHA512 0d9ab3e733c50b5a4dd7a6758193645c5532c9153972bbed244e3f7e2d6a946bd36af428197f9cdd1a3256f4cc0db5dc78248973f9b330684ce8651c4a59ad91 DIST pylatex-1.4.1.tar.gz 301482 BLAKE2B c68c8bbf70c5099b3c3146922afe94dcf4f90bfc8644fa165ee27835f4a24642645f9849f2f9fd69656dc07dcc4807869275aacf33a1e5b9c59e539801f8e821 SHA512 55a5734e4d239cef4bcaafa0ba64eea013ba3e86d137de5a5f8311d70c949d783e2e7aad24d39d16a6febbe4bddc34e47248068e1328fe3f95f39a7c7019a3a9 diff --git a/dev-python/pylatex/metadata.xml b/dev-python/pylatex/metadata.xml index 9f55e33da2e9..05a9aa088701 100644 --- a/dev-python/pylatex/metadata.xml +++ b/dev-python/pylatex/metadata.xml @@ -10,6 +10,7 @@ <email>proxy-maint@gentoo.org</email> <name>Proxy Maintainers</name> </maintainer> + <stabilize-allarches/> <longdescription lang="en"> PyLaTeX is a Python library for creating and compiling LaTeX files or snippets. The goal of this library is being an easy, @@ -17,7 +18,7 @@ </longdescription> <upstream> <remote-id type="github">JelteF/PyLaTeX</remote-id> - <remote-id type="pypi">pylatex</remote-id> + <remote-id type="pypi">PyLaTeX</remote-id> </upstream> <origin>gentoo-staging</origin> </pkgmetadata> diff --git a/dev-python/pylatex/pylatex-1.4.0.ebuild b/dev-python/pylatex/pylatex-1.4.0.ebuild deleted file mode 100644 index eb62d2298bbe..000000000000 --- a/dev-python/pylatex/pylatex-1.4.0.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_PN="PyLaTeX" -MY_P="${MY_PN}-${PV}" - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 optfeature - -DESCRIPTION="A Python library for creating LaTeX files and snippets" -HOMEPAGE="https://github.com/JelteF/PyLaTeX" -SRC_URI="https://github.com/JelteF/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="examples" - -RDEPEND=" - dev-python/ordered-set[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -BDEPEND+=" - test? ( - dev-python/quantities[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - app-text/texlive - dev-texlive/texlive-latexextra - )" - -python_install_all() { - if use examples ; then - dodoc -r examples - docompress -x /usr/share/doc/"${PF}"/examples - fi - - distutils-r1_python_install_all -} - -pkg_postinst() { - elog "Optional dependencies:" - optfeature "compiling generated files" "app-text/texlive dev-texlive/texlive-latexextra dev-texlive/texlive-mathscience" - optfeature "matplotlib support" dev-python/matplotlib - optfeature "numpy support" dev-python/numpy - optfeature "quantities support" dev-python/quantities -} diff --git a/dev-python/pylatex/pylatex-1.4.1.ebuild b/dev-python/pylatex/pylatex-1.4.1.ebuild index 45e3ec70be7a..eb62d2298bbe 100644 --- a/dev-python/pylatex/pylatex-1.4.1.ebuild +++ b/dev-python/pylatex/pylatex-1.4.1.ebuild @@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="examples" RDEPEND=" diff --git a/dev-python/pymongo/pymongo-3.11.1.ebuild b/dev-python/pymongo/pymongo-3.11.1.ebuild index 5e5d762454fe..b7e58d943b73 100644 --- a/dev-python/pymongo/pymongo-3.11.1.ebuild +++ b/dev-python/pymongo/pymongo-3.11.1.ebuild @@ -16,7 +16,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~hppa ~x86" +KEYWORDS="amd64 ~arm64 ~hppa x86" IUSE="doc kerberos test" RESTRICT="!test? ( test )" diff --git a/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1.ebuild b/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1.ebuild index d79e0f701249..60fc32778298 100644 --- a/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1.ebuild +++ b/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/Changaco/setuptools_scm_git_archive/archive/${PV}.ta LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 arm ~arm64 ~ppc64 x86" IUSE="" DEPEND=" diff --git a/dev-python/sudsds/metadata.xml b/dev-python/sudsds/metadata.xml index c4e7a7e3d49d..a56745df0223 100644 --- a/dev-python/sudsds/metadata.xml +++ b/dev-python/sudsds/metadata.xml @@ -8,5 +8,5 @@ <longdescription lang="en"> A lightweight SOAP python client for consuming Web Services. Czech NIC labs fork. </longdescription> - <origin>calculatelinux-overlay</origin> + <origin>kit-fixups</origin> </pkgmetadata> diff --git a/dev-python/sudsds/sudsds-1.0.1-r1.ebuild b/dev-python/sudsds/sudsds-1.0.1-r1.ebuild index ac0d6b9c7860..054a9f5306c4 100644 --- a/dev-python/sudsds/sudsds-1.0.1-r1.ebuild +++ b/dev-python/sudsds/sudsds-1.0.1-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2020 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=5 PYTHON_COMPAT=( python2_7 python3_{6,7,8,9,10} ) @@ -17,4 +17,4 @@ KEYWORDS="amd64 x86" IUSE="doc" DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -RDEPEND="${DEPEND}" +RDEPEND="" |
