New package: python-css-parser-1.0.4
This commit is contained in:
parent
bca9f7d709
commit
c780716f30
2 changed files with 32 additions and 0 deletions
31
srcpkgs/python-css-parser/template
Normal file
31
srcpkgs/python-css-parser/template
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Template file for 'python-css-parser'
|
||||
pkgname=python-css-parser
|
||||
version=1.0.4
|
||||
revision=1
|
||||
noarch=yes
|
||||
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() {
|
||||
noarch=yes
|
||||
pycompile_module="css_parser"
|
||||
depends="python3"
|
||||
short_desc="${short_desc/2/3}"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/python3*"
|
||||
}
|
||||
}
|
1
srcpkgs/python3-css-parser
Symbolic link
1
srcpkgs/python3-css-parser
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-css-parser
|
Loading…
Add table
Reference in a new issue