diff --git a/srcpkgs/python-gnupg/template b/srcpkgs/python-gnupg/template index 706b7584c8e..8e30b841f96 100644 --- a/srcpkgs/python-gnupg/template +++ b/srcpkgs/python-gnupg/template @@ -1,7 +1,7 @@ # Template file for 'python-gnupg' pkgname=python-gnupg version=0.4.3 -revision=1 +revision=2 noarch=yes build_style=python-module hostmakedepends="python-setuptools python3-setuptools" @@ -9,11 +9,15 @@ depends="python gnupg" pycompile_module="gnupg.py" short_desc="Python2 wrapper for GnuPG" maintainer="Lon Willett " -license="GPL-3.0-or-later" +license="BSD-3-Clause" homepage="https://bitbucket.org/vinay.sajip/python-gnupg" distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz" checksum=2d158dfc6b54927752b945ebe57e6a0c45da27747fa3b9ae66eccc0d2147ac0d +post_install() { + vlicense LICENSE.txt +} + python3-gnupg_package() { depends="python3 gnupg" short_desc="${short_desc/Python2/Python3}" @@ -21,5 +25,6 @@ python3-gnupg_package() { noarch=yes pkg_install() { vmove usr/lib/python3* + vlicense LICENSE.txt } }