diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-09-23 21:31:56 +0000 |
---|---|---|
committer | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-09-29 14:07:36 +0000 |
commit | f02b2a5887ace87a7cd63e82a18ba218de91052d (patch) | |
tree | 9c124943bdd60d6036d3143317c2132916a0a496 /testing/py-doit/APKBUILD | |
parent | a482d8c0b9d03570628dc75f615d50be1a7ebdf5 (diff) | |
download | aports-f02b2a5887ace87a7cd63e82a18ba218de91052d.tar.bz2 aports-f02b2a5887ace87a7cd63e82a18ba218de91052d.tar.xz |
testing/py-doit: new aport
A Python Automation Tool
http://pydoit.org/
Diffstat (limited to 'testing/py-doit/APKBUILD')
-rw-r--r-- | testing/py-doit/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-doit/APKBUILD b/testing/py-doit/APKBUILD new file mode 100644 index 0000000000..d82b600642 --- /dev/null +++ b/testing/py-doit/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py-doit +_pkgname=doit +pkgver=0.23.0 +pkgrel=0 +pkgdesc="A Python Automation Tool" +url="http://arthurdejong.org/python-stdnum/" +arch="noarch" +license="LGPL2+" +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="ac0427ac29cf0e3a22fa9c3089f16dea doit-0.23.0.tar.gz" +sha256sums="5d0421be6e5528e3be11bd0ede5c232e0c91f2b98b55688d7db1ce0638e1efbb doit-0.23.0.tar.gz" +sha512sums="f2298d76d9ce3e7ed5f356bfdeeef8d5d99ebae74571666a3d2b3843fc63f5a8f76cd6cdedcfe8fc81bc653ecf04951c11f50abd16e9aa8fc7539e3c224b0e4c doit-0.23.0.tar.gz" |