# 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"
