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

Daniel Wallace dwallace at archlinux.org
Mon Oct 6 18:46:28 UTC 2014


    Date: Monday, October 6, 2014 @ 20:46:27
  Author: dwallace
Revision: 120302

archrelease: copy trunk to community-testing-any

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

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

Copied: python-libnacl/repos/community-testing-any/PKGBUILD (from rev 120301, python-libnacl/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2014-10-06 18:46:27 UTC (rev 120302)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Thomas S Hatch <thatch45 at gmail.com>
+
+pkgname=('python-libnacl' 'python2-libnacl')
+pkgver=1.3.6
+pkgrel=1
+pkgdesc='A simple ctypes based python binding to libsodium'
+arch=('any')
+url='http://libnacl.readthedocs.org'
+license=('APACHE')
+depends=('libsodium')
+makedepends=(python-setuptools python2-setuptools)
+source=("https://pypi.python.org/packages/source/l/libnacl/libnacl-$pkgver.tar.gz")
+md5sums=('40f325586373e91213cb9ecd36ee8bba')
+
+prepare() {
+  cp -r libnacl-$pkgver python2-libnacl-$pkgver
+}
+
+package_python-libnacl() {
+  depends=('python')
+  cd "$srcdir/libnacl-$pkgver"
+  python3 setup.py install --root="$pkgdir" -O1
+}
+
+package_python2-libnacl() {
+  depends=('python2')
+  cd "$srcdir/python2-libnacl-$pkgver"
+  python2 setup.py install --root="$pkgdir" -O1
+}
+



More information about the arch-commits mailing list