[arch-commits] Commit in python-jsonmerge/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Tue Nov 10 04:02:58 UTC 2020
Date: Tuesday, November 10, 2020 @ 04:02:57
Author: foutrelis
Revision: 748404
archrelease: copy trunk to community-staging-any
Added:
python-jsonmerge/repos/community-staging-any/
python-jsonmerge/repos/community-staging-any/PKGBUILD
(from rev 748402, python-jsonmerge/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: python-jsonmerge/repos/community-staging-any/PKGBUILD (from rev 748402, python-jsonmerge/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-10 04:02:57 UTC (rev 748404)
@@ -0,0 +1,37 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=jsonmerge
+pkgname=python-$_pkgname
+pkgver=1.7.0
+pkgrel=2
+pkgdesc='Merge a series of JSON documents'
+arch=('any')
+url='https://github.com/avian2/jsonmerge'
+license=('MIT')
+depends=('python-jsonschema')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$_pkgname-$pkgver.tar.gz")
+sha512sums=('917bf8e721ba1f7574e7519f8054a1e2a4ffd40115872e0c111ef6c3c87de9305c1dbac67d882e25f8051e819a33901c9faf84ab9d80a12fb48fc47064b78f6a')
+
+build() {
+ cd $_pkgname-$_pkgname-$pkgver
+
+ python setup.py build
+}
+
+check() {
+ cd $_pkgname-$_pkgname-$pkgver
+
+ python setup.py test
+}
+
+package() {
+ cd $_pkgname-$_pkgname-$pkgver
+
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+ install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list