21 lines
731 B
Bash
21 lines
731 B
Bash
# Template file for 'python3-tempora'
|
|
pkgname=python3-tempora
|
|
version=4.0.0
|
|
revision=1
|
|
wrksrc="tempora-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools_scm python3-toml"
|
|
depends="python3-setuptools python3-six python3-pytz"
|
|
short_desc="Objects and routines pertaining to date and time (Python3)"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/jaraco/tempora"
|
|
distfiles="${PYPI_SITE}/t/tempora/tempora-${version}.tar.gz"
|
|
checksum=599a3a910b377f2b544c7b221582ecf4cb049b017c994b37f2b1a9ed1099716e
|
|
alternatives="tempora:calc-prorate:/usr/bin/calc-prorate3"
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
mv "${DESTDIR}/usr/bin/calc-prorate" "${DESTDIR}/usr/bin/calc-prorate3"
|
|
}
|