summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-08-20 02:22:46 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-08-20 02:22:46 +0000
commit1b2316c5a8774c056099a5cb85dbafcf420259d2 (patch)
treeb338c083c374459440c2cee4ba13f31a75256ba3 /user
parent322aedebd39a7219ce6793a39e1e45c497c9bd3a (diff)
downloadpackages-1b2316c5a8774c056099a5cb85dbafcf420259d2.tar.gz
packages-1b2316c5a8774c056099a5cb85dbafcf420259d2.tar.bz2
packages-1b2316c5a8774c056099a5cb85dbafcf420259d2.tar.xz
packages-1b2316c5a8774c056099a5cb85dbafcf420259d2.zip
user/py3-bcrypt: New package
Diffstat (limited to 'user')
-rw-r--r--user/py3-bcrypt/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/user/py3-bcrypt/APKBUILD b/user/py3-bcrypt/APKBUILD
new file mode 100644
index 000000000..852f2275b
--- /dev/null
+++ b/user/py3-bcrypt/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=py3-bcrypt
+_pkgname=bcrypt
+_p="${_pkgname#?}"
+_p="${_pkgname%"$_p"}"
+pkgver=3.2.0
+pkgrel=0
+pkgdesc="bcrypt password hashing library for Python"
+url="https://pypi.org/project/bcrypt/"
+arch="all"
+license="Apache-2.0"
+depends="python3 py3-cffi"
+checkdepends="py3-six py3-pytest"
+makedepends="python3-dev"
+subpackages=""
+source="https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/bcrypt-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ python3 setup.py test
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="aa782aa6a725434e0b0737973e33e6c2bf4e82d39e8dfba0913da5d7dd051d55217adab8004c3eaf896fc3c3e145ba543da1b5162a667a3d82a4eb6b07430b80 bcrypt-3.2.0.tar.gz"