aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-03-25 19:59:24 +0100
committerRasmus Thomsen <oss@cogitri.dev>2020-03-25 19:03:16 +0000
commit23130628df8f10b249eb2f3bd144951c40c78872 (patch)
tree0c3d175a7ca8adee6a31e1762c0636a9eefca413
parentc0e781e40218769c580474736d613e1ff1ceb816 (diff)
community/py3-readability: new aport
https://github.com/andreasvc/readability/ Measure the readability of a given text using surface characteristics Required for gnome-feeds
-rw-r--r--community/py3-readability/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/community/py3-readability/APKBUILD b/community/py3-readability/APKBUILD
new file mode 100644
index 00000000000..71f09a5e60a
--- /dev/null
+++ b/community/py3-readability/APKBUILD
@@ -0,0 +1,24 @@
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=py3-readability
+pkgver=0.3.1
+pkgrel=0
+pkgdesc="Measure the readability of a given text using surface characteristics"
+url="https://github.com/andreasvc/readability/"
+arch="noarch"
+license="Apache-2.0"
+depends="python3"
+makedepends="py3-setuptools"
+options="!check" # no tests
+source="https://files.pythonhosted.org/packages/source/r/readability/readability-$pkgver.tar.gz"
+builddir="$srcdir/readability-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="a4932acb1d226028edb631befce0f3b8371563fadd55a11db99376014688dbcb62484eef59d0d5a26944320ff60fc5cd7d4855583208560a0ee1510378a748a1 readability-0.3.1.tar.gz"