diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2015-09-25 22:32:21 +0300 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2015-09-25 22:32:21 +0300 |
commit | c82a247edac48adfda9f721a5d6f8c3525ba8fd8 (patch) | |
tree | 74f4bf666f81d32d0a7c846e6ff89af0d2282251 /main/py-babel | |
parent | d463d1589d67f322eabd49166a2bdb78de0d0a34 (diff) | |
download | aports-c82a247edac48adfda9f721a5d6f8c3525ba8fd8.tar.bz2 aports-c82a247edac48adfda9f721a5d6f8c3525ba8fd8.tar.xz |
main/py-django-oscar: moved from testing (with dependencies)
Diffstat (limited to 'main/py-babel')
-rw-r--r-- | main/py-babel/APKBUILD | 37 |
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" |