[arch-commits] Commit in (3 files)
Antonio Rojas
arojas at archlinux.org
Sun Dec 21 16:26:38 UTC 2014
Date: Sunday, December 21, 2014 @ 17:26:37
Author: arojas
Revision: 124323
Sage notebook dependency
Added:
python-flask-babel/
python-flask-babel/trunk/
python-flask-babel/trunk/PKGBUILD
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Added: python-flask-babel/trunk/PKGBUILD
===================================================================
--- python-flask-babel/trunk/PKGBUILD (rev 0)
+++ python-flask-babel/trunk/PKGBUILD 2014-12-21 16:26:37 UTC (rev 124323)
@@ -0,0 +1,41 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: djanku <djanku (at) email (dot) cz>
+
+_pipname=Flask-Babel
+pkgbase=python-flask-babel
+pkgname=('python2-flask-babel' 'python-flask-babel')
+pkgver=0.9
+pkgrel=1
+pkgdesc="Adds i18n/l10n support to Flask applications with the help of the Babel library."
+arch=('any')
+url="http://pypi.python.org/pypi/Flask-Babel"
+license=('BSD')
+makedepends=('python2-setuptools' 'python-setuptools')
+source=("https://pypi.python.org/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz")
+md5sums=('4762e0392303f464d53cbebedfb87ded')
+
+
+prepare() {
+ cp -R $_pipname-$pkgver python2-$_pipname-$pkgver
+}
+
+package_python2-flask-babel() {
+depends=('python2-flask' 'python2-babel' 'python2-pytz' 'python2-speaklater' 'python2-jinja')
+
+ cd python2-$_pipname-$pkgver
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+
+ mkdir -p "$pkgdir"/usr/share/licenses/$pkgname
+ install -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname
+}
+
+package_python-flask-babel() {
+depends=('python-flask' 'python-babel' 'python-pytz' 'python-speaklater' 'python-jinja')
+
+ cd $_pipname-$pkgver
+ python setup.py install --root="$pkgdir/" --optimize=1
+
+ mkdir -p "$pkgdir"/usr/share/licenses/$pkgname
+ install -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname
+}
+
Property changes on: python-flask-babel/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list