diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-12-21 08:17:15 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-12-21 08:17:15 +0000 |
| commit | 04a40684996eb786b4f00df749111329c2d5ecae (patch) | |
| tree | e1f9988be72dc73f25723f59e11dfab9b3a02506 /dev-python | |
| parent | 40d4c212b4d1e943d43249ce936790aa19255eef (diff) | |
| download | baldeagleos-repo-04a40684996eb786b4f00df749111329c2d5ecae.tar.gz baldeagleos-repo-04a40684996eb786b4f00df749111329c2d5ecae.tar.xz baldeagleos-repo-04a40684996eb786b4f00df749111329c2d5ecae.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
75 files changed, 751 insertions, 900 deletions
diff --git a/dev-python/Rx/Manifest b/dev-python/Rx/Manifest deleted file mode 100644 index 6d60b318607a..000000000000 --- a/dev-python/Rx/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST RxPY-3.2.0.tar.gz 891490 BLAKE2B 9d4e72c20544f1c607fa28963193ca88d7d6f63c0e4a3faa4e3aafba6cce5bb0c1b99ca7a8fb62052adc3dc02b7ca71d4c190704f18819fbb2598a38b2ce86da SHA512 08a53344ea374b025e51ebf3a7de5ea4e83c7062d0c9a3370b795a56156c8aa068f2b3415f6e5e9e2424a11bcef53a412fd0667afb0016b58b7d2a741ea1007a diff --git a/dev-python/Rx/Rx-3.2.0.ebuild b/dev-python/Rx/Rx-3.2.0.ebuild deleted file mode 100644 index 1f484f5bc253..000000000000 --- a/dev-python/Rx/Rx-3.2.0.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 virtualx - -MY_P="RxPY-${PV}" -DESCRIPTION="Reactive Extensions for Python" -HOMEPAGE="https://reactivex.io/" -SRC_URI=" - https://github.com/ReactiveX/RxPY/archive/v${PV}.tar.gz - -> ${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -DEPEND=" - test? ( - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_test() { - virtx distutils-r1_src_test -} diff --git a/dev-python/Rx/metadata.xml b/dev-python/Rx/metadata.xml deleted file mode 100644 index 083e105054a7..000000000000 --- a/dev-python/Rx/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>blueness@gentoo.org</email> - <name>Anthony G. Basile</name> - </maintainer> - <maintainer type="project"> - <email>python@gentoo.org</email> - </maintainer> - - <origin>gentoo-staging</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/bert/Manifest b/dev-python/bert/Manifest deleted file mode 100644 index d9a59b801119..000000000000 --- a/dev-python/bert/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST bert-2.2.0.tar.gz 3541 BLAKE2B 3f1f87d5205e1098f7d170da5a4e331f9421151af536c106ce2de925082c48bc739df4bbe2294a2dbe8f65d2ccc24a1d5bb944ad90e80e558cb5032e4fd7c639 SHA512 417c9752362c6dc7ade8078f259d1674fcddd09b6af595694a9c31e886dbb523460413d4bf041db29afd4d67a9d639ef8f9254077c31d1593657ad52f8ef45a8 diff --git a/dev-python/bert/bert-2.2.0-r1.ebuild b/dev-python/bert/bert-2.2.0-r1.ebuild deleted file mode 100644 index 34b09fff202a..000000000000 --- a/dev-python/bert/bert-2.2.0-r1.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="BERT Serialization Library" -HOMEPAGE="https://pypi.org/project/bert/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" - -RDEPEND="dev-python/basho-erlastic[${PYTHON_USEDEP}]" - -PATCHES=( "${FILESDIR}/${PN}-2.0.0-remove-basestring-fix.patch" ) diff --git a/dev-python/bert/files/bert-2.0.0-remove-basestring-fix.patch b/dev-python/bert/files/bert-2.0.0-remove-basestring-fix.patch deleted file mode 100644 index 3854e95cdb3a..000000000000 --- a/dev-python/bert/files/bert-2.0.0-remove-basestring-fix.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/bert/codec.py 2018-03-07 20:11:38.117925147 -0800 -+++ b/bert/codec.py 2018-03-07 20:12:19.681258078 -0800 -@@ -92,7 +92,7 @@ - return (Atom("bert"), Atom("false")) - elif obj is None: - return (Atom("bert"), Atom("nil")) -- elif isinstance(obj, basestring) and not self.__is_ascii(obj): -+ elif isinstance(obj, str) and not self.__is_ascii(obj): - return (Atom("bert"), Atom("string"), Atom(self.encoding.upper()), obj.encode(self.encoding)) - elif isinstance(obj, dict): - return (Atom("bert"), Atom("dict"), [(self.convert(k), self.convert(v)) for k, v in obj.items()]) diff --git a/dev-python/bert/metadata.xml b/dev-python/bert/metadata.xml deleted file mode 100644 index 5da7ff511b14..000000000000 --- a/dev-python/bert/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>blueness@gentoo.org</email> - <name>Anthony G. Basile</name> - </maintainer> - - <origin>gentoo-staging</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/flask-assets/Manifest b/dev-python/flask-assets/Manifest deleted file mode 100644 index c9c5e671fbaf..000000000000 --- a/dev-python/flask-assets/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST flask-assets-0.12.tar.gz 23017 BLAKE2B df7eb45a9abdd0be3f23655f49d30b53c90ea204fa0c91c286657d6b12750c7cdb11e78c2c8e140dc8677c90f52fa44c7d776c446c8fd4f92a060a570bdacb2c SHA512 28a5b275ba002c32e53200038673e507556d0acc12ccc9d2678ea3c179aa93eff275dd8fca9686186d20b65faa1600902e892a6aa4043df449c399008a37179d diff --git a/dev-python/flask-assets/flask-assets-0.12.ebuild b/dev-python/flask-assets/flask-assets-0.12.ebuild deleted file mode 100644 index 45e76af9ddc1..000000000000 --- a/dev-python/flask-assets/flask-assets-0.12.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="Flask webassets integration" -HOMEPAGE="https://github.com/miracle2k/flask-assets" -SRC_URI="https://github.com/miracle2k/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64" - -RDEPEND=" - >=dev-python/flask-0.8 - dev-python/webassets" -BDEPEND=" - ${RDEPEND}" diff --git a/dev-python/flask-assets/metadata.xml b/dev-python/flask-assets/metadata.xml deleted file mode 100644 index ada4006a960c..000000000000 --- a/dev-python/flask-assets/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>alexxy@gentoo.org</email> - <name>Alexey Shvetsov</name> - </maintainer> - - <origin>gentoo-staging</origin> - <stabilize-allarches/> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/gevent/Manifest b/dev-python/gevent/Manifest deleted file mode 100644 index c690821f867f..000000000000 --- a/dev-python/gevent/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST gevent-21.12.0.tar.gz 6201851 BLAKE2B 8c02f42d6024e912e51754df876d4f4895acdf466f2400e9fdca69ad5c7c77df7ee05f3e4c2c1e1d5731c282b62d5c940d9ca6396c27d6fe6e8a0ec13013591c SHA512 805ddb475281b6c4c46cdf5a714915b6612512745121e7b153f3d33f3460135efa4994e0ff1601402d4f7b80d285cbfdc0d5d93799fbeb8ddbf2a52888cd91ad -DIST gevent-22.10.1.tar.gz 6543407 BLAKE2B 5686a9b03d74b756b4b3d387eec5318a0edfa1de46d7c19266175111b02ecab85bc75f7b777cf708dcae58a04c564c2ec0488d19f8a8128563d38dc8b6f0606c SHA512 b91638a0e36e1e6fdc15886b78586660046134c18786bbbf2498b940abddad18e4200e0bfc759afd40b5d8304c2bb8ae131c39f7cf84c3b675a2f3d51ed261c6 diff --git a/dev-python/gevent/gevent-21.12.0-r1.ebuild b/dev-python/gevent/gevent-21.12.0-r1.ebuild deleted file mode 100644 index 0e9eb77dbcfa..000000000000 --- a/dev-python/gevent/gevent-21.12.0-r1.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -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 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos" -IUSE="doc examples test" -RESTRICT="!test? ( test )" - -DEPEND=" - >=dev-libs/libev-4.31:= - dev-libs/libuv:= - <dev-python/greenlet-2[${PYTHON_USEDEP}] - >=net-dns/c-ares-1.12:= -" -RDEPEND=" - ${DEPEND} - dev-python/zope-event[${PYTHON_USEDEP}] - dev-python/zope-interface[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - ${RDEPEND} - dev-python/dnspython[${PYTHON_USEDEP}] - 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 GEVENTSETUP_EMBED="false" - - distutils-r1_python_prepare_all -} - -python_configure_all() { - append-flags -fno-strict-aliasing -} - -python_test() { - # Just in case. - export GEVENTTEST_USE_RESOURCES=-network - - cd src/gevent/tests || die - - # Tests which need network but aren't marked as such - echo "test__getaddrinfo_import.py" >> tests_that_dont_use_resolver.txt || die - echo "test_socketqcqqrwns.py" >> tests_that_dont_use_resolver.txt || die - - # Test hangs (testPeek) - echo "test_socket.py" >> tests_that_dont_use_resolver.txt || die - - # TODO: figure out how to make them work and not hang - #GEVENT_RESOLVER=ares \ - # "${EPYTHON}" -m gevent.tests \ - # --verbose \ - # -uall,-network \ - # --config known_failures.py \ - # --ignore tests_that_dont_use_resolver.txt || die - GEVENT_RESOLVER=dnspython \ - "${EPYTHON}" -m gevent.tests \ - --verbose \ - -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/gevent-22.10.1-r1.ebuild b/dev-python/gevent/gevent-22.10.1-r1.ebuild deleted file mode 100644 index 3554b936d624..000000000000 --- a/dev-python/gevent/gevent-22.10.1-r1.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -PYTHON_REQ_USE="ssl(+),threads(+)" - -inherit distutils-r1 - -DESCRIPTION="Coroutine-based network library" -HOMEPAGE=" - https://www.gevent.org/ - https://github.com/gevent/gevent/ - 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 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" -IUSE="doc examples test" -RESTRICT="!test? ( test )" - -DEPEND=" - >=dev-libs/libev-4.31:= - dev-libs/libuv:= - <dev-python/greenlet-2[${PYTHON_USEDEP}] - >=net-dns/c-ares-1.12:= -" -RDEPEND=" - ${DEPEND} - dev-python/zope-event[${PYTHON_USEDEP}] - dev-python/zope-interface[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - ${RDEPEND} - dev-python/dnspython[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx doc - -python_prepare_all() { - export GEVENTSETUP_EMBED="false" - - distutils-r1_python_prepare_all -} - -python_test() { - # Just in case. - export GEVENTTEST_USE_RESOURCES=-network - - cd src/gevent/tests || die - - # Tests which need network but aren't marked as such - echo "test__getaddrinfo_import.py" >> tests_that_dont_use_resolver.txt || die - echo "test_socketqcqqrwns.py" >> tests_that_dont_use_resolver.txt || die - - # Test hangs (testPeek) - echo "test_socket.py" >> tests_that_dont_use_resolver.txt || die - - # TODO: figure out how to make them work and not hang - #GEVENT_RESOLVER=ares \ - # "${EPYTHON}" -m gevent.tests \ - # --verbose \ - # -uall,-network \ - # --config known_failures.py \ - # --ignore tests_that_dont_use_resolver.txt || die - GEVENT_RESOLVER=dnspython \ - "${EPYTHON}" -m gevent.tests \ - --verbose \ - -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/geventhttpclient/Manifest b/dev-python/geventhttpclient/Manifest deleted file mode 100644 index e7d41203f24b..000000000000 --- a/dev-python/geventhttpclient/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST geventhttpclient-2.0.2.tar.gz 73821 BLAKE2B 6e12c0a7eabf2d15540192e161f27e4ef5aa771ac8b60deb00c0dbfd804e5d81f729609649c88b9b8cd51125b06afaf3d31367896ada339731ba3606ef64edda SHA512 d22453bc4fef8d9ad3b98a137d74df1647c69c594a8fa4b49848e71ca472373e44c70e3ed3798d73aca9089495cff1b5f888d1b1e39b1da60ee9052935b7b0a1 -DIST geventhttpclient-2.0.7.tar.gz 75969 BLAKE2B f749e42ccfd981cc67c1692695454f410708ca75f24b2ae6408556bda07d1e45f367421fbddc203f46ac82daf539d192fdab16245a20b6f3f883478c8b8e354f SHA512 7570b297c13a28761ec639721ecb44fdcac46141167e67ceac4e632058458b62acef0513c794c80e44980747807a175e7a39e6c5ff272be3ceddbeca9f629114 -DIST geventhttpclient-2.0.8.tar.gz 76142 BLAKE2B f55847347861680d227830c818487cfc444ffd822c54480f416874e71901b541d374f84c354247d9537dc3e5796790bf316139d819264fcba09ce565b569cb2a SHA512 0de485c4efff810da561e4bef67a19d763ccbff4d3b952aa57e576ba4d50a97fe5f818f0c927548643d1f68fb6a3db405669c58c2298a3ea809179f5a97cb810 diff --git a/dev-python/geventhttpclient/geventhttpclient-2.0.2.ebuild b/dev-python/geventhttpclient/geventhttpclient-2.0.2.ebuild deleted file mode 100644 index 49e03e9f40da..000000000000 --- a/dev-python/geventhttpclient/geventhttpclient-2.0.2.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="A high performance, concurrent HTTP client library for Python using gevent" -HOMEPAGE=" - https://github.com/geventhttpclient/geventhttpclient/ - https://pypi.org/project/geventhttpclient/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ppc ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -RDEPEND=" - app-arch/brotli[python,${PYTHON_USEDEP}] - dev-python/certifi[${PYTHON_USEDEP}] - dev-python/gevent[events(+),${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - # Avoid ModuleNotFoundError for tests we skip later - sed -e '/^import dpkt.ssl/d' -i src/geventhttpclient/tests/test_ssl.py || die - distutils-r1_python_prepare_all -} - -python_test() { - local EPYTEST_DESELECT=( - # These SNI tests require dpkt which is not in the tree - src/geventhttpclient/tests/test_ssl.py::test_implicit_sni_from_host_in_ssl - src/geventhttpclient/tests/test_ssl.py::test_implicit_sni_from_header_in_ssl - src/geventhttpclient/tests/test_ssl.py::test_explicit_sni_in_ssl - ) - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # Skip tests which require internet access - epytest -m "not online" -} diff --git a/dev-python/geventhttpclient/geventhttpclient-2.0.7.ebuild b/dev-python/geventhttpclient/geventhttpclient-2.0.7.ebuild deleted file mode 100644 index 2454205ede91..000000000000 --- a/dev-python/geventhttpclient/geventhttpclient-2.0.7.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="A high performance, concurrent HTTP client library for Python using gevent" -HOMEPAGE=" - https://github.com/geventhttpclient/geventhttpclient/ - https://pypi.org/project/geventhttpclient/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -RDEPEND=" - app-arch/brotli[python,${PYTHON_USEDEP}] - dev-python/certifi[${PYTHON_USEDEP}] - dev-python/gevent[events(+),${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - # Avoid ModuleNotFoundError for tests we skip later - sed -e '/^import dpkt.ssl/d' -i src/geventhttpclient/tests/test_ssl.py || die - distutils-r1_python_prepare_all -} - -python_test() { - local EPYTEST_DESELECT=( - # These SNI tests require dpkt which is not in the tree - src/geventhttpclient/tests/test_ssl.py::test_implicit_sni_from_host_in_ssl - src/geventhttpclient/tests/test_ssl.py::test_implicit_sni_from_header_in_ssl - src/geventhttpclient/tests/test_ssl.py::test_explicit_sni_in_ssl - ) - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # Skip tests which require internet access - epytest -m "not online" -} diff --git a/dev-python/geventhttpclient/geventhttpclient-2.0.8.ebuild b/dev-python/geventhttpclient/geventhttpclient-2.0.8.ebuild deleted file mode 100644 index 2454205ede91..000000000000 --- a/dev-python/geventhttpclient/geventhttpclient-2.0.8.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="A high performance, concurrent HTTP client library for Python using gevent" -HOMEPAGE=" - https://github.com/geventhttpclient/geventhttpclient/ - https://pypi.org/project/geventhttpclient/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -RDEPEND=" - app-arch/brotli[python,${PYTHON_USEDEP}] - dev-python/certifi[${PYTHON_USEDEP}] - dev-python/gevent[events(+),${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - # Avoid ModuleNotFoundError for tests we skip later - sed -e '/^import dpkt.ssl/d' -i src/geventhttpclient/tests/test_ssl.py || die - distutils-r1_python_prepare_all -} - -python_test() { - local EPYTEST_DESELECT=( - # These SNI tests require dpkt which is not in the tree - src/geventhttpclient/tests/test_ssl.py::test_implicit_sni_from_host_in_ssl - src/geventhttpclient/tests/test_ssl.py::test_implicit_sni_from_header_in_ssl - src/geventhttpclient/tests/test_ssl.py::test_explicit_sni_in_ssl - ) - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # Skip tests which require internet access - epytest -m "not online" -} diff --git a/dev-python/geventhttpclient/metadata.xml b/dev-python/geventhttpclient/metadata.xml deleted file mode 100644 index db23f2d22a04..000000000000 --- a/dev-python/geventhttpclient/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>sbraz@gentoo.org</email> - <name>Louis Sautier</name> - </maintainer> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> - <upstream> - <bugs-to>https://github.com/geventhttpclient/geventhttpclient/issues</bugs-to> - </upstream> - <origin>gentoo-staging</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/hypercorn/Manifest b/dev-python/hypercorn/Manifest index 08d4946041ad..09c22ff73087 100644 --- a/dev-python/hypercorn/Manifest +++ b/dev-python/hypercorn/Manifest @@ -1 +1 @@ -DIST hypercorn-0.13.2.gh.tar.gz 151984 BLAKE2B b0176016819409cb6958a758041bfe710a008d141a52348ce545deb285cb9e6fc0a4c05321d021bfae5b9de96149db9302f9ce40d01b57c3176d6ad9aef61402 SHA512 c7f12c173b2e9da6108388b2a66b2abca7e26e0d2952e9f3828e94d37b9e3df6076395afd8438aaaa7e328f9a4b085d62f6efd28e2503c4db9bc1f430795048e +DIST hypercorn-0.14.3.gh.tar.gz 154930 BLAKE2B da827d586307ace6ef9ddb8ca4046ebc5c745df1d48152ed78b948751a7d472c73d5f8310e58266158af4739e14f2960a46c2e7fc7f12bf7629a3edb3821b58f SHA512 f0d69ab1883379058112907547e6f89a4a7114d7f4851b92f0c465d73def9cc15508e3981bda7e66ce3c00e896f7fb221b3dcd8bee6a51d8429572b678b7ade8 diff --git a/dev-python/hypercorn/files/hypercorn-0.11.2-no-coverage.patch b/dev-python/hypercorn/files/hypercorn-0.11.2-no-coverage.patch deleted file mode 100644 index 8c3f4210a6bd..000000000000 --- a/dev-python/hypercorn/files/hypercorn-0.11.2-no-coverage.patch +++ /dev/null @@ -1,9 +0,0 @@ ---- a/setup.cfg -+++ b/setup.cfg -@@ -43,5 +43,5 @@ - ignore_missing_imports = True - - [tool:pytest] --addopts = --no-cov-on-fail --showlocals -+addopts = --showlocals - testpaths = tests diff --git a/dev-python/hypercorn/files/hypercorn-0.13.2-no-coverage.patch b/dev-python/hypercorn/files/hypercorn-0.13.2-no-coverage.patch deleted file mode 100644 index 78609bd739f8..000000000000 --- a/dev-python/hypercorn/files/hypercorn-0.13.2-no-coverage.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -88,7 +88,7 @@ - ignore_missing_imports = true - - [tool.pytest.ini_options] --addopts = "--no-cov-on-fail --showlocals --strict-markers" -+addopts = "--showlocals --strict-markers" - testpaths = ["tests"] - - [build-system] diff --git a/dev-python/hypercorn/files/hypercorn-0.14.3-tomli.patch b/dev-python/hypercorn/files/hypercorn-0.14.3-tomli.patch new file mode 100644 index 000000000000..a438680423a9 --- /dev/null +++ b/dev-python/hypercorn/files/hypercorn-0.14.3-tomli.patch @@ -0,0 +1,106 @@ +From 676612c73d3c231f823f88ea0995e80522db6178 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Mon, 19 Dec 2022 15:27:41 +0100 +Subject: [PATCH] Use tomllib/tomli for .toml support + +Replace the unmaintained and non-conformant `toml` library with +the built-in `tomllib` module in Python 3.11+, with fallback to `tomli` +(featuring the same ABI) in Python 3.10 and older. +--- + pyproject.toml | 2 +- + src/hypercorn/config.py | 10 +++++++--- + src/hypercorn/logging.py | 10 +++++++--- + tox.ini | 1 - + 4 files changed, 15 insertions(+), 8 deletions(-) + +diff --git a/pyproject.toml b/pyproject.toml +index 71ceaff..1334fcf 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -30,7 +30,7 @@ h11 = "*" + h2 = ">=3.1.0" + priority = "*" + pydata_sphinx_theme = { version = "*", optional = true } +-toml = "*" ++tomli = { version = "*", python = "<3.11" } + trio = { version = ">=0.11.0", optional = true } + typing_extensions = { version = ">=3.7.4", python = "<3.8" } + uvloop = { version = "*", markers = "platform_system != 'Windows'", optional = true } +diff --git a/src/hypercorn/config.py b/src/hypercorn/config.py +index f9a9d66..ecfa1bd 100644 +--- a/src/hypercorn/config.py ++++ b/src/hypercorn/config.py +@@ -6,6 +6,7 @@ import logging + import os + import socket + import stat ++import sys + import types + import warnings + from dataclasses import dataclass +@@ -22,7 +23,10 @@ from time import time + from typing import Any, AnyStr, Dict, List, Mapping, Optional, Tuple, Type, Union + from wsgiref.handlers import format_date_time + +-import toml ++if sys.version_info >= (3, 11): ++ import tomllib ++else: ++ import tomli as tomllib + + from .logging import Logger + +@@ -355,8 +359,8 @@ class Config: + filename: The filename which gives the path to the file. + """ + file_path = os.fspath(filename) +- with open(file_path) as file_: +- data = toml.load(file_) ++ with open(file_path, "rb") as file_: ++ data = tomllib.load(file_) + return cls.from_mapping(data) + + @classmethod +diff --git a/src/hypercorn/logging.py b/src/hypercorn/logging.py +index 3c2c657..8ca6105 100644 +--- a/src/hypercorn/logging.py ++++ b/src/hypercorn/logging.py +@@ -9,7 +9,11 @@ from http import HTTPStatus + from logging.config import dictConfig, fileConfig + from typing import Any, IO, Mapping, Optional, TYPE_CHECKING, Union + +-import toml ++if sys.version_info >= (3, 11): ++ import tomllib ++else: ++ import tomli as tomllib ++ + + if TYPE_CHECKING: + from .config import Config +@@ -65,8 +69,8 @@ class Logger: + with open(config.logconfig[5:]) as file_: + dictConfig(json.load(file_)) + elif config.logconfig.startswith("toml:"): +- with open(config.logconfig[5:]) as file_: +- dictConfig(toml.load(file_)) ++ with open(config.logconfig[5:], "rb") as file_: ++ dictConfig(tomllib.load(file_)) + else: + log_config = { + "__file__": config.logconfig, +diff --git a/tox.ini b/tox.ini +index 675992b..0f636fb 100644 +--- a/tox.ini ++++ b/tox.ini +@@ -47,7 +47,6 @@ basepython = python3.10 + deps = + mypy + pytest +- types-toml + commands = + mypy src/hypercorn/ tests/ + +-- +2.39.0 + diff --git a/dev-python/hypercorn/hypercorn-0.13.2.ebuild b/dev-python/hypercorn/hypercorn-0.14.3-r1.ebuild index 0e55e76bd8e0..aab057d5d9a6 100644 --- a/dev-python/hypercorn/hypercorn-0.13.2.ebuild +++ b/dev-python/hypercorn/hypercorn-0.14.3-r1.ebuild @@ -1,17 +1,16 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + inherit distutils-r1 -DESCRIPTION="ASGI Server based on Hyper libraries and inspired by Gunicorn" +DESCRIPTION="A ASGI Server based on Hyper libraries and inspired by Gunicorn" HOMEPAGE=" - https://pgjones.gitlab.io/hypercorn - https://gitlab.com/pgjones/hypercorn - https://github.com/pgjones/hypercorn + https://github.com/pgjones/hypercorn/ https://pypi.org/project/hypercorn/ " SRC_URI=" @@ -21,28 +20,32 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" RDEPEND=" dev-python/h11[${PYTHON_USEDEP}] >=dev-python/h2-3.1.0[${PYTHON_USEDEP}] dev-python/priority[${PYTHON_USEDEP}] - dev-python/toml[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.{8..10}) >=dev-python/wsproto-0.14.0[${PYTHON_USEDEP}] " BDEPEND=" test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - >=dev-python/mock-4[${PYTHON_USEDEP}] dev-python/pytest-asyncio[${PYTHON_USEDEP}] dev-python/pytest-trio[${PYTHON_USEDEP}] dev-python/trio[${PYTHON_USEDEP}] ) " -PATCHES=( "${FILESDIR}/${P}-no-coverage.patch" ) - distutils_enable_tests pytest -distutils_enable_sphinx docs \ - dev-python/pydata-sphinx-theme +src_prepare() { + local PATCHES=( + "${FILESDIR}"/${P}-tomli.patch + ) + + sed -i -e 's:--no-cov-on-fail::' pyproject.toml || die + distutils-r1_src_prepare +} diff --git a/dev-python/hypercorn/metadata.xml b/dev-python/hypercorn/metadata.xml index 42520fae4c07..ea8988e8af6a 100644 --- a/dev-python/hypercorn/metadata.xml +++ b/dev-python/hypercorn/metadata.xml @@ -1,23 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>lssndrbarbieri@gmail.com</email> - <name>Alessandro Barbieri</name> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> </maintainer> - <longdescription lang="en"> -Hypercorn is an ASGI web server based on the sans-io hyper, h11, h2, and wsproto libraries -and inspired by Gunicorn. Hypercorn supports HTTP/1, HTTP/2, WebSockets (over HTTP/1 and -HTTP/2), ASGI/2, and ASGI/3 specifications. Hypercorn can utilise asyncio, uvloop, or trio -worker types. - -Hypercorn can optionally serve the current draft of the HTTP/3 specification -using the aioquic library. To enable this install the h3 optional extra, pip install -hypercorn[h3] and then choose a quic binding e.g. hypercorn --quic-bind localhost:4433 - -Hypercorn was initially part of Quart before being separated out into a -standalone ASGI server. Hypercorn forked from version 0.5.0 of Quart. - </longdescription> - <origin>gentoo-guru-overlay</origin> + <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/ipykernel/Manifest b/dev-python/ipykernel/Manifest index cc0e4d4bafb1..c6c289b52c7c 100644 --- a/dev-python/ipykernel/Manifest +++ b/dev-python/ipykernel/Manifest @@ -1,3 +1,4 @@ DIST ipykernel-6.18.3.tar.gz 141999 BLAKE2B da5b0b2a36a58f2c91fdeab95a7e4bb33e09f9663eccb6d394f69a5a25e7e55e3f18315d017aaf435607efa73acca955665f7720b75ac4aa3256aa034698082d SHA512 0687ac146bac38bbdd6abad11df31572cb105bd41b79de98b40c18b60cdcb550b7ea10d68acf99f26d70c00ed4ef371d6dc2b6a4ce27eccae3f736955754ca1a DIST ipykernel-6.19.2.tar.gz 143367 BLAKE2B f6f38f5eed3a11951d303f49c58131d9473040b34032c133cf0f788bb648fc7c8529e3879dce315dcd3eda4eb1be45eb4891d10d4a2d006bb7947f2b342a47a7 SHA512 67ccbffb2d9eba27e9b87c7bd9dc471955c0109ea30caf77412f74c803dc25ab526de90d8351c9459b5d7b2009c746f73ac4a08ae8c277d2e2de8344aef71834 DIST ipykernel-6.19.3.tar.gz 143840 BLAKE2B 9736d1ae2a2ef3c807bcea78aafc4ca2e3813693bddf9eac82425aed78382c36d736d5b4351989d9fdf3343335c503fef92f76ebff5a313e5af222aa78a04a04 SHA512 5c37e60ee353e469c0d7fce20a66d8e71dc57120ace6d518ed98816280c794ffafe8e8226545d978fc822760b5874371eafcb20cb7195328e505073eb70b4f06 +DIST ipykernel-6.19.4.tar.gz 144072 BLAKE2B 25e2031a9198079488ef43b9c65e656be720ec8ac6648cb3eb65705be5c117d32c783776c0d8f5da466e745979ccb64573720146c0b41835ecb646bf25e7d4f8 SHA512 623a8cac7abfce0147a08fe55bf88772bfaf317431a608a99ae3e7058ebb120464d751a8b95633ccde5201b4cc2c1bde32dd823add96e5f2bb1ef20da19652dd diff --git a/dev-python/ipykernel/ipykernel-6.19.4.ebuild b/dev-python/ipykernel/ipykernel-6.19.4.ebuild new file mode 100644 index 000000000000..caf88dc23796 --- /dev/null +++ b/dev-python/ipykernel/ipykernel-6.19.4.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="IPython Kernel for Jupyter" +HOMEPAGE=" + https://github.com/ipython/ipykernel/ + https://pypi.org/project/ipykernel/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/comm-0.1.1[${PYTHON_USEDEP}] + >=dev-python/debugpy-1.0[${PYTHON_USEDEP}] + >=dev-python/ipython-7.23.1[${PYTHON_USEDEP}] + >=dev-python/jupyter_client-6.1.12[${PYTHON_USEDEP}] + >=dev-python/matplotlib-inline-0.1[${PYTHON_USEDEP}] + dev-python/nest_asyncio[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + >=dev-python/pyzmq-17[${PYTHON_USEDEP}] + >=dev-python/tornado-6.1[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.4.0[${PYTHON_USEDEP}] +" +# RDEPEND seems specifically needed in BDEPEND, at least jupyter +# bug #816486 +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/ipyparallel[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # TODO + ipykernel/tests/test_debugger.py::test_attach_debug + ipykernel/tests/test_debugger.py::test_breakpoint_in_cell_with_leading_empty_lines + ipykernel/tests/test_debugger.py::test_rich_inspect_at_breakpoint + ipykernel/tests/test_debugger.py::test_rich_inspect_not_at_breakpoint + ipykernel/tests/test_debugger.py::test_set_breakpoints + ipykernel/tests/test_debugger.py::test_stop_on_breakpoint +) + +src_prepare() { + sed -i -e 's:^TIMEOUT = .*:TIMEOUT = 120:' ipykernel/tests/*.py || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + # Use python3 in kernel.json configuration, bug #784764 + sed -i -e '/python3.[0-9]\+/s//python3/' \ + "${BUILD_DIR}/install${EPREFIX}/usr/share/jupyter/kernels/python3/kernel.json" || die +} diff --git a/dev-python/jupyter_events/Manifest b/dev-python/jupyter_events/Manifest new file mode 100644 index 000000000000..2f0669a0a419 --- /dev/null +++ b/dev-python/jupyter_events/Manifest @@ -0,0 +1 @@ +DIST jupyter_events-0.5.0.tar.gz 55838 BLAKE2B a3ac815a28d2592a10394569726b76de75cb3baab0bab4c1f276da33375ba93d6bfed71fbfaca404a238b7af58ebd7e75dd7fdf6c8717141517c2f790eeb9514 SHA512 49c21f0d5dce18b137f73911b0272919a56c972561deceb228558ea369f2091ce219ac335eec002b22ca1465b2622330fb3d8973d142df4b76e350345cb6249a diff --git a/dev-python/jupyter_events/jupyter_events-0.5.0.ebuild b/dev-python/jupyter_events/jupyter_events-0.5.0.ebuild new file mode 100644 index 000000000000..f4a2c0e7d08b --- /dev/null +++ b/dev-python/jupyter_events/jupyter_events-0.5.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Jupyter Event System library" +HOMEPAGE="https://jupyter.org" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64" + +RDEPEND=" + >=dev-python/jsonschema-4.3.0[${PYTHON_USEDEP}] + dev-python/python-json-logger[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/traitlets[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-console-scripts[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + ) +" + +# TODO: package jupyterlite-sphinx +# distutils_enable_sphinx docs +distutils_enable_tests pytest diff --git a/dev-python/webassets/metadata.xml b/dev-python/jupyter_events/metadata.xml index 853174b8f2ab..f779b78a9efd 100644 --- a/dev-python/webassets/metadata.xml +++ b/dev-python/jupyter_events/metadata.xml @@ -2,9 +2,14 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <maintainer type="project"> <email>python@gentoo.org</email> <name>Python</name> </maintainer> <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/jupyter_server/Manifest b/dev-python/jupyter_server/Manifest index f917c0e4d5bd..eb12eb5cde42 100644 --- a/dev-python/jupyter_server/Manifest +++ b/dev-python/jupyter_server/Manifest @@ -1 +1,2 @@ DIST jupyter_server-1.19.1.tar.gz 453411 BLAKE2B 800231e7e7ddfcf2a2c2f2725971983d754c76940623ce000e6b86ad503bc6ca68a27e55ca3766193e58184a7148471464dfa9c27076e53ac84b176b8ff65897 SHA512 f4228c73950e49fe26add11c61f3de425b963726908a2df7dae21bb38b986c2ebb6abfc3319ef9e3acbc2fef9579a1a70ac594920985977adf580a082d272368 +DIST jupyter_server-2.0.1.tar.gz 680584 BLAKE2B 06ec85e0088f3ab7d08935b2b085c96d4ce9b787895a573024f64af48b78a7c99bbe8fa8330f8536b55d32fd7321a5cb56958a55a6044aec687107d13dce9db0 SHA512 c8d676da5af479ca0492c94615b01f9d2efb0d8e3aefa78437c44997409afeef1eaf7e269ce48047597d83cc82a26602108db17eacddca73179e9042ee145afa diff --git a/dev-python/jupyter_server/files/jupyter_server-2.0.1-skip-npm.patch b/dev-python/jupyter_server/files/jupyter_server-2.0.1-skip-npm.patch new file mode 100644 index 000000000000..18bd285491bd --- /dev/null +++ b/dev-python/jupyter_server/files/jupyter_server-2.0.1-skip-npm.patch @@ -0,0 +1,22 @@ +diff --git a/pyproject.toml b/pyproject.toml +index a23f5e1..203f47f 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -140,17 +140,6 @@ validate-bump = false + [tool.hatch.build] + artifacts = ["jupyter_server/static/style"] + +-[tool.hatch.build.hooks.jupyter-builder] +-dependencies = ["hatch-jupyter-builder>=0.8.1"] +-build-function = "hatch_jupyter_builder.npm_builder" +-ensured-targets = [ +- "jupyter_server/static/style/bootstrap.min.css", +- "jupyter_server/static/style/bootstrap-theme.min.css" +-] +-skip-if-exists = ["jupyter_server/static/style/bootstrap.min.css"] +-install-pre-commit-hook = true +-optional-editable-build = true +- + [tool.black] + line-length = 100 + target-version = ["py38"] diff --git a/dev-python/jupyter_server/jupyter_server-2.0.1.ebuild b/dev-python/jupyter_server/jupyter_server-2.0.1.ebuild new file mode 100644 index 000000000000..7383b51d70b7 --- /dev/null +++ b/dev-python/jupyter_server/jupyter_server-2.0.1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Core services, APIs, and REST endpoints to Jupyter web applications" +HOMEPAGE="https://jupyter.org" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64" + +RDEPEND=" + >=dev-python/anyio-3.1.0[${PYTHON_USEDEP}] + <dev-python/anyio-4[${PYTHON_USEDEP}] + dev-python/argon2-cffi[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + >=dev-python/jupyter_client-6.1.1[${PYTHON_USEDEP}] + >=dev-python/jupyter_core-4.12.0[${PYTHON_USEDEP}] + >=dev-python/jupyter_events-0.4.0[${PYTHON_USEDEP}] + >=dev-python/nbconvert-6.4.4[${PYTHON_USEDEP}] + >=dev-python/nbformat-5.3.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/prometheus_client[${PYTHON_USEDEP}] + >=dev-python/pyzmq-24[${PYTHON_USEDEP}] + dev-python/send2trash[${PYTHON_USEDEP}] + >=dev-python/terminado-0.8.3[${PYTHON_USEDEP}] + >=dev-python/tornado-6.2[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.6.0[${PYTHON_USEDEP}] + dev-python/websocket-client[${PYTHON_USEDEP}] + +" +BDEPEND=" + test? ( + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/pytest-console-scripts[${PYTHON_USEDEP}] + dev-python/pytest_jupyter[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-tornasync[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + dev-python/pydata-sphinx-theme \ + dev-python/myst_parser \ + dev-python/ipython \ + dev-python/sphinxemoji \ + dev-python/sphinxcontrib-github-alt \ + dev-python/sphinxcontrib-openapi +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # This fails if your terminal is zsh (and maybe other non-bash as well?) + tests/test_terminal.py + # Fails because above is ignored + tests/auth/test_authorizer.py + # Fails with additional extensions installed + tests/extension/test_app.py::test_stop_extension +) + +PATCHES=( + "${FILESDIR}/${P}-skip-npm.patch" +) + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest \ + -p pytest_tornasync.plugin \ + -p jupyter_server.pytest_plugin \ + -p pytest_console_scripts \ + -p pytest_timeout +} diff --git a/dev-python/jupyterlab/Manifest b/dev-python/jupyterlab/Manifest index bda33f2cdafb..e871fa7d6d0c 100644 --- a/dev-python/jupyterlab/Manifest +++ b/dev-python/jupyterlab/Manifest @@ -1 +1,2 @@ DIST jupyterlab-3.5.0.tar.gz 17110889 BLAKE2B 89b20734dea44419af023b88c85b243fa3f8ac0c7272600729da8690eb53cd4286d9c9bb90e95e291644de3675a9daae63898d6621cc4c21b4fc8e0d965242b4 SHA512 43b893127b5b4f1ccd472dfe9152d4ac8f89192411d1fa6045e3ecfb5f8f16819d1cf4b6fd70d9656d25d10cafff55055da98d36d2c8537d5b07e29e2d157799 +DIST jupyterlab-3.5.2.tar.gz 17111761 BLAKE2B 77c63d8842f9e58a10ed3fae3ecd9cd6b10045d3aec1e90cbc83fe40bc7d4b5cbac4eabbaac2a36c77815cd27f332a35ffdf8ea5e7fd07e95893bd5bad5c68a4 SHA512 b6a5b314fc23e4a9164085827123c19570d112519c6651453006cc18f89c1eaac74871f6e8faf9ced4c32eada72912f72b2ab3cb2ff101ef6b6e3e70601494aa diff --git a/dev-python/jupyterlab/jupyterlab-3.5.2.ebuild b/dev-python/jupyterlab/jupyterlab-3.5.2.ebuild new file mode 100644 index 000000000000..6180e88240fd --- /dev/null +++ b/dev-python/jupyterlab/jupyterlab-3.5.2.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +DISTUTILS_USE_PEP517=jupyter +inherit distutils-r1 + +DESCRIPTION="JupyterLab computational environment" +HOMEPAGE="https://jupyter.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD MIT GPL-3 Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="dev-python/jupyter_packaging[${PYTHON_USEDEP}]" + +RDEPEND=" + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/jupyter_core[${PYTHON_USEDEP}] + >=dev-python/jupyterlab_server-2.10[${PYTHON_USEDEP}] + >=dev-python/jupyter_server-1.16[${PYTHON_USEDEP}] + >=dev-python/nbclassic-0.2[${PYTHON_USEDEP}] + <dev-python/notebook-7[${PYTHON_USEDEP}] + >=dev-python/jinja-2.1[${PYTHON_USEDEP}] + >=dev-python/tornado-6.2[${PYTHON_USEDEP}] + dev-python/tomli[${PYTHON_USEDEP}] + net-libs/nodejs +" + +BDEPEND="test? ( + dev-python/check-manifest[${PYTHON_USEDEP}] + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/jupyterlab_server[${PYTHON_USEDEP}] + dev-python/openapi-core[${PYTHON_USEDEP}] + dev-python/openapi-spec-validator[${PYTHON_USEDEP}] + dev-python/pytest-console-scripts[${PYTHON_USEDEP}] + dev-python/pytest-tornasync[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + dev-python/requests-cache[${PYTHON_USEDEP}] + dev-python/strict-rfc3339[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] +)" + +EPYTEST_DESELECT=( + # These tests call npm and want internet + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_uninstall_core_extension + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned_folder + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom_minimal_core_config + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_check + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build + jupyterlab/tests/test_build_api.py::TestBuildAPI::test_clear + jupyterlab/tests/test_build_api.py::TestBuildAPI::test_build +) + +distutils_enable_tests pytest +# TODO: package sphinx_copybutton +#distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme dev-python/myst_parser + +python_install_all() { + distutils-r1_python_install_all + mv "${ED}/usr/etc" "${ED}/etc" || die +} diff --git a/dev-python/jupyterlab_server/Manifest b/dev-python/jupyterlab_server/Manifest index dea1e63e1887..f8b9a8c2f910 100644 --- a/dev-python/jupyterlab_server/Manifest +++ b/dev-python/jupyterlab_server/Manifest @@ -1 +1,2 @@ DIST jupyterlab_server-2.16.2.tar.gz 64742 BLAKE2B 73b3c1f7080134e30d9e0d38af9ef8f5e4161a11d1a08e6d638ffdccd4def0f7fb7b16c8ef1e9191542e27267f2e47a8a21bf53dc103c4c79c32b9722252095d SHA512 d7229343994d78ae2ff0d5cdfa2670f23f221ab2bfd009351c5a8a5611b0dd04c47eb5c899a4155712322f3c3f74fcbcbb3a687cdc737382bc3eabca6d69c527 +DIST jupyterlab_server-2.16.5.tar.gz 67949 BLAKE2B 0e2e1ad3ca9163d34762893b3af2e675a8474fdb129e8735e567f111549ecaf1c23693064b757d68aeec63469f071428d827e361b253bcf241474f5386934bba SHA512 b125c3283d42ea813b12f891144665ec5c4a5827cbb01e9f80cd7826ba2647016344f939807c7095021293eb01e5ec3e151ce206272d0dca3eba3d7423fc4a6b diff --git a/dev-python/jupyterlab_server/jupyterlab_server-2.16.5.ebuild b/dev-python/jupyterlab_server/jupyterlab_server-2.16.5.ebuild new file mode 100644 index 000000000000..5c12fd8e0844 --- /dev/null +++ b/dev-python/jupyterlab_server/jupyterlab_server-2.16.5.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +DISTUTILS_USE_PEP517=hatchling + +inherit distutils-r1 + +DESCRIPTION="Server components for JupyterLab and JupyterLab like applications" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyterlab/jupyterlab_server/ + https://pypi.org/project/jupyterlab-server/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/Babel-2.10[${PYTHON_USEDEP}] + >=dev-python/jinja-3.0.3[${PYTHON_USEDEP}] + >=dev-python/json5-0.9.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.0.1[${PYTHON_USEDEP}] + >=dev-python/packaging-21.3[${PYTHON_USEDEP}] + >=dev-python/requests-2.28[${PYTHON_USEDEP}] + >=dev-python/jupyter_server-1.21[${PYTHON_USEDEP}] + <dev-python/jupyter_server-3[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/importlib_metadata-4.8.3[${PYTHON_USEDEP}] + ' 3.8 3.9) +" + +BDEPEND=" + test? ( + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/jupyter_server[${PYTHON_USEDEP}] + >=dev-python/openapi-core-0.14.2[${PYTHON_USEDEP}] + <dev-python/openapi-core-0.15[${PYTHON_USEDEP}] + dev-python/openapi-spec-validator[${PYTHON_USEDEP}] + dev-python/pytest-tornasync[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + dev-python/strict-rfc3339[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +# TODO: package autodoc_traits +#distutils_enable_sphinx docs/source dev-python/pydata-sphinx-theme dev-python/myst_parser + +python_test() { + local EPYTEST_IGNORE=( + tests/test_translation_api.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_tornasync.plugin +} diff --git a/dev-python/libpy_simdjson/Manifest b/dev-python/libpy_simdjson/Manifest deleted file mode 100644 index 388003c93ddc..000000000000 --- a/dev-python/libpy_simdjson/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST libpy_simdjson-0.4.0.tar.gz 3319968 BLAKE2B bb24af861cda5973af73718f098a514e74e852f59703c694a7bd4875f183cb0daacab7cedca9757df42557f6d1d9e2408e15443977a1dbdd6bb12cd09a488774 SHA512 c3a8c1a24f338d1fdcd0a07c64da8887b0e6e44dc701ddc23f27d569319c01d9f7ff9198de6d828e2925c2fd6444b64e3273f4e16fc9d5c1a173c6edfaccd83f diff --git a/dev-python/libpy_simdjson/libpy_simdjson-0.4.0.ebuild b/dev-python/libpy_simdjson/libpy_simdjson-0.4.0.ebuild deleted file mode 100644 index 377f1e9cbfd8..000000000000 --- a/dev-python/libpy_simdjson/libpy_simdjson-0.4.0.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -DISTUTILS_USE_SETUPTOOLS=rdepend -inherit distutils-r1 - -DESCRIPTION="Python bindings for simdjson using libpy" -HOMEPAGE="https://github.com/gerrymanoim/libpy_simdjson" -SRC_URI="https://github.com/gerrymanoim/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" - -DEPEND=" - dev-cpp/range-v3:= - dev-libs/simdjson:= - dev-libs/libpy[${PYTHON_USEDEP}] -" -RDEPEND="${DEPEND}" -BDEPEND="${DEPEND}" - -distutils_enable_tests pytest - -python_prepare_all() { - # benchmark tests have extra dependencies - rm libpy_simdjson/tests/test_benchmark.py || die - - sed -e 's:werror=True:werror=False:' -i setup.py || die - - distutils-r1_python_prepare_all -} diff --git a/dev-python/libpy_simdjson/metadata.xml b/dev-python/libpy_simdjson/metadata.xml deleted file mode 100644 index 0f2e57ded13c..000000000000 --- a/dev-python/libpy_simdjson/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>chutzpah@gentoo.org</email> - <name>Patrick McLean</name> - </maintainer> - - <origin>gentoo-staging</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/nbconvert/Manifest b/dev-python/nbconvert/Manifest index fc167936b1bd..a384ef08bf19 100644 --- a/dev-python/nbconvert/Manifest +++ b/dev-python/nbconvert/Manifest @@ -1 +1,2 @@ DIST nbconvert-7.1.0.tar.gz 816516 BLAKE2B c24766716212247dee90ca91a5dbcc65ae2d47b566029eb04e14e65ef94e16f6d7700ea4cc820584bc3b498553196bb5600151a30378ec82f91bf4dde68a5e77 SHA512 5d6e1c09637765e171336528219669a9279a68f3845cb0503b79129b50550f7b5a08526a30de67da6ca132ee5d911743c5afd46773598d6045f3007167f93d5b +DIST nbconvert-7.2.7.tar.gz 867872 BLAKE2B a1f209f3249b22af3153449f16c84500523dfb3efa914ae214021e5ea9174d49a3f71a860d9ccbb375f2651ee2c2a2a6834a1d2558a579dc1bd63f80172d85bc SHA512 4abf4f13a0e210a8a0338200f1dbc3e6d4d71c8565440aa08d443352e01986dada455e1b894171da1e9fa9b226ba0ea267e7fce70fca1256fc92dfe53a47de6c diff --git a/dev-python/nbconvert/nbconvert-7.2.7.ebuild b/dev-python/nbconvert/nbconvert-7.2.7.ebuild new file mode 100644 index 000000000000..aa2308e3c48a --- /dev/null +++ b/dev-python/nbconvert/nbconvert-7.2.7.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 virtualx + +DESCRIPTION="Converting Jupyter Notebooks" +HOMEPAGE=" + https://nbconvert.readthedocs.io/ + https://github.com/jupyter/nbconvert/ + https://pypi.org/project/nbconvert/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/bleach[${PYTHON_USEDEP}] + dev-python/defusedxml[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/importlib_metadata-3.6[${PYTHON_USEDEP}] + ' 3.8 3.9) + >=dev-python/jinja-3.0[${PYTHON_USEDEP}] + >=dev-python/jupyter_core-4.7[${PYTHON_USEDEP}] + dev-python/jupyterlab_pygments[${PYTHON_USEDEP}] + >=dev-python/markupsafe-2.0[${PYTHON_USEDEP}] + >=dev-python/mistune-2.0.2[${PYTHON_USEDEP}] + >=dev-python/nbclient-0.5.0[${PYTHON_USEDEP}] + >=dev-python/nbformat-5.1[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pandocfilters-1.4.1[${PYTHON_USEDEP}] + >=dev-python/pygments-2.4.1[${PYTHON_USEDEP}] + dev-python/tinycss2[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.1.1[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/notebook[${PYTHON_USEDEP}] + test? ( + dev-python/ipykernel[${PYTHON_USEDEP}] + >=dev-python/ipywidgets-7[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + mkdir -p share/templates/classic/static || die + # tries to refetch stuff even if it's already present + sed -e 's:css = .*:raise PermissionError("You shall not fetch!"):' \ + -i hatch_build.py || die + distutils-r1_src_prepare +} + +python_configure() { + cp "${BROOT}$(python_get_sitedir)/notebook/static/style/style.min.css" \ + share/templates/classic/static/style.css || die +} + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # Missing pyppeteer for now + # TODO: Doesn't skip? + nbconvert/exporters/tests/test_webpdf.py + # Needs pyppeteer too + 'nbconvert/tests/test_nbconvertapp.py::TestNbConvertApp::test_webpdf_with_chromium' + # TODO + nbconvert/exporters/tests/test_qtpng.py::TestQtPNGExporter::test_export + nbconvert/tests/test_nbconvertapp.py::TestNbConvertApp::test_convert_full_qualified_name + nbconvert/tests/test_nbconvertapp.py::TestNbConvertApp::test_post_processor + ) + + nonfatal epytest --pyargs nbconvert || die +} + +pkg_postinst() { + if ! has_version app-text/pandoc ; then + einfo "Pandoc is required for converting to formats other than Python," + einfo "HTML, and Markdown. If you need this functionality, install" + einfo "app-text/pandoc." + fi +} diff --git a/dev-python/nbformat/Manifest b/dev-python/nbformat/Manifest index e50566c9192b..a6975294fa3b 100644 --- a/dev-python/nbformat/Manifest +++ b/dev-python/nbformat/Manifest @@ -1 +1,2 @@ DIST nbformat-5.4.0.gh.tar.gz 134574 BLAKE2B f61275ad501381f05dc22a79f24c175fa71610f09cf125a40aaa90d0e02d3b27d82d918c1036b0516d4f879609f65c1ce62de86b033012e25d353af453828b2e SHA512 f601438193bfcb11f1ceed74995ab6862ff8c916f9bddabe38fd70bb997f4407bede4318ae7034d75424b20b75846010ddda2a45b8fe8de6dd9310617b00fb9d +DIST nbformat-5.7.1.tar.gz 139291 BLAKE2B 680952ef35235021b36357babd98c94656d96888e1e5e01ecf35ce3233d51f751a60c964f0675fbad18242db8a1adb9fce2bbc512cefc4e30c254492584956c3 SHA512 248640ee23aae83c9c2b18502369d99c317447d40e5b3dc790260d21eda8ef027a7eca9ded34b98c7b17be7fe4b4401c556dbb9d4b0be80d4e4bff10a17381ce diff --git a/dev-python/nbformat/files/nbformat-5.7.1-no-node.patch b/dev-python/nbformat/files/nbformat-5.7.1-no-node.patch new file mode 100644 index 000000000000..e88cc8cdd522 --- /dev/null +++ b/dev-python/nbformat/files/nbformat-5.7.1-no-node.patch @@ -0,0 +1,27 @@ +diff --git a/pyproject.toml b/pyproject.toml +index e30d156..97e57de 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -1,10 +1,10 @@ + [build-system] +-requires = ["hatchling>=1.5", "hatch-nodejs-version"] ++requires = ["hatchling>=1.5"] + build-backend = "hatchling.build" + + [project] + name = "nbformat" +-dynamic = ["version"] ++version = "5.7.1" + description = "The Jupyter Notebook format" + license = { file = "COPYING.md" } + keywords = ["Interactive", "Interpreter", "Shell", "Web"] +@@ -58,9 +58,6 @@ test = [ + [project.scripts] + jupyter-trust = "nbformat.sign:TrustNotebookApp.launch_instance" + +-[tool.hatch.version] +-source = "nodejs" +- + [tool.hatch.envs.docs] + features = ["docs"] + [tool.hatch.envs.docs.scripts] diff --git a/dev-python/nbformat/nbformat-5.7.1.ebuild b/dev-python/nbformat/nbformat-5.7.1.ebuild new file mode 100644 index 000000000000..b35eaaa8c1cc --- /dev/null +++ b/dev-python/nbformat/nbformat-5.7.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +PYTHON_REQ_USE='sqlite' + +inherit distutils-r1 + +DESCRIPTION="Reference implementation of the Jupyter Notebook format" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter/nbformat/ + https://pypi.org/project/nbformat/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/fastjsonschema[${PYTHON_USEDEP}] + >=dev-python/jsonschema-2.6[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.1[${PYTHON_USEDEP}] + dev-python/jupyter_core[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/testpath[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs \ + dev-python/numpydoc +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}/${P}-no-node.patch" +) + +EPYTEST_IGNORE=( + # requires pep440 package, which is not really relevant for us + tests/test_api.py +) diff --git a/dev-python/pychromecast/Manifest b/dev-python/pychromecast/Manifest index b4043c7659fa..5ad862978573 100644 --- a/dev-python/pychromecast/Manifest +++ b/dev-python/pychromecast/Manifest @@ -1 +1,2 @@ DIST PyChromecast-12.1.4.tar.gz 51527 BLAKE2B 5a30863553df0f7cfd59de0ae5fca55b84373bb7cc6d12ac761aa5e6d18b1548275a677466bc596c0b50d8b78b385ee5bb727d2eb4828a1b24e3c64a0dc4a035 SHA512 056c615f453ccd97425a68f488235a63e8047d1be40fc7800d154b19013e7a0f329488b25e76f0cc56adb3779fd14d4e793dc6488ccbd067b484f0e2be72e455 +DIST PyChromecast-13.0.4.tar.gz 51996 BLAKE2B 11dad948443e9e5957de6b22cf6c1d33d19030d53cecddd9be5595dc82bb108e4746c382bae5c6d22d5219bcb90ed5bed7ca94c714ec7bbe7ad1330a1ee3cf2f SHA512 2f9bd925e452448a387a04babc0d71a35fc83edd30142cdd129479b5b20cf7aa9691a8d46f45edf5f12fd6f3052564c2956dd241eaf1a1c468b8399b065286ec diff --git a/dev-python/pychromecast/pychromecast-13.0.4.ebuild b/dev-python/pychromecast/pychromecast-13.0.4.ebuild new file mode 100644 index 000000000000..7579b8c96110 --- /dev/null +++ b/dev-python/pychromecast/pychromecast-13.0.4.ebuild @@ -0,0 +1,22 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Python module to talk to Google Chromecast" +HOMEPAGE="https://github.com/home-assistant-libs/pychromecast" +S="${WORKDIR}/PyChromecast-${PV}" +SRC_URI="mirror://pypi/P/PyChromecast/PyChromecast-${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/casttube-0.2.0[${PYTHON_USEDEP}] + >=dev-python/protobuf-python-3.19.1[${PYTHON_USEDEP}] + >=dev-python/python-zeroconf-0.25.1[${PYTHON_USEDEP}]" diff --git a/dev-python/pyclip/Manifest b/dev-python/pyclip/Manifest index 0d27b94a5b05..c965fff81322 100644 --- a/dev-python/pyclip/Manifest +++ b/dev-python/pyclip/Manifest @@ -1,2 +1,3 @@ DIST pyclip-0.5.4.tar.gz 17056 BLAKE2B e1c29dda7496086cca4782d13fbca4dff7157ef0fdb467e7472ee1e531e53d5d1b1577bfbc3cea30f80d88def20ed34ac71b7a90e2f1728e2cdd9937ce4f2528 SHA512 c0ec789ac7b13e34d9ad91006b3b6369d552d0b79b8fc7de93f4817b0540ca889238a4bbb8ee0ac0b573d644822982f99a3ca2562dc3091440441e8d9c2361dc DIST pyclip-0.6.0.tar.gz 17148 BLAKE2B eb67f5f832f80d69ac985a9c16fd1e01edf016c278fc48329af81aa48a98f634835ba018a4d1a278a4117e9550f9d09a2776c353d7a37c77dc3d1f146a7d3af2 SHA512 3666d187fd2a0d107197c4bc9fab9e8e248cdd8607945470b622f1ebeaba7deaf3b30dd2570b36ef82fd5fd729aebbd73da85bc51f1696652ed3ef091e96368f +DIST pyclip-0.7.0.tar.gz 17555 BLAKE2B 281a2dacd82d7501e01750134d82fc0b66ac1d41a631b9573160262c94cfb97ad463036e8ec523674580fdfb71849175e58836530d761462a72ba9ba3f2fd618 SHA512 64849befe020b0ac38aa8ed93ceb7fb275112aa49ae527fc54916ea591e09ce5a1a669d8f68083b098112a90fd36f71d2abeef6c3a8908e6cde20f04b0273877 diff --git a/dev-python/pyclip/pyclip-0.7.0.ebuild b/dev-python/pyclip/pyclip-0.7.0.ebuild new file mode 100644 index 000000000000..8306edaeb3a7 --- /dev/null +++ b/dev-python/pyclip/pyclip-0.7.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +DISTUTILS_USE_PEP517="setuptools" + +inherit distutils-r1 + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/spyoungtech/pyclip.git" +else + SRC_URI="https://github.com/spyoungtech/pyclip/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" +fi + +DESCRIPTION="Python clipboard module" +HOMEPAGE="https://pypi.org/project/pyclip/" +LICENSE="Apache-2.0" +SLOT="0" +IUSE="wayland X" +RESTRICT="test" +DOCS="${S}/docs/README.md" +REQUIRED_USE="|| ( wayland X )" + +DEPEND="" +RDEPEND=" + wayland? ( gui-apps/wl-clipboard ) + X? ( x11-misc/xclip ) +" +BDEPEND="" diff --git a/dev-python/pyclip/pyclip-9999.ebuild b/dev-python/pyclip/pyclip-9999.ebuild index ab489ac3dc3f..8306edaeb3a7 100644 --- a/dev-python/pyclip/pyclip-9999.ebuild +++ b/dev-python/pyclip/pyclip-9999.ebuild @@ -4,7 +4,8 @@ EAPI=8 PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -DISTUTILS_USE_SETUPTOOLS=bdepend + +DISTUTILS_USE_PEP517="setuptools" inherit distutils-r1 @@ -13,19 +14,21 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://github.com/spyoungtech/pyclip.git" else SRC_URI="https://github.com/spyoungtech/pyclip/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" fi DESCRIPTION="Python clipboard module" HOMEPAGE="https://pypi.org/project/pyclip/" LICENSE="Apache-2.0" SLOT="0" +IUSE="wayland X" RESTRICT="test" DOCS="${S}/docs/README.md" +REQUIRED_USE="|| ( wayland X )" DEPEND="" RDEPEND=" - gui-apps/wl-clipboard - x11-misc/xclip + wayland? ( gui-apps/wl-clipboard ) + X? ( x11-misc/xclip ) " BDEPEND="" diff --git a/dev-python/pytest-html/Manifest b/dev-python/pytest-html/Manifest deleted file mode 100644 index bb1aa54b81ca..000000000000 --- a/dev-python/pytest-html/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pytest-html-3.1.1.tar.gz 38548 BLAKE2B d2491280ceb4524a10a46891448bb63fe997a4be82062e727fb1d79ef6154a0b4229bbec27c6601372776f7c8dd124aab5d4968482fc24ad24330db5d2520187 SHA512 78091b485d153b54cd76abb8cfeb6494830b1b51a10dc0c00c73eccf67962d2805e3f83972c7ccfd1f877a939b582f80d5ddd5273fd1ddcac2a1a9c2eb121300 diff --git a/dev-python/pytest-html/metadata.xml b/dev-python/pytest-html/metadata.xml deleted file mode 100644 index e24203bef368..000000000000 --- a/dev-python/pytest-html/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>zmedico@gentoo.org</email> - </maintainer> - - <origin>gentoo-staging</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/pytest-html/pytest-html-3.1.1.ebuild b/dev-python/pytest-html/pytest-html-3.1.1.ebuild deleted file mode 100644 index 04643a9f9d80..000000000000 --- a/dev-python/pytest-html/pytest-html-3.1.1.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) -inherit distutils-r1 - -DESCRIPTION="Plugin for generating HTML reports for py.test results" -HOMEPAGE="https://github.com/pytest-dev/pytest-html/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" - -# Lots of test failures... -RESTRICT="test" - -RDEPEND="dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-metadata[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/setuptools_scm[${PYTHON_USEDEP}]" - -python_test() { - PYTHONPATH=${PWD}${PYTHONPATH:+:}${PYTHONPATH} \ - py.test -v -r a testing/test_pytest_html.py || die -} diff --git a/dev-python/pytest-salt/Manifest b/dev-python/pytest-salt/Manifest deleted file mode 100644 index e03d478fdd39..000000000000 --- a/dev-python/pytest-salt/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pytest-salt-2020.1.27.tar.gz 64141 BLAKE2B 2b9261af2de28f8dce1abcd71b586594075916c8a5dbb27a24f15b9d95a575624be118d1c742f02020d3b968ffa4654cf6cd0dabefffe6876b87a4d1d58c3d60 SHA512 b0632e21f1ea5c3b57eb681cd8b270721cafd270321b708fca65427fc89817ed9e9a4216a520f35988c6866b1ed76ed84838009da9052a11cf8782d4dcf118ba diff --git a/dev-python/pytest-salt/files/pytest-salt-2020.1.27-r2.patch b/dev-python/pytest-salt/files/pytest-salt-2020.1.27-r2.patch deleted file mode 100644 index 35dca262478b..000000000000 --- a/dev-python/pytest-salt/files/pytest-salt-2020.1.27-r2.patch +++ /dev/null @@ -1,14 +0,0 @@ -Fixes a Doctestitem has no attribute 'fixturenames' -Fix by David Denoncin based on https://github.com/saltstack/pytest-salt/issues/48 - ---- a/pytestsalt/fixtures/daemons.py 2021-03-02 15:19:40.500254583 +0100 -+++ b/pytestsalt/fixtures/daemons.py 2021-03-02 15:20:40.706920871 +0100 -@@ -1658,7 +1658,6 @@ - Fixtures injection based on markers - ''' - for fixture in ('salt_master', 'salt_minion', 'salt_call', 'salt', 'salt_key', 'salt_run'): -- if fixture in item.fixturenames: -- after_start_fixture = '{}_after_start'.format(fixture) -+ if fixture in getattr(item, 'fixturenames', ()): - if after_start_fixture not in item.fixturenames: - item.fixturenames.append(after_start_fixture) diff --git a/dev-python/pytest-salt/metadata.xml b/dev-python/pytest-salt/metadata.xml deleted file mode 100644 index 0f2e57ded13c..000000000000 --- a/dev-python/pytest-salt/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>chutzpah@gentoo.org</email> - <name>Patrick McLean</name> - </maintainer> - - <origin>gentoo-staging</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/pytest-salt/pytest-salt-2020.1.27-r3.ebuild b/dev-python/pytest-salt/pytest-salt-2020.1.27-r3.ebuild deleted file mode 100644 index 58b218c5d55e..000000000000 --- a/dev-python/pytest-salt/pytest-salt-2020.1.27-r3.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -inherit distutils-r1 - -MY_PV="${PV/_p/.post}" -DESCRIPTION="PyTest Salt Plugin" -HOMEPAGE="https://github.com/saltstack/pytest-salt" -SRC_URI="https://github.com/saltstack/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-${MY_PV}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" -IUSE="test" - -# See bug #740882 re salt/tornado dependency -RDEPEND=" - >=dev-python/pytest-2.8.1[${PYTHON_USEDEP}] - >=dev-python/psutil-4.2.0[${PYTHON_USEDEP}] - dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}] - dev-python/pytest-tempdir[${PYTHON_USEDEP}] - dev-python/msgpack[${PYTHON_USEDEP}] - || ( - app-admin/salt[${PYTHON_USEDEP}] - dev-python/tornado[${PYTHON_USEDEP}] - ) -" -#BDEPEND=" -# test? ( app-admin/salt[${PYTHON_USEDEP}] ) -#" - -PATCHES=( - "${FILESDIR}/${PN}-2020.1.27-r2.patch" -) - -# Tests need network access -RESTRICT="test" - -distutils_enable_tests pytest - -python_test() { - distutils_install_for_testing - pytest -vv || die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/pytest_jupyter/Manifest b/dev-python/pytest_jupyter/Manifest new file mode 100644 index 000000000000..6baef7011d27 --- /dev/null +++ b/dev-python/pytest_jupyter/Manifest @@ -0,0 +1 @@ +DIST pytest_jupyter-0.6.2.tar.gz 15174 BLAKE2B b6c536383ab1b8e375e4250b4922ac6372f850ee4993643122896092109d3f711f91ccc7b159b7330de18f7876df818dc01d31c05e3c18d97488255e063db4d4 SHA512 396f7a7c978097e6dee37ead92bb3c8cef2a8100a7cc85b0b1eab19e20bdaed3332391c17568a6a279ab6ddeea1fbb2fa8dafe24ba4500982ba52cfcda2b1052 diff --git a/dev-python/gevent/metadata.xml b/dev-python/pytest_jupyter/metadata.xml index 853174b8f2ab..f779b78a9efd 100644 --- a/dev-python/gevent/metadata.xml +++ b/dev-python/pytest_jupyter/metadata.xml @@ -2,9 +2,14 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <maintainer type="project"> <email>python@gentoo.org</email> <name>Python</name> </maintainer> <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/pytest_jupyter/pytest_jupyter-0.6.2.ebuild b/dev-python/pytest_jupyter/pytest_jupyter-0.6.2.ebuild new file mode 100644 index 000000000000..21ee7afac9ce --- /dev/null +++ b/dev-python/pytest_jupyter/pytest_jupyter-0.6.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Pytest plugin for testing Jupyter libraries and extensions" +HOMEPAGE="https://jupyter.org" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64" + +RDEPEND=" + >=dev-python/jupyter_client-7.4.0[${PYTHON_USEDEP}] + >=dev-python/ipykernel-6.14[${PYTHON_USEDEP}] + >=dev-python/jupyter_server-1.21[${PYTHON_USEDEP}] + >=dev-python/nbformat-5.3[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/requests_pkcs12/Manifest b/dev-python/requests_pkcs12/Manifest deleted file mode 100644 index eae71edd079b..000000000000 --- a/dev-python/requests_pkcs12/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST requests_pkcs12-1.14.tar.gz 4896 BLAKE2B a8a3f0796092c66c210616ace20fb15cd82beb3ff3c0c0d1f2dccbd1ed7d62092a1faa69986e4f23d0b94af54f7f9b8819730f0c04c251fb751256dbd4c6bb56 SHA512 2d97b44b676c9e6e6eef127494d6c4a34179b8f69d8674ad9ecd9aa4171e5eb46a29a45ad5b5e8fe9facf234c1b7645fc5c87cef2b336beab941ce3e684c6d25 diff --git a/dev-python/requests_pkcs12/metadata.xml b/dev-python/requests_pkcs12/metadata.xml deleted file mode 100644 index 7ae97e3ff91b..000000000000 --- a/dev-python/requests_pkcs12/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>gyakovlev@gentoo.org</email> - <name>Georgy Yakovlev</name> - </maintainer> - <longdescription lang="en"> - Adds PKCS#12 support to the Python requests library in a clean way, without monkey patching or temporary files. - </longdescription> - - <origin>gentoo-staging</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/requests_pkcs12/requests_pkcs12-1.14.ebuild b/dev-python/requests_pkcs12/requests_pkcs12-1.14.ebuild deleted file mode 100644 index 60e15a5b7ff2..000000000000 --- a/dev-python/requests_pkcs12/requests_pkcs12-1.14.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -inherit distutils-r1 - -DESCRIPTION="Adds PKCS#12 support to the Python requests library in a clean way" -HOMEPAGE="https://github.com/m-click/requests_pkcs12" -SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~x86" - -DEPEND="" - -RDEPEND=" - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] -" - -RESTRICT="test" # no tests diff --git a/dev-python/rpyc/metadata.xml b/dev-python/rpyc/metadata.xml index 55ef6f9d9179..a315a7286169 100644 --- a/dev-python/rpyc/metadata.xml +++ b/dev-python/rpyc/metadata.xml @@ -12,8 +12,6 @@ <flag name="numpy">Run tests depending on <pkg>dev-python/numpy</pkg>, <pkg>dev-python/pandas</pkg> </flag> - <flag name="gevent">Use <pkg>dev-python/gevent</pkg> for GeventServer - </flag> <flag name="gdb">Run tests depending on <pkg>sys-devel/gdb</pkg> </flag> </use> diff --git a/dev-python/rpyc/rpyc-5.2.3-r3.ebuild b/dev-python/rpyc/rpyc-5.2.3-r3.ebuild index a040c011405d..1c2ac6d697a7 100644 --- a/dev-python/rpyc/rpyc-5.2.3-r3.ebuild +++ b/dev-python/rpyc/rpyc-5.2.3-r3.ebuild @@ -20,11 +20,10 @@ SLOT="0" KEYWORDS="amd64 x86" # USE flags gdb, numpy are used *only* to run tests depending on these packages -IUSE="test numpy gdb gevent" +IUSE="test numpy gdb" RESTRICT="!test? ( test )" CDEPEND="numpy? ( dev-python/numpy[${PYTHON_USEDEP}] dev-python/pandas[${PYTHON_USEDEP}] ) - gevent? ( dev-python/gevent[${PYTHON_USEDEP}] ) gdb? ( sys-devel/gdb )" DEPEND="${CDEPEND} @@ -52,9 +51,7 @@ src_prepare() { then rm tests/test_service_pickle.py || die "rm test_service_pickle.py failed" fi - if ! use gevent - then rm tests/test_gevent_server.py || die "rm test_gevent_server.py failed" - fi + rm tests/test_gevent_server.py || die "rm test_gevent_server.py failed" if ! use gdb then rm tests/test_gdb.py || die "rm test_gdb.py failed" diff --git a/dev-python/slackclient/Manifest b/dev-python/slackclient/Manifest deleted file mode 100644 index f70f221aa6eb..000000000000 --- a/dev-python/slackclient/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST slackclient-2.5.0.tar.gz 49814 BLAKE2B 19f9e66af086d431494de0ef7f3569657eb769022223d0e9b0f74c0600858e20de397fd385dc1c41d416eb3a98a7437d2b0c1b5e156be6d98941b26749103c5b SHA512 3a7a1e741e81e673cb09f8b1d9a18ca3d0e7a0e41a7ac6062725b87752f3877548faa0f9150eb1b1775479dfe9035d03fd4d991ac108b0f634cc179f4b70e2db diff --git a/dev-python/slackclient/metadata.xml b/dev-python/slackclient/metadata.xml deleted file mode 100644 index 6595faf966fd..000000000000 --- a/dev-python/slackclient/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>robbat2@gentoo.org</email> - <name>Robin H. Johnson</name> - </maintainer> - - <origin>gentoo-staging</origin> - <stabilize-allarches/> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/slackclient/slackclient-2.5.0.ebuild b/dev-python/slackclient/slackclient-2.5.0.ebuild deleted file mode 100644 index 44163b8197cf..000000000000 --- a/dev-python/slackclient/slackclient-2.5.0.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -inherit distutils-r1 - -DESCRIPTION="Client for Slack supporting the Slack Web and Real Time Messaging API" -HOMEPAGE="https://github.com/slackapi/python-slackclient" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -RESTRICT="test" # upstream does not include tests in the package tarball! - -RDEPEND=" - dev-python/aiodns[${PYTHON_USEDEP}] - dev-python/aiohttp[${PYTHON_USEDEP}]" - -src_prepare() { - # Upstream uses pytest-runner as an extra optional target in setup.py as - # part of tooling to generate distfiles. - sed -i \ - -e '/setup_requires=/s,"pytest-runner",,' \ - "${S}"/setup.py || die - default -} diff --git a/dev-python/sphinxext-opengraph/Manifest b/dev-python/sphinxext-opengraph/Manifest index 0b71f8f490de..49bfac16b691 100644 --- a/dev-python/sphinxext-opengraph/Manifest +++ b/dev-python/sphinxext-opengraph/Manifest @@ -1,2 +1,2 @@ -DIST sphinxext-opengraph-0.7.2.tar.gz 26940 BLAKE2B 42416c96b893965164ddf36764f2c8abb961b1fd2bb466016eeb7ef7e12baf91e22f33d3aeb5fce223b0b3174c7e23149c0228bb25100e97b34df27bafae0349 SHA512 cfec7129a2a4c95d20040aae11fe9f35ebe875bd46d91ade5eab4aaa05c7872e0ebde839e1857be4bc0ea6469d0a4d04e95ab5e82b57bfbffcb67d84f826f46d DIST sphinxext-opengraph-0.7.3.tar.gz 27270 BLAKE2B 5d95acb91971848f2a5cccc6eb60c83ad0c5237629596218cf638f44f058e964a05af34808a5ac3e2af99fcafe439de3ee02f44bf925be52351ae6ab1f289eef SHA512 f010aad636c2fcfc917f4be125fee3b639b8d6c3cf475fd3e704a067389c92702f6034fac913c24fcd5299504d6a20f9cc0cad8e8bad39395e3dfd56de1ce1dd +DIST sphinxext-opengraph-0.7.4.tar.gz 27212 BLAKE2B 9977090c0ac4199e1959fedd81d8da40352de813e80a7f1b7cacad34319c4ad396231dfccf5dc3d70c594ceba181ed9080df54b2a6fec7f7659ad8a1a2535316 SHA512 e6fac6a1a5069648fcaebf05e5b50b6aa87da3fa72b7a914061f3b4a337556d49ebcb732f0f43a92f93f2f1fdbecaf24aa56956a598204b112a8e14a7409108a diff --git a/dev-python/sphinxext-opengraph/sphinxext-opengraph-0.7.2.ebuild b/dev-python/sphinxext-opengraph/sphinxext-opengraph-0.7.4.ebuild index 266f23e2bb5e..de0b9155a7e6 100644 --- a/dev-python/sphinxext-opengraph/sphinxext-opengraph-0.7.2.ebuild +++ b/dev-python/sphinxext-opengraph/sphinxext-opengraph-0.7.4.ebuild @@ -9,7 +9,7 @@ inherit distutils-r1 DESCRIPTION="Sphinx Extension to enable OGP support" HOMEPAGE="https://github.com/wpilibsuite/sphinxext-opengraph" -SRC_URI="https://files.pythonhosted.org/packages/36/1f/17b5ff294f5a7b24ffb06114ce4a833201f288cb1d8d35b5a60f233c1372/${P}.tar.gz" +SRC_URI="https://files.pythonhosted.org/packages/ef/24/c73ad87cb0f185ee45f196d57d21a3b9a8c532659e0c3453b99e4adfed33/sphinxext-opengraph-0.7.4.tar.gz" LICENSE="LGPL-2.1" SLOT="0" diff --git a/dev-python/tvdb_api/Manifest b/dev-python/tvdb_api/Manifest deleted file mode 100644 index 601d5f13ce3a..000000000000 --- a/dev-python/tvdb_api/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST tvdb_api-3.0.2.tar.gz 20436 BLAKE2B d9df5f1e2e8dd26486ec5aa2fa542534e43e08ce9c19ae8f8e48a05b3167db856ccb7765bb7d7acb4adcf7a53f5deff299f69123d60c3495ec1cc4d849d3e0b5 SHA512 b6c3c04eb300f2a371f50ef0331ca1ae602c7ccda2a0d8ad52f5c89fac5cf4dff77ce11d0dc774aa2a8dc1e02798a4432262cbaafea9239693c300931213107c diff --git a/dev-python/tvdb_api/metadata.xml b/dev-python/tvdb_api/metadata.xml deleted file mode 100644 index f0609a5259d1..000000000000 --- a/dev-python/tvdb_api/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - - <origin>gentoo-staging</origin> - <stabilize-allarches/> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/tvdb_api/tvdb_api-3.0.2.ebuild b/dev-python/tvdb_api/tvdb_api-3.0.2.ebuild deleted file mode 100644 index 6427ba0b50fd..000000000000 --- a/dev-python/tvdb_api/tvdb_api-3.0.2.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="Python interface to thetvdb.com API" -HOMEPAGE="https://github.com/dbr/tvdb_api" -SRC_URI="mirror://pypi/t/${PN}/${P}.tar.gz" - -LICENSE="public-domain" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -RDEPEND="dev-python/requests[${PYTHON_USEDEP}] - dev-python/requests-cache[${PYTHON_USEDEP}]" diff --git a/dev-python/webassets/Manifest b/dev-python/webassets/Manifest deleted file mode 100644 index 0680de17ed94..000000000000 --- a/dev-python/webassets/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST webassets-2.0.tar.gz 185864 BLAKE2B 8aaa7091c27644c6c464d13d106218e28531415458e67696c0243943a92a3869e23c7ff0aa8461abb876a178e3ad44f4b47a5366edb885d308dd8ec0f17ad034 SHA512 6d62d4e5c1ed81a2d235c24776b632574f3670ae3d863c5f5a79d0e1afc7acfa7965e532b7975503df758dbe6c8dbd857b250a6ea8e4b414c8f1ae12fb8addd7 diff --git a/dev-python/webassets/files/webassets-2.0-python39.patch b/dev-python/webassets/files/webassets-2.0-python39.patch deleted file mode 100644 index 006c020469f4..000000000000 --- a/dev-python/webassets/files/webassets-2.0-python39.patch +++ /dev/null @@ -1,23 +0,0 @@ -https://github.com/miracle2k/webassets/commit/a563935df6702ff5e38e5b84a262c295e4cdf455.patch -From a563935df6702ff5e38e5b84a262c295e4cdf455 Mon Sep 17 00:00:00 2001 -From: Karthikeyan Singaravelan <tir.karthi@gmail.com> -Date: Wed, 22 Jan 2020 00:49:31 +0530 -Subject: [PATCH] Use is_alive instead of isAlive for Python 3.9 compatibility. - ---- - tests/test_script.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tests/test_script.py b/tests/test_script.py -index a83bc07f..d17a83bb 100644 ---- a/tests/test_script.py -+++ b/tests/test_script.py -@@ -192,7 +192,7 @@ def start_watching(self): - - def stop_watching(self): - """Stop the watch command thread.""" -- assert self.t.isAlive() # If it has already ended, something is wrong -+ assert self.t.is_alive() # If it has already ended, something is wrong - self.stopped = True - self.t.join(1) - diff --git a/dev-python/webassets/webassets-2.0.ebuild b/dev-python/webassets/webassets-2.0.ebuild deleted file mode 100644 index 59a3d8f7d6f9..000000000000 --- a/dev-python/webassets/webassets-2.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="Asset management for Python web development" -HOMEPAGE="https://github.com/miracle2k/webassets" -SRC_URI="https://github.com/miracle2k/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" -# ^^ pypi tarball is missing tests - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" - -# dev-ruby/sass confuses the tests, they expect 'sass' as the reference -# compiler -BDEPEND=" - test? ( - dev-python/nose[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - !!dev-ruby/sass - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-2.0-python39.patch" -) - -distutils_enable_tests pytest - -python_prepare_all() { - # webassets wants /usr/bin/babel from babeljs, - # but we have only one from openbabel - # ... and we don't have postcss - sed -i \ - -e 's|\(TestBabel\)|No\1|' \ - -e 's|\(TestAutoprefixer6Filter\)|No\1|' \ - tests/test_filters.py || die - - distutils-r1_python_prepare_all -} |
