summaryrefslogtreecommitdiffstats
path: root/testing/py-pyramid-settings/APKBUILD
blob: efe8117f435b6964f8c1332bb1a91b4d97c47dc1 (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
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-settings
_pkgname=pyramid_settings
pkgver=0.1.2
pkgrel=0
pkgdesc="A pyramid plugin that provides a settings module"
url="http://github.com/niktto/pyramid_settings/"
arch="noarch"
license="BSD"
depends="python py-pyramid"
depends_dev=""
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
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="692bc5ac99929ccdc795d02c42774a09  pyramid_settings-0.1.2.tar.gz"
sha256sums="02500aaa8158f0dd9d55271df956a8bc1112eaf2325f0c16bf7c05a1fe591896  pyramid_settings-0.1.2.tar.gz"
sha512sums="9b293d75ebe44f2a8bf01cbbb81e2d697bc9aaaadfa98da3b89571cb7990da26f96e103fc7a67957cc8dd57fee910a44cb9d4a732a9ec15e6dcb4452ef03a384  pyramid_settings-0.1.2.tar.gz"