blob: b4dd01a8891b9529bb6c8db29ac2a3af43ca4340 (
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-httreplay
_pkgname=httreplay
pkgver=0.1.4
pkgrel=0
pkgdesc="A HTTP replay library for testing"
url="http://github.com/davepeck/httreplay"
arch="noarch"
license="MIT"
depends="python"
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="7da38f272e87e6af8843739d8372a3ba httreplay-0.1.4.tar.gz"
sha256sums="f332c95f3c84f6867e32a61031386bead99ad378416bdef383a12c98346d66df httreplay-0.1.4.tar.gz"
sha512sums="fee65b6c32f761bf9f22cf70162f279f5d9af33ba58f3d52902dba58d87326007485def11f4e0fae230d5abe3c043958cbc98734410a5b801ae2bff9261eda98 httreplay-0.1.4.tar.gz"
|