python-service_identity: add license
This commit is contained in:
parent
09c8bf66d3
commit
3292248455
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python-service_identity'
|
# Template file for 'python-service_identity'
|
||||||
pkgname=python-service_identity
|
pkgname=python-service_identity
|
||||||
version=16.0.0
|
version=16.0.0
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="service_identity-${version}"
|
wrksrc="service_identity-${version}"
|
||||||
build_style=python-module
|
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"
|
distfiles="${PYPI_SITE}/s/service_identity/service_identity-${version}.tar.gz"
|
||||||
checksum=0630e222f59f91f3db498be46b1d879ff220955d7bbad719a5cb9ad14e3c3036
|
checksum=0630e222f59f91f3db498be46b1d879ff220955d7bbad719a5cb9ad14e3c3036
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
python3.4-service_identity_package() {
|
python3.4-service_identity_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3.4-attrs python3.4-idna python3.4-pyasn1-modules"
|
depends="python3.4-attrs python3.4-idna python3.4-pyasn1-modules"
|
||||||
|
@ -23,6 +27,7 @@ python3.4-service_identity_package() {
|
||||||
pycompile_module="service_identity"
|
pycompile_module="service_identity"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
vlicense LICENSE
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3.4
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue