blob: d9997a352825e4559f3376635ad7a4b034aeab6d (
plain) (
tree)
|
|
# Contributor: Brandon Bergren <git@bdragon.rtk0.net>
# Maintainer: Brandon Bergren <git@bdragon.rtk0.net>
pkgname=py3-babel
_pkgname=Babel
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
pkgver=2.10.1
pkgrel=0
pkgdesc="Internationalization tools for Python"
url="https://pypi.python.org/pypi/Babel"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
options="!check"
makedepends="python3-dev py3-iniconfig py3-toml"
checkdepends="py3-pytest py3-freezegun py3-python-dateutil py3-tz"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="d6f8876bc47d2ad88277f5a9512abb177518b79d4f477cdba11d1cd1af8fb92bfd033c2c05c7a6c32dbd087a28189288f8ac80f9b654027b3e026a06c4ade127 py3-babel-2.10.1.tar.gz"
|