[arch-commits] Commit in (4 files)

Jelle van der Waa jelle at archlinux.org
Wed Jun 30 14:27:23 UTC 2021


    Date: Wednesday, June 30, 2021 @ 14:27:23
  Author: jelle
Revision: 967985

New dependency of synapse

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

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

Added: python-ijson/trunk/PKGBUILD
===================================================================
--- python-ijson/trunk/PKGBUILD	                        (rev 0)
+++ python-ijson/trunk/PKGBUILD	2021-06-30 14:27:23 UTC (rev 967985)
@@ -0,0 +1,27 @@
+# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
+# Contributor: Grey Christoforo <first name [at] last name [dot] net>
+
+pkgname=python-ijson
+pkgver=3.1.4
+pkgrel=1
+pkgdesc="Iterative JSON parser with Pythonic interface"
+arch=(x86_64)
+url="https://github.com/ICRAR/ijson"
+license=('BSD')
+depends=('python' 'yajl')
+makedepends=('python-setuptools')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ICRAR/ijson/archive/v${pkgver}.tar.gz")
+sha256sums=('fd12968282cb60579d7ac61ba2bee4c4771101a56e75890284aa277a7ec67018')
+
+build() {
+  cd ijson-$pkgver
+  python setup.py build
+}
+
+package(){
+  cd ijson-$pkgver
+  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+  install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE.txt
+}
+
+# vim:ts=2:sw=2:et:




More information about the arch-commits mailing list