[arch-commits] Commit in python-bottle/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
fyan at nymeria.archlinux.org
Wed Apr 30 00:58:07 UTC 2014
Date: Wednesday, April 30, 2014 @ 02:58:06
Author: fyan
Revision: 110444
archrelease: copy trunk to community-any
Added:
python-bottle/repos/community-any/PKGBUILD
(from rev 110443, python-bottle/trunk/PKGBUILD)
Deleted:
python-bottle/repos/community-any/PKGBUILD
----------+
PKGBUILD | 108 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 54 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-04-30 00:57:18 UTC (rev 110443)
+++ PKGBUILD 2014-04-30 00:58:06 UTC (rev 110444)
@@ -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.6
-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 || true # Tests failed, 0.12.6
-
- 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')
Copied: python-bottle/repos/community-any/PKGBUILD (from rev 110443, python-bottle/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-04-30 00:58:06 UTC (rev 110444)
@@ -0,0 +1,54 @@
+# $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')
More information about the arch-commits
mailing list