summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-09-15 13:52:47 +0200
committerErich Eckner <git@eckner.net>2017-09-15 13:52:47 +0200
commitd3418846d57aafa5befadefd26db209f69c82c0d (patch)
tree2aceb21f10cde929c4afe32d77eb77acbba98fde
parentfa51cc0d488529d479bff7511a1d860db6b999d4 (diff)
downloadpackages-d3418846d57aafa5befadefd26db209f69c82c0d.tar.xz
community/python-libnacl new
-rw-r--r--community/python-libnacl/PKGBUILD9
1 files changed, 9 insertions, 0 deletions
diff --git a/community/python-libnacl/PKGBUILD b/community/python-libnacl/PKGBUILD
new file mode 100644
index 00000000..ca82c81d
--- /dev/null
+++ b/community/python-libnacl/PKGBUILD
@@ -0,0 +1,9 @@
+# see https://bbs.archlinux32.org/viewtopic.php?pid=224
+# and https://github.com/saltstack/libnacl/issues/103
+
+prepare() {
+ sed -i '
+ s/m, mlen,/m, ctypes.byref(mlen),/
+ ' "libnacl-${pkgver}/libnacl/__init__.py"
+ cp -r libnacl-$pkgver{,-py2}
+}