[arch-commits] Commit in python-justbases/repos (2 files)

Jiachen Yang farseerfc at archlinux.org
Fri Apr 24 06:26:02 UTC 2020


    Date: Friday, April 24, 2020 @ 06:26:02
  Author: farseerfc
Revision: 618857

archrelease: copy trunk to community-testing-any

Added:
  python-justbases/repos/community-testing-any/
  python-justbases/repos/community-testing-any/PKGBUILD
    (from rev 618856, python-justbases/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: python-justbases/repos/community-testing-any/PKGBUILD (from rev 618856, python-justbases/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2020-04-24 06:26:02 UTC (rev 618857)
@@ -0,0 +1,29 @@
+# Maintainer: Jianchen YANG <farseerfc at gmail.com>
+
+pkgname=python-justbases
+_pkgname=justbases
+pkgver=0.14
+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=("https://github.com/mulkieran/${_pkgname}/archive/v${pkgver}.tar.gz")
+md5sums=('017a793c53fc7e2f6ad1d614e19e23e7')
+
+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