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

Felix Yan felixonmars at archlinux.org
Fri Oct 25 20:16:06 UTC 2019


    Date: Friday, October 25, 2019 @ 20:16:04
  Author: felixonmars
Revision: 519825

archrelease: copy trunk to community-staging-any

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

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

Copied: python-justbytes/repos/community-staging-any/PKGBUILD (from rev 519824, python-justbytes/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-25 20:16:04 UTC (rev 519825)
@@ -0,0 +1,30 @@
+# Maintainer: Jianchen YANG <farseerfc at gmail.com>
+
+pkgname=python-justbytes
+_pkgname=justbytes
+pkgver=0.11
+pkgrel=4
+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=('3ef7b9b6a500ec3f12d2d121765d641f')
+
+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