aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-application/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/py-application/APKBUILD')
-rw-r--r--testing/py-application/APKBUILD31
1 files changed, 19 insertions, 12 deletions
diff --git a/testing/py-application/APKBUILD b/testing/py-application/APKBUILD
index 2135f154ff..c480240811 100644
--- a/testing/py-application/APKBUILD
+++ b/testing/py-application/APKBUILD
@@ -1,22 +1,29 @@
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=py-application
-_name=python-application
-pkgver=1.2.7
+_pkgname=python-application
+pkgver=1.4.0
pkgrel=1
pkgdesc="Basic building blocks for python applications"
url="http://pypi.python.org/pypi/python-application"
-arch="all"
-license="PSF"
+arch="noarch"
+license="LGPL2+"
depends="python"
-makedepends="python-dev"
-install=
+makedepends="python-dev py-setuptools"
+install=""
subpackages=""
-source="http://pypi.python.org/packages/source/p/python-application/python-application-$pkgver.tar.gz"
+source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$_pkgname-$pkgver
build() {
- cd "$srcdir"/$_name-$pkgver
- mkdir -p "$pkgdir"/usr/lib/python2.6/site-packages
- python setup.py install --root="$pkgdir"
- echo "/usr/lib/python2.6/site-packages/$_name-$pkgver-py2.6.egg" > "$pkgdir"/usr/lib/python2.6/site-packages/$_name.pth
+ cd "$_builddir"
+ python setup.py build || return 1
}
-md5sums="07b32e25d931c5e591278848f3fc9f20 python-application-1.2.7.tar.gz"
+
+package() {
+ cd "$_builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+}
+md5sums="2c1ec745f512ffd5892b0dd415074834 python-application-1.4.0.tar.gz"
+sha256sums="0ed5cb64385c335b7b30093931d7965fec2c459f6f630c493491285e33378ea6 python-application-1.4.0.tar.gz"
+sha512sums="e97dc05381df68ff643501a7018b2f8ec350c80392080e7420f52b9db3b85148f304388fcf4fd085771e34bfe1e5bef7965f0210370657f194eed2f5ba06950f python-application-1.4.0.tar.gz"