mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
textproc/py-html2text: Copy to textproc/py-html2text2018
Make way for textproc/py-html2tex to be updated to its latest version 2020.1.16 which supports only Python >= 3.5. Move dependents that runs only with Python 2.7 to textproc/py-html2text2018.
This commit is contained in:
parent
4a2dbb6b4e
commit
fd2ddfa604
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=523697
6 changed files with 42 additions and 4 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
PORTNAME= rss2email
|
PORTNAME= rss2email
|
||||||
PORTVERSION= 2.71
|
PORTVERSION= 2.71
|
||||||
PORTREVISION= 3
|
PORTREVISION= 4
|
||||||
CATEGORIES= mail python
|
CATEGORIES= mail python
|
||||||
MASTER_SITES= http://www.allthingsrss.com/rss2email/
|
MASTER_SITES= http://www.allthingsrss.com/rss2email/
|
||||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
|
@ -19,7 +19,7 @@ LICENSE= GPLv2 GPLv3
|
||||||
LICENSE_COMB= dual
|
LICENSE_COMB= dual
|
||||||
|
|
||||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}feedparser>=5.0.1:textproc/py-feedparser@${PY_FLAVOR} \
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}feedparser>=5.0.1:textproc/py-feedparser@${PY_FLAVOR} \
|
||||||
${PYTHON_PKGNAMEPREFIX}html2text>=3.0.1:textproc/py-html2text@${PY_FLAVOR}
|
${PYTHON_PKGNAMEPREFIX}html2text2018>=3.0.1:textproc/py-html2text2018@${PY_FLAVOR}
|
||||||
|
|
||||||
USES= python:2.7 shebangfix
|
USES= python:2.7 shebangfix
|
||||||
SHEBANG_FILES= rss2email.py
|
SHEBANG_FILES= rss2email.py
|
||||||
|
|
|
@ -1267,6 +1267,7 @@
|
||||||
SUBDIR += py-guess-language
|
SUBDIR += py-guess-language
|
||||||
SUBDIR += py-hexdump
|
SUBDIR += py-hexdump
|
||||||
SUBDIR += py-html2text
|
SUBDIR += py-html2text
|
||||||
|
SUBDIR += py-html2text2018
|
||||||
SUBDIR += py-humanfriendly
|
SUBDIR += py-humanfriendly
|
||||||
SUBDIR += py-hunspell
|
SUBDIR += py-hunspell
|
||||||
SUBDIR += py-hyperestraier-python
|
SUBDIR += py-hyperestraier-python
|
||||||
|
|
29
textproc/py-html2text2018/Makefile
Normal file
29
textproc/py-html2text2018/Makefile
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
PORTNAME= html2text
|
||||||
|
PORTVERSION= 2018.1.9
|
||||||
|
PORTREVISION= 2
|
||||||
|
CATEGORIES= textproc python
|
||||||
|
MASTER_SITES= CHEESESHOP
|
||||||
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
|
PKGNAMESUFFIX= 2018
|
||||||
|
|
||||||
|
MAINTAINER= dbaio@FreeBSD.org
|
||||||
|
COMMENT= Convert HTML into clean plain ASCII text
|
||||||
|
|
||||||
|
LICENSE= GPLv3+
|
||||||
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||||
|
|
||||||
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR}
|
||||||
|
|
||||||
|
USES= python
|
||||||
|
USE_PYTHON= distutils concurrent autoplist
|
||||||
|
NO_ARCH= yes
|
||||||
|
|
||||||
|
CONFLICTS_INSTALL= html2text py*-html2text
|
||||||
|
|
||||||
|
do-test:
|
||||||
|
@cd ${WRKSRC} && coverage run --source=html2text setup.py test -v
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
3
textproc/py-html2text2018/distinfo
Normal file
3
textproc/py-html2text2018/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
TIMESTAMP = 1515708173
|
||||||
|
SHA256 (html2text-2018.1.9.tar.gz) = 627514fb30e7566b37be6900df26c2c78a030cc9e6211bda604d8181233bcdd4
|
||||||
|
SIZE (html2text-2018.1.9.tar.gz) = 52211
|
5
textproc/py-html2text2018/pkg-descr
Normal file
5
textproc/py-html2text2018/pkg-descr
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
html2text is a Python script that converts a page of HTML into clean,
|
||||||
|
easy-to-read plain ASCII text. Better yet, that ASCII also happens to
|
||||||
|
be valid Markdown (a text-to-HTML format).
|
||||||
|
|
||||||
|
WWW: https://github.com/Alir3z4/html2text/
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
PORTNAME= geeknote
|
PORTNAME= geeknote
|
||||||
DISTVERSION= 0.2a
|
DISTVERSION= 0.2a
|
||||||
PORTREVISION= 2
|
PORTREVISION= 3
|
||||||
CATEGORIES= www python
|
CATEGORIES= www python
|
||||||
|
|
||||||
MAINTAINER= koobs@FreeBSD.org
|
MAINTAINER= koobs@FreeBSD.org
|
||||||
|
@ -12,7 +12,7 @@ COMMENT= Command line client for Evernote
|
||||||
LICENSE= GPLv2
|
LICENSE= GPLv2
|
||||||
|
|
||||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}evernote>=1.17:www/py-evernote@${PY_FLAVOR} \
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}evernote>=1.17:www/py-evernote@${PY_FLAVOR} \
|
||||||
${PYTHON_PKGNAMEPREFIX}html2text>0:textproc/py-html2text@${PY_FLAVOR} \
|
${PYTHON_PKGNAMEPREFIX}html2text2018>0:textproc/py-html2text2018@${PY_FLAVOR} \
|
||||||
${PYTHON_PKGNAMEPREFIX}sqlalchemy10>0:databases/py-sqlalchemy10@${PY_FLAVOR} \
|
${PYTHON_PKGNAMEPREFIX}sqlalchemy10>0:databases/py-sqlalchemy10@${PY_FLAVOR} \
|
||||||
${PYTHON_PKGNAMEPREFIX}markdown2>0:textproc/py-markdown2@${PY_FLAVOR} \
|
${PYTHON_PKGNAMEPREFIX}markdown2>0:textproc/py-markdown2@${PY_FLAVOR} \
|
||||||
${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.0:www/py-beautifulsoup@${PY_FLAVOR} \
|
${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.0:www/py-beautifulsoup@${PY_FLAVOR} \
|
||||||
|
|
Loading…
Add table
Reference in a new issue