[arch-commits] Commit in python-bottle/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Sat Aug 2 11:45:19 UTC 2014
Date: Saturday, August 2, 2014 @ 13:45:19
Author: fyan
Revision: 116730
archrelease: copy trunk to community-any
Added:
python-bottle/repos/community-any/PKGBUILD
(from rev 116729, python-bottle/trunk/PKGBUILD)
Deleted:
python-bottle/repos/community-any/PKGBUILD
----------+
PKGBUILD | 109 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-08-02 11:45:02 UTC (rev 116729)
+++ PKGBUILD 2014-08-02 11:45:19 UTC (rev 116730)
@@ -1,54 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
-# Contributor: Richard Murri <admin at richardmurri.com>
-# Contributor: Farhad Shahbazi <farhad at enthusiasm.cc>
-# Contributor: Felix Kaiser <felix.kaiser at fxkr.net>
-
-pkgbase=python-bottle
-pkgname=("python-bottle" "python2-bottle")
-pkgver=0.12.7
-pkgrel=1
-pkgdesc="A fast and simple micro-framework for small web-applications"
-arch=(any)
-url="http://bottlepy.org"
-license=('MIT')
-options=(!emptydirs)
-makedepends=('python-setuptools' 'python2-setuptools' 'git')
-checkdepends=('python-mako' 'python2-mako' 'python-jinja' 'python2-jinja'
- 'python-cherrypy' 'python2-cherrypy' 'twisted' 'python-tornado'
- 'python2-tornado')
-source=("git+https://github.com/defnull/bottle.git#tag=${pkgver}")
-
-prepare() {
- cp -r "bottle" "python2-bottle"
- sed -i "1s/python/python2/" python2-bottle/bottle.py
-}
-
-check() {
- cd bottle
- python test/testall.py
-
- cd ../python2-bottle
- python2 test/testall.py || true # Tests failed for 0.12.7
-}
-
-package_python-bottle() {
- depends=('python3')
-
- cd bottle
- python3 setup.py install --root="${pkgdir}" --optimize=1
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/python-bottle/LICENSE"
-}
-
-package_python2-bottle() {
- depends=('python2')
-
- cd python2-bottle
- python2 setup.py install --root="${pkgdir}" --optimize=1
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/python2-bottle/LICENSE"
-
- # deal with conflict with python-bottle's /usr/bin/bottle.py
- mv "$pkgdir/usr/bin/bottle.py"{,2}
-}
-
-sha512sums=('SKIP')
Copied: python-bottle/repos/community-any/PKGBUILD (from rev 116729, python-bottle/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-08-02 11:45:19 UTC (rev 116730)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Richard Murri <admin at richardmurri.com>
+# Contributor: Farhad Shahbazi <farhad at enthusiasm.cc>
+# Contributor: Felix Kaiser <felix.kaiser at fxkr.net>
+
+pkgbase=python-bottle
+pkgname=("python-bottle" "python2-bottle")
+pkgver=0.12.7
+pkgrel=2
+pkgdesc="A fast and simple micro-framework for small web-applications"
+arch=(any)
+url="http://bottlepy.org"
+license=('MIT')
+options=(!emptydirs)
+makedepends=('python-setuptools' 'python2-setuptools' 'git')
+checkdepends=('python-mako' 'python2-mako' 'python-jinja' 'python2-jinja'
+ 'python-cherrypy' 'python2-cherrypy' 'python-twisted'
+ 'python2-twisted' 'python-tornado' 'python2-tornado'
+ 'python2-paste' 'python2-gevent')
+source=("git+https://github.com/defnull/bottle.git#tag=${pkgver}")
+
+prepare() {
+ cp -r "bottle" "python2-bottle"
+ sed -i "1s/python/python2/" python2-bottle/bottle.py
+}
+
+check() {
+ cd bottle
+ python test/testall.py
+
+ cd ../python2-bottle
+ python2 test/testall.py
+}
+
+package_python-bottle() {
+ depends=('python3')
+
+ cd bottle
+ python3 setup.py install --root="${pkgdir}" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/python-bottle/LICENSE"
+}
+
+package_python2-bottle() {
+ depends=('python2')
+
+ cd python2-bottle
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/python2-bottle/LICENSE"
+
+ # deal with conflict with python-bottle's /usr/bin/bottle.py
+ mv "$pkgdir/usr/bin/bottle.py"{,2}
+}
+
+sha512sums=('SKIP')
More information about the arch-commits
mailing list