Date: Sunday, September 25, 2016 @ 18:44:39 Author: jelle Revision: 190569
archrelease: copy trunk to community-any Added: python-cherrypy/repos/community-any/PKGBUILD (from rev 190568, python-cherrypy/trunk/PKGBUILD) Deleted: python-cherrypy/repos/community-any/PKGBUILD ----------+ PKGBUILD | 114 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2016-09-25 18:44:31 UTC (rev 190568) +++ PKGBUILD 2016-09-25 18:44:39 UTC (rev 190569) @@ -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=6.2.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://github.com/cherrypy/cherrypy/archive/v$pkgver.tar.gz) -md5sums=('81b06f52466e6cf94353a93d483e234b') - -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 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 -} Copied: python-cherrypy/repos/community-any/PKGBUILD (from rev 190568, python-cherrypy/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-09-25 18:44:39 UTC (rev 190569) @@ -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.1.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/f8/74/4a17240440813c94d22d70837002dc1fce8d40a0daa762af4cf016265fce/CherryPy-8.1.0.tar.gz") +md5sums=('d981ad6bd9685a3ba16ea5b7a54fb01f') + +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 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 +}