diff options
author | Brian Dolbec <dolsen@gentoo.org> | 2017-08-01 18:41:32 +0000 |
---|---|---|
committer | Brian Dolbec <dolsen@gentoo.org> | 2017-08-01 18:51:23 +0000 |
commit | 6d244fd83363d88dfc0439925a75429ccc0ebb83 (patch) | |
tree | a31cb96561d72d39bae8cf7ed877a17354586167 /dev-python/shutilwhich | |
parent | dev-python/zope-interface: Version bump (diff) | |
download | gentoo-6d244fd83363d88dfc0439925a75429ccc0ebb83.tar.gz gentoo-6d244fd83363d88dfc0439925a75429ccc0ebb83.tar.bz2 gentoo-6d244fd83363d88dfc0439925a75429ccc0ebb83.zip |
dev-python/shutilwhich: New pkg, dep of new pkg dev-python/crossbar
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'dev-python/shutilwhich')
-rw-r--r-- | dev-python/shutilwhich/Manifest | 1 | ||||
-rw-r--r-- | dev-python/shutilwhich/metadata.xml | 22 | ||||
-rw-r--r-- | dev-python/shutilwhich/shutilwhich-1.1.0.ebuild | 20 |
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/shutilwhich/Manifest b/dev-python/shutilwhich/Manifest new file mode 100644 index 000000000000..55338c155496 --- /dev/null +++ b/dev-python/shutilwhich/Manifest @@ -0,0 +1 @@ +DIST shutilwhich-1.1.0.tar.gz 2300 SHA256 db1f39c6461e42f630fa617bb8c79090f7711c9ca493e615e43d0610ecb64dc6 SHA512 94001875c428ce1ad1c92e5f5be1ed497630ac0e2221dbb93fde8438f128f4f2663a0a13e17b94852e4813aadec694fa21c24f647500e8053c89ec610eb7fe21 WHIRLPOOL 31fbd1cfaacd52d271fbd7751ee2ba9ac41a310d410975fa425a1763ffcdc50be0ebec89aa9a817bf06a93152a6cae48cc343946eda118400dc865e98c217cd1 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="" |