From 89bf2ad78f935513ec70d9a2d4e681c15854bc25 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Tue, 14 Mar 2017 14:04:52 +0100 Subject: [PATCH] python-lz4: update to 0.9.0 --- srcpkgs/python-lz4/template | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/srcpkgs/python-lz4/template b/srcpkgs/python-lz4/template index 6297ddf044f..7ce7a6c98b5 100644 --- a/srcpkgs/python-lz4/template +++ b/srcpkgs/python-lz4/template @@ -1,7 +1,7 @@ # Template file for 'python-lz4' pkgname=python-lz4 -version=0.8.2 -revision=3 +version=0.9.0 +revision=1 wrksrc=lz4-${version} build_style=python-module hostmakedepends="pkg-config python-setuptools python3-setuptools" @@ -11,13 +11,16 @@ maintainer="Oliver Kiddle " license="3-clause-BSD" homepage="https://github.com/python-lz4/python-lz4" distfiles="${PYPI_SITE}/l/lz4/lz4-${version}.tar.gz" -checksum=6bf49061d73d69c453e892ace4586b99ccffc7de558f921d18b9418235692ac7 +checksum=93c2b83aa9c74c024062823f96515488c510fa5a4b3826579d0916049d28c205 pre_build() { - sed '/nose/ d' -i setup.py - sed -n 2,27p src/lz4.c > LICENSE + sed -i setup.py \ + -e '/setup_requires/d' \ + -e '/use_scm_version/,+2d' \ + -e "/name=/ a\ + version='${version}'," + sed -n 2,29p lz4/_version.c >LICENSE } - post_install() { vlicense LICENSE }