From owner-dev-commits-ports-all@freebsd.org Tue Apr 20 15:19:38 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8EC975DADF4; Tue, 20 Apr 2021 15:19:38 +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 4FPnRG3gWMz4rx6; Tue, 20 Apr 2021 15:19:38 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 6CDEE151A7; Tue, 20 Apr 2021 15:19:38 +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 13KFJcO4092747; Tue, 20 Apr 2021 15:19:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 13KFJcdd092746; Tue, 20 Apr 2021 15:19:38 GMT (envelope-from git) Date: Tue, 20 Apr 2021 15:19:38 GMT Message-Id: <202104201519.13KFJcdd092746@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Neel Chauhan Subject: git: 39926f897fca - main - New port: textproc/py-markdown3: Python implementation of Markdown MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: nc X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 39926f897fcaab93c2e5ec13d596cced68267cd5 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Apr 2021 15:19:38 -0000 The branch main has been updated by nc: URL: https://cgit.FreeBSD.org/ports/commit/?id=39926f897fcaab93c2e5ec13d596cced68267cd5 commit 39926f897fcaab93c2e5ec13d596cced68267cd5 Author: Neel Chauhan AuthorDate: 2021-04-20 15:18:38 +0000 Commit: Neel Chauhan CommitDate: 2021-04-20 15:18:38 +0000 New port: textproc/py-markdown3: Python implementation of Markdown Differential Revision: https://reviews.freebsd.org/D29803 --- textproc/Makefile | 1 + textproc/py-markdown/Makefile | 2 ++ textproc/py-markdown3/Makefile | 31 ++++++++++++++++++++++++++++++ textproc/py-markdown3/distinfo | 3 +++ textproc/py-markdown3/files/patch-setup.py | 10 ++++++++++ textproc/py-markdown3/pkg-descr | 13 +++++++++++++ 6 files changed, 60 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index eec612bc6bb2..4c3de1f85211 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1318,6 +1318,7 @@ SUBDIR += py-markdown-it-py SUBDIR += py-markdown-math SUBDIR += py-markdown2 + SUBDIR += py-markdown3 SUBDIR += py-markuppy SUBDIR += py-markups SUBDIR += py-markupsafe diff --git a/textproc/py-markdown/Makefile b/textproc/py-markdown/Makefile index b61b28ce370d..09c15a57682d 100644 --- a/textproc/py-markdown/Makefile +++ b/textproc/py-markdown/Makefile @@ -23,6 +23,8 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \ USES= python:3.6+ USE_PYTHON= distutils concurrent autoplist +CONFLICTS= ${PYTHON_PKGNAMEPREFIX}markdown + NO_ARCH= yes do-test: diff --git a/textproc/py-markdown3/Makefile b/textproc/py-markdown3/Makefile new file mode 100644 index 000000000000..31cb9c80c796 --- /dev/null +++ b/textproc/py-markdown3/Makefile @@ -0,0 +1,31 @@ +PORTNAME= markdown +PORTVERSION= 3.3.4 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PKGNAMESUFFIX= 3 +DISTNAME= Markdown-${PORTVERSION} + +MAINTAINER= nc@FreeBSD.org +COMMENT= Python implementation of Markdown + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytidylib>0:textproc/py-pytidylib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= distutils concurrent autoplist + +CONFLICTS= ${PYTHON_PKGNAMEPREFIX}markdown + +NO_ARCH= yes + +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test + +.include diff --git a/textproc/py-markdown3/distinfo b/textproc/py-markdown3/distinfo new file mode 100644 index 000000000000..149882e34f05 --- /dev/null +++ b/textproc/py-markdown3/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1618638255 +SHA256 (Markdown-3.3.4.tar.gz) = 31b5b491868dcc87d6c24b7e3d19a0d730d59d3e46f4eea6430a321bed387a49 +SIZE (Markdown-3.3.4.tar.gz) = 322192 diff --git a/textproc/py-markdown3/files/patch-setup.py b/textproc/py-markdown3/files/patch-setup.py new file mode 100644 index 000000000000..49128bf88917 --- /dev/null +++ b/textproc/py-markdown3/files/patch-setup.py @@ -0,0 +1,10 @@ +--- setup.py.orig 2021-02-24 19:57:42 UTC ++++ setup.py +@@ -129,5 +129,6 @@ setup( + 'Topic :: Text Processing :: Filters', + 'Topic :: Text Processing :: Markup :: HTML', + 'Topic :: Text Processing :: Markup :: Markdown' +- ] ++ ], ++ test_suite='nose.collector', + ) diff --git a/textproc/py-markdown3/pkg-descr b/textproc/py-markdown3/pkg-descr new file mode 100644 index 000000000000..51d400b926cc --- /dev/null +++ b/textproc/py-markdown3/pkg-descr @@ -0,0 +1,13 @@ +This is a Python implementation of John Gruber's Markdown. It is almost +completely compliant with the reference implementation, though there are a +few very minor differences. + +Features: + + * International Input + * Extensions + * Output Formats + * "Safe Modes" + * Command Line Interface + +WWW: https://pythonhosted.org/Markdown/