Date: Thursday, February 20, 2014 @ 04:30:48
  Author: fyan
Revision: 105963

archrelease: copy trunk to community-any

Added:
  python-bottle/repos/community-any/PKGBUILD
    (from rev 105962, python-bottle/trunk/PKGBUILD)
Deleted:
  python-bottle/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   85 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 43 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2014-02-20 03:30:04 UTC (rev 105962)
+++ PKGBUILD    2014-02-20 03:30:48 UTC (rev 105963)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonm...@gmail.com>
-# Contributor: Richard Murri <ad...@richardmurri.com>
-# Contributor: Farhad Shahbazi <far...@enthusiasm.cc>
-# Contributor: Felix Kaiser <felix.kai...@fxkr.net>
-
-pkgbase=python-bottle
-pkgname=("python-bottle" "python2-bottle")
-pkgver=0.12.3
-pkgrel=1
-pkgdesc="A fast and simple micro-framework for small web-applications"
-arch=(any)
-url="http://bottlepy.org";
-license=('MIT')
-options=(!emptydirs)
-makedepends=('python3' 'python2' 'git')
-source=("git+https://github.com/defnull/bottle.git#tag=${pkgver}";)
-
-build() {
-  cp -r "bottle" "python2-bottle"
-}
-
-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 105962, 
python-bottle/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2014-02-20 03:30:48 UTC (rev 105963)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@gmail.com>
+# Contributor: Richard Murri <ad...@richardmurri.com>
+# Contributor: Farhad Shahbazi <far...@enthusiasm.cc>
+# Contributor: Felix Kaiser <felix.kai...@fxkr.net>
+
+pkgbase=python-bottle
+pkgname=("python-bottle" "python2-bottle")
+pkgver=0.12.4
+pkgrel=1
+pkgdesc="A fast and simple micro-framework for small web-applications"
+arch=(any)
+url="http://bottlepy.org";
+license=('MIT')
+options=(!emptydirs)
+makedepends=('python3' 'python2' 'git')
+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
+}
+
+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')

Reply via email to