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

2020-12-02 Thread Felix Yan via arch-commits
Date: Wednesday, December 2, 2020 @ 21:07:46
  Author: felixonmars
Revision: 769298

upgpkg: python-jsonpatch 1.28-1

Modified:
  python-jsonpatch/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-02 21:07:42 UTC (rev 769297)
+++ PKGBUILD2020-12-02 21:07:46 UTC (rev 769298)
@@ -3,7 +3,7 @@
 # Contributor: Limao Luo 
 
 pkgname=python-jsonpatch
-pkgver=1.27
+pkgver=1.28
 pkgrel=1
 pkgdesc="An implementation of the JSON Patch format"
 arch=("any")
@@ -13,7 +13,7 @@
 makedepends=("python-setuptools" "python-pypandoc")
 checkdepends=('python-coverage')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/stefankoegl/python-json-patch/archive/v$pkgver.tar.gz;)
-sha512sums=('297ca02d114e6b199bd516f69dca147fbe309f0a1b031046859271720645322607236f97b489c242575f7e1ad3cab0c68b1b7f11894c5af82be24013e376c0a4')
+sha512sums=('2884cb95307cb607c8cd80e688491b4449f953e43e5b232d4d57d7249c590652ecae0856806ade6bf2807a04180e992fd2cdf61590ac058d573d653382bf7a28')
 
 build() {
   cd python-json-patch-$pkgver


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

2020-11-26 Thread Felix Yan via arch-commits
Date: Thursday, November 26, 2020 @ 19:41:12
  Author: felixonmars
Revision: 763832

upgpkg: python-jsonpatch 1.27-1

Modified:
  python-jsonpatch/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-26 19:40:06 UTC (rev 763831)
+++ PKGBUILD2020-11-26 19:41:12 UTC (rev 763832)
@@ -3,8 +3,8 @@
 # Contributor: Limao Luo 
 
 pkgname=python-jsonpatch
-pkgver=1.26
-pkgrel=3
+pkgver=1.27
+pkgrel=1
 pkgdesc="An implementation of the JSON Patch format"
 arch=("any")
 url="https://github.com/stefankoegl/python-json-patch;
@@ -13,7 +13,7 @@
 makedepends=("python-setuptools" "python-pypandoc")
 checkdepends=('python-coverage')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/stefankoegl/python-json-patch/archive/v$pkgver.tar.gz;)
-sha512sums=('1ab25c8e091cd0b772062a8c448fee4772081d8bd715489b2f7a76e4c0bdff8b26dd38b26c3037cf9bdf8780b97e62a20b6a5bdc43f43af16fdae51d1291bf52')
+sha512sums=('297ca02d114e6b199bd516f69dca147fbe309f0a1b031046859271720645322607236f97b489c242575f7e1ad3cab0c68b1b7f11894c5af82be24013e376c0a4')
 
 build() {
   cd python-json-patch-$pkgver


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

2020-11-11 Thread Evangelos Foutras via arch-commits
Date: Wednesday, November 11, 2020 @ 15:19:25
  Author: foutrelis
Revision: 751088

upgpkg: python-jsonpatch 1.26-3: Python 3.9 rebuild

Modified:
  python-jsonpatch/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-11 15:19:17 UTC (rev 751087)
+++ PKGBUILD2020-11-11 15:19:25 UTC (rev 751088)
@@ -4,7 +4,7 @@
 
 pkgname=python-jsonpatch
 pkgver=1.26
-pkgrel=2
+pkgrel=3
 pkgdesc="An implementation of the JSON Patch format"
 arch=("any")
 url="https://github.com/stefankoegl/python-json-patch;


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

2020-11-09 Thread Felix Yan via arch-commits
Date: Monday, November 9, 2020 @ 17:00:18
  Author: felixonmars
Revision: 747747

upgpkg: python-jsonpatch 1.26-2: Python 3.9 rebuild

Modified:
  python-jsonpatch/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-09 16:59:22 UTC (rev 747746)
+++ PKGBUILD2020-11-09 17:00:18 UTC (rev 747747)
@@ -4,7 +4,7 @@
 
 pkgname=python-jsonpatch
 pkgver=1.26
-pkgrel=1
+pkgrel=2
 pkgdesc="An implementation of the JSON Patch format"
 arch=("any")
 url="https://github.com/stefankoegl/python-json-patch;


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

2020-08-28 Thread Frederik Schwan via arch-commits
Date: Friday, August 28, 2020 @ 12:58:23
  Author: freswa
Revision: 690813

fix unquoted variables

Modified:
  python-jsonpatch/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-08-28 12:58:15 UTC (rev 690812)
+++ PKGBUILD2020-08-28 12:58:23 UTC (rev 690813)
@@ -16,18 +16,18 @@
 
sha512sums=('1ab25c8e091cd0b772062a8c448fee4772081d8bd715489b2f7a76e4c0bdff8b26dd38b26c3037cf9bdf8780b97e62a20b6a5bdc43f43af16fdae51d1291bf52')
 
 build() {
-  cd "$srcdir"/python-json-patch-$pkgver
+  cd python-json-patch-$pkgver
   python setup.py build
 }
 
 check() {
-  cd "$srcdir"/python-json-patch-$pkgver
+  cd python-json-patch-$pkgver
   coverage run --source=jsonpatch tests.py
 }
 
 package_python-jsonpatch() {
-  cd "$srcdir"/python-json-patch-$pkgver
+  cd python-json-patch-$pkgver
 
-  install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
+  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
   python setup.py install --prefix=/usr --root="$pkgdir"
 }


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

2020-06-22 Thread Felix Yan via arch-commits
Date: Monday, June 22, 2020 @ 14:28:57
  Author: felixonmars
Revision: 650563

upgpkg: python-jsonpatch 1.26-1

Modified:
  python-jsonpatch/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-06-22 14:28:49 UTC (rev 650562)
+++ PKGBUILD2020-06-22 14:28:57 UTC (rev 650563)
@@ -3,8 +3,8 @@
 # Contributor: Limao Luo 
 
 pkgname=python-jsonpatch
-pkgver=1.25
-pkgrel=2
+pkgver=1.26
+pkgrel=1
 pkgdesc="An implementation of the JSON Patch format"
 arch=("any")
 url="https://github.com/stefankoegl/python-json-patch;
@@ -13,7 +13,7 @@
 makedepends=("python-setuptools" "python-pypandoc")
 checkdepends=('python-coverage')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/stefankoegl/python-json-patch/archive/v$pkgver.tar.gz;)
-sha512sums=('5e1d5b6dcb6ee847ddd561400fe2d00e07aa1827a63ab98a38cd5e91fa0e52d8635eba1192edbccf9c7b9ce9c7ce0a414d580665c427c87a820e533d26092ad6')
+sha512sums=('1ab25c8e091cd0b772062a8c448fee4772081d8bd715489b2f7a76e4c0bdff8b26dd38b26c3037cf9bdf8780b97e62a20b6a5bdc43f43af16fdae51d1291bf52')
 
 build() {
   cd "$srcdir"/python-json-patch-$pkgver


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

2020-03-16 Thread Balló György via arch-commits
Date: Monday, March 16, 2020 @ 20:07:50
  Author: bgyorgy
Revision: 599844

upgpkg: python-jsonpatch 1.25-2: Remove python2 support

Modified:
  python-jsonpatch/trunk/PKGBUILD

--+
 PKGBUILD |   37 ++---
 1 file changed, 6 insertions(+), 31 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-03-16 19:19:55 UTC (rev 599843)
+++ PKGBUILD2020-03-16 20:07:50 UTC (rev 599844)
@@ -2,57 +2,32 @@
 # Contributor: Daniel Wallace 
 # Contributor: Limao Luo 
 
-pkgbase=python-jsonpatch
-pkgname=(python-jsonpatch python2-jsonpatch)
+pkgname=python-jsonpatch
 pkgver=1.25
-pkgrel=1
+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;)
+depends=("python-jsonpointer")
+makedepends=("python-setuptools" "python-pypandoc")
+checkdepends=('python-coverage')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/stefankoegl/python-json-patch/archive/v$pkgver.tar.gz;)
 
sha512sums=('5e1d5b6dcb6ee847ddd561400fe2d00e07aa1827a63ab98a38cd5e91fa0e52d8635eba1192edbccf9c7b9ce9c7ce0a414d580665c427c87a820e533d26092ad6')
 
-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
-}


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

2020-02-09 Thread Felix Yan via arch-commits
Date: Sunday, February 9, 2020 @ 11:33:19
  Author: felixonmars
Revision: 565277

upgpkg: python-jsonpatch 1.25-1

Modified:
  python-jsonpatch/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-02-09 11:29:27 UTC (rev 565276)
+++ PKGBUILD2020-02-09 11:33:19 UTC (rev 565277)
@@ -4,8 +4,8 @@
 
 pkgbase=python-jsonpatch
 pkgname=(python-jsonpatch python2-jsonpatch)
-pkgver=1.24
-pkgrel=3
+pkgver=1.25
+pkgrel=1
 pkgdesc="An implementation of the JSON Patch format"
 arch=("any")
 url="https://github.com/stefankoegl/python-json-patch;
@@ -14,7 +14,7 @@
  "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')
+sha512sums=('5e1d5b6dcb6ee847ddd561400fe2d00e07aa1827a63ab98a38cd5e91fa0e52d8635eba1192edbccf9c7b9ce9c7ce0a414d580665c427c87a820e533d26092ad6')
 
 prepare(){
   cp -a python-json-patch-$pkgver{,-py2}


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

2019-11-01 Thread Evangelos Foutras via arch-commits
Date: Friday, November 1, 2019 @ 13:52:47
  Author: foutrelis
Revision: 521951

Python 3.8 rebuild

Modified:
  python-jsonpatch/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-01 13:52:08 UTC (rev 521950)
+++ PKGBUILD2019-11-01 13:52:47 UTC (rev 521951)
@@ -5,7 +5,7 @@
 pkgbase=python-jsonpatch
 pkgname=(python-jsonpatch python2-jsonpatch)
 pkgver=1.24
-pkgrel=2
+pkgrel=3
 pkgdesc="An implementation of the JSON Patch format"
 arch=("any")
 url="https://github.com/stefankoegl/python-json-patch;


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

2019-10-25 Thread Evangelos Foutras via arch-commits
Date: Friday, October 25, 2019 @ 20:07:04
  Author: foutrelis
Revision: 519738

Python 3.8 rebuild

Modified:
  python-jsonpatch/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-25 20:06:56 UTC (rev 519737)
+++ PKGBUILD2019-10-25 20:07:04 UTC (rev 519738)
@@ -5,7 +5,7 @@
 pkgbase=python-jsonpatch
 pkgname=(python-jsonpatch python2-jsonpatch)
 pkgver=1.24
-pkgrel=1
+pkgrel=2
 pkgdesc="An implementation of the JSON Patch format"
 arch=("any")
 url="https://github.com/stefankoegl/python-json-patch;


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

2019-07-31 Thread Felix Yan via arch-commits
Date: Thursday, August 1, 2019 @ 03:09:00
  Author: felixonmars
Revision: 495913

upgpkg: python-jsonpatch 1.24-1

Modified:
  python-jsonpatch/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-08-01 03:07:53 UTC (rev 495912)
+++ PKGBUILD2019-08-01 03:09:00 UTC (rev 495913)
@@ -4,8 +4,8 @@
 
 pkgbase=python-jsonpatch
 pkgname=(python-jsonpatch python2-jsonpatch)
-pkgver=1.23
-pkgrel=2
+pkgver=1.24
+pkgrel=1
 pkgdesc="An implementation of the JSON Patch format"
 arch=("any")
 url="https://github.com/stefankoegl/python-json-patch;
@@ -14,7 +14,7 @@
  "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')
+sha512sums=('b12347bdde328e7369b288364ed3299b815e199abc1c4cb046042503f6980d833d6d2672b5b829f74db2efd31ac60e38d23d49bcc8f898bbaba2a859742e3cbd')
 
 prepare(){
   cp -a python-json-patch-$pkgver{,-py2}


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

2018-07-15 Thread Eli Schwartz via arch-commits
Date: Sunday, July 15, 2018 @ 16:31:54
  Author: eschwartz
Revision: 359554

upgpkg: python-jsonpatch 1.23-2

python 3.7 rebuild

Modified:
  python-jsonpatch/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-07-15 16:31:43 UTC (rev 359553)
+++ PKGBUILD2018-07-15 16:31:54 UTC (rev 359554)
@@ -6,7 +6,7 @@
 pkgbase=python-jsonpatch
 pkgname=(python-jsonpatch python2-jsonpatch)
 pkgver=1.23
-pkgrel=1
+pkgrel=2
 pkgdesc="An implementation of the JSON Patch format"
 arch=("any")
 url="https://github.com/stefankoegl/python-json-patch;


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

2018-04-02 Thread Felix Yan via arch-commits
Date: Monday, April 2, 2018 @ 17:04:53
  Author: felixonmars
Revision: 313897

upgpkg: python-jsonpatch 1.23-1

Modified:
  python-jsonpatch/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-04-02 17:02:33 UTC (rev 313896)
+++ PKGBUILD2018-04-02 17:04:53 UTC (rev 313897)
@@ -5,7 +5,7 @@
 
 pkgbase=python-jsonpatch
 pkgname=(python-jsonpatch python2-jsonpatch)
-pkgver=1.21
+pkgver=1.23
 pkgrel=1
 pkgdesc="An implementation of the JSON Patch format"
 arch=("any")
@@ -15,7 +15,7 @@
  "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=('c650c75bdc322ccd4d89b18ab85b3d417f4a3e7f200c0ffe585495ca15f88dea9cbaf5fb2d47ab0b328189cd85ff9d58b718151817ec01536808fbd328cd1409')
+sha512sums=('87b12037174af6ebff81b2e544985460bd33d417845c146436bc49bd7b964b2f4cc5f9f810d817e048e69846c8f97a38fce7512168902602c94469b0bcd4fa3c')
 
 prepare(){
   cp -a python-json-patch-$pkgver{,-py2}


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

2017-12-31 Thread Felix Yan via arch-commits
Date: Sunday, December 31, 2017 @ 11:40:50
  Author: felixonmars
Revision: 277539

upgpkg: python-jsonpatch 1.21-1

Modified:
  python-jsonpatch/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-12-31 11:39:34 UTC (rev 277538)
+++ PKGBUILD2017-12-31 11:40:50 UTC (rev 277539)
@@ -5,7 +5,7 @@
 
 pkgbase=python-jsonpatch
 pkgname=(python-jsonpatch python2-jsonpatch)
-pkgver=1.20
+pkgver=1.21
 pkgrel=1
 pkgdesc="An implementation of the JSON Patch format"
 arch=("any")
@@ -15,7 +15,7 @@
  "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=('7b4222115bcffbd4928a8b10f00432ec2861e4b09e3f39bff8169ca036f2894d6f1fb94d96b049b5271f0aa5474f49ee67168caf0fe62260cf939290e6b87437')
+sha512sums=('c650c75bdc322ccd4d89b18ab85b3d417f4a3e7f200c0ffe585495ca15f88dea9cbaf5fb2d47ab0b328189cd85ff9d58b718151817ec01536808fbd328cd1409')
 
 prepare(){
   cp -a python-json-patch-$pkgver{,-py2}


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

2017-11-27 Thread Felix Yan via arch-commits
Date: Monday, November 27, 2017 @ 08:31:31
  Author: felixonmars
Revision: 269488

upgpkg: python-jsonpatch 1.20-1

Modified:
  python-jsonpatch/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-11-27 08:31:22 UTC (rev 269487)
+++ PKGBUILD2017-11-27 08:31:31 UTC (rev 269488)
@@ -5,7 +5,7 @@
 
 pkgbase=python-jsonpatch
 pkgname=(python-jsonpatch python2-jsonpatch)
-pkgver=1.16
+pkgver=1.20
 pkgrel=1
 pkgdesc="An implementation of the JSON Patch format"
 arch=("any")
@@ -15,7 +15,7 @@
  "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=('a1a4e7792790bd08ba9649066a455e244135ea8548eb81f24c5df76a9ae7dd3b360f43b16c08e1ef9376189940a74699a7a108ed5cc35283da82e83e9d1e2b79')
+sha512sums=('7b4222115bcffbd4928a8b10f00432ec2861e4b09e3f39bff8169ca036f2894d6f1fb94d96b049b5271f0aa5474f49ee67168caf0fe62260cf939290e6b87437')
 
 prepare(){
   cp -a python-json-patch-$pkgver{,-py2}


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

2017-06-19 Thread Felix Yan
Date: Monday, June 19, 2017 @ 16:22:32
  Author: felixonmars
Revision: 238680

upgpkg: python-jsonpatch 1.16-1

Modified:
  python-jsonpatch/trunk/PKGBUILD

--+
 PKGBUILD |   26 --
 1 file changed, 12 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-06-19 16:20:35 UTC (rev 238679)
+++ PKGBUILD2017-06-19 16:22:32 UTC (rev 238680)
@@ -4,10 +4,8 @@
 # Contributor: Limao Luo 
 
 pkgbase=python-jsonpatch
-_pkgname=jsonpatch
 pkgname=(python-jsonpatch python2-jsonpatch)
-pkgver=1.15
-_commit=27f1f987e0c9d101a8dc01cc322d5f31ca89d074
+pkgver=1.16
 pkgrel=1
 pkgdesc="An implementation of the JSON Patch format"
 arch=("any")
@@ -14,29 +12,29 @@
 url="https://github.com/stefankoegl/python-json-patch;
 license=("BSD")
 makedepends=("python-setuptools" "python2-setuptools" "python-jsonpointer" 
"python2-jsonpointer"
- "python-pypandoc" "python2-pypandoc" "git")
+ "python-pypandoc" "python2-pypandoc")
 checkdepends=('python-coverage' 'python2-coverage')
-source=("git+https://github.com/stefankoegl/python-json-patch.git#commit=$_commit;)
-sha512sums=('SKIP')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/stefankoegl/python-json-patch/archive/v$pkgver.tar.gz;)
+sha512sums=('a1a4e7792790bd08ba9649066a455e244135ea8548eb81f24c5df76a9ae7dd3b360f43b16c08e1ef9376189940a74699a7a108ed5cc35283da82e83e9d1e2b79')
 
 prepare(){
-  cp -a python-json-patch{,-py2}
-  find python-json-patch-py2 -name \*.py -exec sed -i '1s/python$/&2/' {} +
+  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
+  cd "$srcdir"/python-json-patch-$pkgver
   python setup.py build
 
-  cd "$srcdir"/python-json-patch-py2
+  cd "$srcdir"/python-json-patch-$pkgver-py2
   python2 setup.py build
 }
 
 check() {
-  cd "$srcdir"/python-json-patch
+  cd "$srcdir"/python-json-patch-$pkgver
   coverage run --source=jsonpatch tests.py
 
-  cd "$srcdir"/python-json-patch-py2
+  cd "$srcdir"/python-json-patch-$pkgver-py2
   coverage2 run --source=jsonpatch tests.py
 }
 
@@ -43,7 +41,7 @@
 package_python-jsonpatch() {
   depends=("python-jsonpointer")
 
-  cd "$srcdir"/python-json-patch
+  cd "$srcdir"/python-json-patch-$pkgver
 
   install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
   python setup.py install --prefix=/usr --root="$pkgdir"
@@ -51,7 +49,7 @@
 package_python2-jsonpatch() {
   depends=("python2-jsonpointer")
 
-  cd "$srcdir"/python-json-patch-py2
+  cd "$srcdir"/python-json-patch-$pkgver-py2
 
   install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
   python2 setup.py install --prefix=/usr --root="$pkgdir"


[arch-commits] Commit in python-jsonpatch/trunk (PKGBUILD python3.6.patch)

2017-01-13 Thread Felix Yan
Date: Saturday, January 14, 2017 @ 03:18:23
  Author: felixonmars
Revision: 207285

upgpkg: python-jsonpatch 1.15-1

Modified:
  python-jsonpatch/trunk/PKGBUILD
Deleted:
  python-jsonpatch/trunk/python3.6.patch

-+
 PKGBUILD|   13 +
 python3.6.patch |   29 -
 2 files changed, 5 insertions(+), 37 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-01-13 22:51:49 UTC (rev 207284)
+++ PKGBUILD2017-01-14 03:18:23 UTC (rev 207285)
@@ -6,8 +6,9 @@
 pkgbase=python-jsonpatch
 _pkgname=jsonpatch
 pkgname=(python-jsonpatch python2-jsonpatch)
-pkgver=1.14
-pkgrel=2
+pkgver=1.15
+_commit=27f1f987e0c9d101a8dc01cc322d5f31ca89d074
+pkgrel=1
 pkgdesc="An implementation of the JSON Patch format"
 arch=("any")
 url="https://github.com/stefankoegl/python-json-patch;
@@ -15,14 +16,10 @@
 makedepends=("python-setuptools" "python2-setuptools" "python-jsonpointer" 
"python2-jsonpointer"
  "python-pypandoc" "python2-pypandoc" "git")
 checkdepends=('python-coverage' 'python2-coverage')
-source=("git+https://github.com/stefankoegl/python-json-patch.git#tag=v$pkgver;
-python3.6.patch)
-sha512sums=('SKIP'
-
'e6f536bf89002cbdce63828fbc9f37690cf23fddad3b300258766b18bd735fc9ac22f6cd3f8ecf59e79206721ca31b2867ab1518efb578d86f485a2d63b07fcc')
+source=("git+https://github.com/stefankoegl/python-json-patch.git#commit=$_commit;)
+sha512sums=('SKIP')
 
 prepare(){
-  (cd python-json-patch; patch -p1 -i ../python3.6.patch)
-
   cp -a python-json-patch{,-py2}
   find python-json-patch-py2 -name \*.py -exec sed -i '1s/python$/&2/' {} +
 }

Deleted: python3.6.patch
===
--- python3.6.patch 2017-01-13 22:51:49 UTC (rev 207284)
+++ python3.6.patch 2017-01-14 03:18:23 UTC (rev 207285)
@@ -1,29 +0,0 @@
-From d6e9a0047bad780b53151f572ea257f1cb6ebe41 Mon Sep 17 00:00:00 2001
-From: Victor Stinner 
-Date: Wed, 29 Jun 2016 11:13:00 +0200
-Subject: [PATCH] Use inspect.signature() on Python 3
-
-The inspect.getargspec() function has been deprecated in Python 3:
-https://docs.python.org/3/library/inspect.html#inspect.getargspec

- jsonpatch.py | 7 +--
- 1 file changed, 5 insertions(+), 2 deletions(-)
-
-diff --git a/jsonpatch.py b/jsonpatch.py
-index 32508e2..3c83f61 100644
 a/jsonpatch.py
-+++ b/jsonpatch.py
-@@ -105,8 +105,11 @@ def get_loadjson():
- function with object_pairs_hook set to multidict for Python versions that
- support the parameter. """
- 
--argspec = inspect.getargspec(json.load)
--if 'object_pairs_hook' not in argspec.args:
-+if sys.version_info >= (3, 3):
-+args = inspect.signature(json.load).parameters
-+else:
-+args = inspect.getargspec(json.load).args
-+if 'object_pairs_hook' not in args:
- return json.load
- 
- return functools.partial(json.load, object_pairs_hook=multidict)


[arch-commits] Commit in python-jsonpatch/trunk (PKGBUILD python3.6.patch)

2016-12-24 Thread Felix Yan
Date: Sunday, December 25, 2016 @ 03:36:53
  Author: felixonmars
Revision: 201823

upgpkg: python-jsonpatch 1.14-2

python 3.6 rebuild

Added:
  python-jsonpatch/trunk/python3.6.patch
Modified:
  python-jsonpatch/trunk/PKGBUILD

-+
 PKGBUILD|   10 +++---
 python3.6.patch |   29 +
 2 files changed, 36 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-12-25 03:30:56 UTC (rev 201822)
+++ PKGBUILD2016-12-25 03:36:53 UTC (rev 201823)
@@ -7,7 +7,7 @@
 _pkgname=jsonpatch
 pkgname=(python-jsonpatch python2-jsonpatch)
 pkgver=1.14
-pkgrel=1
+pkgrel=2
 pkgdesc="An implementation of the JSON Patch format"
 arch=("any")
 url="https://github.com/stefankoegl/python-json-patch;
@@ -15,10 +15,14 @@
 makedepends=("python-setuptools" "python2-setuptools" "python-jsonpointer" 
"python2-jsonpointer"
  "python-pypandoc" "python2-pypandoc" "git")
 checkdepends=('python-coverage' 'python2-coverage')
-source=("git+https://github.com/stefankoegl/python-json-patch.git#tag=v$pkgver;)
-sha512sums=('SKIP')
+source=("git+https://github.com/stefankoegl/python-json-patch.git#tag=v$pkgver;
+python3.6.patch)
+sha512sums=('SKIP'
+
'e6f536bf89002cbdce63828fbc9f37690cf23fddad3b300258766b18bd735fc9ac22f6cd3f8ecf59e79206721ca31b2867ab1518efb578d86f485a2d63b07fcc')
 
 prepare(){
+  (cd python-json-patch; patch -p1 -i ../python3.6.patch)
+
   cp -a python-json-patch{,-py2}
   find python-json-patch-py2 -name \*.py -exec sed -i '1s/python$/&2/' {} +
 }

Added: python3.6.patch
===
--- python3.6.patch (rev 0)
+++ python3.6.patch 2016-12-25 03:36:53 UTC (rev 201823)
@@ -0,0 +1,29 @@
+From d6e9a0047bad780b53151f572ea257f1cb6ebe41 Mon Sep 17 00:00:00 2001
+From: Victor Stinner 
+Date: Wed, 29 Jun 2016 11:13:00 +0200
+Subject: [PATCH] Use inspect.signature() on Python 3
+
+The inspect.getargspec() function has been deprecated in Python 3:
+https://docs.python.org/3/library/inspect.html#inspect.getargspec
+---
+ jsonpatch.py | 7 +--
+ 1 file changed, 5 insertions(+), 2 deletions(-)
+
+diff --git a/jsonpatch.py b/jsonpatch.py
+index 32508e2..3c83f61 100644
+--- a/jsonpatch.py
 b/jsonpatch.py
+@@ -105,8 +105,11 @@ def get_loadjson():
+ function with object_pairs_hook set to multidict for Python versions that
+ support the parameter. """
+ 
+-argspec = inspect.getargspec(json.load)
+-if 'object_pairs_hook' not in argspec.args:
++if sys.version_info >= (3, 3):
++args = inspect.signature(json.load).parameters
++else:
++args = inspect.getargspec(json.load).args
++if 'object_pairs_hook' not in args:
+ return json.load
+ 
+ return functools.partial(json.load, object_pairs_hook=multidict)


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

2016-06-01 Thread Felix Yan
Date: Wednesday, June 1, 2016 @ 11:17:16
  Author: fyan
Revision: 177597

upgpkg: python-jsonpatch 1.14-1

Modified:
  python-jsonpatch/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2016-06-01 09:16:38 UTC (rev 177596)
+++ PKGBUILD2016-06-01 09:17:16 UTC (rev 177597)
@@ -6,8 +6,8 @@
 pkgbase=python-jsonpatch
 _pkgname=jsonpatch
 pkgname=(python-jsonpatch python2-jsonpatch)
-pkgver=1.13
-pkgrel=2
+pkgver=1.14
+pkgrel=1
 pkgdesc="An implementation of the JSON Patch format"
 arch=("any")
 url="https://github.com/stefankoegl/python-json-patch;


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

2016-02-26 Thread Felix Yan
Date: Friday, February 26, 2016 @ 09:50:46
  Author: fyan
Revision: 163486

upgpkg: python-jsonpatch 1.13-2

fix dependency and description

Modified:
  python-jsonpatch/trunk/PKGBUILD

--+
 PKGBUILD |   71 -
 1 file changed, 43 insertions(+), 28 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-02-26 08:21:28 UTC (rev 163485)
+++ PKGBUILD2016-02-26 08:50:46 UTC (rev 163486)
@@ -1,45 +1,60 @@
 # $Id$
-# Maintainer: Daniel Wallace 
+# Maintainer: Felix Yan 
+# Contributor: Daniel Wallace 
 # Contributor: Limao Luo 
 
 pkgbase=python-jsonpatch
 _pkgname=jsonpatch
-pkgname=(python-$_pkgname python2-$_pkgname)
+pkgname=(python-jsonpatch python2-jsonpatch)
 pkgver=1.13
-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=('9470656a08002e309632b59772b206ce0564c9a77b44c25f05f49dd2cad248d5')
-sha512sums=('23f0c92c2c8834d5e3129e9ba78ece7da2646dd60d5b0522b0f09d83e20057ef7517042e5ee8547804185d3ce23cff394c8fe78df93fad7999fae12cc5467a45')
+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" "git")
+checkdepends=('python-coverage' 'python2-coverage')
+source=("git+https://github.com/stefankoegl/python-json-patch.git#tag=v$pkgver;)
+sha512sums=('SKIP')
 
 prepare(){
-cp -a $_pkgname-$pkgver $_pkgname-$pkgver-2
-find $_pkgname-$pkgver-2 -name \*.py -exec sed -i '1s/python$/&2/' {} +
+  cp -a python-json-patch{,-py2}
+  find python-json-patch-py2 -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
+  cd "$srcdir"/python-json-patch
+  python setup.py build
+
+  cd "$srcdir"/python-json-patch-py2
+  python2 setup.py build
 }
 
+check() {
+  cd "$srcdir"/python-json-patch
+  coverage run --source=jsonpatch tests.py
+
+  cd "$srcdir"/python-json-patch-py2
+  coverage2 run --source=jsonpatch tests.py
+}
+
 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"
+  depends=("python-jsonpointer")
+
+  cd "$srcdir"/python-json-patch
+
+  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}
+  depends=("python2-jsonpointer")
+
+  cd "$srcdir"/python-json-patch-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
 }


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

2016-02-13 Thread Felix Yan
Date: Sunday, February 14, 2016 @ 03:58:04
  Author: fyan
Revision: 161504

upgpkg: python-jsonpatch 1.13-1

Modified:
  python-jsonpatch/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-02-14 02:54:21 UTC (rev 161503)
+++ PKGBUILD2016-02-14 02:58:04 UTC (rev 161504)
@@ -5,7 +5,7 @@
 pkgbase=python-jsonpatch
 _pkgname=jsonpatch
 pkgname=(python-$_pkgname python2-$_pkgname)
-pkgver=1.12
+pkgver=1.13
 pkgrel=1
 pkgdesc="Python object model built on JSON schema and JSON patch"
 arch=(any)
@@ -14,8 +14,8 @@
 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=('2e1eb457f9c8dd5dae837ca93c0fe5bd2522c9d44b9b380fb1aab2ab4dec04b1')
-sha512sums=('3f8654b498a4da6d5feaf483a8328167b8540c8736813219cda3f47da2afdc6ffb1357b5c2b4c21f0097eef3e7d6801cf7e59e0bb2fe154bc3c571cd92c16969')
+sha256sums=('9470656a08002e309632b59772b206ce0564c9a77b44c25f05f49dd2cad248d5')
+sha512sums=('23f0c92c2c8834d5e3129e9ba78ece7da2646dd60d5b0522b0f09d83e20057ef7517042e5ee8547804185d3ce23cff394c8fe78df93fad7999fae12cc5467a45')
 
 prepare(){
 cp -a $_pkgname-$pkgver $_pkgname-$pkgver-2


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

2015-12-17 Thread Felix Yan
Date: Thursday, December 17, 2015 @ 14:18:40
  Author: fyan
Revision: 153600

upgpkg: python-jsonpatch 1.12-1

Modified:
  python-jsonpatch/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-12-17 13:18:33 UTC (rev 153599)
+++ PKGBUILD2015-12-17 13:18:40 UTC (rev 153600)
@@ -5,8 +5,8 @@
 pkgbase=python-jsonpatch
 _pkgname=jsonpatch
 pkgname=(python-$_pkgname python2-$_pkgname)
-pkgver=1.11
-pkgrel=2
+pkgver=1.12
+pkgrel=1
 pkgdesc="Python object model built on JSON schema and JSON patch"
 arch=(any)
 url=https://github.com/stefankoegl/python-json-patch
@@ -14,8 +14,8 @@
 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=('22d0bc0f5522a4a03dd9fb4c4cdf7c1f03256546c88be4c61e5ceabd22280e47')
-sha512sums=('516b6d8c32e97056af3c8d89eb49445d334ddc5588238d062476cb942d919436ea390449fa8e98332c571242a8f10aabd0fe7da3a00698ec3fd98e53f286c821')
+sha256sums=('2e1eb457f9c8dd5dae837ca93c0fe5bd2522c9d44b9b380fb1aab2ab4dec04b1')
+sha512sums=('3f8654b498a4da6d5feaf483a8328167b8540c8736813219cda3f47da2afdc6ffb1357b5c2b4c21f0097eef3e7d6801cf7e59e0bb2fe154bc3c571cd92c16969')
 
 prepare(){
 cp -a $_pkgname-$pkgver $_pkgname-$pkgver-2


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

2015-09-19 Thread Felix Yan
Date: Saturday, September 19, 2015 @ 08:01:26
  Author: fyan
Revision: 140690

upgpkg: python-jsonpatch 1.11-1

Modified:
  python-jsonpatch/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-09-19 06:00:25 UTC (rev 140689)
+++ PKGBUILD2015-09-19 06:01:26 UTC (rev 140690)
@@ -5,7 +5,7 @@
 pkgbase=python-jsonpatch
 _pkgname=jsonpatch
 pkgname=(python-$_pkgname python2-$_pkgname)
-pkgver=1.9
+pkgver=1.11
 pkgrel=1
 pkgdesc="Python object model built on JSON schema and JSON patch"
 arch=(any)
@@ -14,8 +14,8 @@
 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')
+sha256sums=('22d0bc0f5522a4a03dd9fb4c4cdf7c1f03256546c88be4c61e5ceabd22280e47')
+sha512sums=('516b6d8c32e97056af3c8d89eb49445d334ddc5588238d062476cb942d919436ea390449fa8e98332c571242a8f10aabd0fe7da3a00698ec3fd98e53f286c821')
 
 prepare(){
 cp -a $_pkgname-$pkgver $_pkgname-$pkgver-2


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

2015-09-19 Thread Felix Yan
Date: Saturday, September 19, 2015 @ 18:50:05
  Author: fyan
Revision: 141005

upgpkg: python-jsonpatch 1.11-2

rebuild for python 3.5

Modified:
  python-jsonpatch/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-09-19 16:48:51 UTC (rev 141004)
+++ PKGBUILD2015-09-19 16:50:05 UTC (rev 141005)
@@ -6,7 +6,7 @@
 _pkgname=jsonpatch
 pkgname=(python-$_pkgname python2-$_pkgname)
 pkgver=1.11
-pkgrel=1
+pkgrel=2
 pkgdesc="Python object model built on JSON schema and JSON patch"
 arch=(any)
 url=https://github.com/stefankoegl/python-json-patch


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

2015-02-18 Thread Daniel Wallace
Date: Wednesday, February 18, 2015 @ 16:15:44
  Author: dwallace
Revision: 127930

upgpkg: python-jsonpatch 1.9-1

upgpkg: python-jsonpatch 1.9

Modified:
  python-jsonpatch/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-02-18 15:13:56 UTC (rev 127929)
+++ PKGBUILD2015-02-18 15:15:44 UTC (rev 127930)
@@ -5,8 +5,8 @@
 pkgbase=python-jsonpatch
 _pkgname=jsonpatch
 pkgname=(python-$_pkgname python2-$_pkgname)
-pkgver=1.5
-pkgrel=3
+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
@@ -14,8 +14,8 @@
 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')
+sha256sums=('e997076450992aa7af2f4ae6c3e7767d390ddb6746979c74fd2092bb8fbdf5b2')
+sha512sums=('9f27def8519677dbc6d45287b6938ccfb9179f7a315871adeb7198e1568876a391625c060c7901b7acd51af0ed10427a61d54d899719ef1a073b2e93591904ed')
 
 prepare(){
 cp -a $_pkgname-$pkgver $_pkgname-$pkgver-2


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

2014-05-23 Thread Daniel Wallace
Date: Friday, May 23, 2014 @ 15:52:18
  Author: dwallace
Revision: 111760

upgpkg: python-jsonpatch 1.5-3

upgpkg: python-jsonpatch 1.5-3 FS #40499

Modified:
  python-jsonpatch/trunk/PKGBUILD

--+
 PKGBUILD |7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-05-23 13:42:59 UTC (rev 111759)
+++ PKGBUILD2014-05-23 13:52:18 UTC (rev 111760)
@@ -6,12 +6,13 @@
 _pkgname=jsonpatch
 pkgname=(python-$_pkgname python2-$_pkgname)
 pkgver=1.5
-pkgrel=2
+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')
@@ -22,6 +23,7 @@
 }
 
 build() {
+LANG=en_US.UTF-8
 cd $srcdir/$_pkgname-$pkgver
 python setup.py build
 cd $srcdir/$_pkgname-$pkgver-2
@@ -31,10 +33,13 @@
 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}
 }