diff options
Diffstat (limited to 'testing/py-cherrypy/APKBUILD')
-rw-r--r-- | testing/py-cherrypy/APKBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/py-cherrypy/APKBUILD b/testing/py-cherrypy/APKBUILD new file mode 100644 index 0000000000..6d1ab683f5 --- /dev/null +++ b/testing/py-cherrypy/APKBUILD @@ -0,0 +1,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" |