Po-Chuan Hsieh 2022-08-27 18:26:24 +08:00
parent 3d2b4dd8fe
commit b587e1b131
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 7 additions and 27 deletions

View File

@ -1,6 +1,5 @@
PORTNAME= rst2html5
PORTVERSION= 1.9.5
PORTREVISION= 2
PORTVERSION= 2.0
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -12,8 +11,8 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Genshi>=0.7:textproc/py-genshi@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}docutils>=0.14:textproc/py-docutils@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pygments>=2.0.2:textproc/py-pygments@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}docutils>=0.13.1:textproc/py-docutils@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pygments>=2.5:textproc/py-pygments@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= distutils concurrent autoplist

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1542046265
SHA256 (rst2html5-1.9.5.tar.gz) = 40edf5e15d38f413282a7d9b61a6e5ee041fde13f1062a735bd3eaa33775a50b
SIZE (rst2html5-1.9.5.tar.gz) = 24303
TIMESTAMP = 1660576960
SHA256 (rst2html5-2.0.tar.gz) = 1238e36bf7e6eb05d37fd62d8c2619b0d0c1f17e6802dc8fa1422c6050ee65f7
SIZE (rst2html5-2.0.tar.gz) = 22680

View File

@ -1,19 +0,0 @@
# Conflicts with docutils >-= 0.13.1
# 1d6174076454 doesn't actually resolve the (file) conflict
# https://bitbucket.org/andre_felipe_dias/rst2html5/issues/27/
# https://github.com/getnikola/nikola/issues/2657
# https://github.com/marianoguerra/rst2html5/issues/87
--- setup.py.orig 2018-05-22 02:47:00 UTC
+++ setup.py
@@ -51,8 +51,8 @@ setup(
include_package_data=True,
entry_points={
'console_scripts': [
- 'rst2html5 = rst2html5_:main',
- 'rst2html5.py = rst2html5_:main', # overrides docutils' rst2html5.py
+ 'rst2html5-rst2html5 = rst2html5_:main',
+ 'rst2html5-rst2html5.py = rst2html5_:main', # overrides docutils' rst2html5.py
],
},
)

View File

@ -1,4 +1,4 @@
rst2html5 generates HTML5 documents from standalone reStructuredText sources.
It's complet rewrite of the docutils rst2html.
WWW: https://bitbucket.org/andre_felipe_dias/rst2html5
WWW: https://foss.heptapod.net/doc-utils/rst2html5