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

Jiachen Yang farseerfc at archlinux.org
Fri May 14 07:19:18 UTC 2021


    Date: Friday, May 14, 2021 @ 07:19:18
  Author: farseerfc
Revision: 933957

archrelease: copy trunk to community-testing-any

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

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

Copied: python-justbases/repos/community-testing-any/PKGBUILD (from rev 933956, python-justbases/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2021-05-14 07:19:18 UTC (rev 933957)
@@ -0,0 +1,29 @@
+# Maintainer: Jianchen YANG <farseerfc at 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 
+}



More information about the arch-commits mailing list