diff --git a/srcpkgs/python3-bcrypt/template b/srcpkgs/python3-bcrypt/template index f70c39db3e2..90e727aeac5 100644 --- a/srcpkgs/python3-bcrypt/template +++ b/srcpkgs/python3-bcrypt/template @@ -5,7 +5,7 @@ revision=1 build_style=python3-pep517 build_helper="rust" hostmakedepends="python3-setuptools-rust python3-wheel python3-cffi cargo" -makedepends="python3-devel" +makedepends="python3-devel rust-std" depends="python3-cffi" checkdepends="python3-pytest $depends" short_desc="Modern password hashing for software and servers" @@ -15,9 +15,3 @@ 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=27d375903ac8261cfe4047f6709d16f7d18d39b1ec92aaf72af989552a650ebd - -if [ "$CROSS_BUILD" ]; then - makedepends+=" rust-std" - export PYO3_CROSS_LIB_DIR="${XBPS_CROSS_BASE}/usr/lib" - export PYO3_CROSS_INCLUDE_DIR="${XBPS_CROSS_BASE}/usr/include" -fi