python-html5lib: drop package
This commit is contained in:
parent
f28ad72e03
commit
985457f0ad
4 changed files with 26 additions and 33 deletions
|
@ -1,32 +0,0 @@
|
||||||
# Template file for 'python-html5lib'
|
|
||||||
pkgname=python-html5lib
|
|
||||||
version=1.0.1
|
|
||||||
revision=3
|
|
||||||
wrksrc="html5lib-${version}"
|
|
||||||
build_style=python-module
|
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
|
||||||
depends="python-six python-webencodings"
|
|
||||||
pycompile_module="html5lib"
|
|
||||||
short_desc="Python2 HTML parser based on the WHATWG HTML5 specification"
|
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
||||||
homepage="https://github.com/html5lib/html5lib-python"
|
|
||||||
license="MIT"
|
|
||||||
distfiles="${PYPI_SITE}/h/html5lib/html5lib-${version}.tar.gz"
|
|
||||||
checksum=66cb0dcfdbbc4f9c3ba1a63fdb511ffdbd4f513b2b6d81b80cd26ce6b3fb3736
|
|
||||||
|
|
||||||
pre_build() {
|
|
||||||
sed -i '/setuptools>=/d' setup.py
|
|
||||||
}
|
|
||||||
post_install() {
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
||||||
|
|
||||||
python3-html5lib_package() {
|
|
||||||
pycompile_module="html5lib"
|
|
||||||
depends="python3-six python3-webencodings"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/lib/python3*
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
python-html5lib
|
|
26
srcpkgs/python3-html5lib/template
Normal file
26
srcpkgs/python3-html5lib/template
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# Template file for 'python3-html5lib'
|
||||||
|
pkgname=python3-html5lib
|
||||||
|
version=1.0.1
|
||||||
|
revision=4
|
||||||
|
wrksrc="html5lib-${version}"
|
||||||
|
build_style=python3-module
|
||||||
|
hostmakedepends="python3-setuptools"
|
||||||
|
depends="python3-six python3-webencodings"
|
||||||
|
checkdepends="$depends python3-pytest python3-mock python3-lxml"
|
||||||
|
short_desc="Python3 HTML parser based on the WHATWG HTML5 specification"
|
||||||
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://github.com/html5lib/html5lib-python"
|
||||||
|
distfiles="${PYPI_SITE}/h/html5lib/html5lib-${version}.tar.gz"
|
||||||
|
checksum=66cb0dcfdbbc4f9c3ba1a63fdb511ffdbd4f513b2b6d81b80cd26ce6b3fb3736
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
sed -i '/setuptools>=/d' setup.py
|
||||||
|
}
|
||||||
|
do_check() {
|
||||||
|
export PYTHONPATH=$PWD/build/lib
|
||||||
|
: requires more Python modules
|
||||||
|
}
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue