Date: Saturday, September 29, 2018 @ 18:13:28 Author: farseerfc Revision: 387937
archrelease: copy trunk to community-any Added: python-justbases/repos/community-any/ python-justbases/repos/community-any/PKGBUILD (from rev 387936, python-justbases/trunk/PKGBUILD) ----------+ PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) Copied: python-justbases/repos/community-any/PKGBUILD (from rev 387936, python-justbases/trunk/PKGBUILD) =================================================================== --- community-any/PKGBUILD (rev 0) +++ community-any/PKGBUILD 2018-09-29 18:13:28 UTC (rev 387937) @@ -0,0 +1,28 @@ +# Maintainer: Jianchen YANG <farsee...@gmail.com> + +pkgname=python-justbases +_pkgname=justbases +pkgver=0.09 +pkgrel=1 +pkgdesc="conversion of ints and rationals to any base" +url="https://github.com/mulkieran/justbases" +depends=('python') +checkdepends=('python-nose' 'python-hypothesis') +license=('GPL') +arch=('any') +source=("https://github.com/mulkieran/${_pkgname}/archive/v${pkgver}.tar.gz") +md5sums=('d1843d3c672e199662e63a4dd189c809') + +check() { + cd $srcdir/${_pkgname}-$pkgver + nosetests +} +build() { + cd $srcdir/${_pkgname}-$pkgver + python setup.py build +} + +package() { + cd $srcdir/${_pkgname}-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +}