1 |
commit: db9ecf5192efeba4c139e37ac467d9a5b7a6f489 |
2 |
Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Oct 4 09:42:22 2016 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 5 07:35:02 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db9ecf51 |
7 |
|
8 |
dev-python/backports-functools-lru-cache: version bump to 1.3. |
9 |
|
10 |
Package-Manager: portage-2.3.1 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/2470 |
12 |
|
13 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
14 |
|
15 |
dev-python/backports-functools-lru-cache/Manifest | 1 + |
16 |
.../backports-functools-lru-cache-1.3.ebuild | 48 ++++++++++++++++++++++ |
17 |
.../backports-functools-lru-cache/metadata.xml | 2 + |
18 |
3 files changed, 51 insertions(+) |
19 |
|
20 |
diff --git a/dev-python/backports-functools-lru-cache/Manifest b/dev-python/backports-functools-lru-cache/Manifest |
21 |
index 362d76f..74da02c 100644 |
22 |
--- a/dev-python/backports-functools-lru-cache/Manifest |
23 |
+++ b/dev-python/backports-functools-lru-cache/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
DIST backports.functools_lru_cache-1.2.1.tar.gz 5763 SHA256 1c20e07f1a8a36a19d5d258b6b076e588d78d8fc7c2c4487ffe3a280f55a7bd1 SHA512 e15e6bbddf252ed48f787a26c9ef693ccceb8ec5b3463f0926d58a1d2720b988cd86b869ec72afc66369a7968316b9eb3ae0b628f1c63a116c2360900df85691 WHIRLPOOL 4d604f38e659117230e58180c6996e1f7b0f1d7c580ffcb5dde947e0d11078989b695fbd50672e65baac6f0bb4fb7612f506084d7589adf4f37720e70fded367 |
26 |
+DIST backports.functools_lru_cache-1.3.tar.gz 6685 SHA256 444a21bcec4ae177da554321f81a78dc879eaa8f6ea9920cb904830585d31e95 SHA512 946156266d4b1bccb3eb444d1cceff6568b8c2a62e09bc9197281bdafe912069efa4c857089a7e6ea0247ab9407256a7a7c92485599692e0c0159c428137a342 WHIRLPOOL a4cccbfd49acc640c1e15949919e10343c00f966e22bac7a2dc82af776f35cadce825a7757c5dca32b189797303abedc93aecf3000203819ee869bbb37ac4a03 |
27 |
|
28 |
diff --git a/dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.3.ebuild b/dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.3.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000..19f7d37 |
31 |
--- /dev/null |
32 |
+++ b/dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.3.ebuild |
33 |
@@ -0,0 +1,48 @@ |
34 |
+# Copyright 1999-2016 Gentoo Foundation |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+# $Id$ |
37 |
+ |
38 |
+EAPI=6 |
39 |
+ |
40 |
+PYTHON_COMPAT=( python2_7 ) |
41 |
+ |
42 |
+inherit distutils-r1 |
43 |
+ |
44 |
+MY_PN="${PN/-/.}" |
45 |
+MY_PN="${MY_PN//-/_}" |
46 |
+DESCRIPTION="Backport of functools.lru_cache from Python 3.3" |
47 |
+HOMEPAGE="https://github.com/jaraco/backports.functools_lru_cache" |
48 |
+SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" |
49 |
+ |
50 |
+LICENSE="MIT" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64 ~x86" |
53 |
+IUSE="doc test" |
54 |
+ |
55 |
+DEPEND=" |
56 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/setuptools_scm-1.9[${PYTHON_USEDEP}] |
58 |
+ doc? ( |
59 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
60 |
+ dev-python/rst-linker[${PYTHON_USEDEP}] |
61 |
+ ) |
62 |
+ test? ( |
63 |
+ >=dev-python/pytest-2.8[${PYTHON_USEDEP}] |
64 |
+ dev-python/pytest-runner[${PYTHON_USEDEP}] |
65 |
+ ) |
66 |
+" |
67 |
+ |
68 |
+S="${WORKDIR}/${MY_PN}-${PV}" |
69 |
+ |
70 |
+python_compile_all() { |
71 |
+ use doc && esetup.py build_sphinx |
72 |
+} |
73 |
+ |
74 |
+python_test() { |
75 |
+ PYTHONPATH=. py.test || die "tests failed with ${EPYTHON}" |
76 |
+} |
77 |
+ |
78 |
+python_install_all() { |
79 |
+ use doc && local HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. ) |
80 |
+ distutils-r1_python_install_all |
81 |
+} |
82 |
|
83 |
diff --git a/dev-python/backports-functools-lru-cache/metadata.xml b/dev-python/backports-functools-lru-cache/metadata.xml |
84 |
index 9b64011..b22cae5 100644 |
85 |
--- a/dev-python/backports-functools-lru-cache/metadata.xml |
86 |
+++ b/dev-python/backports-functools-lru-cache/metadata.xml |
87 |
@@ -13,5 +13,7 @@ |
88 |
<upstream> |
89 |
<remote-id type="pypi">backports.functools_lru_cache</remote-id> |
90 |
<remote-id type="github">jaraco/backports.functools_lru_cache</remote-id> |
91 |
+ <bugs-to>https://github.com/jaraco/backports.functools_lru_cache/issues</bugs-to> |
92 |
+ <changelog>https://github.com/jaraco/backports.functools_lru_cache/blob/master/CHANGES.rst</changelog> |
93 |
</upstream> |
94 |
</pkgmetadata> |