mirror of
https://git.freebsd.org/ports.git
synced 2025-06-09 06:40:33 -04:00
docutils 0.13.1 release included a new rst2html5 frontend, adding rst2html5{.py} to LOCALBASE/bin. This conflicts with files already packages with textproc/py-rst2html [1][2], resulting in a packging error. Also affected (not currently packaged in FreeBSD Ports), is the rst2html5-tools PyPI package [2]. Rename the conflicting script accordingly. While I'm here: - Fix *_DEPENDS versions to match upstream - Remove unecessary limit to Python 2.x - Enable concurrent installation [1] https://bitbucket.org/andre_felipe_dias/rst2html5/issues/27/ [2] https://github.com/getnikola/nikola/issues/2657 [3] https://github.com/marianoguerra/rst2html5/issues/87 PR: 228414 Reported by: roflik (via IRC) Approved by: koobs (python, maintainer) MFH: 2018Q2
19 lines
725 B
Python
19 lines
725 B
Python
# 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
|
|
],
|
|
},
|
|
)
|