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

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 9 16:48:22 UTC 2020


    Date: Monday, November 9, 2020 @ 16:48:22
  Author: foutrelis
Revision: 747547

archrelease: copy trunk to community-staging-any

Added:
  python-canonicaljson/repos/community-staging-any/
  python-canonicaljson/repos/community-staging-any/PKGBUILD
    (from rev 747544, python-canonicaljson/trunk/PKGBUILD)

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

Copied: python-canonicaljson/repos/community-staging-any/PKGBUILD (from rev 747544, python-canonicaljson/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 16:48:22 UTC (rev 747547)
@@ -0,0 +1,35 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Ivan Shapovalov <intelfx at intelfx.name>
+
+pkgname=python-canonicaljson
+pkgver=1.4.0
+pkgrel=2
+
+pkgdesc='Canonical JSON'
+url='https://pypi.python.org/pypi/canonicaljson/'
+arch=('any')
+license=('Apache')
+
+depends=('python' 'python-simplejson' 'python-frozendict')
+makedepends=('python-setuptools')
+
+source=("python-canonicaljson-$pkgver.tar.gz::https://github.com/matrix-org/python-canonicaljson/archive/v${pkgver}.tar.gz")
+
+md5sums=('2ed56bbdb94455d4ab53aa93d8dd5951')
+
+build() {
+	cd python-canonicaljson-$pkgver
+	python setup.py build
+}
+
+check() {
+	cd python-canonicaljson-$pkgver
+	python setup.py test
+}
+
+package() {
+	cd python-canonicaljson-$pkgver
+	python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+# vim: set ts=4 sw=4 tw=0 ft=PKGBUILD :



More information about the arch-commits mailing list