21 lines
704 B
Bash
21 lines
704 B
Bash
# Template file for 'python3-bcrypt'
|
|
pkgname=python3-bcrypt
|
|
version=3.2.2
|
|
revision=1
|
|
build_style=python3-pep517
|
|
hostmakedepends="python3-setuptools python3-wheel python3-cffi"
|
|
makedepends="python3-devel"
|
|
depends="python3-cffi"
|
|
checkdepends="python3-pytest $depends"
|
|
short_desc="Modern password hashing for software and servers"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="Apache-2.0"
|
|
homepage="https://github.com/pyca/bcrypt"
|
|
changelog="https://github.com/pyca/bcrypt/blob/main/README.rst#changelog"
|
|
distfiles="${PYPI_SITE}/b/bcrypt/bcrypt-${version}.tar.gz"
|
|
checksum=433c410c2177057705da2a9f2cd01dd157493b2a7ac14c8593a16b3dab6b6bfb
|
|
|
|
do_check() {
|
|
PYTHONPATH="$(cd build/lib* && pwd)" pytest
|
|
}
|