blob: 4c1c758cde471c96615e1ce196e2c334f38c4a45 (
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
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-flask-babel
_pkgname=Flask-Babel
pkgver=0.12.2
pkgrel=2
pkgdesc="Flask i18n/l10n support"
options="!check" # No testsuite on PYPI tarball, GitHub tarball are outdated
url="https://github.com/python-babel/flask-babel"
arch="noarch"
license="BSD-3-Clause"
depends="python3 py3-flask py3-jinja2 py3-babel"
makedepends="py3-setuptools"
checkdepends="py3-tz"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
replaces="py-flask-babel" # Backwards compatibility
provides="py-flask-babel=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="c43bf5cf6c66e3a8a52298f52bd6300cf0b0c53a1f0fb5862b1bcf8a9800ea0e043c9f85125bb9eb5c281a3c0583c63f0f9653792204883a6f82080547b37104 Flask-Babel-0.12.2.tar.gz"
|