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

Evangelos Foutras foutrelis at gemini.archlinux.org
Tue Nov 30 21:40:07 UTC 2021


    Date: Tuesday, November 30, 2021 @ 21:40:06
  Author: foutrelis
Revision: 1058919

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 1058918, python-pynacl/trunk/PKGBUILD)

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

Copied: python-pynacl/repos/community-staging-x86_64/PKGBUILD (from rev 1058918, python-pynacl/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-11-30 21:40:06 UTC (rev 1058919)
@@ -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=4
+
+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' 'python-wheel')
+
+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