[arch-commits] Commit in python2-webpy/repos/community-any (PKGBUILD PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Mon Sep 1 16:33:33 UTC 2014
Date: Monday, September 1, 2014 @ 18:33:33
Author: arodseth
Revision: 118146
archrelease: copy trunk to community-any
Added:
python2-webpy/repos/community-any/PKGBUILD
(from rev 118145, python2-webpy/trunk/PKGBUILD)
Deleted:
python2-webpy/repos/community-any/PKGBUILD
----------+
PKGBUILD | 78 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 40 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-09-01 16:33:25 UTC (rev 118145)
+++ PKGBUILD 2014-09-01 16:33:33 UTC (rev 118146)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
-# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
-# Contributor: Geoffroy Carrier <geoffroy.carrier at aur.archlinux.org>
-# Contributor: Erol V. Aktay <e.aktay at gmail.com>
-
-pkgname=python2-webpy
-pkgver=0.37
-pkgrel=5
-pkgdesc='Simple but powerful web framework for python'
-arch=('any')
-url='http://webpy.org/'
-license=('custom:public domain')
-depends=('python2')
-optdepends=('python2-flup: deploy web applications via FastCGI (recommended)'
- 'python2-psycopg2: use PostgreSQL as the backing database'
- 'mysql-python: use MySQL as the backing database'
- 'python2-mako: alternative templating engine')
-source=("http://webpy.org/static/web.py-$pkgver.tar.gz")
-sha256sums=('748c7e99ad9e36f62ea19f7965eb7dd7860b530e8f563ed60ce3e53e7409a550')
-
-build() {
- cd "$srcdir/web.py-$pkgver"
-
- echo 'web.py is in the public domain; you can use it for whatever purpose with absolutely no restrictions.' > LICENSE
-}
-
-package() {
- cd "$srcdir/web.py-$pkgver"
-
- python2 setup.py install --root="$pkgdir" --optimize=1
- find "$pkgdir" -name '*.py' -print0 |xargs -0 \
- sed -i -e 's,^#!/usr/bin/env python$,#!/usr/bin/env python2,' \
- -e 's,^#!/usr/bin/python$,#!/usr/bin/python2,'
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python2-webpy/repos/community-any/PKGBUILD (from rev 118145, python2-webpy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-09-01 16:33:33 UTC (rev 118146)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
+# Contributor: Geoffroy Carrier <geoffroy.carrier at aur.archlinux.org>
+# Contributor: Erol V. Aktay <e.aktay at gmail.com>
+
+pkgname=python2-webpy
+pkgver=0.37
+pkgrel=6
+pkgdesc='Simple but powerful web framework for python'
+arch=('any')
+url='http://webpy.org/'
+license=('custom:public domain')
+depends=('python2')
+optdepends=('python2-flup: deploy web applications via FastCGI (recommended)'
+ 'python2-psycopg2: use PostgreSQL as the backing database'
+ 'mysql-python: use MySQL as the backing database'
+ 'python2-mako: alternative templating engine')
+source=("http://webpy.org/static/web.py-$pkgver.tar.gz")
+sha256sums=('748c7e99ad9e36f62ea19f7965eb7dd7860b530e8f563ed60ce3e53e7409a550')
+
+prepare() {
+ cd "web.py-$pkgver"
+
+ echo 'web.py is in the public domain; you can use it for whatever purpose with absolutely no restrictions.' > LICENSE
+
+ find . -name '*.py' -print0 |xargs -0 \
+ sed -i -e 's,^#!/usr/bin/env python$,#!/usr/bin/env python2,' \
+ -e 's,^#!/usr/bin/python$,#!/usr/bin/python2,'
+}
+
+
+package() {
+ cd "web.py-$pkgver"
+
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list