summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-12-17 09:26:46 +0100
committerMichał Górny <mgorny@gentoo.org>2020-12-17 09:48:38 +0100
commitcca01cc59c136c89338bad9e7e6aad55161e3ac0 (patch)
treeed29b8a2c7c961de42c817b634c3d79b8a051f65 /dev-python/versioneer
parentdev-python/dogpile-cache: Remove old (diff)
downloadgentoo-cca01cc59c136c89338bad9e7e6aad55161e3ac0.tar.gz
gentoo-cca01cc59c136c89338bad9e7e6aad55161e3ac0.tar.bz2
gentoo-cca01cc59c136c89338bad9e7e6aad55161e3ac0.zip
dev-python/versioneer: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/versioneer')
-rw-r--r--dev-python/versioneer/Manifest1
-rw-r--r--dev-python/versioneer/files/versioneer-0.18-fix_test_git.patch21
-rw-r--r--dev-python/versioneer/versioneer-0.18-r1.ebuild39
3 files changed, 0 insertions, 61 deletions
diff --git a/dev-python/versioneer/Manifest b/dev-python/versioneer/Manifest
index 9399e48bd261..0f994745b04e 100644
--- a/dev-python/versioneer/Manifest
+++ b/dev-python/versioneer/Manifest
@@ -1,2 +1 @@
-DIST versioneer-0.18.tar.gz 40552 BLAKE2B 640c010958a0178ec5ec5f06c986d83e3bc2f49df95583c4c90d3058449dcca5c7b5421ee5f2f56905b1d949bfe3bfbd87fb23ebc868ede591d078d811ccc2b3 SHA512 8d4522932b1f6aa1c13211008a57a572d54ea677cbdecd7d563ef8f77c76ed5d59f58f2e3be38a01e8cd102c264baf5c8949e9c17ea98d686ac497f8ad8b0011
DIST versioneer-0.19.tar.gz 47005 BLAKE2B cd4ce82bdb17cd10b628cf6013d1be171cc21115d9a065b845227fd6e5d1e988f8ab6fb001e2eeb6c1bfeda8a4afc8420937b0ec7437554d87e207713ccef381 SHA512 919c2e52e32b2fa1661ab2e10e3a698eb3f7c5102e66175d465d1a29237b86efa1520435ca581e321802cffeaa0ccd21fb66ba66946d72a05d13743c87a3e333
diff --git a/dev-python/versioneer/files/versioneer-0.18-fix_test_git.patch b/dev-python/versioneer/files/versioneer-0.18-fix_test_git.patch
deleted file mode 100644
index 35c45979e6f1..000000000000
--- a/dev-python/versioneer/files/versioneer-0.18-fix_test_git.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- a/test/git/test_git.py 2020-04-11 23:36:18.858361255 -0700
-+++ b/test/git/test_git.py 2020-04-11 23:47:01.929316371 -0700
-@@ -8,7 +8,8 @@
- import tempfile
-
-
--from pkg_resources import parse_version, SetuptoolsLegacyVersion
-+from pkg_resources import parse_version
-+from packaging.version import LegacyVersion
-
- sys.path.insert(0, "src")
- import common
-@@ -590,7 +591,7 @@
- def assertPEP440(self, got, state, tree, runtime):
- where = "/".join([state, tree, runtime])
- pv = parse_version(got)
-- self.assertFalse(isinstance(pv, SetuptoolsLegacyVersion),
-+ self.assertFalse(isinstance(pv, LegacyVersion),
- "%s: '%s' was not pep440-compatible"
- % (where, got))
- self.assertEqual(str(pv), got,
diff --git a/dev-python/versioneer/versioneer-0.18-r1.ebuild b/dev-python/versioneer/versioneer-0.18-r1.ebuild
deleted file mode 100644
index 38d6b48aa164..000000000000
--- a/dev-python/versioneer/versioneer-0.18-r1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{6..9} )
-
-inherit distutils-r1
-
-DESCRIPTION="Easy VCS-based management of project version strings"
-HOMEPAGE="https://pypi.org/project/versioneer/ https://github.com/warner/python-versioneer"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-SLOT="0"
-LICENSE="public-domain"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
- test? (
- dev-python/packaging[${PYTHON_USEDEP}]
- dev-vcs/git
- )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-0.18-fix_test_git.patch"
-)
-
-python_test() {
- esetup.py make_versioneer
-
- git config --global user.email "you@example.com" || die
- git config --global user.name "Your Name" || die
-
- ${PYTHON} test/git/test_git.py -v || die
-}