python-subprocess32: update to 3.5.2

This commit is contained in:
Alessio Sergi 2018-06-09 18:58:58 +02:00
parent 1cb01405e1
commit 3f85fa2190
1 changed files with 10 additions and 5 deletions

View File

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