From 3f85fa2190db53642a3ac89cfddb62a78bc08a1b Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sat, 9 Jun 2018 18:58:58 +0200 Subject: [PATCH] python-subprocess32: update to 3.5.2 --- srcpkgs/python-subprocess32/template | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/srcpkgs/python-subprocess32/template b/srcpkgs/python-subprocess32/template index ca30d3ef84b..ea7195e8efb 100644 --- a/srcpkgs/python-subprocess32/template +++ b/srcpkgs/python-subprocess32/template @@ -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 " 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 }