Date: Monday, October 6, 2014 @ 22:21:34 Author: dwallace Revision: 120306
archrelease: copy trunk to community-testing-any Added: python-raet/repos/community-testing-any/ python-raet/repos/community-testing-any/PKGBUILD (from rev 120305, python-raet/trunk/PKGBUILD) ----------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) Copied: python-raet/repos/community-testing-any/PKGBUILD (from rev 120305, python-raet/trunk/PKGBUILD) =================================================================== --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2014-10-06 20:21:34 UTC (rev 120306) @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> +# Contributor: Thomas S Hatch <thatc...@gmail.com> + +pkgname=('python-raet' 'python2-raet') +pkgver=0.3.3 +pkgrel=1 +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=('ed8e90dadd23431412adb4ac1cef727f') + +prepare() { + cd $srcdir + cp -r raet-$pkgver python2-raet-$pkgver +} + +package_python-raet() { + depends=('python-libnacl' 'python-ioflo') + cd "$srcdir/raet-$pkgver" + python3 setup.py install --root="$pkgdir" -O1 +} + +package_python2-raet() { + depends=('python2-libnacl' 'python2-ioflo') + cd "$srcdir/python2-raet-$pkgver" + python2 setup.py install --root="$pkgdir" -O1 +} +