# Contributor: Francesco Colista # Maintainer: pkgname=py-cherrypy _pkgname=CherryPy pkgver=3.2.2 pkgrel=0 pkgdesc="A pythonic, object-oriented web development framework" url="http://www.cherrypy.org" arch="noarch" license="BSD" depends= depends_dev="python-dev" makedepends="$depends_dev" install="" subpackages="" source="http://download.cherrypy.org/cherrypy/$pkgver/$_pkgname-$pkgver.tar.gz" # The real source is the following: #http://download.cherrypy.org/cherrypy/$pkgver/$_pkgname-$pkgver.tar.gz" #but seems not available atm _builddir="$srcdir"/$_pkgname-$pkgver build() { cd "$_builddir" python setup.py build || return 1 } package() { cd "$_builddir" python setup.py install --root=$pkgdir install -Dm644 cherrypy/LICENSE.txt ${pkgdir}/usr/share/licenses/custom/${pkgname}/license } md5sums="c1b1e9577f65f9bb88bfd1b15b93b911 CherryPy-3.2.2.tar.gz" sha256sums="dc5a88562795c2ee462dac5b37aba1cf4f34f3e27281ec11049227039308b691 CherryPy-3.2.2.tar.gz" sha512sums="89cebf63d48df5bec880bcbc13b3e2ae6da76f59c06803177cc8d6905e2d4444de7bb9a63189e3d6a3fd82e2a2464f419cfa74c60b2765e9ef89866847d55b7e CherryPy-3.2.2.tar.gz"