[arch-commits] Commit in python-flask-login/repos/community-testing-any (2 files)
Felix Yan
fyan at archlinux.org
Wed Sep 30 23:36:12 UTC 2015
Date: Thursday, October 1, 2015 @ 01:36:12
Author: fyan
Revision: 142283
archrelease: copy trunk to community-testing-any
Added:
python-flask-login/repos/community-testing-any/PKGBUILD
(from rev 142282, python-flask-login/trunk/PKGBUILD)
Deleted:
python-flask-login/repos/community-testing-any/PKGBUILD
----------+
PKGBUILD | 97 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 49 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-09-30 23:35:48 UTC (rev 142282)
+++ PKGBUILD 2015-09-30 23:36:12 UTC (rev 142283)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-flask-login
-pkgname=('python2-flask-login' 'python-flask-login')
-pkgver=0.3.0
-pkgrel=2
-pkgdesc="User session management for Flask."
-arch=('any')
-url="https://pythonhosted.org/Flask-Login/"
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-flask' 'python2-flask' 'git')
-checkdepends=('python-nose' 'python2-nose' 'python-mock' 'python2-mock' 'python-blinker' 'python2-blinker')
-source=("git+https://github.com/maxcountryman/flask-login.git#tag=$pkgver")
-md5sums=('SKIP')
-
-prepare() {
- cp -a flask-login{,-py2}
-}
-
-check() {
- cd "$srcdir/flask-login"
- nosetests3
-
- cd "$srcdir/flask-login-py2"
- # https://github.com/maxcountryman/flask-login/issues/232
- nosetests2 || warning "Tests failed"
-}
-
-package_python-flask-login() {
- depends=('python-flask')
-
- cd flask-login
- python setup.py install --root="$pkgdir/" --optimize=1
-
- mkdir -p "$pkgdir"/usr/share/licenses/$pkgname
- install -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname
-}
-
-package_python2-flask-login() {
- depends=('python2-flask')
-
- cd flask-login-py2
- python2 setup.py install --root="$pkgdir/" --optimize=1
-
- mkdir -p "$pkgdir"/usr/share/licenses/$pkgname
- install -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname
-}
Copied: python-flask-login/repos/community-testing-any/PKGBUILD (from rev 142282, python-flask-login/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-09-30 23:36:12 UTC (rev 142283)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-flask-login
+pkgname=('python2-flask-login' 'python-flask-login')
+pkgver=0.3.1
+_commit=f1d961c0973b83a5f1ab935b20f1be99a445882a
+pkgrel=1
+pkgdesc="User session management for Flask."
+arch=('any')
+url="https://pythonhosted.org/Flask-Login/"
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-flask' 'python2-flask' 'git')
+checkdepends=('python-nose' 'python2-nose' 'python-mock' 'python2-mock' 'python-blinker' 'python2-blinker')
+source=("git+https://github.com/maxcountryman/flask-login.git#commit=$_commit")
+md5sums=('SKIP')
+
+prepare() {
+ cp -a flask-login{,-py2}
+}
+
+check() {
+ cd "$srcdir/flask-login"
+ nosetests3
+
+ cd "$srcdir/flask-login-py2"
+ # https://github.com/maxcountryman/flask-login/issues/232
+ nosetests2 || warning "Tests failed"
+}
+
+package_python-flask-login() {
+ depends=('python-flask')
+
+ cd flask-login
+ python setup.py install --root="$pkgdir/" --optimize=1
+
+ mkdir -p "$pkgdir"/usr/share/licenses/$pkgname
+ install -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname
+}
+
+package_python2-flask-login() {
+ depends=('python2-flask')
+
+ cd flask-login-py2
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+
+ mkdir -p "$pkgdir"/usr/share/licenses/$pkgname
+ install -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname
+}
More information about the arch-commits
mailing list