[arch-commits] Commit in python-argon2_cffi/repos/community-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Wed Feb 27 22:12:17 UTC 2019


    Date: Wednesday, February 27, 2019 @ 22:12:13
  Author: arojas
Revision: 436904

archrelease: copy trunk to community-x86_64

Added:
  python-argon2_cffi/repos/community-x86_64/PKGBUILD
    (from rev 436903, python-argon2_cffi/trunk/PKGBUILD)
Deleted:
  python-argon2_cffi/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  100 +++++++++++++++++++++++++------------------------------------
 1 file changed, 41 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-02-27 22:11:47 UTC (rev 436903)
+++ PKGBUILD	2019-02-27 22:12:13 UTC (rev 436904)
@@ -1,59 +0,0 @@
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-
-_pkgbase=argon2_cffi
-pkgbase=python-argon2_cffi
-pkgname=('python2-argon2_cffi' 'python-argon2_cffi')
-pkgver=18.3.0
-pkgrel=2
-pkgdesc="CFFI-based Argon2 Bindings for Python"
-arch=('x86_64')
-url="https://github.com/hynek/argon2_cffi"
-license=('MIT')
-depends=(argon2 python-cffi python-six python2-cffi python2-enum34 python2-six)
-makedepends=(git python-setuptools python2-setuptools)
-_commit=f0b0d8fc4baa820fc0d5612f9384f6c95a0ed5c1  # tags/18.3.0^0
-source=("git+https://github.com/hynek/argon2_cffi#commit=$_commit"
-        "https://github.com/p-h-c/phc-winner-argon2")
-sha256sums=('SKIP'
-            'SKIP')
-
-pkgver() {
-  cd $_pkgbase
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  cd $_pkgbase
-  git submodule init
-  git config --local submodule.extras/libargon2.url "$srcdir/phc-winner-argon2"
-  git submodule update
-  cd ..
-
-  cp -a $_pkgbase{,-py2}
-}
-
-build() {
-  # Building Python2
-  cd $_pkgbase-py2
-  python2 setup.py build
-
-  # Building Python3
-  cd ../$_pkgbase
-  python3 setup.py build
-}
-
-package_python2-argon2_cffi() {
-  depends=(argon2 python2-cffi python2-enum34 python2-six)
-
-  cd $_pkgbase-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python-argon2_cffi() {
-  depends=(argon2 python-cffi python-six)
-
-  cd $_pkgbase
-  python3 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: python-argon2_cffi/repos/community-x86_64/PKGBUILD (from rev 436903, python-argon2_cffi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-02-27 22:12:13 UTC (rev 436904)
@@ -0,0 +1,41 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+_pkgname=argon2_cffi
+pkgname=python-argon2_cffi
+pkgver=19.1.0
+pkgrel=1
+pkgdesc="CFFI-based Argon2 Bindings for Python"
+arch=('x86_64')
+url="https://github.com/hynek/argon2_cffi"
+license=('MIT')
+depends=(argon2 python-cffi python-six)
+makedepends=(git python-setuptools)
+_commit=0ccdbe2af4c7139f0abbb6a03bcb9f7605b16dca  # tags/19.1.0^0
+source=("git+https://github.com/hynek/argon2_cffi#commit=$_commit"
+        "https://github.com/p-h-c/phc-winner-argon2")
+sha256sums=('SKIP'
+            'bae0cb728939d1bbb5759ddf5f4ef557c6d767ee5072761797043dcf26e06222')
+
+pkgver() {
+  cd $_pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $_pkgname
+  git submodule init
+  git config --local submodule.extras/libargon2.url "$srcdir/phc-winner-argon2"
+  git submodule update
+  cd ..
+}
+
+build() {
+  cd $_pkgname
+  python3 setup.py build
+}
+
+package() {
+  cd $_pkgname
+  python3 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list