aboutsummaryrefslogblamecommitdiffstats
path: root/testing/py-ludibrio/APKBUILD
blob: e99b271aadde6cce0506287b8562b0aadf2260af (plain) (tree)








































                                                                                                                                                                    
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-ludibrio
_pkgname=ludibrio
pkgver=3.1.0
pkgrel=0
pkgdesc="A Platform for test doubles in Python"
url="https://github.com/nsigustavo/ludibrio"
arch="noarch"
license="GPL"
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="d83f752b7cad8baa9c6b6aa92605cab3  ludibrio-3.1.0.tar.gz"
sha256sums="271a2a866b00a059d9330dc1213d182731121c83088a42f6b3e7f24777b522db  ludibrio-3.1.0.tar.gz"
sha512sums="7a29f30761ef376960131a04f5b6321a548a29bde0f95087bc6c7138ef50f93d1fb2ac34e8aef7bfa3d4bf852cf07e0edda5f25d3e1d53e8c9359ba4f4e65580  ludibrio-3.1.0.tar.gz"