diff --git a/srcpkgs/python3-isodate/template b/srcpkgs/python3-isodate/template index 244db83f22f..0f88660f733 100644 --- a/srcpkgs/python3-isodate/template +++ b/srcpkgs/python3-isodate/template @@ -1,22 +1,18 @@ # Template file for 'python3-isodate' pkgname=python3-isodate -version=0.6.1 -revision=4 -build_style=python3-module -hostmakedepends="python3-setuptools" -depends="python3-six" -checkdepends="${depends}" +version=0.7.2 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-setuptools_scm" +depends="python3" +checkdepends="python3-pytest" short_desc="ISO 8601 date/time/duration parser and formatter (Python3)" maintainer="Orphaned " license="BSD-3-Clause" homepage="https://github.com/gweis/isodate" distfiles="${PYPI_SITE}/i/isodate/isodate-${version}.tar.gz" -checksum=48c5881de7e8b0a0d648cb024c8062dc84e7b840ed81e864c7614fd3c127bde9 +checksum=4cd1aa0f43ca76f4a6c6c0292a85f40b35ec2e43e315b59f06e6d32171a953e6 post_install() { - # licence is in a separate file at HEAD of master, but not released - sed -n '/Copyright/,/CONTRACT/p' src/isodate/__init__.py >LICENSE vlicense LICENSE - # remove tests from installed package - rm -r ${DESTDIR}/${py3_sitelib}/${pkgname#*-}/tests }