mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-09 10:42:12 +01:00
42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
# 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"
|