blob: 6f3e76dcd1548df203324e5ef85740b6712e5616 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: AlphaJack <alphajack at tuta dot io>
# Contributor: Achmad Fathoni<fathoni.id(at)gmail.com>
# Contributor: ycatz <thesummernightcat@gmail.com>
pkgname="python-holidays"
_pkgname="${pkgname#python-}"
pkgver=0.59
pkgrel=1
pkgdesc="Generate and work with holidays in Python"
arch=("any")
url="https://github.com/vacanza/holidays"
license=("MIT")
makedepends=("python-build" "python-installer" "python-wheel" "python-setuptools")
depends=("python"
"python-convertdate"
"python-korean_lunar_calendar"
"python-hijri-converter")
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
b2sums=('9350b9cf3f79dcc214a2ea63ff5b652eb3ff13226198505d9d157253589a5960663e1dbcb2d776ad1c6e5d55bd08189e9b3622c9e307c27c5889dac4689030f7')
build(){
cd ${srcdir}/${_pkgname}-${pkgver}
python -m build --wheel --no-isolation
}
package(){
cd ${srcdir}/${_pkgname}-${pkgver}
python -m installer --destdir="$pkgdir" dist/*.whl
}
|