[arch-commits] Commit in python-cherrypy/repos/community-any (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Wed Jan 18 21:39:12 UTC 2017
Date: Wednesday, January 18, 2017 @ 21:39:11
Author: jelle
Revision: 207929
archrelease: copy trunk to community-any
Added:
python-cherrypy/repos/community-any/PKGBUILD
(from rev 207928, python-cherrypy/trunk/PKGBUILD)
Deleted:
python-cherrypy/repos/community-any/PKGBUILD
----------+
PKGBUILD | 120 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 60 insertions(+), 60 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-01-18 21:39:02 UTC (rev 207928)
+++ PKGBUILD 2017-01-18 21:39:11 UTC (rev 207929)
@@ -1,60 +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=8.8.0
-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')
-checkdepends=('python-pytest' 'python2-pytest' 'python-mock' 'python2-mock')
-source=("https://pypi.python.org/packages/1c/db/af94992bb0fb74f5968248e9e3ec5f405703c97cd97578874c9fb08a3bfa/CherryPy-8.8.0.tar.gz")
-md5sums=('71bb74990ff2016826a4fe762d0c07a2')
-
-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' 'python-six')
-
- cd CherryPy-${pkgver}
-
- python ./setup.py install --root="${pkgdir}" --optimize=1
-
- install -Dm644 LICENSE.md \
- "${pkgdir}/usr/share/licenses/python-cherrypy/LICENSE.md"
-}
-
-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 LICENSE.md \
- "${pkgdir}/usr/share/licenses/python2-cherrypy/LICENSE.md"
-}
-
-check() {
- # backports.unittest_mock is not packaged..
- cd CherryPy-${pkgver}-py2/cherrypy
- #LANG="en_US.UTF-8" pytest2 test/
-
- cd $srcdir/CherryPy-${pkgver}/cherrypy
- LANG="en_US.UTF-8" pytest test/
-
-}
Copied: python-cherrypy/repos/community-any/PKGBUILD (from rev 207928, python-cherrypy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-01-18 21:39:11 UTC (rev 207929)
@@ -0,0 +1,60 @@
+# $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=8.9.1
+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')
+checkdepends=('python-mock' 'python2-mock' 'python-nose')
+source=("https://pypi.python.org/packages/56/aa/91005730bdc5c0da8291a2f411aacbc5c3729166c382e2193e33f28044a3/CherryPy-8.9.1.tar.gz")
+md5sums=('7abe5198e48f14cfee57a07d23875a4b')
+
+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' 'python-six')
+
+ cd CherryPy-${pkgver}
+
+ python ./setup.py install --root="${pkgdir}" --optimize=1
+
+ install -Dm644 LICENSE.md \
+ "${pkgdir}/usr/share/licenses/python-cherrypy/LICENSE.md"
+}
+
+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 LICENSE.md \
+ "${pkgdir}/usr/share/licenses/python2-cherrypy/LICENSE.md"
+}
+
+check() {
+ # backports.unittest_mock is not packaged..
+ cd CherryPy-${pkgver}-py2/cherrypy
+ #LANG="en_US.UTF-8" pytest2 test/
+
+ cd $srcdir/CherryPy-${pkgver}/cherrypy
+ LANG="en_US.UTF-8" nosetests test/
+
+}
More information about the arch-commits
mailing list