summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/py-cherrypy/APKBUILD8
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/py-cherrypy/APKBUILD b/testing/py-cherrypy/APKBUILD
index b974cb07d..257ae373a 100644
--- a/testing/py-cherrypy/APKBUILD
+++ b/testing/py-cherrypy/APKBUILD
@@ -17,10 +17,18 @@ 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"