24 lines
742 B
Bash
24 lines
742 B
Bash
# Template file for 'python-readability-lxml'
|
|
pkgname=python-readability-lxml
|
|
version=0.8.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=e51fea56b5909aaf886d307d48e79e096293255afa567b7d08bca94d25b1a4e1
|
|
|
|
python3-readability-lxml_package() {
|
|
archs=noarch
|
|
depends="python3-lxml"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|