py-mdformat: Fix PLIST and incorrect wheel use
Add needed TOOL_DEPENDS for most wheel.mk users. Kudos to <gutteridge> for documenting that! py-tomli is needed only for Python < 3.11, mark that accordingly! Also update PLIST with actual reality... I have no idea why this is different than the past... maybe it depends on Python version? (I have only tested with 3.11 right now)master
parent
1d1d07c3aa
commit
e2b2831072
|
@ -10,7 +10,8 @@ HOMEPAGE= https://mdformat.rtfd.io/
|
|||
COMMENT= CommonMark compliant Markdown formatter
|
||||
LICENSE= mit
|
||||
|
||||
DEPENDS+= ${PYPKGPREFIX}-tomli>=1.1.0:../../textproc/py-tomli
|
||||
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
|
||||
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
|
||||
DEPENDS+= ${PYPKGPREFIX}-markdown-it-py>=1.0.0:../../textproc/py-markdown-it-py
|
||||
|
||||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
@ -21,6 +22,10 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|||
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata>=3.6.0:../../devel/py-importlib-metadata
|
||||
.endif
|
||||
|
||||
.if ${PYTHON_VERSION} < 311
|
||||
DEPENDS+= ${PYPKGPREFIX}-tomli>=1.1.0:../../textproc/py-tomli
|
||||
.endif
|
||||
|
||||
USE_LANGUAGES= # none
|
||||
|
||||
post-install:
|
||||
|
|
|
@ -1,44 +1,57 @@
|
|||
@comment $NetBSD$
|
||||
bin/mdformat${PYVERSSUFFIX}
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
|
||||
${PYSITELIB}/mdformat/__init__.py
|
||||
${PYSITELIB}/mdformat/__init__.pyc
|
||||
${PYSITELIB}/mdformat/__init__.pyo
|
||||
${PYSITELIB}/mdformat/__main__.py
|
||||
${PYSITELIB}/mdformat/__main__.pyc
|
||||
${PYSITELIB}/mdformat/__main__.pyo
|
||||
${PYSITELIB}/mdformat/_api.py
|
||||
${PYSITELIB}/mdformat/_api.pyc
|
||||
${PYSITELIB}/mdformat/_api.pyo
|
||||
${PYSITELIB}/mdformat/_cli.py
|
||||
${PYSITELIB}/mdformat/_cli.pyc
|
||||
${PYSITELIB}/mdformat/_cli.pyo
|
||||
${PYSITELIB}/mdformat/_compat.py
|
||||
${PYSITELIB}/mdformat/_compat.pyc
|
||||
${PYSITELIB}/mdformat/_compat.pyo
|
||||
${PYSITELIB}/mdformat/_conf.py
|
||||
${PYSITELIB}/mdformat/_conf.pyc
|
||||
${PYSITELIB}/mdformat/_conf.pyo
|
||||
${PYSITELIB}/mdformat/_util.py
|
||||
${PYSITELIB}/mdformat/_util.pyc
|
||||
${PYSITELIB}/mdformat/_util.pyo
|
||||
${PYSITELIB}/mdformat/codepoints/__init__.py
|
||||
${PYSITELIB}/mdformat/codepoints/__init__.pyc
|
||||
${PYSITELIB}/mdformat/codepoints/__init__.pyo
|
||||
${PYSITELIB}/mdformat/codepoints/_unicode_punctuation.py
|
||||
${PYSITELIB}/mdformat/codepoints/_unicode_punctuation.pyc
|
||||
${PYSITELIB}/mdformat/codepoints/_unicode_punctuation.pyo
|
||||
${PYSITELIB}/mdformat/codepoints/_unicode_whitespace.py
|
||||
${PYSITELIB}/mdformat/codepoints/_unicode_whitespace.pyc
|
||||
${PYSITELIB}/mdformat/codepoints/_unicode_whitespace.pyo
|
||||
${PYSITELIB}/mdformat/plugins.py
|
||||
${PYSITELIB}/mdformat/plugins.pyc
|
||||
${PYSITELIB}/mdformat/plugins.pyo
|
||||
${PYSITELIB}/mdformat/py.typed
|
||||
${PYSITELIB}/mdformat/renderer/__init__.py
|
||||
${PYSITELIB}/mdformat/renderer/__init__.pyc
|
||||
${PYSITELIB}/mdformat/renderer/__init__.pyo
|
||||
${PYSITELIB}/mdformat/renderer/_context.py
|
||||
${PYSITELIB}/mdformat/renderer/_context.pyc
|
||||
${PYSITELIB}/mdformat/renderer/_context.pyo
|
||||
${PYSITELIB}/mdformat/renderer/_tree.py
|
||||
${PYSITELIB}/mdformat/renderer/_tree.pyc
|
||||
${PYSITELIB}/mdformat/renderer/_tree.pyo
|
||||
${PYSITELIB}/mdformat/renderer/_util.py
|
||||
${PYSITELIB}/mdformat/renderer/_util.pyc
|
||||
${PYSITELIB}/mdformat/renderer/_util.pyo
|
||||
${PYSITELIB}/mdformat/renderer/typing.py
|
||||
${PYSITELIB}/mdformat/renderer/typing.pyc
|
||||
${PYSITELIB}/mdformat/renderer/typing.pyo
|
||||
|
|
Loading…
Reference in New Issue