Files
extra/python-pytz/PKGBUILD
2025-06-22 20:39:04 -05:00

34 lines
980 B
Bash

# Maintainer: Jesus E. <heckyel@riseup.net>
pkgname=('python-pytz' 'tauthon-pytz')
pkgver=2020.1
pkgrel=2
arch=('any')
url='https://pypi.python.org/pypi/pytz'
license=('Expat')
makedepends=('python' 'tauthon')
source=("https://pypi.io/packages/source/p/pytz/pytz-${pkgver}.tar.gz")
sha512sums=('4f652ab400bac0bd83ed305be7540094e674029a0cbde7da280adfd911b8c0a44023799b7c61971a5a61a1d6e3992c5b621e5e95bbfe962f310d5f26d4fda3ce')
prepare(){
cp -rf pytz-$pkgver pytz-$pkgver-tauthon
}
package_python-pytz(){
pkgdesc="Cross platform time zone library for Python"
depends=('python')
cd pytz-$pkgver
python setup.py install --root=$pkgdir/
install -Dm644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE.txt
}
package_tauthon-pytz(){
pkgdesc="Cross platform time zone library for Tauthon"
depends=('tauthon')
cd pytz-$pkgver-tauthon
tauthon setup.py install --root="$pkgdir/"
install -Dm644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE.txt
}