mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
39 lines
884 B
Text
39 lines
884 B
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=py3-tempora
|
|
pkgver=4.1.1
|
|
pkgrel=0
|
|
pkgdesc="Objects and routines pertaining to date and time (tempora)"
|
|
url="https://github.com/jaraco/tempora"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="
|
|
py3-jaraco-functools
|
|
py3-tz
|
|
python3
|
|
"
|
|
makedepends="
|
|
py3-freezegun
|
|
py3-setuptools
|
|
py3-setuptools_scm
|
|
py3-toml
|
|
"
|
|
checkdepends="py3-pytest"
|
|
source="https://pypi.python.org/packages/source/t/tempora/tempora-$pkgver.tar.gz"
|
|
builddir="$srcdir/tempora-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
pytest -k "not get_nearest_year_for_day"
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
a272980be5d4448bbd97d9e48d8a992c07cd1e970924f301fd3444834fe112453d5714ff8f3e7af6a5775d931b825601d7f1abf3cd9319b08d148a2a07d40d07 tempora-4.1.1.tar.gz
|
|
"
|