From a19ffc40f2aadee8462b61fa7c6cf91fefefe751 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sun, 7 May 2023 16:32:38 +0200 Subject: [PATCH] python3-versioningit: update to 2.2.0. --- srcpkgs/python3-versioningit/template | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python3-versioningit/template b/srcpkgs/python3-versioningit/template index 7c4ab452b8c..5fc38e4e637 100644 --- a/srcpkgs/python3-versioningit/template +++ b/srcpkgs/python3-versioningit/template @@ -1,17 +1,25 @@ # Template file for 'python3-versioningit' pkgname=python3-versioningit -version=2.1.0 +version=2.2.0 revision=1 build_style=python3-pep517 hostmakedepends="python3-wheel" -depends="python3-packaging python3-setuptools python3-tomli" +depends="python3-packaging" +checkdepends="python3-pytest python3-pydantic python3-pytest-mock" short_desc="Versioning It with your Version In Git" maintainer="Michal Vasilek " license="MIT" homepage="https://github.com/jwodder/versioningit" changelog="https://raw.githubusercontent.com/jwodder/versioningit/master/CHANGELOG.md" distfiles="https://github.com/jwodder/versioningit/archive/refs/tags/v$version.tar.gz" -checksum=6379b15a701836a00654a4c3ff82e72f591461289d2718789c1be9af67be7a2f +checksum=1e7d80cdeee2dbcebaf61d25205c9faac268a1926ff43fc5c7236f45639c3782 +make_check=no # FIXME + +pre_check() { + vsed -e '/ --cov/d' \ + -e '/ --no-cov-on-fail/d' \ + -i tox.ini +} post_install() { vlicense LICENSE