[arch-commits] Commit in python-json-rpc/repos/community-any (PKGBUILD PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Sat Sep 1 18:14:52 UTC 2018
Date: Saturday, September 1, 2018 @ 18:14:52
Author: foxboron
Revision: 375964
archrelease: copy trunk to community-any
Added:
python-json-rpc/repos/community-any/PKGBUILD
(from rev 375963, python-json-rpc/trunk/PKGBUILD)
Deleted:
python-json-rpc/repos/community-any/PKGBUILD
----------+
PKGBUILD | 106 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 53 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-09-01 18:14:42 UTC (rev 375963)
+++ PKGBUILD 2018-09-01 18:14:52 UTC (rev 375964)
@@ -1,53 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Contributor: Andy Weidenbaum <archbaum at gmail.com>
-
-pkgbase=python-json-rpc
-pkgname=(python-json-rpc python2-json-rpc)
-pkgver=1.11.0
-pkgrel=3
-pkgdesc="JSON-RPC transport realisation"
-arch=('any')
-makedepends=('python' 'python-setuptools'
- 'python2' 'python2-setuptools')
-checkdepends=('python-nose' 'python-mock' 'python-flask'
- 'python2-nose' 'python2-mock' 'python2-flask')
-url="https://github.com/pavlov99/json-rpc"
-license=('MIT')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/pavlov99/json-rpc/archive/$pkgver.tar.gz")
-sha256sums=('20f895405eb9d1bf7c0470e8bb80c72c69d5b0389e0edfa7e20e810cf6a91f0f')
-
-prepare(){
- cp -r json-rpc-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir/json-rpc-$pkgver"
- python setup.py build
-
- cd "$srcdir/json-rpc-$pkgver-py2"
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir/json-rpc-$pkgver"
- python setup.py nosetests
-
- cd "$srcdir/json-rpc-$pkgver-py2"
- python2 setup.py nosetests
-}
-
-package_python-json-rpc() {
- depends=('python')
- cd "json-rpc-$pkgver"
-
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
- install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-package_python2-json-rpc() {
- depends=('python2')
- cd "json-rpc-$pkgver-py2"
-
- python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
- install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: python-json-rpc/repos/community-any/PKGBUILD (from rev 375963, python-json-rpc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-09-01 18:14:52 UTC (rev 375964)
@@ -0,0 +1,53 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Andy Weidenbaum <archbaum at gmail.com>
+
+pkgbase=python-json-rpc
+pkgname=(python-json-rpc python2-json-rpc)
+pkgver=1.11.1
+pkgrel=1
+pkgdesc="JSON-RPC transport realisation"
+arch=('any')
+makedepends=('python' 'python-setuptools'
+ 'python2' 'python2-setuptools')
+checkdepends=('python-nose' 'python-mock' 'python-flask'
+ 'python2-nose' 'python2-mock' 'python2-flask')
+url="https://github.com/pavlov99/json-rpc"
+license=('MIT')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pavlov99/json-rpc/archive/$pkgver.tar.gz")
+sha256sums=('23a975c2737595e94c86d0cc6c9506086a44a2dacc1d506059dbda7fe6ce2e95')
+
+prepare(){
+ cp -r json-rpc-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir/json-rpc-$pkgver"
+ python setup.py build
+
+ cd "$srcdir/json-rpc-$pkgver-py2"
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir/json-rpc-$pkgver"
+ python setup.py nosetests
+
+ cd "$srcdir/json-rpc-$pkgver-py2"
+ python2 setup.py nosetests
+}
+
+package_python-json-rpc() {
+ depends=('python')
+ cd "json-rpc-$pkgver"
+
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-json-rpc() {
+ depends=('python2')
+ cd "json-rpc-$pkgver-py2"
+
+ python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list