aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-pyramid-layout/APKBUILD
blob: a7f2a7df6ee3c0c8fa71ad0585b2391b613e7405 (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
30
31
32
33
34
35
36
37
38
39
40
41
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-pyramid-layout
_pkgname=pyramid_layout
pkgver=0.9
pkgrel=0
pkgdesc="A pyramid plugin that provides UI layout"
url="https://pypi.python.org/pypi/pyramid_layout"
arch="noarch"
license="BSD"
depends="python py-pyramid"
depends_dev=""
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
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="36c3edf642ee50af778c332c80c3c7ec  pyramid_layout-0.9.tar.gz"
sha256sums="eea00afc5a700743c6ab1f898f286b57e521e1164ce6dec3517900ff32858d67  pyramid_layout-0.9.tar.gz"
sha512sums="02221c0f281633793e3e87662643d66dce4662ac6357a32ad6043e7e7477731494e9830409aa44b0d3995525a1f195e241435bea9afcc2f49328f41c3c765853  pyramid_layout-0.9.tar.gz"