mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-10 20:00:51 +00:00
- Planned here, and separated into another PR for easier review and source control: https://github.com/termux/termux-packages/pull/23652#discussion_r2206041304 %ci:no-build
23 lines
803 B
Bash
23 lines
803 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="5.0.0"
|
|
TERMUX_PKG_REVISION=1
|
|
TERMUX_PKG_SRCURL=https://pypi.io/packages/source/b/bcrypt/bcrypt-${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=f748f7c2d6fd375cc93d3fba7ef4a9e3a092421b8dbf34d8d4dc06be9492dfdd
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_DEPENDS="python, python-pip"
|
|
TERMUX_PKG_BUILD_DEPENDS="openssl"
|
|
TERMUX_PKG_PYTHON_COMMON_BUILD_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
|
|
}
|