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

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 21:13:09 UTC 2021


    Date: Tuesday, November 30, 2021 @ 21:13:09
  Author: felixonmars
Revision: 1058870

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 1058867, python-bcrypt/trunk/PKGBUILD)

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

Copied: python-bcrypt/repos/community-staging-x86_64/PKGBUILD (from rev 1058867, python-bcrypt/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-11-30 21:13:09 UTC (rev 1058870)
@@ -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=4
+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.10" pytest
+}
+
+package() {
+  cd bcrypt-$pkgver
+  python setup.py install --prefix=/usr --root="$pkgdir"
+}



More information about the arch-commits mailing list