Files
termux-packages/packages/python-pycryptodomex/build.sh
termux-pacman-bot 02811a5f6d bump(main/python-pycryptodomex): 3.22.0
This commit has been automatically submitted by Github Actions.
2025-03-17 22:37:25 +00:00

25 lines
854 B
Bash

TERMUX_PKG_HOMEPAGE=https://www.pycryptodome.org/
TERMUX_PKG_DESCRIPTION="A self-contained Python package of low-level cryptographic primitives"
TERMUX_PKG_LICENSE="BSD 2-Clause, Public Domain"
TERMUX_PKG_LICENSE_FILE="LICENSE.rst"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="3.22.0"
TERMUX_PKG_SRCURL="https://github.com/Legrandin/pycryptodome/archive/refs/tags/v${TERMUX_PKG_VERSION}x.tar.gz"
TERMUX_PKG_SHA256=8c49ffdb694dd35f526c9eadda243d8307065582578bc4bd34aca13218e9500d
TERMUX_PKG_DEPENDS="python, python-pip"
TERMUX_PKG_PYTHON_COMMON_DEPS="wheel"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_AUTO_UPDATE=true
termux_step_pre_configure() {
LDFLAGS+=" -Wl,--no-as-needed -lpython${TERMUX_PYTHON_VERSION}"
}
termux_step_make() {
:
}
termux_step_make_install() {
pip install . --prefix="$TERMUX_PREFIX" -vv --no-build-isolation --no-deps
}