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

Felix Yan felixonmars at archlinux.org
Fri May 31 09:27:18 UTC 2019


    Date: Friday, May 31, 2019 @ 09:27:17
  Author: felixonmars
Revision: 475898

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  106 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 53 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-31 09:27:02 UTC (rev 475897)
+++ PKGBUILD	2019-05-31 09:27:17 UTC (rev 475898)
@@ -1,53 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-jsonpickle
-pkgname=(python-jsonpickle python2-jsonpickle)
-pkgver=1.1
-pkgrel=1
-arch=('any')
-pkgdesc="Python library for serializing any arbitrary object graph into JSON"
-url="http://jsonpickle.github.io/"
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-nose-show-skipped' 'python2-nose-show-skipped' 'python-numpy' 'python2-numpy'
-              'python-feedparser' 'python2-feedparser' 'python-coverage' 'python2-coverage' 'python2-enum34'
-              'python-simplejson' 'python2-simplejson' 'python-pymongo' 'python2-pymongo' 'python-ujson'
-              'python2-ujson')
-license=('BSD')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/jsonpickle/jsonpickle/archive/v$pkgver.tar.gz")
-sha512sums=('81c4e50d31af275dab25676d2ad7a2764fe2098a197e9c83810e390e72b03929ed99114d1ad1c8c5f94ae73ee342a3d1ba03d00ae33c24ec85b2c0acc2da6516')
-
-prepare() {
-  cp -a jsonpickle-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/jsonpickle-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/jsonpickle-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/jsonpickle-$pkgver
-  nosetests3 --show-skipped
-
-  cd "$srcdir"/jsonpickle-$pkgver-py2
-  nosetests2 --show-skipped
-}
-
-package_python-jsonpickle() {
-  depends=('python')
-
-  cd jsonpickle-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
-}
-
-package_python2-jsonpickle() {
-  depends=('python2')
-
-  cd jsonpickle-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
-}

Copied: python-jsonpickle/repos/community-any/PKGBUILD (from rev 475897, python-jsonpickle/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-31 09:27:17 UTC (rev 475898)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-jsonpickle
+pkgname=(python-jsonpickle python2-jsonpickle)
+pkgver=1.2
+pkgrel=1
+arch=('any')
+pkgdesc="Python library for serializing any arbitrary object graph into JSON"
+url="http://jsonpickle.github.io/"
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-nose-show-skipped' 'python2-nose-show-skipped' 'python-numpy' 'python2-numpy'
+              'python-feedparser' 'python2-feedparser' 'python-coverage' 'python2-coverage' 'python2-enum34'
+              'python-simplejson' 'python2-simplejson' 'python-pymongo' 'python2-pymongo' 'python-ujson'
+              'python2-ujson')
+license=('BSD')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/jsonpickle/jsonpickle/archive/v$pkgver.tar.gz")
+sha512sums=('32bcb3df5d2833a52e52d27f6594124119c33f2ad7c111074da4670711f8651c208f4bb1ec826752044b3b2d19053860679d124d9a81f9e303d1377f1e3900c0')
+
+prepare() {
+  cp -a jsonpickle-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/jsonpickle-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/jsonpickle-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/jsonpickle-$pkgver
+  nosetests3 --show-skipped
+
+  cd "$srcdir"/jsonpickle-$pkgver-py2
+  nosetests2 --show-skipped
+}
+
+package_python-jsonpickle() {
+  depends=('python')
+
+  cd jsonpickle-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+
+package_python2-jsonpickle() {
+  depends=('python2')
+
+  cd jsonpickle-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}



More information about the arch-commits mailing list