From 4fab3c2f985f367e8d4609c0228062f0d1e204e5 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sun, 27 Jan 2019 13:06:52 -0200 Subject: [PATCH] python-pyasn1-modules: update to 0.2.4. --- srcpkgs/python-pyasn1-modules/template | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python-pyasn1-modules/template b/srcpkgs/python-pyasn1-modules/template index 0801b04cafd..8ec9365a58e 100644 --- a/srcpkgs/python-pyasn1-modules/template +++ b/srcpkgs/python-pyasn1-modules/template @@ -1,6 +1,6 @@ # Template file for 'python-pyasn1-modules' pkgname=python-pyasn1-modules -version=0.2.3 +version=0.2.4 revision=1 noarch=yes wrksrc="${pkgname#*-}-${version}" @@ -8,12 +8,18 @@ build_style=python-module pycompile_module="pyasn1_modules" hostmakedepends="python-setuptools python3-setuptools" depends="python-pyasn1" +checkdepends="python-pyasn1 python3-pyasn1" short_desc="Collection of ASN.1-based protocols modules (Python2)" maintainer="Peter Bui " license="BSD-2-Clause" homepage="https://github.com/etingof/pyasn1-modules" distfiles="${PYPI_SITE}/p/pyasn1-modules/pyasn1-modules-${version}.tar.gz" -checksum=d14fcb29dabecba3d7b360bf72327c26c385248a5d603cf6be5f566ce999b261 +checksum=a52090e8c5841ebbf08ae455146792d9ef3e8445b21055d3a3b7ed9c712b7c7c + +do_check() { + python setup.py test + python3 setup.py test +} post_install() { vlicense LICENSE.txt