aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-cherrypy/APKBUILD
blob: d123948a0c3a6544dff3442db55ac0bd41af9aed (plain) (blame)
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
27
28
29
30
31
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer:
pkgname=py-cherrypy
_pkgname=CherryPy
pkgver=3.2.4
pkgrel=0
pkgdesc="A pythonic, object-oriented web development framework"
url="http://www.cherrypy.org"
arch="noarch"
license="BSD"
depends="python"
depends_dev="python2-dev"
makedepends="$depends_dev"
install=""
subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

_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="e2c8455e15c39c9d60e0393c264a4d16  CherryPy-3.2.4.tar.gz"
sha256sums="abd73a449936740e99d3a05eb89b9381dc188ef696904f585463bc28079f1288  CherryPy-3.2.4.tar.gz"
sha512sums="f559630ba23b88edb1c9085cd0b916c816d2f6b51fde17ad3c617bf2da49f37874d603bab2b3763e9329ca283fc6a08b68a76911f40901ed09d3f6222b95e033  CherryPy-3.2.4.tar.gz"