diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-04-18 08:51:34 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-04-18 09:05:43 +0200 |
commit | 82da3b215eb3cf5c6844580a7cbd1a60da11e853 (patch) | |
tree | 9694d0959307da5ab17ad9ad62f484e44ceccf1d /dev-python | |
parent | dev-python/responses: Remove old (diff) | |
download | gentoo-82da3b215eb3cf5c6844580a7cbd1a60da11e853.tar.gz gentoo-82da3b215eb3cf5c6844580a7cbd1a60da11e853.tar.bz2 gentoo-82da3b215eb3cf5c6844580a7cbd1a60da11e853.zip |
dev-python/twine: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/twine/Manifest | 2 | ||||
-rw-r--r-- | dev-python/twine/twine-3.3.0.ebuild | 66 | ||||
-rw-r--r-- | dev-python/twine/twine-3.4.0.ebuild | 56 |
3 files changed, 0 insertions, 124 deletions
diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest index 01d4ea27fc40..0b3406a81822 100644 --- a/dev-python/twine/Manifest +++ b/dev-python/twine/Manifest @@ -1,3 +1 @@ -DIST twine-3.3.0.tar.gz 148996 BLAKE2B 60668acd0481534631ca0ecf3c755df7e9e46c6d183d0f1c73ed7467cfecc144878d6ccf7ef2ee62efa17eb5629f5ed74c77c8ae4d57ef16530fad31afe40d97 SHA512 94fc7a9b3f2b5fc7c06baf55debf4fd55f6a2b4c4321c9bff46b844166769ce8bdcab10355c4967998149b62e13b26e11a30ff66042bfdd5af24d448321fd291 -DIST twine-3.4.0.tar.gz 211582 BLAKE2B 6b309880e96142a666f0113343f6a7a604ec6058f58429befa4709366d8dd8b6ddd0d2cd69d74653d12a74a615e6e3ad6b7d96892aa5beab00c934be2fc4b8d6 SHA512 6ce4757048fe7b5ada8a384fa185e80cee8412ef7f0561f55a5cbec39c0069522b57e403f148b9b55c55330a577873a5e9597ca0a6b0fb0cce6b377c8df07e4e DIST twine-3.4.1.tar.gz 211775 BLAKE2B 0fdc6a8f5a37ee9695c8db2080987b631dfe6f8ed718e3912c94d77b46d35682d27bef07715c1fe7c0d8b6ab1449a771e18d8ffa5c6044dde1536b56b3e7885e SHA512 eca2a7b6b1386868f67dec1182599a8331981585e1cc0b7eef762aa0e99b87b0c6725a2c776330a8b392254501880a68e01ed8569a169857e8079abb8da43b79 diff --git a/dev-python/twine/twine-3.3.0.ebuild b/dev-python/twine/twine-3.3.0.ebuild deleted file mode 100644 index 705a6185055e..000000000000 --- a/dev-python/twine/twine-3.3.0.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2021 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} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Collection of utilities for publishing packages on PyPI" -HOMEPAGE="https://twine.readthedocs.io/ https://github.com/pypa/twine https://pypi.org/project/twine/" -SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86 ~x64-macos" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - test? ( - dev-python/jaraco-envs[${PYTHON_USEDEP}] - dev-python/jaraco-functools[${PYTHON_USEDEP}] - dev-python/munch[${PYTHON_USEDEP}] - dev-python/portend[${PYTHON_USEDEP}] - dev-python/pretend[${PYTHON_USEDEP}] - dev-python/pypiserver[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - ) -" -RDEPEND=" - >=dev-python/tqdm-4.14[${PYTHON_USEDEP}] - >=dev-python/pkginfo-1.4.2[${PYTHON_USEDEP}] - >=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.20.0[${PYTHON_USEDEP}] - >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' python3_{6,7} pypy{,3}) - >=dev-python/keyring-15.1[${PYTHON_USEDEP}] - >=dev-python/rfc3986-1.4.0[${PYTHON_USEDEP}] - >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}] -" - -python_prepare_all() { - # avoid a setuptools_scm dependency - sed -i "s:use_scm_version=True:version='${PV}',name='${PN//-/.}':" setup.py || die - sed -r -i "s:setuptools(_|-)scm[[:space:]]*([><=]{1,2}[[:space:]]*[0-9.a-zA-Z]+|)[[:space:]]*::" \ - setup.cfg || die - - # requires internet - sed -e 's:test_check_status_code_for_wrong_repo_url:_&:' \ - -i tests/test_upload.py || die - rm -f tests/test_integration.py || die - # pytest-socket dep relevant only to test_integration, and upstream - # disables it anyway - sed -i -e '/--disable-socket/d' pytest.ini || die - - sed -i -e '/--cov/d' pytest.ini || die - - distutils-r1_python_prepare_all -} - -python_test() { - distutils_install_for_testing - pytest -vv || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/twine/twine-3.4.0.ebuild b/dev-python/twine/twine-3.4.0.ebuild deleted file mode 100644 index e71049c037c1..000000000000 --- a/dev-python/twine/twine-3.4.0.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{7..9} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Collection of utilities for publishing packages on PyPI" -HOMEPAGE="https://twine.readthedocs.io/ https://github.com/pypa/twine https://pypi.org/project/twine/" -SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos" - -RDEPEND=" - >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}] - >=dev-python/importlib_metadata-3.6[${PYTHON_USEDEP}] - >=dev-python/keyring-15.1[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/pkginfo-1.4.2[${PYTHON_USEDEP}] - >=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.20.0[${PYTHON_USEDEP}] - >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}] - >=dev-python/rfc3986-1.4.0[${PYTHON_USEDEP}] - >=dev-python/tqdm-4.14[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}] - test? ( - dev-python/jaraco-envs[${PYTHON_USEDEP}] - dev-python/jaraco-functools[${PYTHON_USEDEP}] - dev-python/munch[${PYTHON_USEDEP}] - dev-python/portend[${PYTHON_USEDEP}] - dev-python/pretend[${PYTHON_USEDEP}] - dev-python/pypiserver[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests --install pytest - -python_prepare_all() { - # requires internet - rm -f tests/test_integration.py || die - # pytest-socket dep relevant only to test_integration, and upstream - # disables it anyway - sed -i -e '/--disable-socket/d' pytest.ini || die - sed -i -e '/--cov/d' pytest.ini || die - - distutils-r1_python_prepare_all - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} -} |