From 5c3b7276abf0d01b53662f38db5b4d52377343ed Mon Sep 17 00:00:00 2001 From: Mark Weiman Date: Sat, 2 Jan 2016 01:22:31 -0500 Subject: initial commit Signed-off-by: Mark Weiman --- python-shutilwhich/.SRCINFO | 16 ++++++++++++++++ python-shutilwhich/PKGBUILD | 25 +++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 python-shutilwhich/.SRCINFO create mode 100644 python-shutilwhich/PKGBUILD (limited to 'python-shutilwhich') diff --git a/python-shutilwhich/.SRCINFO b/python-shutilwhich/.SRCINFO new file mode 100644 index 0000000..e0c150e --- /dev/null +++ b/python-shutilwhich/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = python-shutilwhich + pkgdesc = Backport of shutil.which + pkgver = 1.1.0 + pkgrel = 1 + url = https://pypi.python.org/pypi/latex/1.1.0 + arch = any + license = custom + makedepends = python + makedepends = python-setuptools + source = shutilwhich-1.1.0.tar.gz::https://github.com/mbr/shutilwhich/archive/1.1.0.tar.gz + md5sums = 8a5a43077e8af4d027dfb7b88827022b + +pkgname = python-shutilwhich + depends = python + depends = python-setuptools + diff --git a/python-shutilwhich/PKGBUILD b/python-shutilwhich/PKGBUILD new file mode 100644 index 0000000..4981613 --- /dev/null +++ b/python-shutilwhich/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Mark Weiman + +#pkgbase=python-shutilwhich +pkgname=python-shutilwhich +pkgver=1.1.0 +pkgrel=1 +pkgdesc="Backport of shutil.which" +arch=('any') +license=('custom') +url="https://pypi.python.org/pypi/latex/${pkgver}" +makedepends=('python' 'python-setuptools') +source=("shutilwhich-$pkgver.tar.gz::https://github.com/mbr/shutilwhich/archive/1.1.0.tar.gz") +md5sums=('8a5a43077e8af4d027dfb7b88827022b') + +build() { + cd "$srcdir/shutilwhich-$pkgver" + python setup.py build +} + +package() { + depends=('python' 'python-setuptools') + cd "$srcdir/shutilwhich-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 +} + -- cgit v1.3