[arch-commits] Commit in python-justbytes/repos (testing-any testing-any/PKGBUILD)

Jiachen Yang farseerfc at archlinux.org
Fri May 14 07:11:44 UTC 2021


    Date: Friday, May 14, 2021 @ 07:11:43
  Author: farseerfc
Revision: 933950

archrelease: copy trunk to testing-any

Added:
  python-justbytes/repos/testing-any/
  python-justbytes/repos/testing-any/PKGBUILD
    (from rev 933949, python-justbytes/trunk/PKGBUILD)

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

Copied: python-justbytes/repos/testing-any/PKGBUILD (from rev 933949, python-justbytes/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2021-05-14 07:11:43 UTC (rev 933950)
@@ -0,0 +1,30 @@
+# Maintainer: Jianchen YANG <farseerfc at gmail.com>
+
+pkgname=python-justbytes
+_pkgname=justbytes
+pkgver=0.15
+pkgrel=1
+pkgdesc="computing with and displaying bytes"
+url="https://pypi.org/project/justbytes/"
+depends=('python' 'python-justbases')
+checkdepends=('python-nose' 'python-hypothesis' 'python-pylint')
+makedepends=('python-setuptools')
+license=('GPL2' 'GPL3')
+arch=('any')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mulkieran/${_pkgname}/archive/v${pkgver}.tar.gz")
+md5sums=('08ddcd37eb8f1c70447d9cfb70e2a737')
+
+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