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

21 lines
715 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"
2019-05-17 00:18:48 +02:00
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
2019-01-14 18:55:44 +01:00
TERMUX_PKG_VERSION=1.12.0
TERMUX_PKG_REVISION=3
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
}