1 |
commit: 184f7d4400bae7ef56f1262daa00dc9e11f2a1d6 |
2 |
Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Dec 30 00:06:58 2015 +0000 |
4 |
Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 30 02:32:40 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=184f7d44 |
7 |
|
8 |
dev-python/jaraco-functools: needed as a new dep to dev-python/irc |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
dev-python/jaraco-functools/Manifest | 1 + |
13 |
.../jaraco-functools/jaraco-functools-1.8.1.ebuild | 46 ++++++++++++++++++++++ |
14 |
dev-python/jaraco-functools/metadata.xml | 14 +++++++ |
15 |
3 files changed, 61 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/jaraco-functools/Manifest b/dev-python/jaraco-functools/Manifest |
18 |
new file mode 100644 |
19 |
index 0000000..2bef306 |
20 |
--- /dev/null |
21 |
+++ b/dev-python/jaraco-functools/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST jaraco.functools-1.8.1.tar.gz 6125 SHA256 766cd9caed0c18dfbf744dcd05d1f171f03e64ab8f7363d5b2521ba200383c5a SHA512 d67795340238bd646bea450e8bb37fb64bca66a41a4b8f385f4a986b880578edfa2dad23b820a1a9cce7460dc530a2de2a219362e9cd0ced851040e86fb70f21 WHIRLPOOL bd050b7daa52f2f5043ca2209562472b96d9ec5d417edf96bf686eb0f60a4bde6b69890557140f7f0b278e8d612c702b01a5b72ccae5b894b3646d37582a1da5 |
24 |
|
25 |
diff --git a/dev-python/jaraco-functools/jaraco-functools-1.8.1.ebuild b/dev-python/jaraco-functools/jaraco-functools-1.8.1.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000..9914b72 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/jaraco-functools/jaraco-functools-1.8.1.ebuild |
30 |
@@ -0,0 +1,46 @@ |
31 |
+# Copyright 1999-2015 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=5 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+MY_PN="${PN/-/.}" |
42 |
+DESCRIPTION="Additional functions used by other projects by developer jaraco" |
43 |
+HOMEPAGE="https://github.com/jaraco/jaraco.functools" |
44 |
+SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" |
45 |
+ |
46 |
+LICENSE="MIT" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+IUSE="test" |
50 |
+# https://github.com/jaraco/jaraco.functools/issues/3 |
51 |
+RESTRICT="test" |
52 |
+ |
53 |
+RDEPEND="dev-python/six[${PYTHON_USEDEP}] |
54 |
+ $(python_gen_cond_dep 'dev-python/backports-functools-lru-cache[${PYTHON_USEDEP}]' python2_7) |
55 |
+" |
56 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/setuptools_scm-1.9[${PYTHON_USEDEP}] |
58 |
+ test? ( |
59 |
+ ${RDEPEND} |
60 |
+ >=dev-python/pytest-2.8[${PYTHON_USEDEP}] |
61 |
+ dev-python/pytest-runner[${PYTHON_USEDEP}] |
62 |
+ ) |
63 |
+" |
64 |
+ |
65 |
+S="${WORKDIR}/${MY_PN}-${PV}" |
66 |
+ |
67 |
+python_prepare_all() { |
68 |
+ if use test && has_version "${CATEGORY}/${PN}"; then |
69 |
+ die "Ensure $PN is not already installed or the test suite will fail" |
70 |
+ fi |
71 |
+ distutils-r1_python_prepare_all |
72 |
+} |
73 |
+ |
74 |
+python_test() { |
75 |
+ PYTHONPATH=. py.test || die "tests failed with ${EPYTHON}" |
76 |
+} |
77 |
|
78 |
diff --git a/dev-python/jaraco-functools/metadata.xml b/dev-python/jaraco-functools/metadata.xml |
79 |
new file mode 100644 |
80 |
index 0000000..811c8d1 |
81 |
--- /dev/null |
82 |
+++ b/dev-python/jaraco-functools/metadata.xml |
83 |
@@ -0,0 +1,14 @@ |
84 |
+<?xml version="1.0" encoding="UTF-8"?> |
85 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
86 |
+<pkgmetadata> |
87 |
+ <herd>proxy-maintainers</herd> |
88 |
+ <maintainer> |
89 |
+ <email>sautier.louis@×××××.com</email> |
90 |
+ <name>Louis Sautier</name> |
91 |
+ <description>Proxied maintainer; set to assignee in all bugs</description> |
92 |
+ </maintainer> |
93 |
+ <upstream> |
94 |
+ <remote-id type="pypi">jaraco.functools</remote-id> |
95 |
+ <remote-id type="github">jaraco/jaraco.functools</remote-id> |
96 |
+ </upstream> |
97 |
+</pkgmetadata> |