diff --git a/srcpkgs/python-decorator/template b/srcpkgs/python-decorator/template index d52376ea82b..223cb7d69fa 100644 --- a/srcpkgs/python-decorator/template +++ b/srcpkgs/python-decorator/template @@ -1,6 +1,6 @@ # Template file for 'python-decorator' pkgname=python-decorator -version=4.0.2 +version=4.0.4 revision=1 noarch=yes wrksrc="decorator-${version}" @@ -12,9 +12,13 @@ pycompile_module="decorator.py" short_desc="Python2 decorator module" maintainer="Juan RP " homepage="https://github.com/micheles/decorator" -license="BSD" +license="2-clause-BSD" distfiles="${PYPI_SITE}/d/decorator/decorator-${version}.tar.gz" -checksum=1a089279d5de2471c47624d4463f2e5b3fc6a2cf65045c39bf714fc461a25206 +checksum=5ad0c10fad31648cffa15ee0640eee04bbb1b843a02de26ad3700740768cc3e1 + +post_install() { + vlicense LICENSE.txt LICENSE +} python3.4-decorator_package() { noarch=yes @@ -24,5 +28,6 @@ python3.4-decorator_package() { short_desc="${short_desc/Python2/Python3.4}" pkg_install() { vmove usr/lib/python3.4 + vlicense LICENSE.txt LICENSE } }