blob: 6d1ab683f5eee498910826398621b7d7382dc389 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer:
pkgname=py-cherrypy
_pkgname=CherryPy
pkgver=3.2.0
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://mirror.its.uidaho.edu/pub/gentoo/distfiles/$_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
package() {
cd "$_builddir"
python setup.py install --root=$pkgdir
install -Dm644 py2/cherrypy/LICENSE.txt ${pkgdir}/usr/share/licenses/custom/${pkgname}/license
}
md5sums="e5c1322bf5ce962c16283ab7a6dcca3f CherryPy-3.2.0.tar.gz"
|