diff options
| author | Mikle Kolyada <zlogene@gentoo.org> | 2020-04-06 08:35:26 +0300 |
|---|---|---|
| committer | Mikle Kolyada <zlogene@gentoo.org> | 2020-04-06 08:38:06 +0300 |
| commit | 7622f900c65bed93baa22c98c8b09cce1af77e64 (patch) | |
| tree | fdb9fda6b1291d0ed16223e0968f7ab337335890 /dev-python/python-twitter | |
| parent | 83428c9256834eecc5a9e4c09b2a3b79f5cadea4 (diff) | |
| download | gentoo-7622f900c65bed93baa22c98c8b09cce1af77e64.tar.gz gentoo-7622f900c65bed93baa22c98c8b09cce1af77e64.tar.bz2 gentoo-7622f900c65bed93baa22c98c8b09cce1af77e64.zip | |
dev-python: mass last-rites removal
Closes: https://bugs.gentoo.org/711808
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'dev-python/python-twitter')
| -rw-r--r-- | dev-python/python-twitter/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/python-twitter/metadata.xml | 13 | ||||
| -rw-r--r-- | dev-python/python-twitter/python-twitter-3.4.2.ebuild | 66 |
3 files changed, 0 insertions, 80 deletions
diff --git a/dev-python/python-twitter/Manifest b/dev-python/python-twitter/Manifest deleted file mode 100644 index e2af08ff08bb4..0000000000000 --- a/dev-python/python-twitter/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST python-twitter-3.4.2.tar.gz 5145121 BLAKE2B 2ac45ae8fde3cfccb794d8496efdb0066c887101b6a6ac55ad6fd0f9fda8f50db1245284236c5fa0fd8eb7419c11eb253777d78092ea138d2f0a5115db861a89 SHA512 23d009e006864bb9dbf9c10223531a0e2aeefd4ca59852849f49f41e36b6db29e820a58c8a43f23c7bda0c68b6eb19a5557ef649bae2cbb1f1e406f78a918f92 diff --git a/dev-python/python-twitter/metadata.xml b/dev-python/python-twitter/metadata.xml deleted file mode 100644 index 8b5642ee7b08a..0000000000000 --- a/dev-python/python-twitter/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">bear/python-twitter</remote-id> - <remote-id type="pypi">python-twitter</remote-id> - <bugs-to>https://github.com/bear/python-twitter/issues</bugs-to> - </upstream> -</pkgmetadata> diff --git a/dev-python/python-twitter/python-twitter-3.4.2.ebuild b/dev-python/python-twitter/python-twitter-3.4.2.ebuild deleted file mode 100644 index 5e9c145f8a191..0000000000000 --- a/dev-python/python-twitter/python-twitter-3.4.2.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_6 ) - -inherit distutils-r1 - -DESCRIPTION="Python wrapper around the Twitter API" -HOMEPAGE="https://github.com/bear/python-twitter" -# Upstream does not include tests or doc in the PyPI tarballs -# https://github.com/bear/python-twitter/pull/572 -SRC_URI="https://github.com/bear/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~x86-macos" -IUSE="doc examples test" -RESTRICT="!test? ( test )" - -# https://bugs.gentoo.org/624916 -RDEPEND=" - !dev-python/twitter - dev-python/oauth2[${PYTHON_USEDEP}] - dev-python/simplejson[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/requests-oauthlib[${PYTHON_USEDEP}] -" -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - >=dev-python/responses-0.6.1[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - ) -" - -python_prepare_all() { - # Not actually required unless we want to do setup.py test - # https://github.com/bear/python-twitter/pull/573 - sed -i "s/'pytest-runner'//" setup.py || die - distutils-r1_python_prepare_all -} - -python_compile_all() { - if use doc; then - sphinx-build doc doc/_build/html || die - HTML_DOCS=( doc/_build/html/. ) - fi -} - -python_test() { - py.test || die "tests failed with ${EPYTHON}" -} - -python_install_all() { - if use examples; then - docinto examples - dodoc -r examples/. - docompress -x /usr/share/doc/${PF}/examples - fi - distutils-r1_python_install_all -} |
