diff --git a/srcpkgs/python-parse/template b/srcpkgs/python-parse/template index cd09e65e94..828389d100 100644 --- a/srcpkgs/python-parse/template +++ b/srcpkgs/python-parse/template @@ -1,6 +1,6 @@ # Template file for 'python-parse' pkgname=python-parse -version=1.8.0 +version=1.8.2 revision=1 noarch=yes wrksrc="parse-${version}" @@ -13,7 +13,12 @@ maintainer="Eivind Uggedal " license="MIT" homepage="https://github.com/r1chardj0n3s/parse" distfiles="${PYPI_SITE}/p/parse/parse-${version}.tar.gz" -checksum=8b4f28bbe7c0f24981669ea92b2ba704ee63b5346027e82be30118bb5788ff10 +checksum=8048dde3f5ca07ad7ac7350460952d83b63eaacecdac1b37f45fd74870d849d2 + +post_install() { + sed -n '/Copyright/,/SOFTWARE\./p' parse.py >LICENSE + vlicense LICENSE +} python3-parse_package() { noarch=yes @@ -23,6 +28,7 @@ python3-parse_package() { short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3* + vlicense LICENSE } } python3.4-parse_package() {