[arch-commits] Commit in python2-bcrypt/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Aug 17 18:10:07 UTC 2020


    Date: Monday, August 17, 2020 @ 18:10:06
  Author: felixonmars
Revision: 682985

archrelease: copy trunk to community-x86_64

Added:
  python2-bcrypt/repos/community-x86_64/
  python2-bcrypt/repos/community-x86_64/PKGBUILD
    (from rev 682984, python2-bcrypt/trunk/PKGBUILD)

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

Copied: python2-bcrypt/repos/community-x86_64/PKGBUILD (from rev 682984, python2-bcrypt/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-08-17 18:10:06 UTC (rev 682985)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Lex Black <autumn-wind at web dot de>
+# Contributor: Igor Nemilentsev <trezorg at gmail.com>
+# Contributor: Alexander Diana <alexander at rouk.org>
+
+pkgname=python2-bcrypt
+pkgver=3.1.7
+pkgrel=4
+pkgdesc="Modern password hashing for your software and your servers"
+arch=('x86_64')
+url="https://github.com/pyca/bcrypt"
+license=('Apache')
+depends=('python2-cffi' 'python2-six')
+makedepends=('python2-setuptools')
+checkdepends=('python2-pytest')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pyca/bcrypt/archive/$pkgver.tar.gz")
+sha512sums=('bfe487ac43aa5081a16c7f67787c2aec777a9c42f3f0f64d4dd238e6cf135e248e806a675ecdc5240066e2b5a31773f9c5dd939479e96ec25357e27bced01409')
+
+build() {
+  cd bcrypt-$pkgver
+  python2 setup.py build
+}
+
+check() {
+  cd bcrypt-$pkgver
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7" pytest2
+}
+
+package() {
+  cd bcrypt-$pkgver
+  python2 setup.py install --prefix=/usr --root="$pkgdir"
+}



More information about the arch-commits mailing list