30 lines
785 B
Bash
30 lines
785 B
Bash
# Template file for 'python-css-parser'
|
|
pkgname=python-css-parser
|
|
version=1.0.4
|
|
revision=3
|
|
wrksrc="css-parser-${version}"
|
|
build_style=python-module
|
|
pycompile_module="css_parser"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python"
|
|
checkdepends="python3-chardet"
|
|
short_desc="CSS related utilities (Python2)"
|
|
maintainer="bra1nwave <brainwave@openmailbox.org>"
|
|
license="LGPL-3.0-or-later"
|
|
homepage="https://github.com/ebook-utils/css-parser"
|
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
|
checksum=ccfa62d56ccb892bd89f26926142692998db7757b691929c181af350d77c2c45
|
|
|
|
do_check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
python3-css-parser_package() {
|
|
pycompile_module="css_parser"
|
|
depends="python3"
|
|
short_desc="${short_desc/2/3}"
|
|
pkg_install() {
|
|
vmove "usr/lib/python3*"
|
|
}
|
|
}
|