diff options
author | Andy Weidenbaum | 2015-06-09 11:41:58 -0700 |
---|---|---|
committer | Andy Weidenbaum | 2015-06-09 11:41:58 -0700 |
commit | f34c94fc9db0c74e5ee33189886e0ff9fa2b808e (patch) | |
tree | abf1b8d69e61d7f27a438c4edf12a7bb0ee1ef6e | |
download | aur-python2-utilitybelt.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..16418ac86642 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = python2-utilitybelt + pkgdesc = Miscellaneous Python utilities + pkgver = 0.2.6 + pkgrel = 1 + url = https://github.com/onenameio/utilitybelt + arch = any + license = MIT + makedepends = python2-setuptools + depends = python2 + options = !emptydirs + source = https://pypi.python.org/packages/source/u/utilitybelt/utilitybelt-0.2.6.tar.gz + md5sums = 0dcb26400774975a6fdd65e3b13b9bb3 + sha256sums = dafdb6a2dbb32e71d67a9cd35afd7c2e4993ec094e7ddb547df4cf46788770a4 + +pkgname = python2-utilitybelt + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a162496b3df5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Andy Weidenbaum <archbaum@gmail.com> + +pkgname=python2-utilitybelt +pkgver=0.2.6 +pkgrel=1 +pkgdesc="Miscellaneous Python utilities" +arch=('any') +depends=('python2') +makedepends=('python2-setuptools') +url="https://github.com/onenameio/utilitybelt" +license=('MIT') +options=(!emptydirs) +source=(https://pypi.python.org/packages/source/u/${pkgname#python2-}/${pkgname#python2-}-$pkgver.tar.gz) +md5sums=('0dcb26400774975a6fdd65e3b13b9bb3') +sha256sums=('dafdb6a2dbb32e71d67a9cd35afd7c2e4993ec094e7ddb547df4cf46788770a4') + +build() { + cd "$srcdir/${pkgname#python2-}-$pkgver" + + msg 'Building...' + python2 setup.py build +} + +package() { + cd "$srcdir/${pkgname#python2-}-$pkgver" + + msg 'Installing...' + python2 setup.py install --root="$pkgdir" --optimize=1 +} |