summaryrefslogtreecommitdiff
path: root/user/py3-bcrypt/APKBUILD
blob: 852f2275b4a7aefd7de36444fb126560c54c7229 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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"