python-shutilwhich: new package
authorMauro Condarelli <mc5686@mclink.it>
Sat, 6 Feb 2016 22:59:54 +0000 (23:59 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 19 Feb 2016 21:27:46 +0000 (22:27 +0100)
Signed-off-by: Mauro Condarelli <mc5686@mclink.it>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
[Thomas: fix license, it's not MIT, but PSF.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/python-shutilwhich/Config.in [new file with mode: 0644]
package/python-shutilwhich/python-shutilwhich.hash [new file with mode: 0644]
package/python-shutilwhich/python-shutilwhich.mk [new file with mode: 0644]

index 32bf4ddba3b74ff16b0d8b4d83b5a161b11d53fc..ce71f3cf9b2e7b7b70d074ead61a1adfb31d274e 100644 (file)
@@ -710,6 +710,7 @@ menu "External python modules"
        source "package/python-rtslib-fb/Config.in"
        source "package/python-serial/Config.in"
        source "package/python-setuptools/Config.in"
+       source "package/python-shutilwhich/Config.in"
        source "package/python-simplejson/Config.in"
        source "package/python-singledispatch/Config.in"
        source "package/python-sip/Config.in"
diff --git a/package/python-shutilwhich/Config.in b/package/python-shutilwhich/Config.in
new file mode 100644 (file)
index 0000000..abdc8d7
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_SHUTILWHICH
+       bool "python-shutilwhich"
+       depends on BR2_PACKAGE_PYTHON
+       help
+         shutil.which for those not using Python 3.3 yet.
+
+         https://pypi.python.org/pypi/shutilwhich/
diff --git a/package/python-shutilwhich/python-shutilwhich.hash b/package/python-shutilwhich/python-shutilwhich.hash
new file mode 100644 (file)
index 0000000..b1a2c78
--- /dev/null
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=915947c5cdae7afd748ac715ee547adb, sha256 locally computed.
+md5    915947c5cdae7afd748ac715ee547adb  shutilwhich-1.1.0.tar.gz
+sha256 db1f39c6461e42f630fa617bb8c79090f7711c9ca493e615e43d0610ecb64dc6  shutilwhich-1.1.0.tar.gz
diff --git a/package/python-shutilwhich/python-shutilwhich.mk b/package/python-shutilwhich/python-shutilwhich.mk
new file mode 100644 (file)
index 0000000..0497e1b
--- /dev/null
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-shutilwhich
+#
+################################################################################
+
+PYTHON_SHUTILWHICH_VERSION = 1.1.0
+PYTHON_SHUTILWHICH_SOURCE = shutilwhich-$(PYTHON_SHUTILWHICH_VERSION).tar.gz
+PYTHON_SHUTILWHICH_SITE = http://pypi.python.org/packages/source/s/shutilwhich
+PYTHON_SHUTILWHICH_LICENSE = Python Software Foundation License
+PYTHON_SHUTILWHICH_SETUP_TYPE = setuptools
+
+$(eval $(python-package))