1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/py3-readability/APKBUILD

24 lines
793 B
Text

# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-readability
pkgver=0.3.1
pkgrel=1
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"