[arch-commits] Commit in python-pyro/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sun Jul 8 08:46:57 UTC 2018


    Date: Sunday, July 8, 2018 @ 08:46:57
  Author: felixonmars
Revision: 354686

archrelease: copy trunk to community-staging-any

Added:
  python-pyro/repos/community-staging-any/
  python-pyro/repos/community-staging-any/PKGBUILD
    (from rev 354685, python-pyro/trunk/PKGBUILD)

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

Copied: python-pyro/repos/community-staging-any/PKGBUILD (from rev 354685, python-pyro/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-07-08 08:46:57 UTC (rev 354686)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Douglas Soares de Andrade <dsa at aur.archlinux.br>
+
+pkgbase=python-pyro
+pkgname=("$pkgbase" "${pkgbase/-/2-}")
+pkgver=4.72
+pkgrel=2
+pkgdesc='Distributed object middleware for Python (RPC)'
+url='https://github.com/irmen/Pyro4'
+arch=('any')
+license=('MIT')
+makedepends=('git')
+depends=('python' 'python2')
+source=("git+https://github.com/irmen/Pyro4#tag=$pkgver")
+sha256sums=('SKIP')
+
+package_python-pyro() {
+  depends=('python' 'python-serpent')
+
+  cd Pyro4
+
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-pyro() {
+  depends=('python2' 'python2-serpent')
+
+  cd Pyro4
+
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# getver: github.com/irmen/Pyro4/tags
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list