summaryrefslogtreecommitdiff
path: root/dev-python/shutilwhich
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/shutilwhich
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/shutilwhich')
-rw-r--r--dev-python/shutilwhich/Manifest3
-rw-r--r--dev-python/shutilwhich/metadata.xml22
-rw-r--r--dev-python/shutilwhich/shutilwhich-1.1.0.ebuild20
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/shutilwhich/Manifest b/dev-python/shutilwhich/Manifest
new file mode 100644
index 000000000000..a836ed0e1270
--- /dev/null
+++ b/dev-python/shutilwhich/Manifest
@@ -0,0 +1,3 @@
+DIST shutilwhich-1.1.0.tar.gz 2300 SHA256 db1f39c6461e42f630fa617bb8c79090f7711c9ca493e615e43d0610ecb64dc6 SHA512 94001875c428ce1ad1c92e5f5be1ed497630ac0e2221dbb93fde8438f128f4f2663a0a13e17b94852e4813aadec694fa21c24f647500e8053c89ec610eb7fe21 WHIRLPOOL 31fbd1cfaacd52d271fbd7751ee2ba9ac41a310d410975fa425a1763ffcdc50be0ebec89aa9a817bf06a93152a6cae48cc343946eda118400dc865e98c217cd1
+EBUILD shutilwhich-1.1.0.ebuild 472 SHA256 eedab3cb6307e9d6c818924a3fd43bc00a9760a0988ea6d9e2704b57a8b13fc4 SHA512 310a0426a75029e48076c388f892c9eed126d8fb8e87f87d782482b63c287f70299aa8f682b282b0c6d2ce0dd4757d209734daba3e7ac822cf92f3001bff1898 WHIRLPOOL 85ad4a0420968697a7bbf1c37275739bc443ecca86cfc89fc080456b5f5a1b6c667e842e91c04f60ce2ebed89e2d1f273423fa4ada1a0c6660741d034722a8ad
+MISC metadata.xml 759 SHA256 31229b1eb8dd7949b7323aa9516ac8f77a89d25171fd737529348d267bc5eee3 SHA512 e0cafde29e32a4596bd881c35f1c1dd7137f971e37efa38a24c86d9e3b377befb1355bac5a7ba6513833c9852f94ee5c44a911af9223eec4f93f90eb936fc2bd WHIRLPOOL b8204badf08be63a85df2cb41ea3f15612aa4bcc1bd4fa698cddbec2b47c595cefae61cc450f47b7be65836555dd174c43f1f423db92734f79bb58984afccbc8
diff --git a/dev-python/shutilwhich/metadata.xml b/dev-python/shutilwhich/metadata.xml
new file mode 100644
index 000000000000..ff479cb63caf
--- /dev/null
+++ b/dev-python/shutilwhich/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>dolsen@gentoo.org</email>
+ <description>Primary maintainer</description>
+ </maintainer>
+ <upstream>
+ <maintainer>
+ <email>git@marcbrinkmann.de</email>
+ <name>Marc Brinkmann</name>
+ </maintainer>
+ <remote-id type="pypi">shutilwhich</remote-id>
+ <remote-id type="github">mbr/shutilwhich</remote-id>
+ </upstream>
+ <longdescription>
+ shutilwhich will monkey-patch the shutil package, so from that
+ point on you can simply import the which function. On Python
+ 3.3 and above, the module never do anything but return the
+ stdlib shutil.which function.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-python/shutilwhich/shutilwhich-1.1.0.ebuild b/dev-python/shutilwhich/shutilwhich-1.1.0.ebuild
new file mode 100644
index 000000000000..a831a85242ba
--- /dev/null
+++ b/dev-python/shutilwhich/shutilwhich-1.1.0.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit distutils-r1
+
+DESCRIPTION="A copy & paste backport of Python 3.3's shutil.which function"
+HOMEPAGE="https://pypi.python.org/pypi/shutilwhich https://github.com/mbr/shutilwhich"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="PSF-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""