diff options
author | Josip Ponjavic | 2016-11-11 23:57:09 +0100 |
---|---|---|
committer | Josip Ponjavic | 2016-11-11 23:57:09 +0100 |
commit | cbf998b07619f09a8666cd80c379d540cbe0d6bc (patch) | |
tree | 3a05834f566203028e0dd1f2f37a7d4331361838 | |
download | aur-cbf998b07619f09a8666cd80c379d540cbe0d6bc.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..027c4a7a701e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = python-pyprind + pkgdesc = Python Progress Bar and Percent Indicator Utility + pkgver = 2.9.8 + pkgrel = 1 + url = https://github.com/rasbt/pyprind + arch = any + license = BSD + makedepends = python-setuptools + depends = python + optdepends = python-psutil: improved system information + source = pyprind-2.9.8.tar.gz::https://github.com/rasbt/pyprind/archive/2.9.8.tar.gz + sha256sums = 03a52f3cc86b9090b451df36003e7e223a9bdbdbea54817a6d0814fbe8e93463 + +pkgname = python-pyprind + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..86d6e6d0752c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Josip Ponjavic <josipponjavic at gmail dot com> + +pkgname=python-pyprind +pkgver=2.9.8 +pkgrel=1 +pkgdesc='Python Progress Bar and Percent Indicator Utility' +arch=('any') +url='https://github.com/rasbt/pyprind' +license=('BSD') +depends=('python') +makedepends=('python-setuptools') +optdepends=('python-psutil: improved system information') +source=("pyprind-${pkgver}.tar.gz::https://github.com/rasbt/pyprind/archive/${pkgver}.tar.gz") +sha256sums=('03a52f3cc86b9090b451df36003e7e223a9bdbdbea54817a6d0814fbe8e93463') + +build() { + cd pyprind-${pkgver} + python setup.py build +} + +package(){ + cd pyprind-${pkgver} + python setup.py install --root="${pkgdir}" --optimize='1' + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |