From nobody Thu Aug 31 05:47:46 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 4Rbqv66CQpz4rlc4; Thu, 31 Aug 2023 05:47:46 +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 4Rbqv65W5nz4HyT; Thu, 31 Aug 2023 05:47:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693460866; 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=Y3rqiBVILIIqmg/Q/F06VRK+9+bLeI3/n3ro3QX8vHI=; b=fcX21X9U6743jYGHhezO8QL1JmZB0+W4rUDnBcNpnz26l/nBk29n/FIhLc//JcMY0l2RRO yfoQBIClHu96WKRjysco8oZzdMHgBszcFaBdoV8sQTHBFTUmKoqWV1ys7PWCYUwymwf9J4 G+Bym7oOLEqZsDAHy65mG83vuh57EqAODGkRspQOO26trhZUtSXgHc1ARrhHnE1s0Lud49 9YNyDdSzFoEPcCeSFSXxybiwZ3RlvPGPVXEMstfZdNbG32Ws7OZn4D2F0vkp+n91Ecamac FMJ5J59KkYenHn2PS9S5/4gotMUlDLoGa6ZJsMPz9DEdwCM6/d0zOeN7P2kQlQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693460866; a=rsa-sha256; cv=none; b=rSXxlnDUt/EnQasGzbXVu8UVHulbzJUdhZlB2JQoGLPXRsMmzSN6kfddjlF6xDvvihLis3 LpFttSZuBm3GDCYjqizQFi5XDKSAmc7Au7Asg48z+F6tJpu6sS1+KLJ8WrMtm17rThxu0P lpVXmTNNndYfgM4K5RmPmEn7+2PWvQmPBi+OWJ9w5xZ09Z5Cnct4OHhnlV8baFh56gsTvi ++685WOX+2Mxrv3asMLn783Y7CXR/WAs5j6nUJaMzDKyaG1ryn+xZJly3EZPQuWFBLoKtV AYHMI54gN/fSZEbEjPMiEokVP/GcI1ZYogYop7U5DFhOnpH+7zp6Ptq9ghUe9A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693460866; 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=Y3rqiBVILIIqmg/Q/F06VRK+9+bLeI3/n3ro3QX8vHI=; b=tQUpAzoEhpWYoGEhsY9vqTFXxjqhIsCyhQVqf+P8jIJQ6VddNqa84w8s52lfbkq02whKO7 SlJ4cCNS2z1/z/uby/0jCJc3Z5iFvJesdycKMtQIgbtuOKVDZeFqDXDPP6VW+oha91oiqg FhUZ0Pph3GcbY9C79Q/+Z6v1HUKmZLXG67o9gVOTEVkqIn7BuQqdLUxc5Nch3J8A7AAz6a UkI6fjvx+elE4R7mxJzJ/eonhk2Fpw73S6pCkxnvI/2XhQzKFzMEBe8hAM1OtfV24H4sI7 XxjoEBznf6qcMzb9XqcJhYFE5BesOZ9MpxVvBnr5cFskDxZVrHQl0VZWv25fzw== 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 4Rbqv64L95z14yC; Thu, 31 Aug 2023 05:47:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37V5lkdI068227; Thu, 31 Aug 2023 05:47:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37V5lkUj068224; Thu, 31 Aug 2023 05:47:46 GMT (envelope-from git) Date: Thu, 31 Aug 2023 05:47:46 GMT Message-Id: <202308310547.37V5lkUj068224@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kai Knoblich Subject: git: e405e1b07f40 - main - textproc/py-markdown-callouts: New port 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: kai X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e405e1b07f406ad9f809e6168afe4d21657ccfbb Auto-Submitted: auto-generated The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=e405e1b07f406ad9f809e6168afe4d21657ccfbb commit e405e1b07f406ad9f809e6168afe4d21657ccfbb Author: Kai Knoblich AuthorDate: 2023-08-31 05:19:17 +0000 Commit: Kai Knoblich CommitDate: 2023-08-31 05:43:40 +0000 textproc/py-markdown-callouts: New port This extension for Python Markdown produces the same results as the "admonition" extension, but with a syntax that is much less intrusive and has a very reasonable fallback look for "vanilla" renderers. --- textproc/Makefile | 1 + textproc/py-markdown-callouts/Makefile | 22 ++++++++++++++++++++++ textproc/py-markdown-callouts/distinfo | 3 +++ .../files/patch-pyproject.toml | 12 ++++++++++++ textproc/py-markdown-callouts/pkg-descr | 3 +++ 5 files changed, 41 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 46a80495d365..b15fad5f9907 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1410,6 +1410,7 @@ SUBDIR += py-m2r SUBDIR += py-mako SUBDIR += py-markdown + SUBDIR += py-markdown-callouts SUBDIR += py-markdown-include SUBDIR += py-markdown-it-py SUBDIR += py-markdown2 diff --git a/textproc/py-markdown-callouts/Makefile b/textproc/py-markdown-callouts/Makefile new file mode 100644 index 000000000000..d8460d4a6a9a --- /dev/null +++ b/textproc/py-markdown-callouts/Makefile @@ -0,0 +1,22 @@ +PORTNAME= markdown-callouts +DISTVERSION= 0.3.0 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= kai@FreeBSD.org +COMMENT= Markdown extension: Classier syntax for admonitions +WWW= https://github.com/oprypin/markdown-callouts + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=0.12:devel/py-poetry-core@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markdown>=3.3.3<4:textproc/py-markdown@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist pep517 + +NO_ARCH= yes + +.include diff --git a/textproc/py-markdown-callouts/distinfo b/textproc/py-markdown-callouts/distinfo new file mode 100644 index 000000000000..981409d53092 --- /dev/null +++ b/textproc/py-markdown-callouts/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1688225214 +SHA256 (markdown-callouts-0.3.0.tar.gz) = 21e99d72a879663343e232158413e12eeaa9fb78b90e669f41cdbf0962a364fb +SIZE (markdown-callouts-0.3.0.tar.gz) = 5287 diff --git a/textproc/py-markdown-callouts/files/patch-pyproject.toml b/textproc/py-markdown-callouts/files/patch-pyproject.toml new file mode 100644 index 000000000000..225fea3423eb --- /dev/null +++ b/textproc/py-markdown-callouts/files/patch-pyproject.toml @@ -0,0 +1,12 @@ +Use the more lightweight py-poetry-core instead py-poetry. + +--- pyproject.toml.orig 2022-09-18 20:43:59 UTC ++++ pyproject.toml +@@ -48,5 +48,5 @@ filterwarnings = ["ignore::DeprecationWarning:.*:", + "default::DeprecationWarning:markdown_callouts.*:"] + + [build-system] +-requires = ["poetry>=0.12"] +-build-backend = "poetry.masonry.api" ++requires = ["poetry-core>=0.12"] ++build-backend = "poetry.core.masonry.api" diff --git a/textproc/py-markdown-callouts/pkg-descr b/textproc/py-markdown-callouts/pkg-descr new file mode 100644 index 000000000000..f2bf76432d65 --- /dev/null +++ b/textproc/py-markdown-callouts/pkg-descr @@ -0,0 +1,3 @@ +This extension for Python Markdown produces the same results as the +"admonition" extension, but with a syntax that is much less intrusive and has +a very reasonable fallback look for "vanilla" renderers.