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

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


    Date: Saturday, March 30, 2019 @ 09:49:00
  Author: yan12125
Revision: 446257

archrelease: copy trunk to community-x86_64

Added:
  python-ubjson/repos/community-x86_64/
  python-ubjson/repos/community-x86_64/PKGBUILD
    (from rev 446256, python-ubjson/trunk/PKGBUILD)

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

Copied: python-ubjson/repos/community-x86_64/PKGBUILD (from rev 446256, python-ubjson/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-03-30 09:49:00 UTC (rev 446257)
@@ -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