[arch-commits] Commit in python-jsondiff/trunk (PKGBUILD)

Chih-Hsuan Yen yan12125 at archlinux.org
Fri Mar 1 08:58:42 UTC 2019


    Date: Friday, March 1, 2019 @ 08:58:42
  Author: yan12125
Revision: 437165

upgpkg: python-jsondiff 1.1.2-4

Turns out that python-jsondiff and python-jsonpatch need to be co-installable -

python-moto (next release)
    python-cfn-lint
        python-jsonpatch
    python-jsondiff

https://github.com/stefankoegl/python-json-patch/issues/93
https://github.com/ZoomerAnalytics/jsondiff/issues/24

Modified:
  python-jsondiff/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-01 08:46:29 UTC (rev 437164)
+++ PKGBUILD	2019-03-01 08:58:42 UTC (rev 437165)
@@ -4,15 +4,13 @@
 pkgname=python-jsondiff
 _pkgname=jsondiff
 pkgver=1.1.2
-pkgrel=3
+pkgrel=4
 pkgdesc='Diff JSON and JSON-like structures in Python'
 arch=(any)
 url='https://github.com/ZoomerAnalytics/jsondiff'
 license=(MIT)
-depends=(python-setuptools)
+depends=(python)
 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')
 
@@ -30,4 +28,6 @@
   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