From 62ceb1caf95387d915540f1ec771126101b7ef80 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Fri, 4 Sep 2015 21:09:37 +0200 Subject: [PATCH] python-ply: update to 3.7 --- srcpkgs/python-ply/template | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/srcpkgs/python-ply/template b/srcpkgs/python-ply/template index 32f9f0653db..11efa401737 100644 --- a/srcpkgs/python-ply/template +++ b/srcpkgs/python-ply/template @@ -1,6 +1,6 @@ # Template file for 'python-ply' pkgname=python-ply -version=3.6 +version=3.7 revision=1 noarch=yes wrksrc="ply-${version}" @@ -12,9 +12,14 @@ pycompile_module="ply" short_desc="Lex and Yacc for Python2" maintainer="Alessio Sergi " homepage="http://www.dabeaz.com/ply/" -license="BSD" -distfiles="${PYPI_SITE}/p/ply/ply-${version}.tar.gz" -checksum=61367b9eb2f4b819f69ea116750305270f1df8859992c9e356d6a851f25a4b47 +license="3-clause-BSD" +distfiles="http://www.dabeaz.com/ply/ply-${version}.tar.gz" +checksum=f85fb7b44c1c9a04873e6d76fa2c2eef43f2cfd81468aa714a9c63af7ae0af80 + +post_install() { + sed -n '/Copyright/,/POSSIBILITY/p' README.md >LICENSE + vlicense LICENSE +} python3.4-ply_package() { noarch=yes @@ -24,5 +29,6 @@ python3.4-ply_package() { short_desc="${short_desc/Python2/Python3.4}" pkg_install() { vmove usr/lib/python3.4 + vlicense LICENSE } }