blob: 9463b3306c281d4a8ceeae8304c2a7eefda7dafb (
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
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-sgmllib3k
_pkgname=sgmllib3k
pkgver=1.0.0
pkgrel=1
pkgdesc="Simple SGML parser"
url="https://pypi.python.org/pypi/sgmllib3k"
arch="noarch"
license="BSD"
makedepends="python3-dev"
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 || return
}
package() {
cd "$builddir"
python3 setup.py install --root="$pkgdir" --optimize=1 || return 1
}
md5sums="d70efde06e40797f37e867123aa080ec sgmllib3k-1.0.0.tar.gz"
sha256sums="7868fb1c8bfa764c1ac563d3cf369c381d1325d36124933a726f29fcdaa812e9 sgmllib3k-1.0.0.tar.gz"
sha512sums="f9238afb831356f66b1c3e55975e0ea88007ffe1469b8b4e325e704d1915eb0ab120f5f9e98f36eeb4bf6204a1938d8a4d5a424f0cc054b141ac94adc8ef8ca9 sgmllib3k-1.0.0.tar.gz"
|