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

Felix Yan fyan at archlinux.org
Sun Sep 20 03:05:42 UTC 2015


    Date: Sunday, September 20, 2015 @ 05:05:42
  Author: fyan
Revision: 141134

archrelease: copy trunk to community-staging-any

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

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

Copied: python-raet/repos/community-staging-any/PKGBUILD (from rev 141133, python-raet/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2015-09-20 03:05:42 UTC (rev 141134)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Thomas S Hatch <thatch45 at gmail.com>
+
+pkgname=('python-raet' 'python2-raet')
+pkgver=0.6.3
+pkgrel=2
+pkgdesc='Asynchronous encrypted transaction based protocol using Ioflo'
+arch=('any')
+url='http://raet.docs.saltstack.com/'
+license=('APACHE')
+makedepends=(python-setuptools python2-setuptools)
+source=("https://pypi.python.org/packages/source/r/raet/raet-$pkgver.tar.gz")
+md5sums=('33bd888d71781fe97310656f473bc544')
+
+prepare() {
+  cd $srcdir
+  cp -r raet-$pkgver python2-raet-$pkgver
+}
+
+package_python-raet() {
+  depends=('python-libnacl' 'python-ioflo' 'python-six')
+  cd "$srcdir/raet-$pkgver"
+  python3 setup.py install --root="$pkgdir" -O1
+}
+
+package_python2-raet() {
+  depends=('python2-libnacl' 'python2-ioflo' 'python2-six' 'python2-enum34')
+  cd "$srcdir/python2-raet-$pkgver"
+  python2 setup.py install --root="$pkgdir" -O1
+  mv "$pkgdir/usr/bin/raetflo"{,2}
+}
+



More information about the arch-commits mailing list