python-itsdangerous: fix indent lints, add license

This commit is contained in:
Michael Gehring 2017-07-16 15:43:16 +00:00
parent 38d0521fd1
commit 54272bff68
1 changed files with 12 additions and 7 deletions

View File

@ -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