aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-cherrypy/APKBUILD
blob: b4eccb2074d8824fee6732d51ae4e20264318d0a (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
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-cherrypy
_pkgname=CherryPy
pkgver=18.5.0
pkgrel=0
pkgdesc="A pythonic, object-oriented web development framework"
url="http://www.cherrypy.org"
arch="noarch"
license="BSD-3-Clause"
depends="python3 py3-six"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
replaces="py-cherrypy" # Backwards compatibility
provides="py-cherrypy=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="6ead115ac2a067cc9f2cb83117b8c53aac8a2a1580159993b7687b5810a41b64d1d1c603ef75a12660fe7aee9c6f403c8cb7bd5e78564f71dc813ae7f28b65fe  CherryPy-18.5.0.tar.gz"