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

Daniel Micay thestinger at archlinux.org
Tue Nov 1 20:37:07 UTC 2016


    Date: Tuesday, November 1, 2016 @ 20:37:07
  Author: thestinger
Revision: 194251

archrelease: copy trunk to community-x86_64

Added:
  python-scrypt/repos/community-x86_64/
  python-scrypt/repos/community-x86_64/PKGBUILD
    (from rev 194250, python-scrypt/trunk/PKGBUILD)

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

Copied: python-scrypt/repos/community-x86_64/PKGBUILD (from rev 194250, python-scrypt/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2016-11-01 20:37:07 UTC (rev 194251)
@@ -0,0 +1,24 @@
+# Maintainer: Daniel Micay <danielmicay at gmail.com>
+pkgname=(python-scrypt python2-scrypt)
+pkgver=0.8.0
+pkgrel=1
+pkgdesc='Bindings for the scrypt key derivation function library'
+arch=(i686 x86_64)
+url='https://pypi.python.org/pypi/scrypt/'
+license=('BSD')
+makedepends=(python-setuptools python2-setuptools)
+options=(!emptydirs)
+source=("https://pypi.org/packages/source/s/scrypt/scrypt-$pkgver.tar.gz")
+md5sums=('0704e59cc3afb3845c27bb3827baeea9')
+
+package_python-scrypt() {
+  depends=(python)
+  cd "scrypt-$pkgver"
+  python3 setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python2-scrypt() {
+  depends=(python2)
+  cd "scrypt-$pkgver"
+  python2 setup.py install --root="$pkgdir/" --optimize=1
+}



More information about the arch-commits mailing list