python-tempora: update to 1.14.1.

This commit is contained in:
maxice8 2019-04-12 05:03:03 -03:00 committed by maxice8
parent 65161a1fa0
commit aee7ee661a
1 changed files with 6 additions and 5 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'python-tempora'
pkgname=python-tempora
version=1.14
version=1.14.1
revision=1
archs=noarch
wrksrc="tempora-${version}"
@ -13,14 +13,15 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/jaraco/tempora"
distfiles="${PYPI_SITE}/t/tempora/tempora-${version}.tar.gz"
checksum=4951da790bd369f718dbe2287adbdc289dc2575a09278e77fad6131bcfe93097
checksum=cb60b1d2b1664104e307f8e5269d7f4acdb077c82e35cd57246ae14a3427d2d6
alternatives="tempora:calc-prorate:/usr/bin/calc-prorate2"
pre_build() {
sed -i setup.py \
-e '/setuptools_scm/d' \
-e "s|use_scm_version=True|version='${version}'|"
vsed -i setup.py \
-e '/setuptools_scm/d' \
-e "s|use_scm_version=True|version='${version}'|"
}
post_install() {
vlicense LICENSE
}