[arch-commits] Commit in python-pynacl (repos trunk trunk/PKGBUILD)
Johannes Löthberg
demize at archlinux.org
Sat Jan 14 20:21:40 UTC 2017
Date: Saturday, January 14, 2017 @ 20:21:40
Author: demize
Revision: 207407
Import PKGBUILd
Added:
python-pynacl/repos/
python-pynacl/trunk/
python-pynacl/trunk/PKGBUILD
----------+
PKGBUILD | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
Added: trunk/PKGBUILD
===================================================================
--- trunk/PKGBUILD (rev 0)
+++ trunk/PKGBUILD 2017-01-14 20:21:40 UTC (rev 207407)
@@ -0,0 +1,54 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Ivan Shapovalov <intelfx at intelfx.name>
+
+pkgbase=python-pynacl
+pkgname=(python-pynacl python2-pynacl)
+pkgver=1.0.1
+pkgrel=3
+
+pkgdesc='Python binding to the Networking and Cryptography (NaCl) library'
+url='https://pypi.python.org/pypi/PyNaCl'
+arch=('i686' 'x86_64')
+license=('Apache')
+
+depends=('libsodium')
+makedepends=('python-setuptools' 'python-pycparser' 'python-cffi'
+ 'python2-setuptools' 'python2-pycparser' 'python2-cffi')
+
+source=("https://pypi.org/packages/source/P/PyNaCl/PyNaCl-$pkgver.tar.gz")
+
+md5sums=('12fd03d8ce64e0318cb1c69272f17704')
+
+prepare() {
+ cp -a PyNaCl-$pkgver{,-python2}
+}
+
+build() {
+ export SODIUM_INSTALL=system
+
+ cd "$srcdir"/PyNaCl-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/PyNaCl-$pkgver-python2
+ python2 setup.py build
+}
+
+package_python-pynacl() {
+ depends=('libsodium' 'python' 'python-six')
+
+ export SODIUM_INSTALL=system
+
+ cd PyNaCl-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+package_python2-pynacl() {
+ depends=('libsodium' 'python2' 'python2-six')
+
+ export SODIUM_INSTALL=system
+
+ cd PyNaCl-$pkgver-python2
+ python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+# vim: set ts=4 sw=4 tw=0 ft=PKGBUILD :
Property changes on: python-pynacl/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list