From 763047f22f430b70ea0d14e553193205fe32c072 Mon Sep 17 00:00:00 2001 From: Piraty Date: Wed, 26 Aug 2020 16:47:47 +0200 Subject: [PATCH] python-six: update to 1.15.0. --- srcpkgs/python-six/template | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python-six/template b/srcpkgs/python-six/template index bc47a16d28d..7fde8bc856b 100644 --- a/srcpkgs/python-six/template +++ b/srcpkgs/python-six/template @@ -1,24 +1,30 @@ # Template file for 'python-six' pkgname=python-six -version=1.14.0 +version=1.15.0 revision=1 archs=noarch wrksrc="six-${version}" build_style=python-module hostmakedepends="python-setuptools python3-setuptools" depends="python" +checkdepends="python-pytest python3-pytest" short_desc="Python 2 and 3 compatibility utilities (Python2)" maintainer="Alessio Sergi " license="MIT" homepage="https://github.com/benjaminp/six" changelog="https://raw.githubusercontent.com/benjaminp/six/master/CHANGES" distfiles="${PYPI_SITE}/s/six/six-${version}.tar.gz" -checksum=236bdbdce46e6e6a3d61a337c0f8b763ca1e8717c03b369e87a7ec7ce1319c0a +checksum=30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259 post_install() { vlicense LICENSE } +do_check() { + python -m pytest + python3 -m pytest +} + python3-six_package() { archs=noarch depends="python3"