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

Evangelos Foutras foutrelis at archlinux.org
Sat Sep 19 16:51:02 UTC 2015


    Date: Saturday, September 19, 2015 @ 18:51:02
  Author: foutrelis
Revision: 141008

archrelease: copy trunk to community-staging-any

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

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

Copied: python-libnacl/repos/community-staging-any/PKGBUILD (from rev 141007, python-libnacl/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2015-09-19 16:51:02 UTC (rev 141008)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Thomas S Hatch <thatch45 at gmail.com>
+
+pkgname=('python-libnacl' 'python2-libnacl')
+pkgver=1.4.3
+pkgrel=2
+pkgdesc='A simple ctypes based python binding to libsodium'
+arch=('any')
+url='http://libnacl.readthedocs.org'
+license=('APACHE')
+makedepends=(python-setuptools python2-setuptools libsodium)
+source=("https://pypi.python.org/packages/source/l/libnacl/libnacl-$pkgver.tar.gz")
+md5sums=('27f57f34ce6e0fe1dba7c754bd83773f')
+
+prepare() {
+  cp -r libnacl-$pkgver python2-libnacl-$pkgver
+}
+
+package_python-libnacl() {
+  depends=('python' 'libsodium')
+  cd "$srcdir/libnacl-$pkgver"
+  python3 setup.py install --root="$pkgdir" -O1
+}
+
+package_python2-libnacl() {
+  depends=('python2' 'libsodium')
+  cd "$srcdir/python2-libnacl-$pkgver"
+  python2 setup.py install --root="$pkgdir" -O1
+}
+



More information about the arch-commits mailing list