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

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 9 18:17:18 UTC 2020


    Date: Monday, November 9, 2020 @ 18:17:17
  Author: foutrelis
Revision: 747930

archrelease: copy trunk to community-staging-x86_64

Added:
  python-bcrypt/repos/community-staging-x86_64/
  python-bcrypt/repos/community-staging-x86_64/PKGBUILD
    (from rev 747929, python-bcrypt/trunk/PKGBUILD)

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

Copied: python-bcrypt/repos/community-staging-x86_64/PKGBUILD (from rev 747929, python-bcrypt/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-11-09 18:17:17 UTC (rev 747930)
@@ -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=python-bcrypt
+pkgver=3.2.0
+pkgrel=2
+pkgdesc="Modern password hashing for your software and your servers"
+arch=('x86_64')
+url="https://github.com/pyca/bcrypt"
+license=('Apache')
+depends=('python-cffi' 'python-six')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pyca/bcrypt/archive/$pkgver.tar.gz")
+sha512sums=('7dcca87acfc5562cf735a440dc236a4af79a2a033e63b5ca9203129cbcb90d6f3f2c127c2a73f2b254f2316f9f6e91a23cddd3227411c02d63f5f44e806556aa')
+
+build() {
+  cd bcrypt-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd bcrypt-$pkgver
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.9" pytest
+}
+
+package() {
+  cd bcrypt-$pkgver
+  python setup.py install --prefix=/usr --root="$pkgdir"
+}



More information about the arch-commits mailing list