24 lines
742 B
Bash
24 lines
742 B
Bash
# Template file for 'python-readability-lxml'
|
|
pkgname=python-readability-lxml
|
|
version=0.7.1
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="readability-lxml-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python-lxml"
|
|
short_desc="Fast html to text parser"
|
|
maintainer="Benjamín Albiñana <benalb@gmail.com>"
|
|
license="Apache-2.0"
|
|
homepage="https://github.com/buriy/python-readability"
|
|
distfiles="${PYPI_SITE}/r/readability-lxml/readability-lxml-${version}.tar.gz"
|
|
checksum=87cb722e53a4a5749effe37fb1236abc52a856ce71113324d06b25d96b48147b
|
|
|
|
python3-readability-lxml_package() {
|
|
archs=noarch
|
|
depends="python3-lxml"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|