1 |
commit: 6d244fd83363d88dfc0439925a75429ccc0ebb83 |
2 |
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 1 18:41:32 2017 +0000 |
4 |
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 1 18:51:23 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d244fd8 |
7 |
|
8 |
dev-python/shutilwhich: New pkg, dep of new pkg dev-python/crossbar |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
|
12 |
dev-python/shutilwhich/Manifest | 1 + |
13 |
dev-python/shutilwhich/metadata.xml | 22 ++++++++++++++++++++++ |
14 |
dev-python/shutilwhich/shutilwhich-1.1.0.ebuild | 20 ++++++++++++++++++++ |
15 |
3 files changed, 43 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/shutilwhich/Manifest b/dev-python/shutilwhich/Manifest |
18 |
new file mode 100644 |
19 |
index 00000000000..55338c15549 |
20 |
--- /dev/null |
21 |
+++ b/dev-python/shutilwhich/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST shutilwhich-1.1.0.tar.gz 2300 SHA256 db1f39c6461e42f630fa617bb8c79090f7711c9ca493e615e43d0610ecb64dc6 SHA512 94001875c428ce1ad1c92e5f5be1ed497630ac0e2221dbb93fde8438f128f4f2663a0a13e17b94852e4813aadec694fa21c24f647500e8053c89ec610eb7fe21 WHIRLPOOL 31fbd1cfaacd52d271fbd7751ee2ba9ac41a310d410975fa425a1763ffcdc50be0ebec89aa9a817bf06a93152a6cae48cc343946eda118400dc865e98c217cd1 |
24 |
|
25 |
diff --git a/dev-python/shutilwhich/metadata.xml b/dev-python/shutilwhich/metadata.xml |
26 |
new file mode 100644 |
27 |
index 00000000000..ff479cb63ca |
28 |
--- /dev/null |
29 |
+++ b/dev-python/shutilwhich/metadata.xml |
30 |
@@ -0,0 +1,22 @@ |
31 |
+<?xml version="1.0" encoding="UTF-8"?> |
32 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
33 |
+<pkgmetadata> |
34 |
+ <maintainer type="person"> |
35 |
+ <email>dolsen@g.o</email> |
36 |
+ <description>Primary maintainer</description> |
37 |
+ </maintainer> |
38 |
+ <upstream> |
39 |
+ <maintainer> |
40 |
+ <email>git@×××××××××××××.de</email> |
41 |
+ <name>Marc Brinkmann</name> |
42 |
+ </maintainer> |
43 |
+ <remote-id type="pypi">shutilwhich</remote-id> |
44 |
+ <remote-id type="github">mbr/shutilwhich</remote-id> |
45 |
+ </upstream> |
46 |
+ <longdescription> |
47 |
+ shutilwhich will monkey-patch the shutil package, so from that |
48 |
+ point on you can simply import the which function. On Python |
49 |
+ 3.3 and above, the module never do anything but return the |
50 |
+ stdlib shutil.which function. |
51 |
+ </longdescription> |
52 |
+</pkgmetadata> |
53 |
|
54 |
diff --git a/dev-python/shutilwhich/shutilwhich-1.1.0.ebuild b/dev-python/shutilwhich/shutilwhich-1.1.0.ebuild |
55 |
new file mode 100644 |
56 |
index 00000000000..a831a85242b |
57 |
--- /dev/null |
58 |
+++ b/dev-python/shutilwhich/shutilwhich-1.1.0.ebuild |
59 |
@@ -0,0 +1,20 @@ |
60 |
+# Copyright 1999-2017 Gentoo Foundation |
61 |
+# Distributed under the terms of the GNU General Public License v2 |
62 |
+ |
63 |
+EAPI=6 |
64 |
+ |
65 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
66 |
+ |
67 |
+inherit distutils-r1 |
68 |
+ |
69 |
+DESCRIPTION="A copy & paste backport of Python 3.3's shutil.which function" |
70 |
+HOMEPAGE="https://pypi.python.org/pypi/shutilwhich https://github.com/mbr/shutilwhich" |
71 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
72 |
+ |
73 |
+LICENSE="PSF-2" |
74 |
+SLOT="0" |
75 |
+KEYWORDS="~amd64" |
76 |
+IUSE="" |
77 |
+ |
78 |
+DEPEND="" |
79 |
+RDEPEND="" |