[arch-commits] Commit in (3 files)
Antonio Rojas
arojas at archlinux.org
Sun Dec 21 16:05:55 UTC 2014
Date: Sunday, December 21, 2014 @ 17:05:55
Author: arojas
Revision: 124319
Sage notebook dependency
Added:
python-flask-openid/
python-flask-openid/trunk/
python-flask-openid/trunk/PKGBUILD
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Added: python-flask-openid/trunk/PKGBUILD
===================================================================
--- python-flask-openid/trunk/PKGBUILD (rev 0)
+++ python-flask-openid/trunk/PKGBUILD 2014-12-21 16:05:55 UTC (rev 124319)
@@ -0,0 +1,41 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Fredric Johansson
+
+_pipname=Flask-OpenID
+pkgbase=python-flask-openid
+pkgname=('python2-flask-openid' 'python-flask-openid')
+pkgver=1.2.4
+pkgrel=1
+pkgdesc="A Flask extension for using openid authentication."
+arch=('any')
+url="http://pypi.python.org/pypi/Flask-OpenID"
+license=("BSD")
+makedepends=('python2-setuptools' 'python-setuptools')
+source=("https://pypi.python.org/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz")
+md5sums=('4ee3c1de53d27f4a8491afda1d67c665')
+
+prepare() {
+ cp -R $_pipname-$pkgver python2-$_pipname-$pkgver
+}
+
+package_python2-flask-openid() {
+depends=('python2-flask' 'python2-openid')
+
+ 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-openid() {
+depends=('python-flask' 'python-openid')
+
+ 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-openid/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list