blob: 366f10f393a1bbd238d412b000a1bcd9daaa29e0 (
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.24.0
pkgrel=0
pkgdesc="A Python Automation Tool"
url="http://pydoit.org/"
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="6f8a88277fba15607f301014866c06de doit-0.24.0.tar.gz"
sha256sums="550d66c94729f26b896787c1499f24789b829f6f3a081b86a2a01665adfd0111 doit-0.24.0.tar.gz"
sha512sums="5d7ec946ca8a6b522213b50a0eb496f678d919c4d667322a9d5ea2bacf3e1dcb35c5e783b943c1538a305731254bbea773fb289d33bf32441da67a55eb4d4b2d doit-0.24.0.tar.gz"
|