1 |
commit: a5fb4f4f3002e0ba7216acbe7426242e7762f59e |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 4 11:33:59 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 4 11:33:59 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5fb4f4f |
7 |
|
8 |
dev-python/packaging: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/packaging/Manifest | 1 - |
13 |
dev-python/packaging/packaging-20.1.ebuild | 51 ------------------------------ |
14 |
2 files changed, 52 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/packaging/Manifest b/dev-python/packaging/Manifest |
17 |
index 701b98d5d3c..eacbd2e8e93 100644 |
18 |
--- a/dev-python/packaging/Manifest |
19 |
+++ b/dev-python/packaging/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST packaging-20.1.tar.gz 72955 BLAKE2B cd23c407693fcfd62c6fb40d996c3768201535cf6ba6dc825a6ee9e1b456a902aa730d1151e3b4e73fcc1193236dbd5ea9cfe6e17eefbc038d48aed12df9089b SHA512 1d51e81ab8b8c552d880ae3d210fe140835de181b6fcee3eb382f0f1d6a416e9cbdaeb52a81c50c53d2c5f5cdc40ee516f29ced845868a1bf7be3b23433f21d7 |
22 |
DIST packaging-20.3.tar.gz 73015 BLAKE2B 863a04124543d510455ffd6cd6974e7b3ed0c43e02baa5124631e24e7d56017d0289475fbcd9a4f038607c4a13aced32d2b98a82d975903afa154b520feb0019 SHA512 b27ad6f72bfe0965a6e6bff78e4e37d4cbab73dc0a1b019673c85615c9d99edf237effeb9756702c6e8c1575a2d981f6d1af364c73d0a451fbb167d64678630f |
23 |
|
24 |
diff --git a/dev-python/packaging/packaging-20.1.ebuild b/dev-python/packaging/packaging-20.1.ebuild |
25 |
deleted file mode 100644 |
26 |
index 046ab3f6ba5..00000000000 |
27 |
--- a/dev-python/packaging/packaging-20.1.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,51 +0,0 @@ |
30 |
-# Copyright 1999-2020 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
- |
35 |
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) |
36 |
- |
37 |
-inherit distutils-r1 |
38 |
- |
39 |
-DESCRIPTION="Core utilities for Python packages" |
40 |
-HOMEPAGE="https://github.com/pypa/packaging https://pypi.org/project/packaging/" |
41 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
42 |
- |
43 |
-SLOT="0" |
44 |
-LICENSE="|| ( Apache-2.0 BSD-2 )" |
45 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
46 |
-IUSE="test" |
47 |
-RESTRICT="!test? ( test )" |
48 |
- |
49 |
-RDEPEND=" |
50 |
- >=dev-python/pyparsing-2.1.10[${PYTHON_USEDEP}] |
51 |
- dev-python/six[${PYTHON_USEDEP}] |
52 |
-" |
53 |
-DEPEND=" |
54 |
- test? ( |
55 |
- dev-python/pretend[${PYTHON_USEDEP}] |
56 |
- dev-python/pytest[${PYTHON_USEDEP}] |
57 |
- ) |
58 |
-" |
59 |
- |
60 |
-PATCHES=( |
61 |
- "${FILESDIR}/${PN}-16.8-distutils.patch" |
62 |
-) |
63 |
- |
64 |
-python_test() { |
65 |
- pytest --capture=no --strict -vv || die |
66 |
-} |
67 |
- |
68 |
-pkg_preinst() { |
69 |
- # https://bugs.gentoo.org/585146 |
70 |
- cd "${HOME}" || die |
71 |
- |
72 |
- _cleanup() { |
73 |
- local pyver=$("${PYTHON}" -c "from distutils.sysconfig import get_python_version; print(get_python_version())") |
74 |
- local egginfo="${ROOT}$(python_get_sitedir)/${P}-py${pyver}.egg-info" |
75 |
- if [[ -d ${egginfo} ]]; then |
76 |
- rm -rv "${egginfo}" || die "Failed to remove egg-info directory" |
77 |
- fi |
78 |
- } |
79 |
- python_foreach_impl _cleanup |
80 |
-} |