1 |
commit: 20b5f47456863ce6decff95a78cf13a22e3c144c |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 4 23:30:04 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 5 09:36:35 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20b5f474 |
7 |
|
8 |
dev-python/logilab-common: Clean old up |
9 |
|
10 |
.../logilab-common/logilab-common-1.2.2-r1.ebuild | 53 ---------------------- |
11 |
1 file changed, 53 deletions(-) |
12 |
|
13 |
diff --git a/dev-python/logilab-common/logilab-common-1.2.2-r1.ebuild b/dev-python/logilab-common/logilab-common-1.2.2-r1.ebuild |
14 |
deleted file mode 100644 |
15 |
index e31fdcd05d4..00000000000 |
16 |
--- a/dev-python/logilab-common/logilab-common-1.2.2-r1.ebuild |
17 |
+++ /dev/null |
18 |
@@ -1,53 +0,0 @@ |
19 |
-# Copyright 1999-2017 Gentoo Foundation |
20 |
-# Distributed under the terms of the GNU General Public License v2 |
21 |
- |
22 |
-EAPI=6 |
23 |
- |
24 |
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) |
25 |
-PYTHON_REQ_USE="threads(+)" |
26 |
- |
27 |
-inherit distutils-r1 |
28 |
- |
29 |
-DESCRIPTION="Useful miscellaneous modules used by Logilab projects" |
30 |
-HOMEPAGE="http://www.logilab.org/project/logilab-common https://pypi.python.org/pypi/logilab-common" |
31 |
-SRC_URI="ftp://ftp.logilab.org/pub/common/${P}.tar.gz mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
32 |
- |
33 |
-LICENSE="LGPL-2.1" |
34 |
-SLOT="0" |
35 |
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
36 |
-IUSE="test" |
37 |
- |
38 |
-RDEPEND=">=dev-python/six-1.4.0[${PYTHON_USEDEP}] |
39 |
- dev-python/setuptools[${PYTHON_USEDEP}]" |
40 |
-DEPEND="${RDEPEND} |
41 |
- test? ( |
42 |
- $(python_gen_cond_dep 'dev-python/egenix-mx-base[${PYTHON_USEDEP}]' python2_7) |
43 |
- dev-python/pytz[${PYTHON_USEDEP}] |
44 |
- ) |
45 |
-" |
46 |
- |
47 |
-PATCHES=( "${FILESDIR}/${P}-test-namespace-fix.patch" ) |
48 |
- |
49 |
-python_install() { |
50 |
- distutils-r1_python_install |
51 |
- |
52 |
- # this package is commonly used by all logilab.* in ::gentoo, |
53 |
- # so let's just keep the namespace here |
54 |
- python_moduleinto logilab |
55 |
- python_domodule logilab/__init__.py |
56 |
-} |
57 |
- |
58 |
-python_install_all() { |
59 |
- distutils-r1_python_install_all |
60 |
- |
61 |
- doman doc/pytest.1 |
62 |
- find "${D}" -name '*.pth' -delete || die |
63 |
-} |
64 |
- |
65 |
-python_test() { |
66 |
- # https://www.logilab.org/ticket/149345 |
67 |
- # Prevent timezone related failure. |
68 |
- export TZ=UTC |
69 |
- |
70 |
- "${PYTHON}" bin/pytest-local || die "Tests fail with ${EPYTHON}" |
71 |
-} |