termux-packages/x11-packages/python2-six/build.sh

21 lines
716 B
Bash
Raw Normal View History

TERMUX_PKG_HOMEPAGE=https://pypi.org/project/six/
2018-09-10 00:42:26 +02:00
TERMUX_PKG_DESCRIPTION="Python 2 and 3 compatibility utilities"
TERMUX_PKG_LICENSE="MIT"
2020-05-14 00:01:15 +02:00
TERMUX_PKG_MAINTAINER="Leonid Pliushch <leonid.pliushch@gmail.com>"
2019-01-14 18:55:44 +01:00
TERMUX_PKG_VERSION=1.12.0
TERMUX_PKG_REVISION=19
2018-09-10 00:42:26 +02:00
TERMUX_PKG_SRCURL=https://pypi.io/packages/source/s/six/six-${TERMUX_PKG_VERSION}.tar.gz
2019-01-14 18:55:44 +01:00
TERMUX_PKG_SHA256=d16a0141ec1a18405cd4ce8b4613101da75da0e9a7aec5bdd4fa804d0e0eba73
2018-09-10 00:42:26 +02:00
TERMUX_PKG_DEPENDS="python2"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_PLATFORM_INDEPENDENT=true
2018-09-10 00:42:26 +02:00
termux_step_make() {
return
2018-09-10 00:42:26 +02:00
}
termux_step_make_install() {
export PYTHONPATH=${TERMUX_PREFIX}/lib/python2.7/site-packages/
python2.7 setup.py install --prefix="${TERMUX_PREFIX}" --force
2018-09-10 00:42:26 +02:00
}