From cc540da03d1bec88c4912242228347237628e127 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Thu, 20 Sep 2018 23:23:00 -0300 Subject: [PATCH] python-natsort: update to 5.4.1. --- srcpkgs/python-natsort/template | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python-natsort/template b/srcpkgs/python-natsort/template index 095793764a7..1b7115734d8 100644 --- a/srcpkgs/python-natsort/template +++ b/srcpkgs/python-natsort/template @@ -1,6 +1,6 @@ # Template file for 'python-natsort' pkgname=python-natsort -version=5.4.0 +version=5.4.1 revision=1 noarch=yes wrksrc="natsort-${version}" @@ -8,12 +8,17 @@ build_style=python-module pycompile_module="natsort" hostmakedepends="python-setuptools python3-setuptools" depends="python" +checkdepends="python3-pytest python3-hypothesis" short_desc="Simple yet flexible natural sorting in Python" maintainer="Michal Koutenský " license="MIT" homepage="https://pypi.org/project/natsort/" distfiles="${PYPI_SITE}/n/natsort/natsort-${version}.tar.gz" -checksum=9130c8954f9437a0401d4e451b4b90a874b51ce47d91ede0f2cce4db762717f9 +checksum=ae73b005135dc152e7b282b2d4cf19380d8cab4c4026461ee9f37bf3aa12e344 + +do_check() { + python3 -m pytest +} post_install() { vlicense LICENSE