summaryrefslogtreecommitdiffstats
path: root/testing/py-application/APKBUILD
blob: c480240811838cf19ad0c65a88c6a2045961db5d (plain)
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
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=py-application
_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="noarch"
license="LGPL2+"
depends="python"
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="http://pypi.python.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 --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"