diff options
| author | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-09-02 12:44:50 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-09-02 12:44:50 +0000 |
| commit | be43c692cb27fbc1bf95834f23170a2d5df619ae (patch) | |
| tree | 4e2ddf1eb11e96b8adf2eac05dc2fc302006c38e /dev-python | |
| parent | 87912530590f2ec3f65368659c591242ddae456c (diff) | |
| download | baldeagleos-repo-be43c692cb27fbc1bf95834f23170a2d5df619ae.tar.gz baldeagleos-repo-be43c692cb27fbc1bf95834f23170a2d5df619ae.tar.xz baldeagleos-repo-be43c692cb27fbc1bf95834f23170a2d5df619ae.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python')
88 files changed, 733 insertions, 1121 deletions
diff --git a/dev-python/arrow/Manifest b/dev-python/arrow/Manifest index 1a5224afd356..7213c1eeb527 100644 --- a/dev-python/arrow/Manifest +++ b/dev-python/arrow/Manifest @@ -1,3 +1,2 @@ -DIST arrow-0.15.7.tar.gz 89278 BLAKE2B 591fbd63aaeb644ab21f0499df7929cdafe181ad9065459677c84347395dcc694e39db47d596b4d3f920e32e3f1e03da1d9e85c8f197d545dd335e9055a65f47 SHA512 28cfc9edbf013ee03bb52c9794333d725a4fc967f0c8c6837931fc6994e08c367763deb193b8eae8b931cf849294bfce3470316c0a1b73340eb96ca1c9d8959c DIST arrow-0.15.8.tar.gz 92220 BLAKE2B 8650d31b5b75c6222d86b5e13f253ae6baff66e91044a74235eda4589a47ebf680b31e2007fb13c83287402ffeaa446437aace9124637e6952ef139388aa51fa SHA512 93d161cbeb48636f2e3f91ebcc51cddbb3b21175ae31f5d9251a22358c7d1934663a8e47a82efd8773bf30c28efefcd8d2a3baf581fe191777cd41f12f29d4d2 DIST arrow-0.16.0.tar.gz 94403 BLAKE2B 9d2ad18732cce5bafdb628a2e9b825e6d1ebd94f7848391c0a0752a802a7e2e8a34afe0da7474df0265c4a83016530a1c070f4f1629c8fee8172812a53a3a7af SHA512 e48316bd31a86d640e50987010bd56c6859e972522e753c00d83730f1ce4764716eb9a22c4aa9aa0d64949f25acb7e1a3479ce0e1c62058fcb887a442f2247d6 diff --git a/dev-python/arrow/arrow-0.15.7.ebuild b/dev-python/arrow/arrow-0.15.7.ebuild deleted file mode 100644 index 438dbb85ac7e..000000000000 --- a/dev-python/arrow/arrow-0.15.7.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_{5,6,7,8,9} ) - -inherit distutils-r1 - -DESCRIPTION="Better dates and times for Python" -HOMEPAGE="https://github.com/crsmithdev/arrow/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" - -RDEPEND=" - dev-python/python-dateutil[${PYTHON_USEDEP}]" - -BDEPEND=" - test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/simplejson[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e '/addopts/d' tox.ini || die - distutils-r1_src_prepare -} diff --git a/dev-python/backports-abc/Manifest b/dev-python/backports-abc/Manifest deleted file mode 100644 index 5ec35b184ba8..000000000000 --- a/dev-python/backports-abc/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST backports_abc-0.5.tar.gz 9807 BLAKE2B 1ff59c61ed95f535d89afa1a6f6c4356bfc76de88e59618f950a536e9d44ce4093cd91ea61a4574c0d2e40c638f90961db8c6e1659996821f4b8532bfdf60972 SHA512 5c2bc01bce8d3ed482bf5d8361a20f9afa3edc1c50280f0a01ffb890690b92296fcbfa68f79677fc3ebba851617f339cb6367ccdd0fadf1127a4e3c030784b7d diff --git a/dev-python/backports-abc/backports-abc-0.5.ebuild b/dev-python/backports-abc/backports-abc-0.5.ebuild deleted file mode 100644 index 5595d053e656..000000000000 --- a/dev-python/backports-abc/backports-abc-0.5.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 - -MY_PN=${PN/-/_} -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Backport of Python 3.5's 'collections.abc' module" -HOMEPAGE="https://github.com/cython/backports_abc https://pypi.org/project/backports_abc/" -SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="PSF-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux" -IUSE="" - -S=${WORKDIR}/${MY_P} - -python_test() { - PYTHONPATH="${BUILD_DIR}/lib" "${PYTHON}" tests.py || die "tests failed with ${EPYTHON}" -} diff --git a/dev-python/backports-abc/metadata.xml b/dev-python/backports-abc/metadata.xml deleted file mode 100644 index a0de2d60e136..000000000000 --- a/dev-python/backports-abc/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?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> - <name>Python</name> - </maintainer> - <upstream> - <remote-id type="github">cython/backports_abc</remote-id> - <remote-id type="pypi">backports_abc</remote-id> - <bugs-to>https://github.com/cython/backports_abc/issues</bugs-to> - </upstream> - <origin>gentoo-staging</origin> -</pkgmetadata> diff --git a/dev-python/backports-lzma/Manifest b/dev-python/backports-lzma/Manifest deleted file mode 100644 index 6732b294bbc6..000000000000 --- a/dev-python/backports-lzma/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST backports.lzma-0.0.13.tar.gz 42552 BLAKE2B 85cff01ee9b5481a056fe6fa993a44ec3799eed3ef8e12f98f7b94d8af85c196c3244df4555b957fbdb566416c1bfaa4e8654e16115c9bea986a72bb9d834b3f SHA512 e022de691bc1eef917286da40e2c0ee477300a0af20fba9e972bffd3d0ca1155d5d2607e7601e28d70d1e721b93c785f81adb1c7c73172659ab7615708e55aa2 diff --git a/dev-python/backports-lzma/backports-lzma-0.0.13.ebuild b/dev-python/backports-lzma/backports-lzma-0.0.13.ebuild deleted file mode 100644 index 38f82d82fa25..000000000000 --- a/dev-python/backports-lzma/backports-lzma-0.0.13.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 - -MY_PN=${PN/-/.} -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Backport of Python 3.3's lzma module for XZ/LZMA compressed files" -HOMEPAGE="https://github.com/peterjc/backports.lzma/ https://pypi.org/project/backports.lzma/" -SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND="app-arch/xz-utils:0= - dev-python/backports[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - test? ( app-arch/xz-utils:0[extra-filters(+)] )" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - # unforce -L/usr/lib - sed -i -e '/library_dirs =/,/\]/d' setup.py || die - distutils-r1_src_prepare -} - -python_test() { - "${EPYTHON}" test/test_lzma.py || die "tests failed with ${EPYTHON}" -} - -python_install() { - # main namespace provided by dev-python/backports - rm "${BUILD_DIR}"/lib/backports/__init__.py || die - rm -f backports/__init__.py || die - - distutils-r1_python_install -} diff --git a/dev-python/backports-lzma/metadata.xml b/dev-python/backports-lzma/metadata.xml deleted file mode 100644 index 8932c1478d45..000000000000 --- a/dev-python/backports-lzma/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?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> - <name>Python</name> - </maintainer> - <upstream> - <remote-id type="github">peterjc/backports.lzma</remote-id> - <remote-id type="pypi">backports.lzma</remote-id> - </upstream> - <origin>gentoo-staging</origin> -</pkgmetadata> diff --git a/dev-python/cddb-py/Manifest b/dev-python/cddb-py/Manifest deleted file mode 100644 index adb41dad5265..000000000000 --- a/dev-python/cddb-py/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST CDDB-1.4.tar.gz 39562 BLAKE2B eb78c033138f18f3105e4a40823e2ec5f09ea57e3f6a6c4b21811b4f79155a068b9a3fe13f505aa76006e5d3c9061bd3df44d0f9808281e64a44f68a4e51a313 SHA512 578ef74313cd164f28682ed7e8b26e7c4e7fbac972f7c3c2fecfe31e6bc2ea8dff0c79adf9b6fda77402f9855d809819f56c23e4ffa68404d8cde479a15f740a diff --git a/dev-python/cddb-py/cddb-py-1.4-r1.ebuild b/dev-python/cddb-py/cddb-py-1.4-r1.ebuild deleted file mode 100644 index 4653bb79ced6..000000000000 --- a/dev-python/cddb-py/cddb-py-1.4-r1.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 - -MY_PN="CDDB" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="CDDB Module for Python" -HOMEPAGE="https://sourceforge.net/projects/cddb-py/" -SRC_URI="mirror://sourceforge/cddb-py/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~ia64 ppc ppc64 sparc x86" -IUSE="" - -S="${WORKDIR}/${MY_P}" diff --git a/dev-python/cddb-py/metadata.xml b/dev-python/cddb-py/metadata.xml deleted file mode 100644 index 50b4570b2c74..000000000000 --- a/dev-python/cddb-py/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?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> - <name>Python</name> - </maintainer> - <upstream> - <remote-id type="sourceforge">cddb-py</remote-id> - </upstream> - <origin>gentoo-staging</origin> -</pkgmetadata> diff --git a/dev-python/cloudlib/Manifest b/dev-python/cloudlib/Manifest deleted file mode 100644 index 040307829ce7..000000000000 --- a/dev-python/cloudlib/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST cloudlib-0.5.0.tar.gz 117422 BLAKE2B 358bceef2a5331fe75a63469b8562bab7136f3608d5f695e9cb86f498fa06299fb767a0148e67c1a6911838b30ff354a0e8f5c5114039323f19b9e59be1f8b7d SHA512 fc400b89045706638fddfed5a6bc5e48995106dc02a216bbe8ae32e7a01c1d4d4fd2a22c7aa914a7fdc8197639f82d41cc2d7071873234e171d3fb7f434cdabc diff --git a/dev-python/cloudlib/cloudlib-0.5.0.ebuild b/dev-python/cloudlib/cloudlib-0.5.0.ebuild deleted file mode 100644 index 9eb2d42beda1..000000000000 --- a/dev-python/cloudlib/cloudlib-0.5.0.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -PYTHON_COMPAT=( python3_{5,6,7,8,9} ) - -inherit distutils-r1 - -DESCRIPTION="Cloud middleware for in application use." -HOMEPAGE="https://github.com/cloudnull/cloudlib" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -RDEPEND=">=dev-python/prettytable-0.7.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.2.0[${PYTHON_USEDEP}]" - -python_prepare() { - sed -i "s/required.append\(\'argparse\'\)/pass/g" setup.py || die -} diff --git a/dev-python/cloudlib/metadata.xml b/dev-python/cloudlib/metadata.xml deleted file mode 100644 index a1929698c8df..000000000000 --- a/dev-python/cloudlib/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>prometheanfire@gentoo.org</email> - <name>Matthew Thode</name> - </maintainer> - <maintainer type="project"> - <email>openstack@gentoo.org</email> - <name>Openstack</name> - </maintainer> - <longdescription lang="en"> -Cloud middleware for in application use -</longdescription> - <upstream> - <remote-id type="pypi">cloudlib</remote-id> - <remote-id type="github">cloudnull/cloudlib</remote-id> - </upstream> - <origin>gentoo-staging</origin> -</pkgmetadata> diff --git a/dev-python/cookies/cookies-2.2.1-r1.ebuild b/dev-python/cookies/cookies-2.2.1-r1.ebuild index 2d7e2804ac78..22d757645c8b 100644 --- a/dev-python/cookies/cookies-2.2.1-r1.ebuild +++ b/dev-python/cookies/cookies-2.2.1-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux" PATCHES=( # https://gitlab.com/sashahart/cookies/merge_requests/2 diff --git a/dev-python/dask/metadata.xml b/dev-python/dask/metadata.xml index 14bd28b4bac3..0f7931554595 100644 --- a/dev-python/dask/metadata.xml +++ b/dev-python/dask/metadata.xml @@ -18,7 +18,7 @@ <remote-id type="pypi">dask</remote-id> </upstream> <use> - <flag name="distributed">Add support for distributed computing with <pkg>dev-python/distributed</pkg></flag> + <flag name="distributed">Add support for distributed computing</flag> </use> <origin>gentoo-staging</origin> </pkgmetadata> diff --git a/dev-python/distributed/Manifest b/dev-python/distributed/Manifest deleted file mode 100644 index 48ec1ea28c6c..000000000000 --- a/dev-python/distributed/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST distributed-1.18.0.tar.gz 395888 BLAKE2B a1f84f93130b4e878d2b6a2059e71330fd10ac7be2c8e1d3fa06984e34dda4984180f496b9513f531ae21f3cc978f71f8e9492fcd5d644613a7d9ececcb5ecb6 SHA512 3603b22a454c7010c64fceb79b4aa024476bd038f4c27585c8f2dd51a2e4ace1c900dfc7c3bf096d4274be985003b72e9bd16af7b351ec9a65c6712a1f5e39d4 diff --git a/dev-python/distributed/distributed-1.18.0-r1.ebuild b/dev-python/distributed/distributed-1.18.0-r1.ebuild deleted file mode 100644 index aa9d95c4d183..000000000000 --- a/dev-python/distributed/distributed-1.18.0-r1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{5,6,7,8,9} ) - -inherit distutils-r1 - -DESCRIPTION="Python library for distributed computation" -HOMEPAGE="https://distributed.readthedocs.io/en/latest/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/click[${PYTHON_USEDEP}] - >=dev-python/cloudpickle-0.2.2[${PYTHON_USEDEP}] - >=dev-python/dask-0.14.1[${PYTHON_USEDEP}] - >=dev-python/joblib-0.10.2[${PYTHON_USEDEP}] - dev-python/msgpack[${PYTHON_USEDEP}] - >=dev-python/partd-0.3.7[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/sortedcollections[${PYTHON_USEDEP}] - dev-python/tblib[${PYTHON_USEDEP}] - >=dev-python/toolz-0.7.4[${PYTHON_USEDEP}] - dev-python/zict[${PYTHON_USEDEP}] - www-servers/tornado[${PYTHON_USEDEP}] -" -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - dev-python/pytest[${PYTHON_USEDEP}] - ) -" - -python_test() { - cd "${BUILD_DIR}"/lib || die - py.test -vv -m "not avoid_travis" distributed \ - -r s \ - --timeout-method=thread \ - --timeout=300 \ - --durations=20 || die -} diff --git a/dev-python/distributed/metadata.xml b/dev-python/distributed/metadata.xml deleted file mode 100644 index bf6bf19bc7b6..000000000000 --- a/dev-python/distributed/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>cluster@gentoo.org</email> - <name>Gentoo Cluster Project</name> - </maintainer> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> - - <upstream> - <remote-id type="pypi">distributed</remote-id> - <remote-id type="github">dask/distributed</remote-id> - </upstream> - <origin>gentoo-staging</origin> -</pkgmetadata> diff --git a/dev-python/django/Manifest b/dev-python/django/Manifest index 57dec56fe010..a38bb7aa54d5 100644 --- a/dev-python/django/Manifest +++ b/dev-python/django/Manifest @@ -1,5 +1,8 @@ DIST Django-2.2.13.tar.gz 8879757 BLAKE2B 4a7986805c6a3674d47aa82b97f31ae63968dd7c0f12db672207cd1d97076acb681fe44e730147122911684b36d7f1e9d5ea18c054d4c40c68b460300fd9294b SHA512 6daf3486d2f19eb159193df77a7525e5173ba5889ad5c587a6ec6bbf02c4ea94fa90b9a30a5310932fc9353a22c413208ab724c05740f844eccfe610da3ca68a DIST Django-2.2.15.tar.gz 9023679 BLAKE2B 9619d0ac45a8256a1e605f447b89df6266d67d98969baffd41a9184165e14d57d4edfb898f64a6633cc0f4c23b24a35b16cb446c920d8baf58f771c69d8697ee SHA512 bb91e5b621be54570f8c7676f820ff93fbf0546dea79e035eebd60b70c5c872b0de65395a4606f07af7b9c77de2cf218aaef8ff489fcfabaf5c9b75d28e42dc2 +DIST Django-2.2.16.tar.gz 8884774 BLAKE2B e65074c44e35921f6c40ca9e2a5fee53ce9a956a7503b96a33c8dbb4588bb0928d2e2b605f1117c3c75cdc84d6c7d1bfe52f4e7888fbe300adb5411a55b0ac27 SHA512 eabcdfc17e27c579001e4739268abd13bebbb018db1a7dbe4fb8482d32320b85bd16b3b18428084c0df947094f23f7cb4b12a3a55bc370748d7d8746af22bc3b +DIST Django-3.0.10.tar.gz 8958332 BLAKE2B 0ff17da9d9175b080d81e334e46ec6daaec5e4cd48f5d9a614c84b448a6d4b93d304b3fd25bcee665d65f589a8f94cf83f002bbd7a27975d23e3516286784e01 SHA512 fcce2815f966a5eb0f7986c16d065b352c73ea2ea4fc1422d440487d84162c5a93aa45b9173ba5d62d6caee2e976a9ac818f228b47ed7f4f50deda27bac995e9 DIST Django-3.0.8.tar.gz 9080731 BLAKE2B b3276527c9c5eba18b380204c498ebd5724e5211640ead9e05284eb013f907ce6799125b29e2030bc37ecd5a1022e6eb3f193eca5e2c6520adef630d6d2114a9 SHA512 92d169fb37883355f1898fc13b54b6732ec14d71f77e4b91db30dd9bfb5df8b34c1c9566af6ddc37e00a9e3eadd38b6a51ff604a4da4285167f66b55215be301 DIST Django-3.0.9.tar.gz 9081099 BLAKE2B 502f9cf1fafff50d92c771e845319f5406722cdb8ca0570688bb96e7fbc765cee319325b0340b722afeb0a304316d30408ca92154623ad4934877cbdc8ee9259 SHA512 1244b9cff26b9e8d9a3d611e0a39981bd1a46d68fa734a58ba12fd51eeb023fb053605372d7b41b51027e4e609f1870d25f7e0584d0449ceeb8d877f674e49b4 +DIST Django-3.1.1.tar.gz 9250616 BLAKE2B 220c53873a70bb30f0ea9b48a70ba71b2de517c11f238e6dc2be20b0e85c99dfdb2ea3b9cfe7b164c7141e0857f19d9d8f93390d7ef36bf34e915ccdb449e8f6 SHA512 5da4282c2ae712ecb2da654a99d46cd60c99aced90f75e681d5a0765b8c08669f27b6c38287bfe7bac028f12ae0643e2be06742752bdc83c62daf82fee60281f DIST Django-3.1.tar.gz 9382872 BLAKE2B 31f2a45cf31f87401ac1834be81cf207ca48f720bf6d6885b774fb51f42616be1346b8ab71d6c0b605d99bc7422f27b21665729b78e00c9cc0ba9cf3e4d788f3 SHA512 31f0821966f4ebc6b2a719b69f1137a32a7228414221e8938a66c9b940465c008761bd380ba9ea603e3693d38c233d6f23afe0cbe5647eb2478844ce2d0e7fd4 diff --git a/dev-python/django/django-2.2.16.ebuild b/dev-python/django/django-2.2.16.ebuild new file mode 100644 index 000000000000..266e44901803 --- /dev/null +++ b/dev-python/django/django-2.2.16.ebuild @@ -0,0 +1,80 @@ +# 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_{5,6,7,8,9} ) +PYTHON_REQ_USE='sqlite?,threads(+)' + +inherit bash-completion-r1 distutils-r1 eutils + +MY_PN="Django" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="High-level Python web framework" +HOMEPAGE="https://www.djangoproject.com/ https://pypi.org/project/Django/" +SRC_URI="https://www.djangoproject.com/m/releases/$(ver_cut 1-2)/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD" +# admin fonts: Roboto (media-fonts/roboto) +LICENSE+=" Apache-2.0" +# admin icons, jquery, xregexp.js +LICENSE+=" MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="doc sqlite test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/pytz[${PYTHON_USEDEP}] + >=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}]" +# gettext: https://code.djangoproject.com/ticket/31850 +BDEPEND=" + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + $(python_gen_impl_dep sqlite) + ${RDEPEND} + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[webp,${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/selenium[${PYTHON_USEDEP}] + dev-python/tblib[${PYTHON_USEDEP}] + <sys-devel/gettext-0.21 + )" + +PATCHES=( + "${FILESDIR}"/${PN}-2.0.7-bashcomp.patch +) + +distutils_enable_sphinx docs --no-autodoc + +python_test() { + # Tests have non-standard assumptions about PYTHONPATH, + # and don't work with ${BUILD_DIR}/lib. + PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite -v2 || + die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + newbashcomp extras/django_bash_completion ${PN}-admin + bashcomp_alias ${PN}-admin django-admin.py + + distutils-r1_python_install_all +} + +pkg_postinst() { + elog "Additional Backend support can be enabled via" + optfeature "MySQL backend support" dev-python/mysqlclient + optfeature "PostgreSQL backend support" dev-python/psycopg:2 + echo "" + elog "Other features can be enhanced by" + optfeature "GEO Django" "sci-libs/gdal[geos]" + optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached + optfeature "ImageField Support" dev-python/pillow + optfeature "Password encryption" dev-python/bcrypt + optfeature "High-level abstractions for Django forms" dev-python/django-formtools +} diff --git a/dev-python/django/django-3.0.10.ebuild b/dev-python/django/django-3.0.10.ebuild new file mode 100644 index 000000000000..6ad5c4ee11b7 --- /dev/null +++ b/dev-python/django/django-3.0.10.ebuild @@ -0,0 +1,81 @@ +# 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_{5,6,7,8,9} ) +PYTHON_REQ_USE='sqlite?,threads(+)' + +inherit bash-completion-r1 distutils-r1 eutils + +MY_PN="Django" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="High-level Python web framework" +HOMEPAGE="https://www.djangoproject.com/ https://pypi.org/project/Django/" +SRC_URI="https://www.djangoproject.com/m/releases/$(ver_cut 1-2)/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD" +# admin fonts: Roboto (media-fonts/roboto) +LICENSE+=" Apache-2.0" +# admin icons, jquery, xregexp.js +LICENSE+=" MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" +IUSE="doc sqlite test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/asgiref[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + >=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}]" +# gettext: https://code.djangoproject.com/ticket/31850 +BDEPEND=" + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + $(python_gen_impl_dep sqlite) + ${RDEPEND} + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[webp,${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/selenium[${PYTHON_USEDEP}] + dev-python/tblib[${PYTHON_USEDEP}] + <sys-devel/gettext-0.21 + )" + +PATCHES=( + "${FILESDIR}"/${PN}-3.0.6-bashcomp.patch +) + +distutils_enable_sphinx docs --no-autodoc + +python_test() { + # Tests have non-standard assumptions about PYTHONPATH, + # and don't work with ${BUILD_DIR}/lib. + PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite -v2 || + die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + newbashcomp extras/django_bash_completion ${PN}-admin + bashcomp_alias ${PN}-admin django-admin.py + + distutils-r1_python_install_all +} + +pkg_postinst() { + elog "Additional Backend support can be enabled via" + optfeature "MySQL backend support" dev-python/mysqlclient + optfeature "PostgreSQL backend support" dev-python/psycopg:2 + echo "" + elog "Other features can be enhanced by" + optfeature "GEO Django" "sci-libs/gdal[geos]" + optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached + optfeature "ImageField Support" dev-python/pillow + optfeature "Password encryption" dev-python/bcrypt + optfeature "High-level abstractions for Django forms" dev-python/django-formtools +} diff --git a/dev-python/django/django-3.1.1.ebuild b/dev-python/django/django-3.1.1.ebuild new file mode 100644 index 000000000000..85403716fd79 --- /dev/null +++ b/dev-python/django/django-3.1.1.ebuild @@ -0,0 +1,81 @@ +# 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_{5,6,7,8,9} ) +PYTHON_REQ_USE='sqlite?,threads(+)' + +inherit bash-completion-r1 distutils-r1 eutils + +MY_PN="Django" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="High-level Python web framework" +HOMEPAGE="https://www.djangoproject.com/ https://pypi.org/project/Django/" +SRC_URI="https://www.djangoproject.com/m/releases/$(ver_cut 1-2)/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD" +# admin fonts: Roboto (media-fonts/roboto) +LICENSE+=" Apache-2.0" +# admin icons, jquery, xregexp.js +LICENSE+=" MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="doc sqlite test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/asgiref[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + >=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}]" +# gettext: https://code.djangoproject.com/ticket/31850 +BDEPEND=" + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + $(python_gen_impl_dep sqlite) + ${RDEPEND} + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[webp,${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/selenium[${PYTHON_USEDEP}] + dev-python/tblib[${PYTHON_USEDEP}] + <sys-devel/gettext-0.21 + )" + +PATCHES=( + "${FILESDIR}"/${PN}-3.1-bashcomp.patch +) + +distutils_enable_sphinx docs --no-autodoc + +python_test() { + # Tests have non-standard assumptions about PYTHONPATH, + # and don't work with ${BUILD_DIR}/lib. + PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite -v2 || + die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + newbashcomp extras/django_bash_completion ${PN}-admin + bashcomp_alias ${PN}-admin django-admin.py + + distutils-r1_python_install_all +} + +pkg_postinst() { + elog "Additional Backend support can be enabled via" + optfeature "MySQL backend support" dev-python/mysqlclient + optfeature "PostgreSQL backend support" dev-python/psycopg:2 + echo "" + elog "Other features can be enhanced by" + optfeature "GEO Django" "sci-libs/gdal[geos]" + optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached + optfeature "ImageField Support" dev-python/pillow + optfeature "Password encryption" dev-python/bcrypt + optfeature "High-level abstractions for Django forms" dev-python/django-formtools +} diff --git a/dev-python/elementtree/Manifest b/dev-python/elementtree/Manifest deleted file mode 100644 index fbc843d836a8..000000000000 --- a/dev-python/elementtree/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST elementtree-1.2.6-20050316.tar.gz 41752 BLAKE2B 41bb745d5a5f0eb0b3da96b3c6eccf97c23b45d2c886e0a6160fdc72c4f299419b2e7f1e36a6ef85d329d2b44e58ad74e105fd385fd3318d77bb6db89a72f508 SHA512 f213cf5bd9a79b59a2033c652d9d53087fd07dd3550db1771b8ba97168c3a5722d31ac5ff8699830df0f14a1d9f0caf8d237e8c6153568e16347d8b212771baf diff --git a/dev-python/elementtree/elementtree-1.2.6-r3.ebuild b/dev-python/elementtree/elementtree-1.2.6-r3.ebuild deleted file mode 100644 index f366790413ef..000000000000 --- a/dev-python/elementtree/elementtree-1.2.6-r3.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 - -MY_P="${P}-20050316" - -DESCRIPTION="A light-weight XML object model for Python" -HOMEPAGE="https://effbot.org/zone/element-index.htm https://pypi.org/project/elementtree/" -SRC_URI="http://effbot.org/downloads/${MY_P}.tar.gz" - -LICENSE="ElementTree" -SLOT="0" -KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" -IUSE="" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -RDEPEND="" - -S="${WORKDIR}/${MY_P}" - -python_prepare_all() { - sed -e "s/distutils.core/setuptools/" -i setup.py || die "sed failed" - distutils-r1_python_prepare_all -} - -python_test() { - "${PYTHON}" selftest.py || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - local HTML_DOCS=( docs/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/elementtree/metadata.xml b/dev-python/elementtree/metadata.xml deleted file mode 100644 index ad7081983829..000000000000 --- a/dev-python/elementtree/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?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> - <name>Python</name> -</maintainer> - <origin>gentoo-staging</origin> -</pkgmetadata> diff --git a/dev-python/flup/Manifest b/dev-python/flup/Manifest deleted file mode 100644 index 5bcde5ecd087..000000000000 --- a/dev-python/flup/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST flup-1.0.2.tar.gz 49051 BLAKE2B e3acb1c1a4028ed8eea5381c55d25f2cebb050a5ce9e18f74612d50453238338aa52b268059581a56438a1a0e42ecaaa0d747bc3bc2779ec0646daf1df3ce02c SHA512 65c610f9ddc3df6ed6deb6753b2b15ce4f4579efd9dfd25166d3b6803e5d7058fee6617388c9c67c39f7db54da5c918181dcbddfbb7be4a78cf8b65501af4c4a diff --git a/dev-python/flup/flup-1.0.2-r1.ebuild b/dev-python/flup/flup-1.0.2-r1.ebuild deleted file mode 100644 index 858d8de998e9..000000000000 --- a/dev-python/flup/flup-1.0.2-r1.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 - -DESCRIPTION="Random assortment of WSGI servers" -HOMEPAGE="https://www.saddi.com/software/flup/" -SRC_URI="https://www.saddi.com/software/${PN}/dist/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" -IUSE="" - -RDEPEND="" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" diff --git a/dev-python/flup/metadata.xml b/dev-python/flup/metadata.xml deleted file mode 100644 index ad7081983829..000000000000 --- a/dev-python/flup/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?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> - <name>Python</name> -</maintainer> - <origin>gentoo-staging</origin> -</pkgmetadata> diff --git a/dev-python/google-apputils/Manifest b/dev-python/google-apputils/Manifest deleted file mode 100644 index bf7c7d7c873d..000000000000 --- a/dev-python/google-apputils/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST google-apputils-0.4.2.tar.gz 81095 BLAKE2B d99c2fe8081616ee2891718fc3d00d00bcd703f694b9419bfc7aaebe75ba8cd0de12e8461dbc6459c1b7b88abf6e7af89972368c565565cb5dfb810938e4e1d2 SHA512 d7579ec461292bb01ad5b8e1b09e161c66af0e85361f43f6065b837c90bddb9711a2d56db2b73d780dc25945375d4dad2f646507512b9acfeefd517613feacd4 diff --git a/dev-python/google-apputils/files/0.4.2-sh_test-env.patch b/dev-python/google-apputils/files/0.4.2-sh_test-env.patch deleted file mode 100644 index 69ebe6278f9d..000000000000 --- a/dev-python/google-apputils/files/0.4.2-sh_test-env.patch +++ /dev/null @@ -1,21 +0,0 @@ -Prevent the environment from being clobbered during sh_test - -diff --git a/tests/sh_test.py b/tests/sh_test.py -index ab41055..d1b08c6 100644 ---- a/tests/sh_test.py -+++ b/tests/sh_test.py -@@ -29,12 +29,8 @@ class ShellScriptTests(basetest.TestCase): - path_with_python = ':'.join(( - os.path.dirname(sys.executable), os.environ.get('PATH'))) - -- env = { -- 'PATH': path_with_python, -- # Setuptools puts dependency eggs in our path, so propagate that. -- 'PYTHONPATH': os.pathsep.join(sys.path), -- 'TEST_TMPDIR': FLAGS.test_tmpdir, -- } -+ env = os.environ.copy() -+ env['TEST_TMPDIR'] = FLAGS.test_tmpdir - p = subprocess.Popen(sh_test_path, cwd=tests_path, env=env) - self.assertEqual(0, p.wait()) - diff --git a/dev-python/google-apputils/google-apputils-0.4.2-r2.ebuild b/dev-python/google-apputils/google-apputils-0.4.2-r2.ebuild deleted file mode 100644 index 638e71945913..000000000000 --- a/dev-python/google-apputils/google-apputils-0.4.2-r2.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -# Python 3: https://github.com/google/google-apputils/issues/9 -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 - -DESCRIPTION="Collection of utilities for building Python applications" -HOMEPAGE="https://github.com/google/google-apputils" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/namespace-google[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-1.4[${PYTHON_USEDEP}] - >=dev-python/python-gflags-1.4[${PYTHON_USEDEP}] - >=dev-python/pytz-2010[${PYTHON_USEDEP}]" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - test? ( ${RDEPEND} dev-python/mox[${PYTHON_USEDEP}] )" - -PATCHES=( - "${FILESDIR}/0.4.2-sh_test-env.patch" -) - -src_unpack() { - default - chmod -R a+rX,u+w,g-w,o-w ${P} || die -} - -python_test() { - esetup.py google_test -} - -python_install_all() { - distutils-r1_python_install_all - - find "${D}" -name '*.pth' -delete || die -} diff --git a/dev-python/google-apputils/metadata.xml b/dev-python/google-apputils/metadata.xml deleted file mode 100644 index 22fddbe671f7..000000000000 --- a/dev-python/google-apputils/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?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> - <name>Python</name> - </maintainer> - <upstream> - <remote-id type="github">google/google-apputils</remote-id> - <remote-id type="pypi">google-apputils</remote-id> - </upstream> - <origin>gentoo-staging</origin> -</pkgmetadata> diff --git a/dev-python/id3-py/Manifest b/dev-python/id3-py/Manifest deleted file mode 100644 index 64fb0f97c2bb..000000000000 --- a/dev-python/id3-py/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST id3-py_1.2.tar.gz 16650 BLAKE2B 28e61ab565f020bcea60488d430d3fbcfcd11ba3fe133d8247a8c14f759f1eb881ce4e7e2ab418f1c5115e96ca67ec3fee27939fcdeeed8894eba4b9b000585c SHA512 d629a964e9008be1645815d659b45b2c1cbecc4cb5c51624adb733e0a847198848afb3959f2342df9077ce01ee1f546997639c56bfc357fa9ceec7d01da8d4fd diff --git a/dev-python/id3-py/id3-py-1.2-r1.ebuild b/dev-python/id3-py/id3-py-1.2-r1.ebuild deleted file mode 100644 index c69d532f97cf..000000000000 --- a/dev-python/id3-py/id3-py-1.2-r1.ebuild +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 - -DESCRIPTION="Module for manipulating ID3 tags in Python" -SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.tar.gz" -HOMEPAGE="https://sourceforge.net/projects/id3-py/" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~ia64 ppc ppc64 sparc x86" -IUSE="" diff --git a/dev-python/id3-py/metadata.xml b/dev-python/id3-py/metadata.xml deleted file mode 100644 index 18f3dcb65551..000000000000 --- a/dev-python/id3-py/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?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> - <name>Python</name> - </maintainer> - <upstream> - <remote-id type="sourceforge">id3-py</remote-id> - </upstream> - <origin>gentoo-staging</origin> -</pkgmetadata> diff --git a/dev-python/ijson/Manifest b/dev-python/ijson/Manifest index 2aa404d8584e..9aa023fca837 100644 --- a/dev-python/ijson/Manifest +++ b/dev-python/ijson/Manifest @@ -1,2 +1 @@ -DIST ijson-2.5.1.tar.gz 23258 BLAKE2B e41cb4d903399384a1a1d18941a2ecf36e80c762e5d4e3e854e9337f3a72cab3a61576d9d5170b11e1513bd82ca0e2158b8a88d4c30855674366fbc9172c5042 SHA512 f8d2cf0496357d3385e2744a4604cef1fd6fcd92cbd52c8803d7e831c091c18b718ad0c1dc8735c3f10df04e25fe69ef73d6935b2df6f67845493935e2ca529e DIST ijson-3.1_p0.tar.gz 123536 BLAKE2B d8ed0da77e219aee8ca287a2ede4eccd8e965a5778ff95485376bcfdcca07b48ae5c0e22b271fad0a489342403b11716971663158f340c97b80031bb2cc8c060 SHA512 af2db5b3c9f2cc93aa2d15462b6476a970e5c394a8f5bd9740ebbe134e8a2fa973c95057447bd02d3c4262ddf22fc7d231840d3a91b919a1411bae07d38cfd93 diff --git a/dev-python/ijson/ijson-2.5.1.ebuild b/dev-python/ijson/ijson-2.5.1.ebuild deleted file mode 100644 index 389cffe90e55..000000000000 --- a/dev-python/ijson/ijson-2.5.1.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{5,6,7,8,9} ) - -inherit distutils-r1 - -DESCRIPTION="Iterative JSON parser with a Pythonic interface" -HOMEPAGE="https://github.com/ICRAR/ijson https://pypi.org/project/ijson/" -SRC_URI="https://github.com/ICRAR/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND="dev-libs/yajl" -DEPEND="${RDEPEND}" -BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" - -python_test() { - "${EPYTHON}" tests.py -v || die -} diff --git a/dev-python/iniconfig/iniconfig-1.0.0.ebuild b/dev-python/iniconfig/iniconfig-1.0.0.ebuild index a413ea189d47..eb193cb2a922 100644 --- a/dev-python/iniconfig/iniconfig-1.0.0.ebuild +++ b/dev-python/iniconfig/iniconfig-1.0.0.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~sparc ~x86" BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]" diff --git a/dev-python/ipykernel/ipykernel-5.3.4-r1.ebuild b/dev-python/ipykernel/ipykernel-5.3.4-r1.ebuild new file mode 100644 index 000000000000..64b03e679834 --- /dev/null +++ b/dev-python/ipykernel/ipykernel-5.3.4-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7,8,9} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="IPython Kernel for Jupyter" +HOMEPAGE="https://github.com/ipython/ipykernel" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="test" + +RDEPEND=" + >=dev-python/ipython-6[${PYTHON_USEDEP}] + dev-python/jupyter_client[${PYTHON_USEDEP}] + >=dev-python/jupyter_core-4.6[${PYTHON_USEDEP}] + >=dev-python/traitlets-4.1.0[${PYTHON_USEDEP}] + >=www-servers/tornado-4.0[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/nose_warnings_filters[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest diff --git a/dev-python/ipyparallel/ipyparallel-6.3.0-r1.ebuild b/dev-python/ipyparallel/ipyparallel-6.3.0-r1.ebuild new file mode 100644 index 000000000000..cf71b267577b --- /dev/null +++ b/dev-python/ipyparallel/ipyparallel-6.3.0-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7,8,9} ) +PYTHON_REQ_USE="threads(+)" +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 eutils + +DESCRIPTION="Interactive Parallel Computing with IPython" +HOMEPAGE="https://ipyparallel.readthedocs.io/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc test" +RESTRICT="!test? ( test )" + +# About tests and tornado +# Upstreams claims to work fine with tornado 5, and it's indeed possible to +# launch a cluster with tornado 5 installed, but tests definitely don't run with +# tornado 5 installed. Upstreams CI runs with tornado 4. This is why we limit +# ourselves to <tornado-5 when running tests. + +RDEPEND=" + dev-python/decorator[${PYTHON_USEDEP}] + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/ipython_genutils[${PYTHON_USEDEP}] + dev-python/jupyter_client[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/pyzmq-14.4.0[${PYTHON_USEDEP}] + www-servers/tornado[${PYTHON_USEDEP}] + " +BDEPEND="${RDEPEND} + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + dev-python/ipython[test] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/testpath[${PYTHON_USEDEP}] + ) + " + +distutils_enable_sphinx docs/source +distutils_enable_tests pytest + +src_prepare() { + # TODO: investigate + sed -e 's:test_unicode:_&:' \ + -e 's:test_temp_flags:_&:' \ + -i ipyparallel/tests/test_view.py || die + + distutils-r1_src_prepare +} + +pkg_postinst() { + optfeature "Jupyter Notebook integration" dev-python/notebook +} diff --git a/dev-python/ipywidgets/ipywidgets-7.5.1-r1.ebuild b/dev-python/ipywidgets/ipywidgets-7.5.1-r1.ebuild new file mode 100644 index 000000000000..ab5bb626abce --- /dev/null +++ b/dev-python/ipywidgets/ipywidgets-7.5.1-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7,8,9} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="IPython HTML widgets for Jupyter" +HOMEPAGE="https://ipywidgets.readthedocs.io/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/ipykernel-4.5.1[${PYTHON_USEDEP}] + >=dev-python/nbformat-4.2.0[${PYTHON_USEDEP}] + >=dev-python/traitlets-4.3.1[${PYTHON_USEDEP}] + >=dev-python/widgetsnbextension-3.5.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/jupyter_client/jupyter_client-6.1.6-r2.ebuild b/dev-python/jupyter_client/jupyter_client-6.1.6-r2.ebuild new file mode 100644 index 000000000000..fa9264804291 --- /dev/null +++ b/dev-python/jupyter_client/jupyter_client-6.1.6-r2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7,8,9} ) +PYTHON_REQ_USE="threads(+)" +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Jupyter protocol implementation and client libraries" +HOMEPAGE="https://jupyter.org" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/async_generator[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/traitlets[${PYTHON_USEDEP}] + dev-python/jupyter_core[${PYTHON_USEDEP}] + >=dev-python/pyzmq-14.4.0[${PYTHON_USEDEP}] + www-servers/tornado[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + test? ( + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest diff --git a/dev-python/mox/Manifest b/dev-python/mox/Manifest deleted file mode 100644 index 51e2199d1cf0..000000000000 --- a/dev-python/mox/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST mox-0.5.3.tar.gz 31266 BLAKE2B 7f8d22519a462270e08b5c126fa3afd38d6a643818c39c37105133583585e451f3447155b48666c590abe7166660ece33368b3f3f22690cda10ce4a4ff908ffc SHA512 122606264ea8bf83d38f8576c8208fd1bc17cd76009390f516ed4bdf705d49ccfbeed0fa3e9ac1940df3969e0254662c602c497d6c6833108dfcacc59f1c789e diff --git a/dev-python/mox/metadata.xml b/dev-python/mox/metadata.xml deleted file mode 100644 index ffb9e38f8d54..000000000000 --- a/dev-python/mox/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?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> - <name>Python</name> - </maintainer> - <upstream> - <remote-id type="google-code">pymox</remote-id> - <remote-id type="pypi">mox</remote-id> - </upstream> - <origin>gentoo-staging</origin> -</pkgmetadata> diff --git a/dev-python/mox/mox-0.5.3-r1.ebuild b/dev-python/mox/mox-0.5.3-r1.ebuild deleted file mode 100644 index 9d146c82bd58..000000000000 --- a/dev-python/mox/mox-0.5.3-r1.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 - -DESCRIPTION="A mock object framework for Python, loosely based on EasyMock for Java" -HOMEPAGE="https://pypi.org/project/mox/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sparc x86" -IUSE="test" -RESTRICT="!test? ( test )" - -python_test() { - ${PYTHON} mox_test.py || die -} diff --git a/dev-python/nbconvert/nbconvert-5.6.1-r1.ebuild b/dev-python/nbconvert/nbconvert-5.6.1-r1.ebuild new file mode 100644 index 000000000000..a3e637ec09ca --- /dev/null +++ b/dev-python/nbconvert/nbconvert-5.6.1-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7,8,9} ) + +inherit distutils-r1 + +DESCRIPTION="Converting Jupyter Notebooks" +HOMEPAGE="https://nbconvert.readthedocs.io/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND=" + dev-python/bleach[${PYTHON_USEDEP}] + dev-python/defusedxml[${PYTHON_USEDEP}] + >=dev-python/entrypoints-0.2.2[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/jupyter_core[${PYTHON_USEDEP}] + >=dev-python/mistune-0.7.4[${PYTHON_USEDEP}] + dev-python/nbformat[${PYTHON_USEDEP}] + >=dev-python/pandocfilters-1.4.1[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + >=dev-python/traitlets-4.2.1[${PYTHON_USEDEP}] + dev-python/testpath[${PYTHON_USEDEP}] + www-servers/tornado[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pebble[${PYTHON_USEDEP}] + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/ipywidgets[${PYTHON_USEDEP}] + >=dev-python/jupyter_client-4.2[${PYTHON_USEDEP}] + media-gfx/inkscape + ) +" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}"/${P}-inkscape-1.patch + "${FILESDIR}"/${P}-py39.patch +) + +src_prepare() { + # assumes old inkscape output? + sed -i -e '/SVG\.ipynb/d' \ + nbconvert/preprocessors/tests/test_execute.py || die + + distutils-r1_src_prepare +} + +python_test() { + distutils_install_for_testing bdist_egg + cd "${TEST_DIR}"/lib || die + pytest -vv --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/nbdime/metadata.xml b/dev-python/nbdime/metadata.xml index 01b13109a9d6..7304ab699614 100644 --- a/dev-python/nbdime/metadata.xml +++ b/dev-python/nbdime/metadata.xml @@ -5,9 +5,6 @@ <email>sci@gentoo.org</email> <name>Gentoo Science Project</name> </maintainer> - <longdescription> - nbdime provides tools for diffing and merging of Jupyter Notebooks. - </longdescription> <upstream> <remote-id type="github">jupyter/nbdime</remote-id> <remote-id type="pypi">nbdime</remote-id> diff --git a/dev-python/nbsphinx/nbsphinx-0.7.1-r1.ebuild b/dev-python/nbsphinx/nbsphinx-0.7.1-r1.ebuild new file mode 100644 index 000000000000..4d6bc9a92817 --- /dev/null +++ b/dev-python/nbsphinx/nbsphinx-0.7.1-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{5,6,7,8,9} ) + +inherit distutils-r1 + +DESCRIPTION="Jupyter Notebook Tools for Sphinx" +HOMEPAGE="https://github.com/spatialaudio/nbsphinx/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="" + +RDEPEND=" + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/nbconvert[${PYTHON_USEDEP}] + dev-python/nbformat[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.8[${PYTHON_USEDEP}] + dev-python/traitlets[${PYTHON_USEDEP}] + " diff --git a/dev-python/notebook/notebook-6.1.3-r1.ebuild b/dev-python/notebook/notebook-6.1.3-r1.ebuild new file mode 100644 index 000000000000..e1b2f59583b2 --- /dev/null +++ b/dev-python/notebook/notebook-6.1.3-r1.ebuild @@ -0,0 +1,93 @@ +# 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_{5,6,7,8,9} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Jupyter Interactive Notebook" +HOMEPAGE="https://jupyter.org" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-libs/mathjax-2.4 + dev-python/argon2-cffi[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + >=dev-python/terminado-0.8.3[${PYTHON_USEDEP}] + >=www-servers/tornado-5.0[${PYTHON_USEDEP}] + dev-python/ipython_genutils[${PYTHON_USEDEP}] + >=dev-python/traitlets-4.2.1[${PYTHON_USEDEP}] + >=dev-python/jupyter_core-4.6.1[${PYTHON_USEDEP}] + >=dev-python/pyzmq-17[${PYTHON_USEDEP}] + >=dev-python/jupyter_client-5.3.4[${PYTHON_USEDEP}] + dev-python/nbformat[${PYTHON_USEDEP}] + >=dev-python/nbconvert-4.2.0[${PYTHON_USEDEP}] + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/send2trash[${PYTHON_USEDEP}] + dev-python/prometheus_client[${PYTHON_USEDEP}]" + +# sphinx 2+ seems to have a problem with its github plugin. temporarily adding +# a version constraint. +BDEPEND=" + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/nose_warnings_filters[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-unixsocket[${PYTHON_USEDEP}] + ) + " + +PATCHES=( + "${FILESDIR}/${PN}"-5.7.0-no-mathjax.patch +) + +distutils_enable_tests pytest + +python_prepare_all() { + # disable bundled mathjax + sed -i 's/^.*MathJax.*$//' bower.json || die + + # require geckodriver + rm -r notebook/tests/selenium || die + # trash doesn't seem to work for us + sed -e 's:test_delete:_&:' \ + -i notebook/services/contents/tests/test_manager.py || die + sed -e 's:test_checkpoints_follow_file:_&:' \ + -e 's:test_delete:_&:' \ + -i notebook/services/contents/tests/test_contents_api.py || die + # network-sandbox? + sed -e 's:test_connections:_&:' \ + -e 's:test_culling:_&:' \ + -i notebook/services/kernels/tests/test_kernels_api.py || die + + sed -i -e "/'bdist_egg':/d" setup.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + distutils_install_for_testing + local -x PATH=${TEST_DIR}/scripts:${PATH} + pytest -vv || die "Tests failed with ${EPYTHON}" +} + +python_install() { + distutils-r1_python_install + + ln -sf \ + "${EPREFIX}/usr/share/mathjax" \ + "${D}$(python_get_sitedir)/notebook/static/components/MathJax" || die +} + +pkg_preinst() { + # remove old mathjax folder if present + rm -rf "${EROOT}"/usr/lib*/python*/site-packages/notebook/static/components/MathJax || die +} diff --git a/dev-python/octave_kernel/metadata.xml b/dev-python/octave_kernel/metadata.xml index 5c31ec91cc0a..2fba25765be9 100644 --- a/dev-python/octave_kernel/metadata.xml +++ b/dev-python/octave_kernel/metadata.xml @@ -5,9 +5,6 @@ <email>sci-mathematics@gentoo.org</email> <name>Gentoo Mathematics Project</name> </maintainer> - <longdescription lang="en"> - A Jupyter kernel for Octave. - </longdescription> <upstream> <remote-id type="pypi">octave_kernel</remote-id> <remote-id type="github">Calysto/octave_kernel</remote-id> diff --git a/dev-python/pupynere/Manifest b/dev-python/pupynere/Manifest deleted file mode 100644 index 3a729ab2a701..000000000000 --- a/dev-python/pupynere/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pupynere-1.0.15.tar.gz 8566 BLAKE2B 1780b7c17868b77c294da0f81052077be22b72660b472a29641c8390d34a608fb0dc067fe942dba764dd5735ce034981c9b5e3b47825eb3be9ab94e46a71d972 SHA512 55b25ca4fb511d80b5eb11b8aa63949c80e9dda336ed1ad406314bbda669ee4ef836a3e01b71065eec0cf0b8556ef36c815a299a5620d50983074a2ff55ca5ba diff --git a/dev-python/pupynere/metadata.xml b/dev-python/pupynere/metadata.xml deleted file mode 100644 index 2530383520bc..000000000000 --- a/dev-python/pupynere/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - Pupynere is a Python module for reading and writing NetCDF files, - using the same API as Scientific.IO.NetCDF and pynetcdf. - </longdescription> - <upstream> - <remote-id type="pypi">pupynere</remote-id> - </upstream> - <origin>gentoo-staging</origin> -</pkgmetadata> diff --git a/dev-python/pupynere/pupynere-1.0.15-r2.ebuild b/dev-python/pupynere/pupynere-1.0.15-r2.ebuild deleted file mode 100644 index 7f70dfe14fc9..000000000000 --- a/dev-python/pupynere/pupynere-1.0.15-r2.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 - -DESCRIPTION="Pupynere is a PUre PYthon NEtcdf REader" -HOMEPAGE="https://pypi.org/project/pupynere/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" -IUSE="" - -RDEPEND=" - || ( - dev-python/numpy-python2[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - )" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}]" - -python_test() { - cd "${BUILD_DIR}" || die - "${PYTHON}" -m doctest -v "${BUILD_DIR}"/lib/pupynere.py \ - || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/pyid3lib/Manifest b/dev-python/pyid3lib/Manifest deleted file mode 100644 index 116437c47ce3..000000000000 --- a/dev-python/pyid3lib/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pyid3lib-0.5.1.tar.bz2 21207 BLAKE2B 762baa0d463c587d06eb12d84a25d5105f7f2a11e60ff7b8153f45a3bb5076b622297cbbbff7c01ce4cf3c9dea96f714c0787e990630e3addfa85dc79553662e SHA512 fee073a7bd87540a186122b477e918b2c3d8a234ea5ebd83207115b9d0503cc22645b93f6702b79a1b41104d0cbcaa3c47900bba27ce52d44195a8f8a6331c57 diff --git a/dev-python/pyid3lib/files/pyid3lib-0.5.1-gcc-4.4.patch b/dev-python/pyid3lib/files/pyid3lib-0.5.1-gcc-4.4.patch deleted file mode 100644 index 04df9e0a6c98..000000000000 --- a/dev-python/pyid3lib/files/pyid3lib-0.5.1-gcc-4.4.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- pyid3lib.cc -+++ pyid3lib.cc -@@ -920,7 +920,7 @@ enum frame_type - - typedef struct - { -- char* name; -+ const char* name; - ID3_FrameID fid; - frame_type type; - } magic_attribute; -@@ -1030,7 +1030,7 @@ static PyObject* id3_getattr( ID3Object* self, char* attrname ) - { - ID3_Frame* frame; - const char* str; -- char* slash; -+ const char* slash; - ID3_Field* fld; - int i; - diff --git a/dev-python/pyid3lib/files/pyid3lib-0.5.1-py25.patch b/dev-python/pyid3lib/files/pyid3lib-0.5.1-py25.patch deleted file mode 100644 index c24cfc97d5ac..000000000000 --- a/dev-python/pyid3lib/files/pyid3lib-0.5.1-py25.patch +++ /dev/null @@ -1,57 +0,0 @@ ---- pyid3lib-0.5.1/pyid3lib.cc.orig 2007-08-08 23:53:08.000000000 +0300 -+++ pyid3lib-0.5.1/pyid3lib.cc 2007-08-08 23:53:12.000000000 +0300 -@@ -10,13 +10,19 @@ - #include <id3/id3lib_frame.h> - #include <id3/tag.h> - -+#if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN) -+typedef int Py_ssize_t; -+#define PY_SSIZE_T_MAX INT_MAX -+#define PY_SSIZE_T_MIN INT_MIN -+#endif -+ - typedef struct - { - PyObject_HEAD - - ID3_Tag* tag; - ID3_Frame** frames; -- int size, alloc; -+ Py_ssize_t size, alloc; - } ID3Object; - - typedef struct -@@ -80,13 +86,24 @@ - - - static PySequenceMethods tag_as_sequence = { -+#if PY_VERSION_HEX >= 0x02050000 -+ (lenfunc)id3_length, -+#else - (inquiry)id3_length, -+#endif - NULL, - NULL, -+#if PY_VERSION_HEX >= 0x02050000 -+ (ssizeargfunc)id3_item, -+ (ssizessizeargfunc)id3_slice, -+ (ssizeobjargproc)id3_ass_item, -+ (ssizessizeobjargproc)id3_ass_slice, -+#else - (intargfunc)id3_item, - (intintargfunc)id3_slice, - (intobjargproc)id3_ass_item, - (intintobjargproc)id3_ass_slice, -+#endif - (objobjproc)id3_contains, - NULL, - NULL, -@@ -824,7 +841,7 @@ - static ID3_Frame* frame_from_dict( ID3_FrameID fid, PyObject* dict ) - { - char* data; -- int size; -+ Py_ssize_t size; - - ID3_Field* field; - ID3_FieldID flid; diff --git a/dev-python/pyid3lib/metadata.xml b/dev-python/pyid3lib/metadata.xml deleted file mode 100644 index f7aac5e2474b..000000000000 --- a/dev-python/pyid3lib/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?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> - <name>Python</name> - </maintainer> - <upstream> - <remote-id type="sourceforge">pyid3lib</remote-id> - </upstream> - <origin>gentoo-staging</origin> -</pkgmetadata> diff --git a/dev-python/pyid3lib/pyid3lib-0.5.1-r2.ebuild b/dev-python/pyid3lib/pyid3lib-0.5.1-r2.ebuild deleted file mode 100644 index d4db9178a927..000000000000 --- a/dev-python/pyid3lib/pyid3lib-0.5.1-r2.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 flag-o-matic - -DESCRIPTION="Module for manipulating ID3 tags in Python" -HOMEPAGE="https://sourceforge.net/projects/pyid3lib/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 ~ia64 ppc ppc64 sparc x86" -IUSE="" - -DEPEND="media-libs/id3lib" -RDEPEND="${DEPEND}" - -HTML_DOCS=( doc.html ) - -src_prepare() { - local PATCHES=( - "${FILESDIR}/${P}-gcc-4.4.patch" - "${FILESDIR}/${P}-py25.patch" - ) - - distutils-r1_src_prepare - - append-flags -fno-strict-aliasing -} diff --git a/dev-python/pylzma/Manifest b/dev-python/pylzma/Manifest deleted file mode 100644 index 444e9d1dcc2c..000000000000 --- a/dev-python/pylzma/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pylzma-0.4.9.gh.tar.gz 4083321 BLAKE2B de9ec578665b05b9d13370293f1e119d9bdfd4ba63b3c9d5168b794f82cee5a1cce6dbe45d5bc92d6714c0b56759dab9e578c63b6821754bd01b2aa66c34895b SHA512 d2316fcab50e4571a590985db8f132488cc4e12a45ecbcd5d21c356c4867bad671eed2e4ffda64735eb5b7e34f173a77fad65ebac9915a43cc9a17cbcf1ac62e diff --git a/dev-python/pylzma/metadata.xml b/dev-python/pylzma/metadata.xml deleted file mode 100644 index 4b6535701b2e..000000000000 --- a/dev-python/pylzma/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?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> - <name>Python</name> - </maintainer> - <upstream> - <remote-id type="pypi">pylzma</remote-id> - </upstream> - <origin>gentoo-staging</origin> -</pkgmetadata> diff --git a/dev-python/pylzma/pylzma-0.4.9.ebuild b/dev-python/pylzma/pylzma-0.4.9.ebuild deleted file mode 100644 index 5385fb98accf..000000000000 --- a/dev-python/pylzma/pylzma-0.4.9.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=(python2_7) -inherit distutils-r1 - -DESCRIPTION="Python bindings for the LZMA compression library" -HOMEPAGE="https://www.joachim-bauch.de/projects/pylzma/ - https://pypi.org/project/pylzma/" -# pypi tarball does not include test data -SRC_URI="https://github.com/fancycode/pylzma/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" - -DOCS=(doc/USAGE.md README.md) - -python_compile() { - python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" - distutils-r1_python_compile -} - -python_test() { - "${PYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/pyode/Manifest b/dev-python/pyode/Manifest deleted file mode 100644 index 18b5d69da1a7..000000000000 --- a/dev-python/pyode/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST PyODE-snapshot-2010-03-22.tar.bz2 55651 BLAKE2B 4ef1337f4a4c7e2bcbece57af0eff4d2da08dce1ad63d6772fe76a473559a7b102c8282ada3abf2add2b78e8609ca3fc3d67e3f520bdda4186ff6a854b4a5012 SHA512 fd9457d9a9c42a5e9834ce45886d6b57c9ecfdc68868353d986fa219eb57246d4dc175ca5d12c876c359c5bdac5bcdaf6dfc2ee65fff52f53337b1d10458e54c diff --git a/dev-python/pyode/metadata.xml b/dev-python/pyode/metadata.xml deleted file mode 100644 index da57a1287377..000000000000 --- a/dev-python/pyode/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?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> - <name>Python</name> - </maintainer> - <upstream> - <remote-id type="sourceforge">pyode</remote-id> - </upstream> - <origin>gentoo-staging</origin> -</pkgmetadata> diff --git a/dev-python/pyode/pyode-1.2.0_p20100322-r1.ebuild b/dev-python/pyode/pyode-1.2.0_p20100322-r1.ebuild deleted file mode 100644 index 5f1ced275c1d..000000000000 --- a/dev-python/pyode/pyode-1.2.0_p20100322-r1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -PYTHON_COMPAT=( python2_7 ) -inherit distutils-r1 - -MY_P="${P/pyode/PyODE}" -SNAPSHOT_DATE="2010-03-22" # This is a snapshot - -DESCRIPTION="Python bindings to the ODE physics engine" -HOMEPAGE="https://sourceforge.net/projects/pyode/" -SRC_URI="mirror://sourceforge/${PN}/PyODE-snapshot-${SNAPSHOT_DATE}.tar.bz2" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="examples" - -RDEPEND=">=dev-games/ode-0.7 - >=dev-python/pyrex-0.9.4.1[${PYTHON_USEDEP}]" -DEPEND=${RDEPEND} - -S=${WORKDIR}/PyODE-snapshot-${SNAPSHOT_DATE} - -python_compile() { - python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" - distutils-r1_python_compile -} - -src_install() { - distutils-r1_src_install - - # The build system doesnt error if it fails to build - # the ode library so we need our own sanity check - [[ -n $(find "${D}" -name ode.so) ]] || die "ode.so is missing" - - if use examples; then - docompress -x /usr/share/doc/${PF}/examples - insinto /usr/share/doc/${PF} - doins -r examples - fi -} diff --git a/dev-python/pyrex/Manifest b/dev-python/pyrex/Manifest deleted file mode 100644 index 86acc73af631..000000000000 --- a/dev-python/pyrex/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST Pyrex-0.9.9.tar.gz 255272 BLAKE2B 852e4caf784677742ce6e207d9556b64adaeb72dce7ec8dcfe008f37524890e12017babf74fbd022ef84b6736669692df7d60a9e3b04697c0e30f585a59207c3 SHA512 724b14278760fffb751bd9dc24e18dbe85732f069d186ee89bc9f28dd8f912d5f69492d28e705f55de2db56c343f10f21c6a1c39bda1d7c234d09a3d5e192f6b diff --git a/dev-python/pyrex/metadata.xml b/dev-python/pyrex/metadata.xml deleted file mode 100644 index ad7081983829..000000000000 --- a/dev-python/pyrex/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?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> - <name>Python</name> -</maintainer> - <origin>gentoo-staging</origin> -</pkgmetadata> diff --git a/dev-python/pyrex/pyrex-0.9.9-r1.ebuild b/dev-python/pyrex/pyrex-0.9.9-r1.ebuild deleted file mode 100644 index ab58557d6399..000000000000 --- a/dev-python/pyrex/pyrex-0.9.9-r1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 - -MY_P="Pyrex-${PV}" - -DESCRIPTION="A language for writing Python extension modules" -HOMEPAGE="https://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/" -SRC_URI="https://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/${MY_P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x86-solaris" -IUSE="examples" - -S="${WORKDIR}/${MY_P}" - -DEPEND="" -RDEPEND="" -DOCS=( CHANGES.txt README.txt ToDo.txt USAGE.txt ) - -python_install_all() { - distutils-r1_python_install_all - - dohtml -A c -r Doc/. - - if use examples; then - dodoc -r Demos - docompress -x /usr/share/doc/${PF}/Demos - fi -} diff --git a/dev-python/pytest-freezegun/pytest-freezegun-0.4.2.ebuild b/dev-python/pytest-freezegun/pytest-freezegun-0.4.2.ebuild index 891c2691df82..4b004b1978b1 100644 --- a/dev-python/pytest-freezegun/pytest-freezegun-0.4.2.ebuild +++ b/dev-python/pytest-freezegun/pytest-freezegun-0.4.2.ebuild @@ -15,7 +15,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ~ppc64 sparc x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ppc ~ppc64 sparc x86" RDEPEND=" dev-python/freezegun[${PYTHON_USEDEP}] diff --git a/dev-python/python-openid/Manifest b/dev-python/python-openid/Manifest deleted file mode 100644 index 3bfe44818995..000000000000 --- a/dev-python/python-openid/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST python-openid-2.2.5.tar.gz 300524 BLAKE2B 9431ba3947dd2d2f7717e3f64ae91e4c014b85d67e6ce9daff5541d107c35869863de79273e6f9ad433193324d44821ccf9aaf885a6541ff7a3636a31c6ee8f5 SHA512 46ffeb07dc0e94c6e1160c824dfafd4a125746a05af1541e112bc2691bf655f75d0431ea273877899abc2956bb1f82369dea75d9b54282f33875f333f5166e7a diff --git a/dev-python/python-openid/files/python-openid-2.0.0-gentoo-test_fetchers.diff b/dev-python/python-openid/files/python-openid-2.0.0-gentoo-test_fetchers.diff deleted file mode 100644 index 67587a98533a..000000000000 --- a/dev-python/python-openid/files/python-openid-2.0.0-gentoo-test_fetchers.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- openid/test/test_fetchers.py.orig 2007-06-07 15:53:38.000000000 -0700 -+++ openid/test/test_fetchers.py 2007-06-07 15:53:55.000000000 -0700 -@@ -8,6 +8,8 @@ - # XXX: make these separate test cases - - def failUnlessResponseExpected(expected, actual): -+ expected.final_url = expected.final_url.replace("localhost", "127.0.0.1") -+ actual.final_url = actual.final_url.replace("localhost", "127.0.0.1") - assert expected.final_url == actual.final_url, ( - "%r != %r" % (expected.final_url, actual.final_url)) - assert expected.status == actual.status diff --git a/dev-python/python-openid/files/python-openid-2.2.5-tests.patch b/dev-python/python-openid/files/python-openid-2.2.5-tests.patch deleted file mode 100644 index e5d17463ac95..000000000000 --- a/dev-python/python-openid/files/python-openid-2.2.5-tests.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- admin/runtests.orig 2016-01-01 03:32:55.835000000 +0000 -+++ admin/runtests 2016-01-01 03:32:59.163000000 +0000 -@@ -93,7 +93,6 @@ - 'test_htmldiscover', - 'test_nonce', - 'test_openidyadis', -- 'test_parsehtml', - 'test_urinorm', - 'test_yadis_discover', - 'trustroot', diff --git a/dev-python/python-openid/metadata.xml b/dev-python/python-openid/metadata.xml deleted file mode 100644 index ad7081983829..000000000000 --- a/dev-python/python-openid/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?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> - <name>Python</name> -</maintainer> - <origin>gentoo-staging</origin> -</pkgmetadata> diff --git a/dev-python/python-openid/python-openid-2.2.5-r1.ebuild b/dev-python/python-openid/python-openid-2.2.5-r1.ebuild deleted file mode 100644 index 130e2d5c1e04..000000000000 --- a/dev-python/python-openid/python-openid-2.2.5-r1.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_REQ_USE='sqlite?' -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 - -DESCRIPTION="OpenID support for servers and consumers" -HOMEPAGE="https://www.openidenabled.com/openid/libraries/python/ https://pypi.org/project/python-openid/" -# Downloaded from https://github.com/openid/python-openid/downloads -SRC_URI="mirror://gentoo/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~ppc ppc64 s390 sparc x86" -IUSE="examples mysql postgres sqlite test" - -RDEPEND="mysql? ( >=dev-python/mysql-python-1.2.2[${PYTHON_USEDEP}] ) - postgres? ( dev-python/psycopg[${PYTHON_USEDEP}] )" -DEPEND="${RDEPEND}" -S="${WORKDIR}/openid-python-openid-b666238" - -# Tests depend on twill, a broken package. Bug #285169 -RESTRICT="test" - -python_prepare_all() { - local PATCHES=( - # Patch to fix confusion with localhost/127.0.0.1 - "${FILESDIR}/${PN}-2.0.0-gentoo-test_fetchers.diff" - "${FILESDIR}"/"${P}-tests.patch" - ) - - # Disable broken tests from from examples/djopenid. - # Remove test that requires running db server. - sed -e "s/django_failures =.*/django_failures = 0/" \ - -e '/storetest/d' \ - -i admin/runtests || die "sed admin/runtests failed" - - rm -v openid/test/test_parsehtml.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - "${PYTHON}" admin/runtests || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - distutils-r1_python_install_all - - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi -} diff --git a/dev-python/pyvorbis/Manifest b/dev-python/pyvorbis/Manifest deleted file mode 100644 index c00b273b08aa..000000000000 --- a/dev-python/pyvorbis/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pyvorbis-1.4.tar.gz 39045 BLAKE2B 57fe96085cfed822ee3277d59b6d8e0bb3c5b88a92c615da2159a23eab74b0ba30c693e1b3b41716c7eb4dcfbfe332956535845360a6c6b19df95c73f9634fba SHA512 c0b5ebb5d22f97b20f56a0b49e43675764fe057afa2d5de22eab9b8b73fb542186e7488cb0ba31b7af433cef1a88e815eb3e88a4609a2657ae5fba1017bdb89c diff --git a/dev-python/pyvorbis/files/pyvorbis-1.4-python25.patch b/dev-python/pyvorbis/files/pyvorbis-1.4-python25.patch deleted file mode 100644 index 18028dc7a8e7..000000000000 --- a/dev-python/pyvorbis/files/pyvorbis-1.4-python25.patch +++ /dev/null @@ -1,65 +0,0 @@ -diff -ur pyvorbis-1.4-old/src/pyvorbiscodec.c pyvorbis-1.4/src/pyvorbiscodec.c ---- pyvorbis-1.4-old/src/pyvorbiscodec.c 2003-05-13 11:17:13.000000000 +0300 -+++ pyvorbis-1.4/src/pyvorbiscodec.c 2007-09-20 01:57:54.000000000 +0300 -@@ -118,7 +118,7 @@ - { - vorbis_dsp_clear(PY_DSP(self)); - Py_XDECREF(((py_dsp *)self)->parent); -- PyMem_DEL(self); -+ PyObject_Del(self); - } - - static PyObject* -@@ -447,7 +447,7 @@ - { - vorbis_block_clear(PY_BLOCK(self)); - Py_XDECREF(((py_block *)self)->parent); -- PyMem_DEL(self); -+ PyObject_Del(self); - } - - static PyObject* -diff -ur pyvorbis-1.4-old/src/pyvorbisfile.c pyvorbis-1.4/src/pyvorbisfile.c ---- pyvorbis-1.4-old/src/pyvorbisfile.c 2003-12-19 09:11:02.000000000 +0200 -+++ pyvorbis-1.4/src/pyvorbisfile.c 2007-09-20 01:59:41.000000000 +0300 -@@ -173,8 +173,7 @@ - if (ret == NULL) { - PyMem_DEL(newobj); - return NULL; -- } else -- Py_DECREF(ret); -+ } - - return (PyObject *) newobj; - } -@@ -195,7 +194,8 @@ - fclose(py_self->c_file); - } - -- PyMem_DEL(self); -+ free(py_self->ovf); -+ PyObject_Del(self); - } - - static PyObject * -diff -ur pyvorbis-1.4-old/src/pyvorbisinfo.c pyvorbis-1.4/src/pyvorbisinfo.c ---- pyvorbis-1.4-old/src/pyvorbisinfo.c 2003-12-19 09:51:36.000000000 +0200 -+++ pyvorbis-1.4/src/pyvorbisinfo.c 2007-09-20 02:01:58.000000000 +0300 -@@ -134,7 +134,7 @@ - static void - py_ov_info_dealloc(PyObject *self) - { -- PyMem_DEL(self); -+ PyObject_Del(self); - } - - #define CMP_RET(x) \ -@@ -418,7 +418,7 @@ - free(ovc_self->vc); - } - -- PyMem_DEL(self); -+ PyObject_Del(self); - } - - diff --git a/dev-python/pyvorbis/files/pyvorbisfile.c-1.4.patch b/dev-python/pyvorbis/files/pyvorbisfile.c-1.4.patch deleted file mode 100644 index 5d1d8ffc7c77..000000000000 --- a/dev-python/pyvorbis/files/pyvorbisfile.c-1.4.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- src/pyvorbisfile.c.orig 2003-12-19 07:11:02.000000000 +0000 -+++ src/pyvorbisfile.c 2005-09-03 20:02:19.000000000 +0100 -@@ -190,9 +190,6 @@ - /* If file was opened from a file object, decref it, so it can - close */ - Py_DECREF(py_self->py_file); -- } else { -- /* Otherwise, we opened the file and should close it. */ -- fclose(py_self->c_file); - } - - PyMem_DEL(self); -@@ -260,7 +257,6 @@ - - retval = ov_open(file, self->ovf, initial, ibytes); - -- self->c_file = file; - if (retval < 0) { - if (fname != NULL) - fclose(file); diff --git a/dev-python/pyvorbis/metadata.xml b/dev-python/pyvorbis/metadata.xml deleted file mode 100644 index ad7081983829..000000000000 --- a/dev-python/pyvorbis/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?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> - <name>Python</name> -</maintainer> - <origin>gentoo-staging</origin> -</pkgmetadata> diff --git a/dev-python/pyvorbis/pyvorbis-1.4-r4.ebuild b/dev-python/pyvorbis/pyvorbis-1.4-r4.ebuild deleted file mode 100644 index e7a0d887b98e..000000000000 --- a/dev-python/pyvorbis/pyvorbis-1.4-r4.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 toolchain-funcs - -DESCRIPTION="Python bindings for the ogg.vorbis library" -HOMEPAGE="https://ekyo.nerim.net/software/pyogg/" -SRC_URI="http://ekyo.nerim.net/software/pyogg/${P}.tar.gz" - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 hppa ~ia64 ~mips ppc ppc64 sparc x86" -IUSE="" - -DEPEND=">=dev-python/pyogg-1.1[${PYTHON_USEDEP}] - >=media-libs/libogg-1.0 - >=media-libs/libvorbis-1.0" -RDEPEND="${DEPEND}" - -DOCS=( AUTHORS COPYING ChangeLog NEWS README ) -PATCHES=( - "${FILESDIR}/pyvorbisfile.c-1.4.patch" - "${FILESDIR}/${P}-python25.patch" -) - -python_configure_all() { - tc-export CC - "${PYTHON}" config_unix.py --prefix /usr || die "Configuration failed" -} - -python_install_all() { - distutils-r1_python_install_all - insinto /usr/share/doc/${PF}/examples - doins test/* -} diff --git a/dev-python/qtconsole/qtconsole-4.7.6-r1.ebuild b/dev-python/qtconsole/qtconsole-4.7.6-r1.ebuild new file mode 100644 index 000000000000..1a9c10d1922e --- /dev/null +++ b/dev-python/qtconsole/qtconsole-4.7.6-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7,8,9} ) +PYTHON_REQ_USE="threads(+)" +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Qt-based console for Jupyter with support for rich media output" +HOMEPAGE="https://jupyter.org" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/ipython_genutils[${PYTHON_USEDEP}] + dev-python/jupyter_core[${PYTHON_USEDEP}] + >=dev-python/jupyter_client-4.1.1[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/traitlets[${PYTHON_USEDEP}] + dev-python/QtPy[${PYTHON_USEDEP},gui,printsupport,svg] +" +BDEPEND=" + test? ( + dev-python/QtPy[${PYTHON_USEDEP},svg,testlib] + ) +" +# required by removed tests: +# dev-python/pytest-qt[${PYTHON_USEDEP}] +PDEPEND="dev-python/ipython[${PYTHON_USEDEP}]" + +distutils_enable_sphinx docs/source +distutils_enable_tests pytest + +src_prepare() { + # TODO: these tests require virtx; however, running under virtx + # causes pytest to segv on exit (even though tests pass) + rm qtconsole/tests/test_00_console_widget.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/responses/responses-0.12.0.ebuild b/dev-python/responses/responses-0.12.0.ebuild index f14ecf346809..2ecc3826212e 100644 --- a/dev-python/responses/responses-0.12.0.ebuild +++ b/dev-python/responses/responses-0.12.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="test" RDEPEND=" diff --git a/dev-python/ruamel-std-pathlib/Manifest b/dev-python/ruamel-std-pathlib/Manifest deleted file mode 100644 index f97de9708ffd..000000000000 --- a/dev-python/ruamel-std-pathlib/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST ruamel-std-pathlib-0.6.4.tar.gz 20719 BLAKE2B 7189b10e61c941d2bba9bcbff3b61f2ad52849d78160b181721fef3bf3a9170aac823631e1743de98d1c132e38092a38781c9c8d0d213e4b94cc1e6051edb2b7 SHA512 591aec63c14c269d6b0838ae4867d58bd0642cf84cff841eda53a4d60f076ba68fdcb54d7e2932b248ee61feb773bf28b6309947886d350af34ed9f580c9d939 diff --git a/dev-python/ruamel-std-pathlib/metadata.xml b/dev-python/ruamel-std-pathlib/metadata.xml deleted file mode 100644 index a68732c0a707..000000000000 --- a/dev-python/ruamel-std-pathlib/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>andrey_utkin@gentoo.org</email> - <name>Andrey Utkin</name> - </maintainer> - <upstream> - <remote-id type="bitbucket">ruamel/std.pathlib</remote-id> - <remote-id type="pypi">ruamel.std.pathlib</remote-id> - </upstream> - <origin>gentoo-staging</origin> -</pkgmetadata> diff --git a/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.6.4-r1.ebuild b/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.6.4-r1.ebuild deleted file mode 100644 index bbc31e4345ea..000000000000 --- a/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.6.4-r1.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{5,6,7,8,9} pypy3 ) - -inherit distutils-r1 vcs-snapshot - -MY_PN="${PN//-/.}" - -DESCRIPTION="Ruamel enhancements to pathlib and pathlib2" -HOMEPAGE="https://pypi.org/project/ruamel.std.pathlib/ https://bitbucket.org/ruamel/std.pathlib" -SRC_URI="https://bitbucket.org/${MY_PN/.//}/get/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~x86" - -BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" - -distutils_enable_tests pytest - -python_install() { - distutils-r1_python_install --single-version-externally-managed - find "${ED}" -name '*.pth' -delete || die -} diff --git a/dev-python/tempora/tempora-4.0.0.ebuild b/dev-python/tempora/tempora-4.0.0.ebuild index c5b7be3a4154..a55b50721236 100644 --- a/dev-python/tempora/tempora-4.0.0.ebuild +++ b/dev-python/tempora/tempora-4.0.0.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_PN}-${PV}" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ~ppc64 sparc x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ppc ~ppc64 sparc x86" RDEPEND=" >=dev-python/jaraco-functools-1.20[${PYTHON_USEDEP}] diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index f44341da3e79..c1b485fb992f 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -1,2 +1,3 @@ DIST tox-3.17.1.tar.gz 294492 BLAKE2B 1a2ed9a26ad366a1ae7343289b45a338a8d2a58c1b6df2aaf716a2e8bbcc1cbc797c70fb51665411cf1bb69243aa8415f7fb7c82d78afb2ffb7117e4ae75edad SHA512 b084d4552609c90d006573dc95d46d0b27cf53c40a54465040e3c625b5d33eb19f95f3fa488439f11029e30ca414ce4e9ed6793a44072023826bc1f4398aaeeb DIST tox-3.19.0.tar.gz 296499 BLAKE2B cad41c7791108ecdf6efc7bca99623c66d1d8ffbb2b06688eb84e575f14958ba2b497e0035ccc331fc8e0ce667824cba2c8dd37488ac48b3c16902c7b546074b SHA512 7a542282dc2fdef7ab8aff04372aeeeaad54b83bd7f1022c1c60465604d67a5984abcea7d409b8593b646192407c78cb88422aa4dfd11fb2a2d9da520aeafb39 +DIST tox-3.20.0.tar.gz 297432 BLAKE2B 279a6d407c4a490309843ba30e62fe2f0c6ace63af2dfd5b5c2fc8ee6ab784b99da56e9d7d76cd0170f85432bef500c31b824fee32558f7f21d4491385d13b4a SHA512 eb8e55eb3c232356cdb3e1477399ef055df497f1276f0b5c5423f30c780e2619067d1e44c2d6702016e63f96a76d04d0c5e7b6c6f1faa1a98f1dcc5b1cbeae39 diff --git a/dev-python/tox/tox-3.20.0.ebuild b/dev-python/tox/tox-3.20.0.ebuild new file mode 100644 index 000000000000..d998f919c884 --- /dev/null +++ b/dev-python/tox/tox-3.20.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{5,6,7,8,9} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="virtualenv-based automation of test activities" +HOMEPAGE="https://tox.readthedocs.io https://github.com/tox-dev/tox https://pypi.org/project/tox/" +SRC_URI="https://github.com/tox-dev/tox/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +# doc disabled because of missing deps in tree +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/filelock[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/importlib_metadata-1.1[${PYTHON_USEDEP}] + ' python3_{5,6,7} pypy3) + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pluggy-0.12[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/py[${PYTHON_USEDEP}] + >=dev-python/six-1.14[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}] + >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]" +# TODO: figure out how to make tests work without the package being +# installed first. +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + >=dev-python/flaky-3.4.0[${PYTHON_USEDEP}] + >=dev-python/freezegun-0.3.11[${PYTHON_USEDEP}] + dev-python/pathlib2[${PYTHON_USEDEP}] + >=dev-python/pytest-4.0.0[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + =dev-python/tox-${PV}-${PR}[${PYTHON_USEDEP}] + )" + +src_prepare() { + distutils-r1_src_prepare + + # broken without internet + sed -i -e 's:test_provision_non_canonical_dep:_&:' \ + tests/unit/session/test_provision.py || die + sed -i -e 's:test_provision_interrupt_child:_&:' \ + tests/integration/test_provision_int.py || die + # broken with our mock version (?) + sed -i -e 's:test_create_KeyboardInterrupt:_&:' \ + tests/unit/test_venv.py || die + # broken with Gentoo Python layout + sed -i -e 's:test_tox_get_python_executable:_&:' \ + -e 's:test_find_alias_on_path:_&:' \ + tests/unit/interpreters/test_interpreters.py || die + + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +} + +python_test() { + distutils_install_for_testing + pytest -vv --no-network || die "Testsuite failed under ${EPYTHON}" +} diff --git a/dev-python/widgetsnbextension/widgetsnbextension-3.5.1-r1.ebuild b/dev-python/widgetsnbextension/widgetsnbextension-3.5.1-r1.ebuild new file mode 100644 index 000000000000..c9465c3d70c6 --- /dev/null +++ b/dev-python/widgetsnbextension/widgetsnbextension-3.5.1-r1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7,8,9} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="IPython HTML widgets for Jupyter" +HOMEPAGE="https://ipython.org" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND="dev-python/notebook[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" |
