[arch-commits] Commit in python-justbytes/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Tue Nov 10 04:01:54 UTC 2020
Date: Tuesday, November 10, 2020 @ 04:01:53
Author: foutrelis
Revision: 748379
archrelease: copy trunk to community-staging-any
Added:
python-justbytes/repos/community-staging-any/
python-justbytes/repos/community-staging-any/PKGBUILD
(from rev 748378, python-justbytes/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-justbytes/repos/community-staging-any/PKGBUILD (from rev 748378, python-justbytes/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-10 04:01:53 UTC (rev 748379)
@@ -0,0 +1,30 @@
+# Maintainer: Jianchen YANG <farseerfc at gmail.com>
+
+pkgname=python-justbytes
+_pkgname=justbytes
+pkgver=0.14
+pkgrel=2
+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