[arch-commits] Commit in python-pynacl/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 9 18:15:32 UTC 2020
Date: Monday, November 9, 2020 @ 18:15:31
Author: foutrelis
Revision: 747904
archrelease: copy trunk to community-staging-x86_64
Added:
python-pynacl/repos/community-staging-x86_64/
python-pynacl/repos/community-staging-x86_64/PKGBUILD
(from rev 747903, python-pynacl/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: python-pynacl/repos/community-staging-x86_64/PKGBUILD (from rev 747903, python-pynacl/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-11-09 18:15:31 UTC (rev 747904)
@@ -0,0 +1,34 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Ivan Shapovalov <intelfx at intelfx.name>
+
+pkgname=python-pynacl
+pkgver=1.4.0
+pkgrel=2
+
+pkgdesc='Python binding to the Networking and Cryptography (NaCl) library'
+url='https://pypi.python.org/pypi/PyNaCl'
+arch=('x86_64')
+license=('Apache')
+
+depends=('libsodium' 'python' 'python-six' 'python-cffi')
+makedepends=('python-setuptools' 'python-pycparser')
+
+source=("https://pypi.org/packages/source/P/PyNaCl/PyNaCl-$pkgver.tar.gz")
+
+sha512sums=('355b974010f94d551f631a2dd5ae792da3d4d0abf8ed70b6decc78aad24a9f965636988aebd14947b137ea14cdcbb73531775f08b1b4d5a9d72b5df3dba0b022')
+
+build() {
+ export SODIUM_INSTALL=system
+
+ cd "$srcdir"/PyNaCl-$pkgver
+ python setup.py build
+}
+
+package() {
+ export SODIUM_INSTALL=system
+
+ cd PyNaCl-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+# vim: set ts=4 sw=4 tw=0 ft=PKGBUILD :
More information about the arch-commits
mailing list