diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2016-11-11 06:30:14 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-12-27 10:50:45 +0200 |
commit | d0f5c57f012d121814ed161ff54768062d1c08a0 (patch) | |
tree | 536ec266c0096957207269597600c7b9a055b185 /community/py3-sgmllib3k | |
parent | 81724725359b6db5e118de499d4ee79c4dd8b168 (diff) | |
download | aports-d0f5c57f012d121814ed161ff54768062d1c08a0.tar.bz2 aports-d0f5c57f012d121814ed161ff54768062d1c08a0.tar.xz |
main/py3-sgmllib3k: move to community
Diffstat (limited to 'community/py3-sgmllib3k')
-rw-r--r-- | community/py3-sgmllib3k/APKBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/community/py3-sgmllib3k/APKBUILD b/community/py3-sgmllib3k/APKBUILD new file mode 100644 index 0000000000..a50d74b21a --- /dev/null +++ b/community/py3-sgmllib3k/APKBUILD @@ -0,0 +1,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=0 +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" |