Date: Tuesday, December 27, 2016 @ 15:10:10 Author: jelle Revision: 203097
archrelease: copy trunk to community-any Added: python-cherrypy/repos/community-any/PKGBUILD (from rev 203096, python-cherrypy/trunk/PKGBUILD) Deleted: python-cherrypy/repos/community-any/PKGBUILD ----------+ PKGBUILD | 114 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2016-12-27 15:09:57 UTC (rev 203096) +++ PKGBUILD 2016-12-27 15:10:10 UTC (rev 203097) @@ -1,57 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez <an...@archlinux.org> -# Contributor: Kaiting Chen <kaitocr...@gmail.com> -# Contributor: Douglas Soares de Andrade <d...@aur.archlinux.org> -# Contributor: Armando M. Baratti <amblis...@ajato.com.br> -# Contributor: Florian Richter <florian_rich...@gmx.de> -pkgname=('python-cherrypy' 'python2-cherrypy') -pkgver=8.5.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') -source=('https://pypi.python.org/packages/70/82/e179ecc2c84768da6a4397e9c7300f2c249f9882e0ed83a7599b38aa42b2/CherryPy-8.5.0.tar.gz') -md5sums=('a43755ddd675ed5a11134f77ef033ad1') - -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() { - cd CherryPy-${pkgver} -# python2 ./setup.py test - - cd ../CherryPy-${pkgver} -# python3 ./setup.py check -} Copied: python-cherrypy/repos/community-any/PKGBUILD (from rev 203096, python-cherrypy/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-12-27 15:10:10 UTC (rev 203097) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Angel Velasquez <an...@archlinux.org> +# Contributor: Kaiting Chen <kaitocr...@gmail.com> +# Contributor: Douglas Soares de Andrade <d...@aur.archlinux.org> +# Contributor: Armando M. Baratti <amblis...@ajato.com.br> +# Contributor: Florian Richter <florian_rich...@gmx.de> +pkgname=('python-cherrypy' 'python2-cherrypy') +pkgver=8.5.0 +pkgrel=2 +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://pypi.python.org/packages/70/82/e179ecc2c84768da6a4397e9c7300f2c249f9882e0ed83a7599b38aa42b2/CherryPy-8.5.0.tar.gz') +md5sums=('a43755ddd675ed5a11134f77ef033ad1') + +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() { + cd CherryPy-${pkgver} +# python2 ./setup.py test + + cd ../CherryPy-${pkgver} +# python3 ./setup.py check +}