From 6d244fd83363d88dfc0439925a75429ccc0ebb83 Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Tue, 1 Aug 2017 18:41:32 +0000 Subject: [PATCH] dev-python/shutilwhich: New pkg, dep of new pkg dev-python/crossbar Package-Manager: Portage-2.3.6, Repoman-2.3.1 --- dev-python/shutilwhich/Manifest | 1 + dev-python/shutilwhich/metadata.xml | 22 +++++++++++++++++++ .../shutilwhich/shutilwhich-1.1.0.ebuild | 20 +++++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 dev-python/shutilwhich/Manifest create mode 100644 dev-python/shutilwhich/metadata.xml create mode 100644 dev-python/shutilwhich/shutilwhich-1.1.0.ebuild 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 @@ + + + + + dolsen@gentoo.org + Primary maintainer + + + + git@marcbrinkmann.de + Marc Brinkmann + + shutilwhich + mbr/shutilwhich + + + 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. + + 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="" -- 2.26.2