python3-tempora: update to 4.0.0.
This commit is contained in:
parent
b07c1de709
commit
b413dd2f90
1 changed files with 6 additions and 11 deletions
|
@ -1,25 +1,20 @@
|
||||||
# Template file for 'python3-tempora'
|
# Template file for 'python3-tempora'
|
||||||
pkgname=python3-tempora
|
pkgname=python3-tempora
|
||||||
version=2.0.0
|
version=4.0.0
|
||||||
revision=3
|
revision=1
|
||||||
wrksrc="tempora-${version}"
|
wrksrc="tempora-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools_scm python3-toml"
|
||||||
depends="python3-setuptools python3-six python3-pytz"
|
depends="python3-setuptools python3-six python3-pytz"
|
||||||
short_desc="Objects and routines pertaining to date and time (Python3)"
|
short_desc="Objects and routines pertaining to date and time (Python3)"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/jaraco/tempora"
|
homepage="https://github.com/jaraco/tempora"
|
||||||
distfiles="${PYPI_SITE}/t/tempora/tempora-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/t/tempora/tempora-${version}.tar.gz"
|
||||||
checksum=f11df59b34b9a87d395cce031274f6ff3d2be2171dd1db32dff9ab1fcb5352fa
|
checksum=599a3a910b377f2b544c7b221582ecf4cb049b017c994b37f2b1a9ed1099716e
|
||||||
conflicts="python-tempora>=0"
|
alternatives="tempora:calc-prorate:/usr/bin/calc-prorate3"
|
||||||
|
|
||||||
pre_build() {
|
|
||||||
vsed -i setup.py \
|
|
||||||
-e '/setuptools_scm/d' \
|
|
||||||
-e "s|use_scm_version=True|version='${version}'|"
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
mv "${DESTDIR}/usr/bin/calc-prorate" "${DESTDIR}/usr/bin/calc-prorate3"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue