1 |
commit: 23d9e4ede53bdb406f8e12f46b67c738f99a9e67 |
2 |
Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Feb 5 10:09:43 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 5 18:37:09 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23d9e4ed |
7 |
|
8 |
dev-python/backports-functools-lru-cache: remove old |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/7082 |
11 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
12 |
|
13 |
.../backports-functools-lru-cache-1.3-r1.ebuild | 50 ---------------------- |
14 |
1 file changed, 50 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.3-r1.ebuild b/dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.3-r1.ebuild |
17 |
deleted file mode 100644 |
18 |
index c7d2ae1c1b8..00000000000 |
19 |
--- a/dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.3-r1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,50 +0,0 @@ |
22 |
-# Copyright 1999-2017 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=6 |
26 |
- |
27 |
-PYTHON_COMPAT=( python2_7 pypy ) |
28 |
- |
29 |
-inherit distutils-r1 |
30 |
- |
31 |
-MY_PN="${PN/-/.}" |
32 |
-MY_PN="${MY_PN//-/_}" |
33 |
-DESCRIPTION="Backport of functools.lru_cache from Python 3.3" |
34 |
-HOMEPAGE="https://github.com/jaraco/backports.functools_lru_cache" |
35 |
-SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" |
36 |
- |
37 |
-LICENSE="MIT" |
38 |
-SLOT="0" |
39 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
40 |
-IUSE="doc test" |
41 |
- |
42 |
-RDEPEND="dev-python/backports[${PYTHON_USEDEP}]" |
43 |
-DEPEND=" |
44 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
45 |
- >=dev-python/setuptools_scm-1.9[${PYTHON_USEDEP}] |
46 |
- doc? ( |
47 |
- dev-python/sphinx[${PYTHON_USEDEP}] |
48 |
- dev-python/rst-linker[${PYTHON_USEDEP}] |
49 |
- ) |
50 |
- test? ( |
51 |
- >=dev-python/pytest-2.8[${PYTHON_USEDEP}] |
52 |
- dev-python/pytest-runner[${PYTHON_USEDEP}] |
53 |
- ) |
54 |
-" |
55 |
- |
56 |
-S="${WORKDIR}/${MY_PN}-${PV}" |
57 |
- |
58 |
-python_compile_all() { |
59 |
- use doc && esetup.py build_sphinx |
60 |
-} |
61 |
- |
62 |
-python_test() { |
63 |
- PYTHONPATH=. py.test || die "tests failed with ${EPYTHON}" |
64 |
-} |
65 |
- |
66 |
-python_install_all() { |
67 |
- use doc && local HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. ) |
68 |
- distutils-r1_python_install_all |
69 |
- |
70 |
- find "${D}" -name '*.pth' -delete || die |
71 |
-} |