aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2016-11-10 10:10:03 +0000
committerTimo Teräs <timo.teras@iki.fi>2016-12-27 10:50:45 +0200
commitb823d370c060cb86f09f299c5240c86ce1756e1c (patch)
treee74e220fa2dad9b687f88318f0f0d81be40a6d96 /main
parent28026c2bc8f8b94e46a7d3a2c01bde748984d141 (diff)
downloadaports-b823d370c060cb86f09f299c5240c86ce1756e1c.tar.bz2
aports-b823d370c060cb86f09f299c5240c86ce1756e1c.tar.xz
main/py3-sgmllib3: new aport (needed py3-feedparser)
Simple SGML parser https://pypi.python.org/pypi/sgmllib3k
Diffstat (limited to 'main')
-rw-r--r--main/py3-sgmllib3k/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/main/py3-sgmllib3k/APKBUILD b/main/py3-sgmllib3k/APKBUILD
new file mode 100644
index 0000000000..a50d74b21a
--- /dev/null
+++ b/main/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"