From 54272bff68de9685e24ed98aa08253d19d375cb3 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Sun, 16 Jul 2017 15:43:16 +0000 Subject: [PATCH] python-itsdangerous: fix indent lints, add license --- srcpkgs/python-itsdangerous/template | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/srcpkgs/python-itsdangerous/template b/srcpkgs/python-itsdangerous/template index 5b4d67e6e0..3858663fef 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