[arch-commits] Commit in python-jsonpatch/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Aug 1 03:09:12 UTC 2019


    Date: Thursday, August 1, 2019 @ 03:09:11
  Author: felixonmars
Revision: 495914

archrelease: copy trunk to community-any

Added:
  python-jsonpatch/repos/community-any/PKGBUILD
    (from rev 495913, python-jsonpatch/trunk/PKGBUILD)
Deleted:
  python-jsonpatch/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  117 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 58 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-01 03:09:00 UTC (rev 495913)
+++ PKGBUILD	2019-08-01 03:09:11 UTC (rev 495914)
@@ -1,59 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-# Contributor: Limao Luo <luolimao+AUR at gmail.com>
-
-pkgbase=python-jsonpatch
-pkgname=(python-jsonpatch python2-jsonpatch)
-pkgver=1.23
-pkgrel=2
-pkgdesc="An implementation of the JSON Patch format"
-arch=("any")
-url="https://github.com/stefankoegl/python-json-patch"
-license=("BSD")
-makedepends=("python-setuptools" "python2-setuptools" "python-jsonpointer" "python2-jsonpointer"
-             "python-pypandoc" "python2-pypandoc")
-checkdepends=('python-coverage' 'python2-coverage')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/stefankoegl/python-json-patch/archive/v$pkgver.tar.gz")
-sha512sums=('87b12037174af6ebff81b2e544985460bd33d417845c146436bc49bd7b964b2f4cc5f9f810d817e048e69846c8f97a38fce7512168902602c94469b0bcd4fa3c')
-
-prepare(){
-  cp -a python-json-patch-$pkgver{,-py2}
-  find python-json-patch-$pkgver-py2 -name \*.py -exec sed -i '1s/python$/&2/' {} +
-}
-
-build() {
-  cd "$srcdir"/python-json-patch-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/python-json-patch-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/python-json-patch-$pkgver
-  coverage run --source=jsonpatch tests.py
-
-  cd "$srcdir"/python-json-patch-$pkgver-py2
-  coverage2 run --source=jsonpatch tests.py
-}
-
-package_python-jsonpatch() {
-  depends=("python-jsonpointer")
-
-  cd "$srcdir"/python-json-patch-$pkgver
-
-  install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
-  python setup.py install --prefix=/usr --root="$pkgdir"
-}
-package_python2-jsonpatch() {
-  depends=("python2-jsonpointer")
-
-  cd "$srcdir"/python-json-patch-$pkgver-py2
-
-  install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
-  python2 setup.py install --prefix=/usr --root="$pkgdir"
-  for _bin in "$pkgdir"/usr/bin/*; do
-    mv "$_bin"{,2}
-  done
-}

Copied: python-jsonpatch/repos/community-any/PKGBUILD (from rev 495913, python-jsonpatch/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-01 03:09:11 UTC (rev 495914)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Limao Luo <luolimao+AUR at gmail.com>
+
+pkgbase=python-jsonpatch
+pkgname=(python-jsonpatch python2-jsonpatch)
+pkgver=1.24
+pkgrel=1
+pkgdesc="An implementation of the JSON Patch format"
+arch=("any")
+url="https://github.com/stefankoegl/python-json-patch"
+license=("BSD")
+makedepends=("python-setuptools" "python2-setuptools" "python-jsonpointer" "python2-jsonpointer"
+             "python-pypandoc" "python2-pypandoc")
+checkdepends=('python-coverage' 'python2-coverage')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/stefankoegl/python-json-patch/archive/v$pkgver.tar.gz")
+sha512sums=('b12347bdde328e7369b288364ed3299b815e199abc1c4cb046042503f6980d833d6d2672b5b829f74db2efd31ac60e38d23d49bcc8f898bbaba2a859742e3cbd')
+
+prepare(){
+  cp -a python-json-patch-$pkgver{,-py2}
+  find python-json-patch-$pkgver-py2 -name \*.py -exec sed -i '1s/python$/&2/' {} +
+}
+
+build() {
+  cd "$srcdir"/python-json-patch-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/python-json-patch-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/python-json-patch-$pkgver
+  coverage run --source=jsonpatch tests.py
+
+  cd "$srcdir"/python-json-patch-$pkgver-py2
+  coverage2 run --source=jsonpatch tests.py
+}
+
+package_python-jsonpatch() {
+  depends=("python-jsonpointer")
+
+  cd "$srcdir"/python-json-patch-$pkgver
+
+  install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
+  python setup.py install --prefix=/usr --root="$pkgdir"
+}
+package_python2-jsonpatch() {
+  depends=("python2-jsonpointer")
+
+  cd "$srcdir"/python-json-patch-$pkgver-py2
+
+  install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
+  python2 setup.py install --prefix=/usr --root="$pkgdir"
+  for _bin in "$pkgdir"/usr/bin/*; do
+    mv "$_bin"{,2}
+  done
+}


More information about the arch-commits mailing list