24 lines
732 B
Bash
24 lines
732 B
Bash
# Template file for 'python-subprocess32'
|
|
pkgname=python-subprocess32
|
|
version=3.5.4
|
|
revision=1
|
|
wrksrc="subprocess32-${version}"
|
|
build_style=python2-module
|
|
pycompile_module="subprocess32.py"
|
|
hostmakedepends="python-setuptools"
|
|
makedepends="python-devel"
|
|
short_desc="Backport of subprocess module from Python 3.x"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
homepage="https://github.com/google/python-subprocess32"
|
|
license="Python-2.0"
|
|
distfiles="${PYPI_SITE}/s/subprocess32/subprocess32-${version}.tar.gz"
|
|
checksum=eb2937c80497978d181efa1b839ec2d9622cf9600a039a79d0e108d1f9aec79d
|
|
|
|
pre_build() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
sed -i 's/^cross_compiling=no/cross_compiling=yes/' configure
|
|
fi
|
|
}
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|