python-service_identity: add license

This commit is contained in:
Michael Gehring 2016-04-10 20:20:26 +02:00
parent 09c8bf66d3
commit 3292248455
1 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'python-service_identity'
pkgname=python-service_identity
version=16.0.0
revision=1
revision=2
noarch=yes
wrksrc="service_identity-${version}"
build_style=python-module
@ -16,6 +16,10 @@ homepage="https://service-identity.readthedocs.org/"
distfiles="${PYPI_SITE}/s/service_identity/service_identity-${version}.tar.gz"
checksum=0630e222f59f91f3db498be46b1d879ff220955d7bbad719a5cb9ad14e3c3036
post_install() {
vlicense LICENSE
}
python3.4-service_identity_package() {
noarch=yes
depends="python3.4-attrs python3.4-idna python3.4-pyasn1-modules"
@ -23,6 +27,7 @@ python3.4-service_identity_package() {
pycompile_module="service_identity"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vlicense LICENSE
vmove usr/lib/python3.4
}
}