1 |
commit: bfa3fb55fb1d00cbc9ee2fd6e37b34609d48496f |
2 |
Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Feb 5 10:07:16 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 5 18:37:04 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfa3fb55 |
7 |
|
8 |
dev-python/backports-functools-lru-cache: bump to 1.5 |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
dev-python/backports-functools-lru-cache/Manifest | 1 + |
13 |
.../backports-functools-lru-cache-1.5.ebuild | 53 ++++++++++++++++++++++ |
14 |
.../backports-functools-lru-cache/metadata.xml | 1 - |
15 |
3 files changed, 54 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/dev-python/backports-functools-lru-cache/Manifest b/dev-python/backports-functools-lru-cache/Manifest |
18 |
index 6feff334b63..9a7e7a93de1 100644 |
19 |
--- a/dev-python/backports-functools-lru-cache/Manifest |
20 |
+++ b/dev-python/backports-functools-lru-cache/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST backports.functools_lru_cache-1.3.tar.gz 6685 BLAKE2B 7007b08fc536ba2a31d215999a73399004b2db0f5c9e00706cb03df35882cfd987026fffa7e1deee2fde6142bbe0c5b7707ba06567e702e0781136572c0b17a0 SHA512 946156266d4b1bccb3eb444d1cceff6568b8c2a62e09bc9197281bdafe912069efa4c857089a7e6ea0247ab9407256a7a7c92485599692e0c0159c428137a342 |
23 |
DIST backports.functools_lru_cache-1.4.tar.gz 6927 BLAKE2B a0ef9f56abcfde51b9d7f03cb9170c3d500652e43c9498fb7dc4c404276ceea15dcd6ffb2fc7efd723cb12790f99e6fe249136ae0d4c949f06ea06cc41318793 SHA512 78dcd12f392bc110d1556f567a9f8fe977fa4ddc98a2121ceaf43606687171866832b8d32220dfb4ca335f53e89acecabda9e48ad48571f1741b21ab2d3b8a21 |
24 |
+DIST backports.functools_lru_cache-1.5.tar.gz 7891 BLAKE2B 5de046672e25f95e8b224d79deb4ce7eb40aef72ea80e0788ef54076fc98ea3a993daf5a607a6670925707f357b4be14affc626b45bae100c6feba9a41e4c606 SHA512 083a69beb050a6de0f838231ceae05cd1825f42310b2cd4f0e53f7ca043af4c699ad7042c32831ee365bb6b374d33189136e45689c77815b99773d145f0ef4f1 |
25 |
|
26 |
diff --git a/dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.5.ebuild b/dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.5.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..237ca59d9de |
29 |
--- /dev/null |
30 |
+++ b/dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.5.ebuild |
31 |
@@ -0,0 +1,53 @@ |
32 |
+# Copyright 1999-2018 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python2_7 pypy ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+MY_PN="${PN/-/.}" |
42 |
+MY_PN="${MY_PN//-/_}" |
43 |
+DESCRIPTION="Backport of functools.lru_cache from Python 3.3" |
44 |
+HOMEPAGE="https://github.com/jaraco/backports.functools_lru_cache" |
45 |
+SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" |
46 |
+ |
47 |
+LICENSE="MIT" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" |
50 |
+IUSE="doc test" |
51 |
+ |
52 |
+RDEPEND="dev-python/backports[${PYTHON_USEDEP}]" |
53 |
+DEPEND=" |
54 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] |
56 |
+ doc? ( |
57 |
+ >=dev-python/jaraco-packaging-3.2[${PYTHON_USEDEP}] |
58 |
+ dev-python/rst-linker[${PYTHON_USEDEP}] |
59 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
60 |
+ ) |
61 |
+ test? ( |
62 |
+ >=dev-python/pytest-2.8[${PYTHON_USEDEP}] |
63 |
+ ) |
64 |
+" |
65 |
+ |
66 |
+S="${WORKDIR}/${MY_PN}-${PV}" |
67 |
+ |
68 |
+python_compile_all() { |
69 |
+ if use doc; then |
70 |
+ cd docs || die |
71 |
+ sphinx-build . _build/html || die |
72 |
+ HTML_DOCS=( docs/_build/html/. ) |
73 |
+ fi |
74 |
+} |
75 |
+ |
76 |
+python_test() { |
77 |
+ PYTHONPATH=. py.test || die "tests failed with ${EPYTHON}" |
78 |
+} |
79 |
+ |
80 |
+python_install() { |
81 |
+ # avoid a collision with dev-python/backports |
82 |
+ rm "${BUILD_DIR}"/lib/backports/__init__.py || die |
83 |
+ distutils-r1_python_install --skip-build |
84 |
+} |
85 |
|
86 |
diff --git a/dev-python/backports-functools-lru-cache/metadata.xml b/dev-python/backports-functools-lru-cache/metadata.xml |
87 |
index b22cae5ee29..b7d81dd673d 100644 |
88 |
--- a/dev-python/backports-functools-lru-cache/metadata.xml |
89 |
+++ b/dev-python/backports-functools-lru-cache/metadata.xml |
90 |
@@ -4,7 +4,6 @@ |
91 |
<maintainer type="person"> |
92 |
<email>sautier.louis@×××××.com</email> |
93 |
<name>Louis Sautier</name> |
94 |
- <description>Proxied maintainer; set to assignee in all bugs</description> |
95 |
</maintainer> |
96 |
<maintainer type="project"> |
97 |
<email>proxy-maint@g.o</email> |