[arch-commits] Commit in python-cherrypy/repos/community-any (PKGBUILD PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Fri Jun 24 20:46:20 UTC 2016


    Date: Friday, June 24, 2016 @ 20:46:20
  Author: jelle
Revision: 181039

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  121 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 57 insertions(+), 64 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-06-24 20:45:47 UTC (rev 181038)
+++ PKGBUILD	2016-06-24 20:46:20 UTC (rev 181039)
@@ -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=5.4.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/a3/b8/b010a1803d4239caf320c364ba3d4e3bb64f7cf1cc350182f64048dfde69/CherryPy-5.4.0.tar.gz")
-md5sums=('7801c069cf4affdd4ff43faa1a63b481')
-
-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
-}

Copied: python-cherrypy/repos/community-any/PKGBUILD (from rev 181038, python-cherrypy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-06-24 20:46:20 UTC (rev 181039)
@@ -0,0 +1,57 @@
+# $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=6.0.2
+pkgrel=1
+pkgdesc="A pythonic, object-oriented web development framework"
+arch=('any')
+url="http://www.cherrypy.org"
+license=('BSD')
+makedepends=('python' 'python2' 'python-setuptools' 'python2-setuptools')
+source=(https://github.com/cherrypy/cherrypy/archive/v$pkgver.tar.gz)
+md5sums=('0d3ed6a4dc7385b6621267f07534b57c')
+
+build() {
+  cp -r cherrypy-${pkgver} cherrypy-${pkgver}-py2
+
+  cd cherrypy-${pkgver}
+  python ./setup.py build
+
+  cd "${srcdir}/cherrypy-${pkgver}-py2"
+  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 cherrypy-${pkgver}-py2
+
+  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 cherrypy-${pkgver}
+  python2 ./setup.py test
+
+  cd ../cherrypy-${pkgver}
+  python3 ./setup.py check
+}



More information about the arch-commits mailing list