aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-readability/APKBUILD
blob: 71f09a5e60ab1640856fa9999cb6ab3c0254df10 (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
# 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"