Date: Friday, April 7, 2023 @ 10:30:35
  Author: felixonmars
Revision: 1440981

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

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

Copied: python-bcrypt/repos/community-staging-x86_64/PKGBUILD (from rev 
1440980, python-bcrypt/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2023-04-07 10:30:35 UTC (rev 1440981)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Lex Black <autumn-wind at web dot de>
+# Contributor: Igor Nemilentsev <[email protected]>
+# Contributor: Alexander Diana <[email protected]>
+
+pkgname=python-bcrypt
+pkgver=4.0.1
+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')
+makedepends=('python-setuptools-rust')
+checkdepends=('python-pytest')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pyca/bcrypt/archive/$pkgver.tar.gz";)
+sha512sums=('eb7b1d67a2d60e82e2d2e4dcb12d7808be910f9b7aefab714a22dedbffc3722182875fdcf3c8c650c0bb7c1122e9e8bead92f18bc660043b017a14957467e2a9')
+
+build() {
+  cd bcrypt-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd bcrypt-$pkgver
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-311" pytest
+}
+
+package() {
+  cd bcrypt-$pkgver
+  python setup.py install --prefix=/usr --root="$pkgdir"
+}

Reply via email to