blob: 05f39e2e57e6767ccf9a0551f785325369a8a50d (
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-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"
python2 setup.py build || return 1
}
package() {
cd "$_builddir"
python2 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"
|