[arch-commits] Commit in python-fastpbkdf2/repos (4 files)

Felix Yan felixonmars at archlinux.org
Tue Feb 14 06:18:27 UTC 2017


    Date: Tuesday, February 14, 2017 @ 06:18:26
  Author: felixonmars
Revision: 212272

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  python-fastpbkdf2/repos/community-staging-i686/
  python-fastpbkdf2/repos/community-staging-i686/PKGBUILD
    (from rev 212271, python-fastpbkdf2/trunk/PKGBUILD)
  python-fastpbkdf2/repos/community-staging-x86_64/
  python-fastpbkdf2/repos/community-staging-x86_64/PKGBUILD
    (from rev 212271, python-fastpbkdf2/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   50 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   50 ++++++++++++++++++++++++++++++++++++
 2 files changed, 100 insertions(+)

Copied: python-fastpbkdf2/repos/community-staging-i686/PKGBUILD (from rev 212271, python-fastpbkdf2/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-02-14 06:18:26 UTC (rev 212272)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de>
+
+pkgbase=python-fastpbkdf2
+pkgname=(python-fastpbkdf2 python2-fastpbkdf2)
+pkgver=0.2
+pkgrel=2
+pkgdesc="A faster implementation of PBKDF2"
+arch=('i686' 'x86_64')
+license=('Apache')
+url="https://github.com/Ayrx/python-fastpbkdf2"
+makedepends=('python-setuptools' 'python2-setuptools' 'python-cffi' 'python2-cffi' 'git')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner') 
+source=("git+https://github.com/Ayrx/python-fastpbkdf2.git#tag=v$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+  cp -a python-fastpbkdf2{,-py2}
+}
+
+build() {
+  cd "$srcdir"/python-fastpbkdf2
+  python setup.py build
+
+  cd "$srcdir"/python-fastpbkdf2-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/python-fastpbkdf2
+  python setup.py ptr
+
+  cd "$srcdir"/python-fastpbkdf2-py2
+  python2 setup.py ptr
+}
+
+package_python-fastpbkdf2() {
+  depends=('python-cffi' 'python-six')
+
+  cd python-fastpbkdf2
+  python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python2-fastpbkdf2() {
+  depends=('python2-cffi' 'python2-six')
+
+  cd python-fastpbkdf2-py2
+  python2 setup.py install --root="$pkgdir/" --optimize=1
+}

Copied: python-fastpbkdf2/repos/community-staging-x86_64/PKGBUILD (from rev 212271, python-fastpbkdf2/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-02-14 06:18:26 UTC (rev 212272)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de>
+
+pkgbase=python-fastpbkdf2
+pkgname=(python-fastpbkdf2 python2-fastpbkdf2)
+pkgver=0.2
+pkgrel=2
+pkgdesc="A faster implementation of PBKDF2"
+arch=('i686' 'x86_64')
+license=('Apache')
+url="https://github.com/Ayrx/python-fastpbkdf2"
+makedepends=('python-setuptools' 'python2-setuptools' 'python-cffi' 'python2-cffi' 'git')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner') 
+source=("git+https://github.com/Ayrx/python-fastpbkdf2.git#tag=v$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+  cp -a python-fastpbkdf2{,-py2}
+}
+
+build() {
+  cd "$srcdir"/python-fastpbkdf2
+  python setup.py build
+
+  cd "$srcdir"/python-fastpbkdf2-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/python-fastpbkdf2
+  python setup.py ptr
+
+  cd "$srcdir"/python-fastpbkdf2-py2
+  python2 setup.py ptr
+}
+
+package_python-fastpbkdf2() {
+  depends=('python-cffi' 'python-six')
+
+  cd python-fastpbkdf2
+  python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python2-fastpbkdf2() {
+  depends=('python2-cffi' 'python2-six')
+
+  cd python-fastpbkdf2-py2
+  python2 setup.py install --root="$pkgdir/" --optimize=1
+}



More information about the arch-commits mailing list