[arch-commits] Commit in python2-jsonrpclib/repos (2 files)

Timothy Redaelli tredaelli at archlinux.org
Fri Feb 26 17:55:13 UTC 2016


    Date: Friday, February 26, 2016 @ 18:55:12
  Author: tredaelli
Revision: 163516

archrelease: copy trunk to community-any

Added:
  python2-jsonrpclib/repos/community-any/
  python2-jsonrpclib/repos/community-any/PKGBUILD
    (from rev 163515, python2-jsonrpclib/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: python2-jsonrpclib/repos/community-any/PKGBUILD (from rev 163515, python2-jsonrpclib/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2016-02-26 17:55:12 UTC (rev 163516)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: Andy Weidenbaum <archbaum at gmail.com>
+
+pkgname=python2-jsonrpclib
+pkgver=0.1.7
+pkgrel=1
+pkgdesc="An implementation of the JSON-RPC v2.0 specification (backwards-compatible) as a client library"
+arch=('any')
+depends=('python2')
+makedepends=('python2-setuptools')
+url="https://github.com/joshmarshall/jsonrpclib/"
+license=('Apache')
+source=(https://pypi.python.org/packages/source/j/${pkgname#python2-}/${pkgname#python2-}-$pkgver.tar.gz)
+md5sums=('fb67bd327fbd8b53e62ecbc1c4c6b97d')
+sha256sums=('7f50239d53b5e95b94455d5e1adae70592b5b71f0e960d3bbbfbb125788e6f0b')
+
+build() {
+  cd $srcdir/${pkgname#python2-}-$pkgver
+
+  msg2 'Building...'
+  python2 setup.py build
+}
+
+package() {
+  cd $srcdir/${pkgname#python2-}-$pkgver
+
+  msg2 'Installing...'
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list