[arch-commits] Commit in python-justbases/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Fri Oct 25 15:51:53 UTC 2019
Date: Friday, October 25, 2019 @ 15:51:52
Author: foutrelis
Revision: 519231
archrelease: copy trunk to community-staging-any
Added:
python-justbases/repos/community-staging-any/
python-justbases/repos/community-staging-any/PKGBUILD
(from rev 519229, python-justbases/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-justbases/repos/community-staging-any/PKGBUILD (from rev 519229, python-justbases/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-25 15:51:52 UTC (rev 519231)
@@ -0,0 +1,29 @@
+# Maintainer: Jianchen YANG <farseerfc at gmail.com>
+
+pkgname=python-justbases
+_pkgname=justbases
+pkgver=0.09
+pkgrel=3
+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=("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
+}
More information about the arch-commits
mailing list