From 3292248455007a5ca25c52d1d123d865039d5c9b Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Sun, 10 Apr 2016 20:20:26 +0200 Subject: [PATCH] python-service_identity: add license --- srcpkgs/python-service_identity/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/python-service_identity/template b/srcpkgs/python-service_identity/template index 34d5783b7ef..c9d8158e36c 100644 --- a/srcpkgs/python-service_identity/template +++ b/srcpkgs/python-service_identity/template @@ -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 } }