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

Daniel Wallace dwallace at archlinux.org
Wed Feb 18 15:16:05 UTC 2015


    Date: Wednesday, February 18, 2015 @ 16:16:04
  Author: dwallace
Revision: 127931

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   90 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 45 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-18 15:15:44 UTC (rev 127930)
+++ PKGBUILD	2015-02-18 15:16:04 UTC (rev 127931)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
-# Contributor: Limao Luo <luolimao+AUR at gmail.com>
-
-pkgbase=python-jsonpatch
-_pkgname=jsonpatch
-pkgname=(python-$_pkgname python2-$_pkgname)
-pkgver=1.5
-pkgrel=3
-pkgdesc="Python object model built on JSON schema and JSON patch"
-arch=(any)
-url=https://github.com/stefankoegl/python-json-patch
-license=(BSD)
-makedepends=(python2-setuptools python2-jsonschema python-setuptools python-jsonschema)
-options=(!emptydirs)
-source=(http://pypi.python.org/packages/source/j/${_pkgname#*-}/${_pkgname#*-}-$pkgver.tar.gz)
-sha256sums=('5b8874a5bd0b7201d8e917f820bbb3c8bbd55174ae9036220f83ac6dadc2c4df')
-sha512sums=('5f542620139abc61d835392b7885367979607c2b67ce29cd8279d60b9485228e7e2d5ec9badb25acbb820689910ff0fbe38cda6ddaad217e543eb8c06186e354')
-
-prepare(){
-    cp -a $_pkgname-$pkgver $_pkgname-$pkgver-2
-    find $_pkgname-$pkgver-2 -name \*.py -exec sed -i '1s/python$/&2/' {} +
-}
-
-build() {
-    LANG=en_US.UTF-8
-    cd $srcdir/$_pkgname-$pkgver
-    python setup.py build
-    cd $srcdir/$_pkgname-$pkgver-2
-    python2 setup.py build
-}
-
-package_python-jsonpatch() {
-    cd $srcdir/$_pkgname-$pkgver
-    depends=(python-jsonschema)
-    install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
-    python setup.py install --prefix=/usr --root="$pkgdir"
-}
-package_python2-jsonpatch() {
-    cd $srcdir/$_pkgname-$pkgver-2
-    depends=(python2-jsonschema)
-    install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
-    python2 setup.py install --prefix=/usr --root="$pkgdir"
-    rm $pkgdir/usr/bin/json{diff,patch}
-}

Copied: python-jsonpatch/repos/community-any/PKGBUILD (from rev 127930, python-jsonpatch/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-02-18 15:16:04 UTC (rev 127931)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Limao Luo <luolimao+AUR at gmail.com>
+
+pkgbase=python-jsonpatch
+_pkgname=jsonpatch
+pkgname=(python-$_pkgname python2-$_pkgname)
+pkgver=1.9
+pkgrel=1
+pkgdesc="Python object model built on JSON schema and JSON patch"
+arch=(any)
+url=https://github.com/stefankoegl/python-json-patch
+license=(BSD)
+makedepends=(python2-setuptools python2-jsonschema python-setuptools python-jsonschema)
+options=(!emptydirs)
+source=(http://pypi.python.org/packages/source/j/${_pkgname#*-}/${_pkgname#*-}-$pkgver.tar.gz)
+sha256sums=('e997076450992aa7af2f4ae6c3e7767d390ddb6746979c74fd2092bb8fbdf5b2')
+sha512sums=('9f27def8519677dbc6d45287b6938ccfb9179f7a315871adeb7198e1568876a391625c060c7901b7acd51af0ed10427a61d54d899719ef1a073b2e93591904ed')
+
+prepare(){
+    cp -a $_pkgname-$pkgver $_pkgname-$pkgver-2
+    find $_pkgname-$pkgver-2 -name \*.py -exec sed -i '1s/python$/&2/' {} +
+}
+
+build() {
+    LANG=en_US.UTF-8
+    cd $srcdir/$_pkgname-$pkgver
+    python setup.py build
+    cd $srcdir/$_pkgname-$pkgver-2
+    python2 setup.py build
+}
+
+package_python-jsonpatch() {
+    cd $srcdir/$_pkgname-$pkgver
+    depends=(python-jsonschema)
+    install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
+    python setup.py install --prefix=/usr --root="$pkgdir"
+}
+package_python2-jsonpatch() {
+    cd $srcdir/$_pkgname-$pkgver-2
+    depends=(python2-jsonschema)
+    install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
+    python2 setup.py install --prefix=/usr --root="$pkgdir"
+    rm $pkgdir/usr/bin/json{diff,patch}
+}



More information about the arch-commits mailing list