aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-babel/APKBUILD
blob: 547bcf402cf4f06eeaf481aa165c567f5334ce9a (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
30
31
32
33
34
35
36
37
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
pkgname=py-babel
pkgver=2.1.1
pkgrel=0
pkgdesc="Python i18n tool"
url=http://babel.pocoo.org/
arch=noarch
license=BSD
depends=py-tz
makedepends=py-setuptools
source=https://pypi.python.org/packages/source/B/Babel/Babel-$pkgver.tar.gz

_builddir=$srcdir/Babel-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	python setup.py build
}

package() {
	cd "$_builddir"
	python setup.py install --root "$pkgdir"
}

md5sums="cab63d158ceed3a809703711cfb8cbd5  Babel-2.1.1.tar.gz"
sha256sums="7fb6d50effe88a087feb2036cb972fd7a893bf338361516f1a55a820bf7b5248  Babel-2.1.1.tar.gz"
sha512sums="ec7ebb8648101588eecc72913adc45c0593ed6ee5f10874edcd4b932959f9552edcecc8e2ec966dae6ef5e8adb23341f1a4f87ea2d9e6cbba57a9b8b0a352a94  Babel-2.1.1.tar.gz"