[arch-commits] Commit in python-ubjson/repos/community-x86_64 (PKGBUILD PKGBUILD)

Chih-Hsuan Yen yan12125 at archlinux.org
Sat Sep 28 07:50:34 UTC 2019


    Date: Saturday, September 28, 2019 @ 07:50:33
  Author: yan12125
Revision: 511959

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   65 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 33 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-28 07:50:18 UTC (rev 511958)
+++ PKGBUILD	2019-09-28 07:50:33 UTC (rev 511959)
@@ -1,32 +0,0 @@
-# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
-
-pkgname=python-ubjson
-pkgver=0.14.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=("https://files.pythonhosted.org/packages/source/p/py-ubjson/py-ubjson-$pkgver.tar.gz"{,.asc})
-sha256sums=('f742c87bccc8653329d3f79b8b3f40d44d11d17cce7f6d7025a73c52ebf91c66'
-            'SKIP')
-validpgpkeys=(
-  'A262040D27F5F4700D097A02CF651F44EF65072E'  # Iotic Labs Ltd (Software release signing key) <info at iotic-labs.com>
-)
-
-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
-}

Copied: python-ubjson/repos/community-x86_64/PKGBUILD (from rev 511958, python-ubjson/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-09-28 07:50:33 UTC (rev 511959)
@@ -0,0 +1,33 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-ubjson
+pkgver=0.14.0
+pkgrel=2
+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)
+depends=(python)
+source=("https://files.pythonhosted.org/packages/source/p/py-ubjson/py-ubjson-$pkgver.tar.gz"{,.asc})
+sha256sums=('f742c87bccc8653329d3f79b8b3f40d44d11d17cce7f6d7025a73c52ebf91c66'
+            'SKIP')
+validpgpkeys=(
+  'A262040D27F5F4700D097A02CF651F44EF65072E'  # Iotic Labs Ltd (Software release signing key) <info at iotic-labs.com>
+)
+
+build() {
+  cd py-ubjson-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd py-ubjson-$pkgver
+  pyver=$(python -c "import sys; print('{}.{}'.format(*sys.version_info[:2]))")
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-$pyver" 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