mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/py-httreplay: new aport
A HTTP replay library for testing http://github.com/davepeck/httreplay
This commit is contained in:
parent
b68dedee7a
commit
ad00295ffd
41
testing/py-httreplay/APKBUILD
Normal file
41
testing/py-httreplay/APKBUILD
Normal file
@ -0,0 +1,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"
|
||||
Loading…
x
Reference in New Issue
Block a user