aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-simpleparse/APKBUILD
blob: 8d23ac16615dc89cd1a309e71d71fc217f8174ed (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
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=py-simpleparse
_pkgname=SimpleParse
pkgver=2.2.0
pkgrel=0
pkgdesc="Python library providing simple and fast parser generator"
url="http://launchpad.net/simpleparse"
arch="all"
license="BSD"
depends="python2"
depends_dev="python2-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"
	python2 setup.py build
}

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

md5sums="e4c37a05be0ac33148b19be83a657fd8  SimpleParse-2.2.0.zip
b980d7400e2d5a97769330c5c2d927b3  py-simpleparse-eols.patch"
sha256sums="6be9516405c8c798fe9d2bf723a506b4bfe8c717bf8af26cc27b165469b5d357  SimpleParse-2.2.0.zip
14a8deb2da177f2a0b3051f344e22e94d3df311c52b68ab5445be107ebda211f  py-simpleparse-eols.patch"
sha512sums="90956843384739b52a0dc5397633f089c519b4acf922ad953dba49686a4e2c243f8bff6586c1f54c84cdef0c9555fbf6681c41ca70a4bf0f716f2892ae913b0e  SimpleParse-2.2.0.zip
780a2b8cc2164f18da4c21fbb79c667446a8b151c6f6bf063edf47b7463f87d330817ba9e62213f55664fab62e6a63d4864dfab648a2a888fca618e317a38faa  py-simpleparse-eols.patch"