[arch-commits] Commit in (4 files)
Felix Yan
felixonmars at archlinux.org
Mon Aug 17 18:09:55 UTC 2020
Date: Monday, August 17, 2020 @ 18:09:55
Author: felixonmars
Revision: 682984
upgpkg: python2-bcrypt 3.1.7-4 (split py2)
Added:
python2-bcrypt/
python2-bcrypt/repos/
python2-bcrypt/trunk/
python2-bcrypt/trunk/PKGBUILD
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Added: python2-bcrypt/trunk/PKGBUILD
===================================================================
--- python2-bcrypt/trunk/PKGBUILD (rev 0)
+++ python2-bcrypt/trunk/PKGBUILD 2020-08-17 18:09:55 UTC (rev 682984)
@@ -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