From e08deef1810240d81e5f2869970c5678e27532d5 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sun, 12 Nov 2017 23:48:29 -0200 Subject: [PATCH] python-keyring: update to 10.5.0. --- srcpkgs/python-keyring/template | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python-keyring/template b/srcpkgs/python-keyring/template index 3af84e325d..a08d26d20a 100644 --- a/srcpkgs/python-keyring/template +++ b/srcpkgs/python-keyring/template @@ -1,7 +1,7 @@ # Template file for 'python-keyring' pkgname=python-keyring -version=10.4.0 -revision=2 +version=10.5.0 +revision=1 noarch=yes wrksrc="keyring-${version}" build_style=python-module @@ -13,7 +13,7 @@ maintainer="Oliver Kiddle " license="MIT" homepage="https://github.com/jaraco/keyring" distfiles="${PYPI_SITE}/k/keyring/keyring-${version}.tar.gz" -checksum=901a3f4ed0dfba473060281b58fd3b649ce70f59cb34a9cf6cb5551218283b26 +checksum=0e6129e8c5bc80da34cc1942d30daad79ed40419fcaaa538278c3b2ff235b313 alternatives="keyring:keyring:/usr/bin/keyring2" pre_build() { @@ -22,6 +22,10 @@ pre_build() { -i setup.py } +post_install() { + vlicense LICENSE +} + python3-keyring_package() { noarch=yes pycompile_module="keyring" @@ -32,6 +36,7 @@ python3-keyring_package() { pkg_install() { vmove usr/bin/keyring3 vmove usr/lib/python3* + vlicense LICENSE } } python3.4-keyring_package() {