aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-babel
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-05-01 12:36:00 +0300
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-05-01 12:40:10 +0300
commit81157a4c9f7955f32f3fbcf7b6fdd8470c3d975f (patch)
tree2ab58903529d845f4fb77308bb28ea418c1b946f /testing/py-babel
parentf98161dc2bf1f6cc312620f7060ac558fed79a6b (diff)
downloadaports-81157a4c9f7955f32f3fbcf7b6fdd8470c3d975f.tar.bz2
aports-81157a4c9f7955f32f3fbcf7b6fdd8470c3d975f.tar.xz
py-django-oscar: new package
dependencies included
Diffstat (limited to 'testing/py-babel')
-rw-r--r--testing/py-babel/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/py-babel/APKBUILD b/testing/py-babel/APKBUILD
new file mode 100644
index 0000000000..1f31184034
--- /dev/null
+++ b/testing/py-babel/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+# Maintainer:
+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"