diff options
Diffstat (limited to 'python-shutilwhich')
| -rw-r--r-- | python-shutilwhich/.SRCINFO | 16 | ||||
| -rw-r--r-- | python-shutilwhich/PKGBUILD | 25 |
2 files changed, 41 insertions, 0 deletions
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 <mark dot weriman at markzz dot com> + +#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 +} + |
