[arch-commits] Commit in python-libnacl/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Oct 25 07:22:51 UTC 2017
Date: Wednesday, October 25, 2017 @ 07:22:50
Author: felixonmars
Revision: 264183
archrelease: copy trunk to community-any
Added:
python-libnacl/repos/community-any/PKGBUILD
(from rev 264182, python-libnacl/trunk/PKGBUILD)
Deleted:
python-libnacl/repos/community-any/PKGBUILD
----------+
PKGBUILD | 102 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 51 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-10-25 07:22:23 UTC (rev 264182)
+++ PKGBUILD 2017-10-25 07:22:50 UTC (rev 264183)
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-# Contributor: Thomas S Hatch <thatch45 at gmail.com>
-
-pkgbase=python-libnacl
-pkgname=('python-libnacl' 'python2-libnacl')
-pkgver=1.6.0
-pkgrel=1
-pkgdesc='A simple ctypes based python binding to libsodium'
-arch=('any')
-url='http://libnacl.readthedocs.org'
-license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools' 'libsodium')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/saltstack/libnacl/archive/v$pkgver.tar.gz")
-sha512sums=('6f5202ca50bf30526bc51e2c528fe86aa412eff4b912d0b09da7f019de2929d2be2a9a8f80340849cf77b3593eae4fa96f2c0920b5201c5786f5009ad5f32c34')
-
-prepare() {
- cp -r libnacl-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/libnacl-$pkgver
- python setup.py build
-
- cd "$srcdir"/libnacl-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/libnacl-$pkgver
- python -m unittest discover --start-directory tests -v
-
- cd "$srcdir"/libnacl-$pkgver-py2
- python2 -m unittest discover --start-directory tests -v
-}
-
-package_python-libnacl() {
- depends=('python' 'libsodium')
-
- cd libnacl-$pkgver
- python3 setup.py install --root="$pkgdir" -O1
-}
-
-package_python2-libnacl() {
- depends=('python2' 'libsodium')
-
- cd libnacl-$pkgver-py2
- python2 setup.py install --root="$pkgdir" -O1
-}
-
Copied: python-libnacl/repos/community-any/PKGBUILD (from rev 264182, python-libnacl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-10-25 07:22:50 UTC (rev 264183)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Thomas S Hatch <thatch45 at gmail.com>
+
+pkgbase=python-libnacl
+pkgname=('python-libnacl' 'python2-libnacl')
+pkgver=1.6.1
+pkgrel=1
+pkgdesc='A simple ctypes based python binding to libsodium'
+arch=('any')
+url='http://libnacl.readthedocs.org'
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'libsodium')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/saltstack/libnacl/archive/v$pkgver.tar.gz")
+sha512sums=('90fd9302cdfbe84acfc7dff0ac95eeb05fd1bb346cd8b220613174d5d1ae5f627be06b4d588fd4a939c49a119ca557d68a06d3cbe1c0d409a253fdca96d944ac')
+
+prepare() {
+ cp -r libnacl-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/libnacl-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/libnacl-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/libnacl-$pkgver
+ python -m unittest discover --start-directory tests -v
+
+ cd "$srcdir"/libnacl-$pkgver-py2
+ python2 -m unittest discover --start-directory tests -v
+}
+
+package_python-libnacl() {
+ depends=('python' 'libsodium')
+
+ cd libnacl-$pkgver
+ python3 setup.py install --root="$pkgdir" -O1
+}
+
+package_python2-libnacl() {
+ depends=('python2' 'libsodium')
+
+ cd libnacl-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" -O1
+}
+
More information about the arch-commits
mailing list