mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-09 13:32:55 +02:00
New package: python-html2text-2016.5.29
This commit is contained in:
parent
7a2b689429
commit
a4c31a1c80
2 changed files with 34 additions and 0 deletions
33
srcpkgs/python-html2text/template
Normal file
33
srcpkgs/python-html2text/template
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
# Template file for 'python-html2text'
|
||||||
|
pkgname=python-html2text
|
||||||
|
version=2016.5.29
|
||||||
|
revision=1
|
||||||
|
noarch=yes
|
||||||
|
wrksrc="${pkgname#*-}-${version}"
|
||||||
|
build_style=python-module
|
||||||
|
python_versions="2.7 3.4"
|
||||||
|
pycompile_module="html2text"
|
||||||
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||||
|
short_desc="HTML to Markdown-formatted text converter (Python2)"
|
||||||
|
depends="python"
|
||||||
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||||
|
license="GPL-3"
|
||||||
|
homepage="https://github.com/Alir3z4/html2text/"
|
||||||
|
distfiles="${PYPI_SITE}/h/html2text/html2text-${version}.tar.gz"
|
||||||
|
checksum=98aa9e93724afb5ecd9445df9800d0690a3f910726b0c577009277024aa840c6
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
ln -s html2text2.7 ${DESTDIR}/usr/bin/html2text
|
||||||
|
}
|
||||||
|
|
||||||
|
python3.4-html2text_package() {
|
||||||
|
noarch=yes
|
||||||
|
pycompile_version="3.4"
|
||||||
|
pycompile_module="html2text"
|
||||||
|
depends="python3"
|
||||||
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/bin/html2text3.4
|
||||||
|
vmove usr/lib/python3.4
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3.4-html2text
Symbolic link
1
srcpkgs/python3.4-html2text
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-html2text
|
Loading…
Add table
Reference in a new issue