summaryrefslogtreecommitdiffstats
path: root/testing/py-doit/APKBUILD
blob: fca96a0adaf1d70d7347d6b3c51c829350f7515d (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-doit
_pkgname=doit
pkgver=0.25.0
pkgrel=0
pkgdesc="A Python Automation Tool"
url="http://pydoit.org/"
arch="noarch"
license="MIT"
depends="python py-six py-inotify"
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="3afcb9cd714ac5c232961d0ab7df24ca  doit-0.25.0.tar.gz"
sha256sums="4584ba69cbb2a8dc27faf020c47c20bec3fb04c7159a959876b7bb8aafe0de54  doit-0.25.0.tar.gz"
sha512sums="239936018ae6d490743f42f3f1f0a8522544d50400e7696f1b9f1ea33736c50c2bcc464bf4d7840c91997af6ccc428c3fc0ec9188b9b903fb808470d340a6339  doit-0.25.0.tar.gz"