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

Jiachen Yang farseerfc at archlinux.org
Fri Apr 24 07:26:14 UTC 2020


    Date: Friday, April 24, 2020 @ 07:26:13
  Author: farseerfc
Revision: 618975

archrelease: copy trunk to community-testing-any

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

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

Copied: python-justbytes/repos/community-testing-any/PKGBUILD (from rev 618974, python-justbytes/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2020-04-24 07:26:13 UTC (rev 618975)
@@ -0,0 +1,30 @@
+# Maintainer: Jianchen YANG <farseerfc at gmail.com>
+
+pkgname=python-justbytes
+_pkgname=justbytes
+pkgver=0.14
+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=("https://github.com/mulkieran/${_pkgname}/archive/v${pkgver}.tar.gz")
+md5sums=('3b9a26069421b1be24782f51125befa0')
+
+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