diff options
Diffstat (limited to 'testing/py-babel')
-rw-r--r-- | testing/py-babel/APKBUILD | 37 |
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" |