[arch-commits] Commit in python-jsondiff/repos/community-any (PKGBUILD PKGBUILD)
Chih-Hsuan Yen
yan12125 at archlinux.org
Fri Mar 1 08:59:00 UTC 2019
Date: Friday, March 1, 2019 @ 08:58:59
Author: yan12125
Revision: 437166
archrelease: copy trunk to community-any
Added:
python-jsondiff/repos/community-any/PKGBUILD
(from rev 437165, python-jsondiff/trunk/PKGBUILD)
Deleted:
python-jsondiff/repos/community-any/PKGBUILD
----------+
PKGBUILD | 66 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 33 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-01 08:58:42 UTC (rev 437165)
+++ PKGBUILD 2019-03-01 08:58:59 UTC (rev 437166)
@@ -1,33 +0,0 @@
-# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
-# Contributor: Guillaume Horel <guillaume.horel at gmail.com>
-
-pkgname=python-jsondiff
-_pkgname=jsondiff
-pkgver=1.1.2
-pkgrel=3
-pkgdesc='Diff JSON and JSON-like structures in Python'
-arch=(any)
-url='https://github.com/ZoomerAnalytics/jsondiff'
-license=(MIT)
-depends=(python-setuptools)
-checkdepends=(python-nose python-nose-random)
-# Both installs /usr/bin/jsondiff
-conflicts=(python-jsonpatch)
-source=("$pkgname-$pkgver.tar.gz"::"https://github.com/ZoomerAnalytics/jsondiff/archive/$pkgver.tar.gz")
-sha256sums=('8e5edaa604c4a96d9ffe7fea6f39ec91bdddaee78fae7c6ff91cbb8e105b70c1')
-
-build() {
- cd $_pkgname-$pkgver
- python setup.py build
-}
-
-check() {
- cd $_pkgname-$pkgver
- nosetests -v tests
-}
-
-package() {
- cd $_pkgname-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
-}
Copied: python-jsondiff/repos/community-any/PKGBUILD (from rev 437165, python-jsondiff/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-03-01 08:58:59 UTC (rev 437166)
@@ -0,0 +1,33 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+# Contributor: Guillaume Horel <guillaume.horel at gmail.com>
+
+pkgname=python-jsondiff
+_pkgname=jsondiff
+pkgver=1.1.2
+pkgrel=4
+pkgdesc='Diff JSON and JSON-like structures in Python'
+arch=(any)
+url='https://github.com/ZoomerAnalytics/jsondiff'
+license=(MIT)
+depends=(python)
+checkdepends=(python-nose python-nose-random)
+source=("$pkgname-$pkgver.tar.gz"::"https://github.com/ZoomerAnalytics/jsondiff/archive/$pkgver.tar.gz")
+sha256sums=('8e5edaa604c4a96d9ffe7fea6f39ec91bdddaee78fae7c6ff91cbb8e105b70c1')
+
+build() {
+ cd $_pkgname-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd $_pkgname-$pkgver
+ nosetests -v tests
+}
+
+package() {
+ cd $_pkgname-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+ # FS#60911
+ rm -r "$pkgdir"/usr/bin
+}
More information about the arch-commits
mailing list