aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-hoedown/APKBUILD
blob: 418a48fe27c1974ca35083dae5a671bffb8d14e1 (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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Contributor: Eivind Uggedal <eu@eju.no>
# Maintainer:
pkgname=py3-hoedown
_pkgname=hoedown
pkgver=0.3.0
pkgrel=0
pkgdesc="Python binding for hoedown, a markdown parsing library"
options="!check" # PyPi has no tests in tarball, github releases have broken versioning
url="https://github.com/hhatto/python-hoedown"
arch="all"
license="MIT"
makedepends="python3-dev py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

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

build() {
	cd "$builddir"
	python3 setup.py build
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="e0a51566ad19c1ee774b93b81092d8ab3c8de335e4789ac08f415fdf6f2aa3441ded88f165089cd7874e5dcf5ac1276dcafbb9481ec70d4d89b5d751a905fe18  hoedown-0.3.0.tar.gz"