[arch-commits] Commit in (4 files)

Chih-Hsuan Yen yan12125 at archlinux.org
Sat Mar 30 09:48:42 UTC 2019


    Date: Saturday, March 30, 2019 @ 09:48:42
  Author: yan12125
Revision: 446256

python-ubjson: new pkg, checkdepends of python-autobahn

Added:
  python-ubjson/
  python-ubjson/repos/
  python-ubjson/trunk/
  python-ubjson/trunk/PKGBUILD

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

Added: python-ubjson/trunk/PKGBUILD
===================================================================
--- python-ubjson/trunk/PKGBUILD	                        (rev 0)
+++ python-ubjson/trunk/PKGBUILD	2019-03-30 09:48:42 UTC (rev 446256)
@@ -0,0 +1,28 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-ubjson
+pkgver=0.12.0
+pkgrel=1
+pkgdesc='Universal Binary JSON draft-12 serializer for Python'
+arch=(x86_64)
+url='https://github.com/Iotic-Labs/py-ubjson'
+license=(Apache)
+makedepends=(python-setuptools python-pypandoc)
+depends=(python)
+source=("$pkgname-$pkgver.tar.gz"::"https://github.com/Iotic-Labs/py-ubjson/archive/v$pkgver.tar.gz")
+sha256sums=('f3ea0aeda4871b51e39566df0d6200a9950c5edb704e6830e22fe5989981069b')
+
+build() {
+  cd py-ubjson-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd py-ubjson-$pkgver
+  python -m unittest discover -v test
+}
+
+package() {
+  cd py-ubjson-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}


More information about the arch-commits mailing list