aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-sgmllib3k/APKBUILD
blob: 56bea30c6f93583ff3e6b49733c261e8b77e1838 (plain) (blame)
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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-sgmllib3k
_pkgname=sgmllib3k
pkgver=1.0.0
pkgrel=3
pkgdesc="Simple SGML parser"
url="https://pypi.python.org/pypi/sgmllib3k"
arch="noarch"
license="BSD"
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 --root="$pkgdir" --optimize=1
}

sha512sums="f9238afb831356f66b1c3e55975e0ea88007ffe1469b8b4e325e704d1915eb0ab120f5f9e98f36eeb4bf6204a1938d8a4d5a424f0cc054b141ac94adc8ef8ca9  sgmllib3k-1.0.0.tar.gz"