aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-babel/APKBUILD
blob: 6a0ff2388e2168d8d1803e66803fc91660c32fe1 (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
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
pkgname=py3-babel
_pkgname=Babel
pkgver=2.8.0
pkgrel=0
pkgdesc="Python3 i18n tool"
url="http://babel.pocoo.org/"
arch="noarch"
license="BSD-3-Clause"
depends="python3 py3-tz"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

replaces="py-babel" # Backwards compatibility
provides="py-babel=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="f9687b36176c146a8ace073197111463d24fca343bb1dbee8b0e37a7f37b68b4cd77ffbe3bf14a20f8f64c701aa860e0b5e6076658a95dbee2556f0688d68d91  Babel-2.8.0.tar.gz"