[arch-commits] Commit in python-jsonrpclib-pelix/repos/community-any (2 files)

Morten Linderud foxboron at archlinux.org
Sat Sep 28 14:42:53 UTC 2019


    Date: Saturday, September 28, 2019 @ 14:42:52
  Author: foxboron
Revision: 511992

archrelease: copy trunk to community-any

Added:
  python-jsonrpclib-pelix/repos/community-any/PKGBUILD
    (from rev 511991, python-jsonrpclib-pelix/trunk/PKGBUILD)
Deleted:
  python-jsonrpclib-pelix/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   67 +++++++++++++++++++++----------------------------------------
 1 file changed, 24 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-28 14:42:45 UTC (rev 511991)
+++ PKGBUILD	2019-09-28 14:42:52 UTC (rev 511992)
@@ -1,43 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Contributor: Andy Weidenbaum <archbaum at gmail.com>
-
-pkgbase=python-jsonrpclib-pelix
-pkgname=(python-jsonrpclib-pelix python2-jsonrpclib-pelix)
-pkgver=0.4.0
-pkgrel=1
-pkgdesc="A Python JSON-RPC over HTTP that mirrors xmlrpclib syntax"
-arch=(any)
-makedepends=(python-setuptools python2-setuptools)
-url="https://github.com/tcalmant/jsonrpclib"
-license=('Apache')
-source=(https://pypi.io/packages/source/j/jsonrpclib-pelix/jsonrpclib-pelix-$pkgver.tar.gz)
-sha256sums=('19c558e169a51480b39548783067ca55046b62b2409ab4559931255e12f635de')
-
-prepare() {
-  cp -r jsonrpclib-pelix-$pkgver jsonrpclib-pelix-$pkgver-py2
-  cd jsonrpclib-pelix-$pkgver-py2
-  find -name '*.py' | xargs sed -e 's|/usr/bin/python|/usr/bin/python2|' -e 's|/usr/bin/env python|/usr/bin/env python2|' -i
-}
-
-build() {
-  cd jsonrpclib-pelix-$pkgver
-  python setup.py build
-
-  cd ../jsonrpclib-pelix-$pkgver-py2
-  python2 setup.py build
-}
-
-package_python-jsonrpclib-pelix() {
-  depends=(python)
-  conflicts=(python-jsonrpclib)
-  cd jsonrpclib-pelix-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-jsonrpclib-pelix() {
-  depends=(python2)
-  conflicts=(python2-jsonrpclib)
-  cd jsonrpclib-pelix-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}
-

Copied: python-jsonrpclib-pelix/repos/community-any/PKGBUILD (from rev 511991, python-jsonrpclib-pelix/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-09-28 14:42:52 UTC (rev 511992)
@@ -0,0 +1,24 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Andy Weidenbaum <archbaum at gmail.com>
+
+pkgname=python-jsonrpclib-pelix
+pkgver=0.4.0
+pkgrel=2
+pkgdesc="A Python JSON-RPC over HTTP that mirrors xmlrpclib syntax"
+arch=(any)
+depends=(python)
+makedepends=(python-setuptools python2-setuptools)
+url="https://github.com/tcalmant/jsonrpclib"
+license=('Apache')
+source=(https://pypi.io/packages/source/j/jsonrpclib-pelix/jsonrpclib-pelix-$pkgver.tar.gz)
+sha256sums=('19c558e169a51480b39548783067ca55046b62b2409ab4559931255e12f635de')
+
+build() {
+  cd jsonrpclib-pelix-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd jsonrpclib-pelix-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}


More information about the arch-commits mailing list