mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-12 00:10:52 +00:00
c9e5c01aee
This commit has been automatically submitted by Github Actions.
22 lines
763 B
Bash
22 lines
763 B
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/pyca/bcrypt
|
|
TERMUX_PKG_DESCRIPTION="Acceptable password hashing for your software and your servers"
|
|
TERMUX_PKG_LICENSE="Apache-2.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="4.2.1"
|
|
TERMUX_PKG_SRCURL=https://pypi.io/packages/source/b/bcrypt/bcrypt-${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=6765386e3ab87f569b276988742039baab087b2cdb01e809d74e74503c2faafe
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_DEPENDS="python"
|
|
TERMUX_PKG_BUILD_DEPENDS="openssl"
|
|
TERMUX_PKG_PYTHON_COMMON_DEPS="wheel, setuptools-rust"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
termux_step_pre_configure() {
|
|
termux_setup_rust
|
|
}
|
|
|
|
termux_step_post_configure() {
|
|
export CARGO_BUILD_TARGET=${CARGO_TARGET_NAME}
|
|
export PYO3_CROSS_LIB_DIR=$TERMUX_PREFIX/lib
|
|
}
|