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

Alexander Rødseth arodseth at archlinux.org
Tue Jan 16 13:38:01 UTC 2018


    Date: Tuesday, January 16, 2018 @ 13:37:56
  Author: arodseth
Revision: 283248

archrelease: copy trunk to community-any

Added:
  python-serpent/repos/community-any/PKGBUILD
    (from rev 283247, python-serpent/trunk/PKGBUILD)

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

Copied: python-serpent/repos/community-any/PKGBUILD (from rev 283247, python-serpent/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-01-16 13:37:56 UTC (rev 283248)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: razer <razer at neuf.fr>
+
+pkgbase=python-serpent
+pkgname=("$pkgbase" "${pkgbase/-/2-}")
+pkgver=1.23
+pkgrel=1
+pkgdesc='Distributed object middleware for Python (RPC)'
+url='https://github.com/irmen/Serpent'
+arch=('any')
+license=('MIT')
+makedepends=('git')
+depends=('python' 'python2')
+source=("git+https://github.com/irmen/Serpent.git#tag=serpent-$pkgver")
+md5sums=('SKIP')
+
+package_python-serpent() {
+  depends=('python')
+
+  cd Serpent
+
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-serpent() {
+  depends=('python2')
+
+  cd Serpent
+
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# getver: github.com/irmen/Serpent/tags
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list