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

Johannes Löthberg demize at archlinux.org
Thu Aug 20 09:20:42 UTC 2020


    Date: Thursday, August 20, 2020 @ 09:20:42
  Author: demize
Revision: 685341

archrelease: copy trunk to community-testing-any

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

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

Copied: python-canonicaljson/repos/community-testing-any/PKGBUILD (from rev 685340, python-canonicaljson/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2020-08-20 09:20:42 UTC (rev 685341)
@@ -0,0 +1,35 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Ivan Shapovalov <intelfx at intelfx.name>
+
+pkgname=python-canonicaljson
+pkgver=1.3.0
+pkgrel=1
+
+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=('2f2811027feaa0ae3e34cde505715cbc')
+
+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