initial import

This commit is contained in:
2025-06-22 20:39:04 -05:00
commit f8a70886f0
3428 changed files with 302546 additions and 0 deletions

30
python-isodate/PKGBUILD Normal file
View File

@@ -0,0 +1,30 @@
# Maintainer: Jesus E. <heckyel@riseup.net>
pkgname=python-isodate
pkgver=0.6.0
pkgrel=4
pkgdesc="An ISO 8601 date/time/duration parser and formatter"
arch=('any')
url="https://github.com/gweis/isodate/"
license=('Modified-BSD')
depends=('python-six')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/i/isodate/isodate-$pkgver.tar.gz")
sha512sums=('e977748e13ee2c94ab47bfc47113d152280e9acff6f70e773de73717392148dd2c111a7db2d9fa3679d37936c6ed9a23dc526cb00bd601df45459b6a244f9f7d')
build() {
cd "$srcdir/isodate-$pkgver"
python setup.py build
}
check() {
cd "$srcdir/isodate-$pkgver"
python setup.py test
}
package_python-isodate() {
cd "$srcdir/isodate-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1
install -d "${pkgdir}/usr/share/licenses/${pkgname}"
head -26 src/isodate/isodates.py > "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}