aboutsummaryrefslogblamecommitdiffstats
path: root/testing/py-pyramid-perfstat/APKBUILD
blob: 25d0cc35edb64eb9110c1b427d45b03b5c568a74 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                                             
                            
              
                                       

              
                                                                                                          
























                                                                                                                                                                            
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-pyramid-perfstat
_pkgname=pyramid_perfstat
pkgver=0.2.1
pkgrel=0
pkgdesc="A pyramid plugin that provides PerfStat logs and reports statistics"
url="http://bitbucket.org/tuck/pyramid_perfstat"
arch="noarch"
license="BSD"
depends="python2 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="16a61c2297d01890a477e6756b803816  pyramid_perfstat-0.2.1.tar.gz"
sha256sums="d09652a6342db6d5a15d02c3d434ce915acfe8355bb315a789c52fdcda1a2f4c  pyramid_perfstat-0.2.1.tar.gz"
sha512sums="d2520e3a6468f25939ea131535e5202d09b841373cafa806ff69a1ec209f48a25299f086b4ee53a309116f37f6bcea95f3edbce82244a7526a2d190187e87d4a  pyramid_perfstat-0.2.1.tar.gz"