void-packages/srcpkgs/python3-tzlocal/template

21 lines
736 B
Bash

# Template file for 'python3-tzlocal'
pkgname=python3-tzlocal
version=4.2
revision=1
wrksrc="tzlocal-${version}"
build_style=python3-pep517
hostmakedepends="python3-wheel"
depends="python3-pytz_deprecation_shim"
checkdepends="${depends} python3-pytest-mock python3-pytest-xdist"
short_desc="Return the tzinfo object for the local timezone (Python 3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/regebro/tzlocal"
changelog="https://raw.githubusercontent.com/regebro/tzlocal/master/CHANGES.txt"
distfiles="https://github.com/regebro/tzlocal/archive/refs/tags/${version}.tar.gz"
checksum=9bbfaedb6083467003bd1a622a412a7b2f1608f45b2d9132bf936f55fe72d65e
post_install() {
vlicense LICENSE.txt
}