1 |
commit: 856c34769a4cbf22cf40d5bda588b17f88d50e3f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 29 12:12:20 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 29 12:12:20 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=856c3476 |
7 |
|
8 |
dev-python/zc-lockfile: Remove redundant versions |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/zc-lockfile/Manifest | 1 - |
13 |
dev-python/zc-lockfile/zc-lockfile-1.4.ebuild | 51 --------------------------- |
14 |
2 files changed, 52 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/zc-lockfile/Manifest b/dev-python/zc-lockfile/Manifest |
17 |
index 9cc5fa579c3..566c7a7c651 100644 |
18 |
--- a/dev-python/zc-lockfile/Manifest |
19 |
+++ b/dev-python/zc-lockfile/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST zc.lockfile-1.4.tar.gz 11075 BLAKE2B 4fcc18b4d337c1b102916588aef7271fe189f30e442b5d2180b5a20d804f84649d4bf9dc6f601e6b7ee38c4a436c3848b83cbcb1a19974acdf072347b6822b83 SHA512 f145c34088770b50002d1caa88876f9fb11f3b9810fe68b8e1a38d27084d27ce058883228469abb05811f3f11a7b94acdaad8392eb1b6c34c98ddc885cdf77be |
22 |
DIST zc.lockfile-2.0.tar.gz 11923 BLAKE2B 7609f64eef4521f0aa95dc899b253570a317bd997cced00665a2dbe22cf7f834ce75daaf4fdf79520157dee31742758aad1844d49c5eccb780e7d5fd2e8e5ac5 SHA512 2586bafacb12540383695a24cb01fd284e61bfa3fcb16431ed0e91278e547c68983363fb69c1ffbd54f7c22db43300ba018ccd2fb3e21666c98860415b7a3c3b |
23 |
|
24 |
diff --git a/dev-python/zc-lockfile/zc-lockfile-1.4.ebuild b/dev-python/zc-lockfile/zc-lockfile-1.4.ebuild |
25 |
deleted file mode 100644 |
26 |
index 865969ca404..00000000000 |
27 |
--- a/dev-python/zc-lockfile/zc-lockfile-1.4.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 |
-PYTHON_COMPAT=( python{3_6,3_7} pypy3 ) |
35 |
- |
36 |
-inherit distutils-r1 |
37 |
- |
38 |
-MY_PN="${PN/-/.}" |
39 |
-MY_P=${MY_PN}-${PV} |
40 |
- |
41 |
-DESCRIPTION="Basic inter-process locks" |
42 |
-HOMEPAGE="https://pypi.org/project/zc.lockfile/" |
43 |
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
44 |
- |
45 |
-LICENSE="ZPL" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="~amd64 ~arm64" |
48 |
-IUSE="test" |
49 |
-RESTRICT="!test? ( test )" |
50 |
- |
51 |
-RDEPEND=">=dev-python/setuptools-3.3[${PYTHON_USEDEP}]" |
52 |
-DEPEND="${RDEPEND} |
53 |
- test? ( dev-python/zope-testing[${PYTHON_USEDEP}] )" |
54 |
- |
55 |
-S="${WORKDIR}"/${MY_P} |
56 |
- |
57 |
-DOCS=( CHANGES.rst README.rst ) |
58 |
- |
59 |
-# Prevent incorrect installation of data file |
60 |
-python_prepare_all() { |
61 |
- sed -e '/^ include_package_data/d' -i setup.py || die |
62 |
- distutils-r1_python_prepare_all |
63 |
-} |
64 |
- |
65 |
-python_test() { |
66 |
- "${PYTHON}" src/zc/lockfile/tests.py || die "Tests fail with ${EPYTHON}" |
67 |
-} |
68 |
- |
69 |
-python_install() { |
70 |
- distutils-r1_python_install |
71 |
- |
72 |
- python_moduleinto zc |
73 |
- python_domodule src/zc/__init__.py |
74 |
-} |
75 |
- |
76 |
-python_install_all() { |
77 |
- distutils-r1_python_install_all |
78 |
- |
79 |
- find "${D}" -name '*.pth' -delete || die |
80 |
-} |