aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-simpleparse/APKBUILD
blob: 6cae8deac8b3d1654281b4b9c97c655a1bfa84da (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
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=py-simpleparse
_pkgname=SimpleParse
pkgver=2.1.1
pkgrel=1
pkgdesc="Python library providing simple and fast parser generator"
url="http://launchpad.net/simpleparse"
arch="all"
license="BSD"
depends="python"
depends_dev="python-dev"
makedepends="$depends_dev"
install=
subpackages=
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip
	py-simpleparse-eols.patch"


_builddir="$srcdir"/$_pkgname-$pkgver

prepare() {
	cd "$_builddir"
	return 0
}

build() {
	cd "$_builddir"
	python setup.py build
}

package() {
	cd "$_builddir"
	python setup.py install --skip-build --root="$pkgdir"
}

md5sums="e58600b0db786664855cbd49dbc0e4e5  SimpleParse-2.1.1.zip
b980d7400e2d5a97769330c5c2d927b3  py-simpleparse-eols.patch"