[arch-commits] Commit in python-cherrypy/repos/community-any (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Sat Oct 10 11:57:38 UTC 2015
Date: Saturday, October 10, 2015 @ 13:57:38
Author: jelle
Revision: 143593
archrelease: copy trunk to community-any
Added:
python-cherrypy/repos/community-any/PKGBUILD
(from rev 143592, python-cherrypy/trunk/PKGBUILD)
Deleted:
python-cherrypy/repos/community-any/PKGBUILD
----------+
PKGBUILD | 128 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 64 insertions(+), 64 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-10-10 11:56:42 UTC (rev 143592)
+++ PKGBUILD 2015-10-10 11:57:38 UTC (rev 143593)
@@ -1,64 +0,0 @@
-# $Id$
-# Maintainer: Angel Velasquez <angvp at archlinux.org>
-# Contributor: Kaiting Chen <kaitocracy at gmail.com>
-# Contributor: Douglas Soares de Andrade <dsa at aur.archlinux.org>
-# Contributor: Armando M. Baratti <amblistas at ajato.com.br>
-# Contributor: Florian Richter <Florian_Richter at gmx.de>
-pkgname=('python-cherrypy' 'python2-cherrypy')
-pkgver=3.6.0
-pkgrel=2
-pkgdesc="A pythonic, object-oriented web development framework"
-arch=('any')
-url="http://www.cherrypy.org"
-license=('BSD')
-makedepends=('python' 'python2')
-source=("https://pypi.python.org/packages/source/C/CherryPy/CherryPy-${pkgver}.tar.gz")
-md5sums=('9772dbee426d656f01a13881e2b139d8')
-
-build() {
- cp -r CherryPy-${pkgver} CherryPy2-${pkgver}
-
- cd CherryPy-${pkgver}
- python ./setup.py build
-
- cd "${srcdir}/CherryPy2-${pkgver}"
- sed \
- -e 's_#! /usr/bin/env python_&2_' \
- -i cherrypy/cherryd
- sed \
- -e 's_#!/usr/bin/python_&2_' \
- -i cherrypy/test/sessiondemo.py
- python2 ./setup.py build
-
-}
-
-package_python-cherrypy() {
- depends=('python')
-
- cd CherryPy-${pkgver}
-
- python ./setup.py install --root="${pkgdir}" --optimize=1
-
- install -Dm644 cherrypy/LICENSE.txt \
- "${pkgdir}/usr/share/licenses/python-cherrypy/LICENSE.txt"
-}
-
-package_python2-cherrypy() {
- depends=('python2')
-
- cd CherryPy2-${pkgver}
-
- python2 ./setup.py install --root="${pkgdir}" --optimize=1
- mv "${pkgdir}/usr/bin/cherryd" "${pkgdir}/usr/bin/cherryd2"
-
- install -Dm644 cherrypy/LICENSE.txt \
- "${pkgdir}/usr/share/licenses/python2-cherrypy/LICENSE.txt"
-}
-
-check() {
- cd CherryPy2-${pkgver}
- python2 ./setup.py check
-
- cd ../CherryPy-${pkgver}
- python3 ./setup.py check
-}
Copied: python-cherrypy/repos/community-any/PKGBUILD (from rev 143592, python-cherrypy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-10-10 11:57:38 UTC (rev 143593)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Kaiting Chen <kaitocracy at gmail.com>
+# Contributor: Douglas Soares de Andrade <dsa at aur.archlinux.org>
+# Contributor: Armando M. Baratti <amblistas at ajato.com.br>
+# Contributor: Florian Richter <Florian_Richter at gmx.de>
+pkgname=('python-cherrypy' 'python2-cherrypy')
+pkgver=3.8.0
+pkgrel=1
+pkgdesc="A pythonic, object-oriented web development framework"
+arch=('any')
+url="http://www.cherrypy.org"
+license=('BSD')
+makedepends=('python' 'python2')
+source=("https://pypi.python.org/packages/source/C/CherryPy/CherryPy-${pkgver}.tar.gz")
+md5sums=('542b96b2cd825e8120e8cd822bc18f4b')
+
+build() {
+ cp -r CherryPy-${pkgver} CherryPy2-${pkgver}
+
+ cd CherryPy-${pkgver}
+ python ./setup.py build
+
+ cd "${srcdir}/CherryPy2-${pkgver}"
+ sed \
+ -e 's_#! /usr/bin/env python_&2_' \
+ -i cherrypy/cherryd
+ sed \
+ -e 's_#!/usr/bin/python_&2_' \
+ -i cherrypy/test/sessiondemo.py
+ python2 ./setup.py build
+
+}
+
+package_python-cherrypy() {
+ depends=('python')
+
+ cd CherryPy-${pkgver}
+
+ python ./setup.py install --root="${pkgdir}" --optimize=1
+
+ install -Dm644 cherrypy/LICENSE.txt \
+ "${pkgdir}/usr/share/licenses/python-cherrypy/LICENSE.txt"
+}
+
+package_python2-cherrypy() {
+ depends=('python2')
+
+ cd CherryPy2-${pkgver}
+
+ python2 ./setup.py install --root="${pkgdir}" --optimize=1
+ mv "${pkgdir}/usr/bin/cherryd" "${pkgdir}/usr/bin/cherryd2"
+
+ install -Dm644 cherrypy/LICENSE.txt \
+ "${pkgdir}/usr/share/licenses/python2-cherrypy/LICENSE.txt"
+}
+
+check() {
+ cd CherryPy2-${pkgver}
+ python2 ./setup.py test
+
+ cd ../CherryPy-${pkgver}
+ python3 ./setup.py check
+}
More information about the arch-commits
mailing list