Commit 37bfe28b authored by Bart Ribbers's avatar Bart Ribbers
Browse files

community/py3-holidays: upgrade to 0.11.1

parent 5fde431e
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-holidays
pkgver=0.10.5.2
pkgrel=1
pkgver=0.11.1
pkgrel=0
pkgdesc="Generate and work with holidays in Python"
url="https://github.com/dr-prodigy/python-holidays"
arch="noarch"
......@@ -16,9 +16,8 @@ depends="
python3
"
makedepends="py3-setuptools"
source="https://pypi.python.org/packages/source/h/holidays/holidays-$pkgver.tar.gz
remove-flake8-tests.patch
"
checkdepends="py3-pytest"
source="https://pypi.python.org/packages/source/h/holidays/holidays-$pkgver.tar.gz"
builddir="$srcdir/holidays-$pkgver"
build() {
......@@ -26,12 +25,13 @@ build() {
}
check() {
python3 tests.py
PYTHONPATH="$PWD/build/lib" pytest
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="03718664a643a2af3e954fc00960730799c3ea468f4079a73b492cefe2be0ab0553c94eeacdaf14a80a1824a45f0a6ef2c36a161c08597919f821b0c3bc43afd holidays-0.10.5.2.tar.gz
3dd263d4246a33887d83c029837b4362aa57b3fc3ea676ef2261ad6f57e82d331acfb0ea4d3192a328baa5bfff4905bc8682838fdae5c0fb3918ce8398fac4ee remove-flake8-tests.patch"
sha512sums="
ee87b4042cd13ff06a14968acb165182ba268fca0fe967577cda3a1f7e6e563f3a5424c690aa956df6c91f3886d00143a639b85790d8695a9e51e9a3be248d65 holidays-0.11.1.tar.gz
"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment