Date: Saturday, September 29, 2018 @ 18:18:40 Author: farseerfc Revision: 387939
archrelease: copy trunk to community-any Added: python-justbytes/repos/community-any/ python-justbytes/repos/community-any/PKGBUILD (from rev 387938, python-justbytes/trunk/PKGBUILD) ----------+ PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) Copied: python-justbytes/repos/community-any/PKGBUILD (from rev 387938, python-justbytes/trunk/PKGBUILD) =================================================================== --- community-any/PKGBUILD (rev 0) +++ community-any/PKGBUILD 2018-09-29 18:18:40 UTC (rev 387939) @@ -0,0 +1,28 @@ +# Maintainer: Jianchen YANG <farsee...@gmail.com> + +pkgname=python-justbytes +_pkgname=justbytes +pkgver=0.11 +pkgrel=1 +pkgdesc="computing with and displaying bytes" +url="http://pythonhosted.org/justbytes/" +depends=('python' 'python-justbases') +checkdepends=('python-nose' 'python-hypothesis' 'python-pylint') +license=('GPL2' 'GPL3') +arch=('any') +source=("https://github.com/mulkieran/${_pkgname}/archive/v${pkgver}.tar.gz") +md5sums=('3ef7b9b6a500ec3f12d2d121765d641f') + +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 +}