aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-application/APKBUILD
blob: 0e4d20f776eebdfe73e9c4a7465e8c775e193774 (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
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="python2-dev py-setuptools"
install=""
subpackages=""
source="https://files.pythonhosted.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"