Date: Friday, May 14, 2021 @ 07:07:31 Author: farseerfc Revision: 933948
archrelease: copy trunk to testing-any Added: python-justbases/repos/testing-any/ python-justbases/repos/testing-any/PKGBUILD (from rev 933947, python-justbases/trunk/PKGBUILD) ----------+ PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) Copied: python-justbases/repos/testing-any/PKGBUILD (from rev 933947, python-justbases/trunk/PKGBUILD) =================================================================== --- testing-any/PKGBUILD (rev 0) +++ testing-any/PKGBUILD 2021-05-14 07:07:31 UTC (rev 933948) @@ -0,0 +1,29 @@ +# Maintainer: Jianchen YANG <farsee...@gmail.com> + +pkgname=python-justbases +_pkgname=justbases +pkgver=0.15 +pkgrel=1 +pkgdesc="conversion of ints and rationals to any base" +url="https://github.com/mulkieran/justbases" +depends=('python') +makedepends=('python-setuptools') +checkdepends=('python-nose' 'python-hypothesis') +license=('GPL') +arch=('any') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mulkieran/${_pkgname}/archive/v${pkgver}.tar.gz") +md5sums=('2527651c3783b374e59fc137e653715e') + +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 +}