summaryrefslogtreecommitdiff
path: root/testing/py-application/APKBUILD
blob: 6e5fe9e81b4fb33b2a21928e03ea6342b34a0c93 (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
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=py-application
_pkgname=python-application
pkgver=2.1.0
pkgrel=0
pkgdesc="Basic building blocks for python applications"
url="http://pypi.python.org/pypi/python-application"
arch="noarch"
license="LGPL-2.0-or-later"
depends="python2"
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"
	python2 setup.py build || return 1
}

package() {
	cd "$_builddir"
	python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
sha512sums="54bf7c2257d84d213af5c1c192ea87c30a4c54ec5c334e3dcf4d536e610ffe9f56073b033807818c639b4e2585c38b87d6c7405f33b1ab45158fc6613d75c4c7  python-application-2.1.0.tar.gz"