pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-mdformat: Import py-mdformat-0.7.16 as wip/py-mdformat



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Fri Mar 10 01:08:49 2023 +0100
Changeset:	a975c8bba912d0f40687c01d69ac09265eb32500

Added Files:
	py-mdformat/ALTERNATIVES
	py-mdformat/DESCR
	py-mdformat/Makefile
	py-mdformat/PLIST
	py-mdformat/distinfo

Log Message:
py-mdformat: Import py-mdformat-0.7.16 as wip/py-mdformat

Mdformat is an opinionated Markdown formatter that can be used to
enforce a consistent style in Markdown files.

Mdformat is a Unix-style command-line tool as well as a Python
library.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a975c8bba912d0f40687c01d69ac09265eb32500

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-mdformat/ALTERNATIVES |  1 +
 py-mdformat/DESCR        |  5 +++++
 py-mdformat/Makefile     | 34 ++++++++++++++++++++++++++++++++++
 py-mdformat/PLIST        | 44 ++++++++++++++++++++++++++++++++++++++++++++
 py-mdformat/distinfo     |  5 +++++
 5 files changed, 89 insertions(+)

diffs:
diff --git a/py-mdformat/ALTERNATIVES b/py-mdformat/ALTERNATIVES
new file mode 100644
index 0000000000..9ccd5c6f97
--- /dev/null
+++ b/py-mdformat/ALTERNATIVES
@@ -0,0 +1 @@
+bin/mdformat @PREFIX@/bin/mdformat@PYVERSSUFFIX@
diff --git a/py-mdformat/DESCR b/py-mdformat/DESCR
new file mode 100644
index 0000000000..2df39719da
--- /dev/null
+++ b/py-mdformat/DESCR
@@ -0,0 +1,5 @@
+Mdformat is an opinionated Markdown formatter that can be used to
+enforce a consistent style in Markdown files.
+
+Mdformat is a Unix-style command-line tool as well as a Python
+library.
diff --git a/py-mdformat/Makefile b/py-mdformat/Makefile
new file mode 100644
index 0000000000..d57bc7a71c
--- /dev/null
+++ b/py-mdformat/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD$
+
+DISTNAME=	mdformat-0.7.16
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	textproc python
+MASTER_SITES=	${MASTER_SITE_PYPI:=m/mdformat/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://mdformat.rtfd.io/
+COMMENT=	CommonMark compliant Markdown formatter
+LICENSE=	mit
+
+DEPENDS+=	${PYPKGPREFIX}-tomli>=1.1.0:../../textproc/py-tomli
+DEPENDS+=	${PYPKGPREFIX}-markdown-it-py>=1.0.0:../../textproc/py-markdown-it-py
+
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+
+.include "../../lang/python/pyversion.mk"
+
+.if ${_PYTHON_VERSION} < 37
+DEPENDS+=	${PYPKGPREFIX}-typing-extensions>=3.7.4:../../devel/py-typing-extensions
+.endif
+
+.if ${_PYTHON_VERSION} < 310
+DEPENDS+=	${PYPKGPREFIX}-importlib-metadata>=3.6.0:../../devel/py-importlib-metadata
+.endif
+
+USE_LANGUAGES=	# none
+
+post-install:
+	${MV} ${DESTDIR}${PREFIX}/bin/mdformat ${DESTDIR}${PREFIX}/bin/mdformat${PYVERSSUFFIX}
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-mdformat/PLIST b/py-mdformat/PLIST
new file mode 100644
index 0000000000..dcf61207db
--- /dev/null
+++ b/py-mdformat/PLIST
@@ -0,0 +1,44 @@
+@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/__main__.py
+${PYSITELIB}/mdformat/__main__.pyc
+${PYSITELIB}/mdformat/_api.py
+${PYSITELIB}/mdformat/_api.pyc
+${PYSITELIB}/mdformat/_cli.py
+${PYSITELIB}/mdformat/_cli.pyc
+${PYSITELIB}/mdformat/_compat.py
+${PYSITELIB}/mdformat/_compat.pyc
+${PYSITELIB}/mdformat/_conf.py
+${PYSITELIB}/mdformat/_conf.pyc
+${PYSITELIB}/mdformat/_util.py
+${PYSITELIB}/mdformat/_util.pyc
+${PYSITELIB}/mdformat/codepoints/__init__.py
+${PYSITELIB}/mdformat/codepoints/__init__.pyc
+${PYSITELIB}/mdformat/codepoints/_unicode_punctuation.py
+${PYSITELIB}/mdformat/codepoints/_unicode_punctuation.pyc
+${PYSITELIB}/mdformat/codepoints/_unicode_whitespace.py
+${PYSITELIB}/mdformat/codepoints/_unicode_whitespace.pyc
+${PYSITELIB}/mdformat/plugins.py
+${PYSITELIB}/mdformat/plugins.pyc
+${PYSITELIB}/mdformat/py.typed
+${PYSITELIB}/mdformat/renderer/__init__.py
+${PYSITELIB}/mdformat/renderer/__init__.pyc
+${PYSITELIB}/mdformat/renderer/_context.py
+${PYSITELIB}/mdformat/renderer/_context.pyc
+${PYSITELIB}/mdformat/renderer/_tree.py
+${PYSITELIB}/mdformat/renderer/_tree.pyc
+${PYSITELIB}/mdformat/renderer/_util.py
+${PYSITELIB}/mdformat/renderer/_util.pyc
+${PYSITELIB}/mdformat/renderer/typing.py
+${PYSITELIB}/mdformat/renderer/typing.pyc
diff --git a/py-mdformat/distinfo b/py-mdformat/distinfo
new file mode 100644
index 0000000000..49692b5166
--- /dev/null
+++ b/py-mdformat/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (mdformat-0.7.16.tar.gz) = cbcacf9a84e923e5cac355c41276c1fb243a2cf3d0cec4e177b8048aff1b055b
+SHA512 (mdformat-0.7.16.tar.gz) = 867cb9fbdf362476b0ee9661cb0d39ad9874cf391f30b429dc77f32a95e7d4f0f8630e3478e6b5fdb52cfa54e08c500f1c3945cd45e467daf8fd6146780ce929
+Size (mdformat-0.7.16.tar.gz) = 28390 bytes


Home | Main Index | Thread Index | Old Index