From nobody Wed Apr 05 17:33:24 2023 X-Original-To: dev-commits-ports-main@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 4PsBYd2JFbz43p6c; Wed, 5 Apr 2023 17:33:25 +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 4PsBYd1Chxz47ZB; Wed, 5 Apr 2023 17:33:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680716005; 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=8y7r3V36QLgdR3fyZfITtR61oQ+Dpd43q+xzgtI47ds=; b=txpNVULD4cFR1pQFXQ0X+H4PmSEdj7Y5DpL8onINEflQFttiIGUCJKsJCuDhwSQ0+TACwB 7OcT3LlrvFq3NL3pEl9gEuQ4+D+zuF5GD+NhwE6yhlcqkfZEvw/fMZWT0V6eTZYOZZJvcC rIzT7wNaZr2hmuFHUvF4px6UBE5mTF9Xidhr+mJ+cxAppm68+SBXj8pgpZsbL437un8gCA R5XD/3nn7YSAAweroO5E3vsVrBgDanwIuGY5TzkyYJkMXszMA7Iq8aHdEF739ueIdd3xgB FacotPFbjTQgRpONaWlepp/Wac4VIgmYtnr9p3kAeWG6QWAyMlLMxY/jY6RRFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680716005; 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=8y7r3V36QLgdR3fyZfITtR61oQ+Dpd43q+xzgtI47ds=; b=PC2rKz0dH4GQilhlcdhojwVDC3zf1taQGlLzu2NEekpxLMzvAUOX+K4hpAC3r0JAnWyhCB veOnNwiu2/hYFy/EYspWWpc5dZ6UYWljKEP3KvBXJkha4zZEwe1OFCCIjIJfFWU7K3PYUj +6EfGZQwgh2uFvFKNxREzo8Gw/I1WIk9+7TTdo4qVhANcjHqoZOBw8QdF0evIkFFKvM1fm X5/mWRAcoZcIjXl5Dw6K4QZP2iLQUi43fsGfLDlDjAkxh95yOztGd0ofkj6RtLOHLTRPev GmnaZhpc8QmNFslrIQ6z3ZCRVLu57IyfzBy6ZA65wKPQIPo0lth4yxO6vGZlaQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680716005; a=rsa-sha256; cv=none; b=vj9RGzxayTPIhd8QDE4ovnkT6ZW2Y/YFz7xDNf1CcnoRLkW7/n2zJnaPz0G/K9Jv2e4ceb EBVxZ60Gdcyb6r4cGx8lfN1YMFDXoO6EyOwdS7kb5NT09L2Zj+rVbTSLuFDgVLaNBhXl5f yGacI5NH9GTaP60CdsITyb56rfRBzGBl3uYXSmTXLL8k38hH6z9cazS5G0hZdpn9T6n5vq hZroWTt97bA4sER7wQucXjeRzwdmU91zDC/5KMu2dscxX4TGYN/UjDAjgXLG9QbDDMPeEm q69CmZpMXF+zoBlf2WiN4ZcBbYZCVPCIT0jHz8IgVLUOK8txidzRCJEBMsE0ww== 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 4PsBYd0K5GzXCf; Wed, 5 Apr 2023 17:33:25 +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 335HXO9S083422; Wed, 5 Apr 2023 17:33:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 335HXOtw083421; Wed, 5 Apr 2023 17:33:24 GMT (envelope-from git) Date: Wed, 5 Apr 2023 17:33:24 GMT Message-Id: <202304051733.335HXOtw083421@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: e863277c5419 - main - textproc/py-mistletoe: Add py-mistletoe 1.0.1 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e863277c5419501c6356c975b1ecf52401016687 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=e863277c5419501c6356c975b1ecf52401016687 commit e863277c5419501c6356c975b1ecf52401016687 Author: Po-Chuan Hsieh AuthorDate: 2023-04-05 17:07:35 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-04-05 17:29:40 +0000 textproc/py-mistletoe: Add py-mistletoe 1.0.1 mistletoe is a Markdown parser in pure Python, designed to be fast, spec-compliant and fully customizable. Apart from being the fastest CommonMark-compliant Markdown parser implementation in pure Python, mistletoe also supports easy definitions of custom tokens. Parsing Markdown into an abstract syntax tree also allows us to swap out renderers for different output formats, without touching any of the core components. Remember to spell mistletoe in lowercase! --- textproc/Makefile | 1 + textproc/py-mistletoe/Makefile | 19 +++++++++++++++++++ textproc/py-mistletoe/distinfo | 3 +++ textproc/py-mistletoe/pkg-descr | 10 ++++++++++ 4 files changed, 33 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 8683909822fa..b845da088917 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1394,6 +1394,7 @@ SUBDIR += py-mdurl SUBDIR += py-mike SUBDIR += py-misaka + SUBDIR += py-mistletoe SUBDIR += py-mistune SUBDIR += py-mistune0 SUBDIR += py-mkdocs diff --git a/textproc/py-mistletoe/Makefile b/textproc/py-mistletoe/Makefile new file mode 100644 index 000000000000..949e00348dbd --- /dev/null +++ b/textproc/py-mistletoe/Makefile @@ -0,0 +1,19 @@ +PORTNAME= mistletoe +PORTVERSION= 1.0.1 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Fast, extensible Markdown parser in pure Python +WWW= https://github.com/miyuchina/mistletoe + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/textproc/py-mistletoe/distinfo b/textproc/py-mistletoe/distinfo new file mode 100644 index 000000000000..53676a3da28b --- /dev/null +++ b/textproc/py-mistletoe/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1679498506 +SHA256 (mistletoe-1.0.1.tar.gz) = b1f89afb079a1b1a542e9ef2c08dd450a07a2bd935c03cab22c328ad7ca4d8e8 +SIZE (mistletoe-1.0.1.tar.gz) = 48898 diff --git a/textproc/py-mistletoe/pkg-descr b/textproc/py-mistletoe/pkg-descr new file mode 100644 index 000000000000..41698d6f38fc --- /dev/null +++ b/textproc/py-mistletoe/pkg-descr @@ -0,0 +1,10 @@ +mistletoe is a Markdown parser in pure Python, designed to be fast, +spec-compliant and fully customizable. + +Apart from being the fastest CommonMark-compliant Markdown parser implementation +in pure Python, mistletoe also supports easy definitions of custom tokens. +Parsing Markdown into an abstract syntax tree also allows us to swap out +renderers for different output formats, without touching any of the core +components. + +Remember to spell mistletoe in lowercase!