diff --git a/srcpkgs/python-itsdangerous/template b/srcpkgs/python-itsdangerous/template index 5b4d67e6e03..3858663fef1 100644 --- a/srcpkgs/python-itsdangerous/template +++ b/srcpkgs/python-itsdangerous/template @@ -16,15 +16,20 @@ license="BSD" distfiles="${PYPI_SITE}/i/itsdangerous/itsdangerous-${version}.tar.gz" checksum=cbb3fcf8d3e33df861709ecaf89d9e6629cff0a217bc2848f1b41cd30d360519 +post_install() { + vlicense LICENSE +} + python3-itsdangerous_package() { - noarch=yes - depends="python3" - pycompile_module="itsdangerous" + noarch=yes + depends="python3" + pycompile_module="itsdangerous" replaces="python3.4-itsdangerous>=0" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - } + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + vlicense LICENSE + } } python3.4-itsdangerous_package() { noarch=yes