From nobody Sat Nov 5 12:41:37 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N4HDd5Fb5z4hc7r; Sat, 5 Nov 2022 12:41:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N4HDd4j4Nz4MP9; Sat, 5 Nov 2022 12:41:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667652097; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=eO6jvjMxEx1Owu1KHkMCIfcwalv1IHiGOSgmQ95DmqE=; b=mY/uGfBwelqoev7HZtZANmGwI0KB0sEsxKGQXe1XA5tJRJFqBFd9tu3BcyaBJv/wJu9heo CnQ6BL8V2IfHanp9G8x8x0viFEpsBcK38O7ZChZh6y8Vk3gBIxPAWA65CATtlYAvRPYG4N T1JK/Pcg+fxpgF1jwbYLiifTD0kwLY3N7eMh3aicoFDAzQt9chYXYdD77yDKG6+1rCtyW5 VwGFOfbg7IQ6p2SrLdrn/yREyfgiY6U+XrGTKOYhRg+L2umWbczoOOeRxZmEIFNa2Y6Ghj kMBB5wqQJwxr0O9bZBppz5N0CsbtVOCJg0QVcxBTZgbV5WtE3qr+K6e4tVwoUQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4N4HDd3mKYzhqp; Sat, 5 Nov 2022 12:41:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2A5CfbXg004570; Sat, 5 Nov 2022 12:41:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2A5CfbIO004569; Sat, 5 Nov 2022 12:41:37 GMT (envelope-from git) Date: Sat, 5 Nov 2022 12:41:37 GMT Message-Id: <202211051241.2A5CfbIO004569@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Rainer Hurling Subject: git: b7d4f97d3808 - main - textproc/py-docstring-to-markdown: Add new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rhurlin X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b7d4f97d3808b8bf7fd9176a2e477190e8374827 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667652097; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=eO6jvjMxEx1Owu1KHkMCIfcwalv1IHiGOSgmQ95DmqE=; b=QPgO4OYI0BzQXbAqqemjdlRdiCJJTbe6vioN1R3b6YrDNu941wkcoE2CcwZWSZyjKxklZn jcbXcXvqYgEZ+XZ1P7625JGuA0dSu5IdXgjfG9eWECE9eID+R5sJea0Gb68+9oZGJ1Oi4N Z1kl9RHx4d9GZDckkirXRAwZYA9k0I4pLD8fmx9SpPGqmlVdfsgYmoQAnTQ4z8Z1W//VpS IZs5Xc/c2Vngbm+rHYjqJHYgdZc7hFgv078U8q+RTpiW5HmN0NFDCejmwF0B0gOa81RIkg pH+tYJQDO/PKAHi6kHqF3VTFZjN2Qxdi8Myjts3QZglgYZ64Y9AfHGmiWMYt8w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667652097; a=rsa-sha256; cv=none; b=G5kVwhA1x2a9deRtxZMcEdLPTVnb4aLQPnn+0lr1wzPlrQr7urOYAiBIs6PR0TkrNCQTwK cdEMrL6E37myY+LVrpH9VpxJIfstIIoFrA4x0tfyCjpIivBhsJ5yJMQD9z3MQwgwmfvnEp Prq7asf7swZc28lxtZ4dxgMvPKhP+kON7MhrkxPnWNDJCQIzVSARvEqVsNTp3RaPZcvrr2 aXcEURPjp3McGOdeefDplBueI5nkuQEYTHCSRYI1U9m2sohNWP0dVlCfQCs8WG8VqHLj+j 5hLWf3v8hIFgN2ym7BDpEphbz/6hJiDufwXnISeHwi2/EGLaY7T8dafzy6vOFA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by rhurlin: URL: https://cgit.FreeBSD.org/ports/commit/?id=b7d4f97d3808b8bf7fd9176a2e477190e8374827 commit b7d4f97d3808b8bf7fd9176a2e477190e8374827 Author: Rainer Hurling AuthorDate: 2022-11-05 12:34:45 +0000 Commit: Rainer Hurling CommitDate: 2022-11-05 12:41:20 +0000 textproc/py-docstring-to-markdown: Add new port On the fly conversion of Python docstrings to markdown - Currently can recognise reStructuredText and convert multiple of its features to Markdown - in the future will be able to convert Google docstrings too Needed as dependency for next version of textproc/py-python-lsp-server. https://github.com/python-lsp/docstring-to-markdown --- textproc/Makefile | 1 + textproc/py-docstring-to-markdown/Makefile | 21 +++++++++++++++++++++ textproc/py-docstring-to-markdown/distinfo | 3 +++ textproc/py-docstring-to-markdown/pkg-descr | 5 +++++ 4 files changed, 30 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index ca4784525275..b80b50a58fba 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1310,6 +1310,7 @@ SUBDIR += py-diff-match-patch SUBDIR += py-docrepr SUBDIR += py-docstring-parser + SUBDIR += py-docstring-to-markdown SUBDIR += py-docutils SUBDIR += py-docx2txt SUBDIR += py-dominate diff --git a/textproc/py-docstring-to-markdown/Makefile b/textproc/py-docstring-to-markdown/Makefile new file mode 100644 index 000000000000..8e226ba97b8d --- /dev/null +++ b/textproc/py-docstring-to-markdown/Makefile @@ -0,0 +1,21 @@ +PORTNAME= docstring-to-markdown +DISTVERSION= 0.10 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= rhurlin@FreeBSD.org +COMMENT= On the fly conversion of Python docstrings to markdown +WWW= https://github.com/python-lsp/docstring-to-markdown + +LICENSE= LGPL21+ +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mypy>0:devel/py-mypy@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include diff --git a/textproc/py-docstring-to-markdown/distinfo b/textproc/py-docstring-to-markdown/distinfo new file mode 100644 index 000000000000..d37f42b88cd5 --- /dev/null +++ b/textproc/py-docstring-to-markdown/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1667640521 +SHA256 (docstring-to-markdown-0.10.tar.gz) = 12f75b0c7b7572defea2d9e24b57ef7ac38c3e26e91c0e5547cfc02b1c168bf6 +SIZE (docstring-to-markdown-0.10.tar.gz) = 17947 diff --git a/textproc/py-docstring-to-markdown/pkg-descr b/textproc/py-docstring-to-markdown/pkg-descr new file mode 100644 index 000000000000..6084b703573c --- /dev/null +++ b/textproc/py-docstring-to-markdown/pkg-descr @@ -0,0 +1,5 @@ +On the fly conversion of Python docstrings to markdown. + +- Currently can recognise reStructuredText and convert multiple + of its features to Markdown +- In the future will be able to convert Google docstrings too