From d4fb971d93e1545c2f8b13c505acb0f8bf4a778a Mon Sep 17 00:00:00 2001 From: maxice8 Date: Tue, 27 Mar 2018 00:30:33 -0300 Subject: [PATCH] python-peewee: update to 3.1.7. Closes: #12941 [via git-merge-pr] --- srcpkgs/python-peewee/template | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python-peewee/template b/srcpkgs/python-peewee/template index c1e14e53187..9ca323d48ec 100644 --- a/srcpkgs/python-peewee/template +++ b/srcpkgs/python-peewee/template @@ -1,6 +1,6 @@ # Template file for 'python-peewee' pkgname=python-peewee -version=3.1.5 +version=3.1.7 revision=1 noarch=yes pycompile_module="peewee" @@ -12,17 +12,20 @@ maintainer="johannes " license="MIT" homepage="https://github.com/coleifer/peewee" distfiles="https://github.com/coleifer/peewee/archive/${version}.tar.gz" -checksum=902d5643f4ee343a11bc9600bce9bc7e55d9fc16cdd3647177a65af78cafe5fc +checksum=2225f909b49bd50a86ea9a6c93ac3eb4ea7e363d349a3149b4c2be8acbea841d +alternatives="peewee:pwiz:/usr/bin/pwiz.py2" post_install() { vlicense LICENSE } python3-peewee_package() { + alternatives="peewee:pwiz:/usr/bin/pwiz.py3" noarch=yes pycompile_module="peewee" short_desc="${short_desc/Python2/Python3}" pkg_install() { + vmove usr/bin/*3 vmove usr/lib/python3* vlicense LICENSE }