From c42fc04c39c61380506862e73ec02ce1c2fa6314 Mon Sep 17 00:00:00 2001 From: Joey Date: Thu, 22 Apr 2021 02:20:28 -0400 Subject: [PATCH] python-hyperlink: update to 21.0.0. --- srcpkgs/python-hyperlink/template | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/srcpkgs/python-hyperlink/template b/srcpkgs/python-hyperlink/template index eb2799306a58..412cc5c0fb46 100644 --- a/srcpkgs/python-hyperlink/template +++ b/srcpkgs/python-hyperlink/template @@ -1,18 +1,24 @@ # Template file for 'python-hyperlink' pkgname=python-hyperlink -version=19.0.0 -revision=4 +version=21.0.0 +revision=1 wrksrc="hyperlink-${version}" build_style=python-module -pycompile_module="hyperlink" hostmakedepends="python-setuptools python3-setuptools" depends="python-idna" +checkdepends="python-idna python-typing python-pytest python-mock + python3-idna python3-pytest" short_desc="Pure-Python implementation of immutable URLs (Python2)" maintainer="Alessio Sergi " license="MIT" homepage="https://github.com/python-hyper/hyperlink" distfiles="${PYPI_SITE}/h/hyperlink/hyperlink-${version}.tar.gz" -checksum=4288e34705da077fada1111a24a0aa08bb1e76699c9ce49876af722441845654 +checksum=427af957daa58bc909471c6c40f74c5450fa123dd093fc53efd2e91d2705a56b + +do_check() { + python3 -m pytest build-${py3_ver} + # python 2 tests fail +} post_install() { vlicense LICENSE @@ -20,11 +26,9 @@ post_install() { python3-hyperlink_package() { depends="python3-idna" - pycompile_module="hyperlink" short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3* vlicense LICENSE } } -