aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-babel/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/py-babel/APKBUILD')
-rw-r--r--main/py-babel/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/main/py-babel/APKBUILD b/main/py-babel/APKBUILD
new file mode 100644
index 0000000000..5078c5c90a
--- /dev/null
+++ b/main/py-babel/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+pkgname=py-babel
+pkgver=1.3
+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="5264ceb02717843cbc9ffce8e6e06bdb Babel-1.3.tar.gz"
+sha256sums="9f02d0357184de1f093c10012b52e7454a1008be6a5c185ab7a3307aceb1d12e Babel-1.3.tar.gz"
+sha512sums="3173d578c36d7a20d14ffcf6406ec9fe301e71a199069b3d2e53bd0c66e7f83d6e94f071dc08f2708202ec1ace4d14f4476234cc8347a37b05317302f0cfe0cf Babel-1.3.tar.gz"