aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-pies/APKBUILD
blob: 8b74217dbf0212fdae5b131f2ae599d56b9650e4 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-pies
_pkgname=pies
pkgver=2.6.1
pkgrel=0
pkgdesc="A tool that support you to write tool for Python 2.6-3.x"
url="https://github.com/timothycrosley/pies"
arch="noarch"
license="MIT"
depends="python"
depends_dev=""
makedepends="python-dev"
install=""
source="https://files.pythonhosted.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="c91ed38129a7f4425b72c8ffd009e2b5  pies-2.6.1.tar.gz"
sha256sums="87a8996fe0ea9d8af9e36ba895c51978bde6b704ef3abeb0398e6e1a4b8d429c  pies-2.6.1.tar.gz"
sha512sums="f56b01eed4882c2ab4a53eca1d9170715d6e733b0f9d0340faa3ac886e2ee923f3d7ecbde0242b7f507a5f2ffe9d77d9feafe1e3898c9d99087ef2ee54dc9ba5  pies-2.6.1.tar.gz"