python-css-parser: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-28 22:35:47 +07:00
parent 6925cbd46e
commit 14f25c64e0
3 changed files with 19 additions and 30 deletions

View File

@ -1,29 +0,0 @@
# 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*"
}
}

View File

@ -1 +0,0 @@
python-css-parser

View File

@ -0,0 +1,19 @@
# Template file for 'python3-css-parser'
pkgname=python3-css-parser
version=1.0.4
revision=4
wrksrc="css-parser-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-chardet"
short_desc="CSS related utilities (Python3)"
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
}