From nobody Tue Sep 17 13:27:49 2024 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 4X7MzB4ByYz59QLb; Tue, 17 Sep 2024 13:27:50 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X7MzB2D7Wz4ZxT; Tue, 17 Sep 2024 13:27:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726579670; 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=RCUw/A/8UXnfuXOCbegHdKTy6g31zTiZnQERHFmHaRA=; b=ZIPN1oBFmUftPNRukWg4EQtVIYcktWQYl8mMa01Y3F2IuDH+9F/7CU2uVNf9UGsfWYaFPe cGFLIzm9WEoMOWfsdVXQccArInLXACKLih1UPg+d4OxbN7j2m17xbXz/1SNJts672dTvmN JVTbS1TEFIR+vwdZ/HxlTrdyi7rCAMN0Xlq4cOsEeG68E7gQ5RI6TMtEwu0cwlNgAXsa+u J7HPktKje8/8Ved8h7jsWiT1p3yH47MOFJ1ACx3fHb1YA5EM3S9KXmu/XCKYrO8NVD7VPn lCCK2Q8PVPTeunayi6ou8CQJbsU33GFshjyzV49gPRDQ9cB58ceagZEDXpDv5A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726579670; a=rsa-sha256; cv=none; b=wSGGtDiVe9EFqfXcXBBT08oOOno5M7o4MTpNJcLjIh426puzkUXRbZBgwSu9fqqhFJuAhj jofYXSLp2JTeHyrm0fRgPypxDAWx4g7d8Vk9VgrBNjxLrFJ6sCeu7dHdl5gwBn8m+zT5Mp TAhcGUZbQBk1y074ppLCAKq7KMBbRInJppBe3AxhVfY6egNYzNDOwxCqP/yDdUPHRPOAPe tuQ0x9bUbZuF5/2adaWTKjO0+qnE3DiN1NrlR0HJ0zkPWZXDRmk0535f+bWZRpSag4LTsu 5y05tfV7s6DuQLfoIdySY8jXwY6hfXSUwrxJyeg+2L2h0+NJk5vLt1xlSOhDJg== 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=1726579670; 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=RCUw/A/8UXnfuXOCbegHdKTy6g31zTiZnQERHFmHaRA=; b=IDTv1gh8OqammaNPT4mZeW92Ru/Oh2nWCNFkgryX9xl3Dc1jvM469gzHTetsVqVW8bK3mf 9toasl90bMiuTP+FG7WZwSL3tdMwhAHc/kr8AWHO6yyh4gcWDwNjsiRjCPPC+0BPxJUQHp G2nmy3NzQvqvnegHbmZO9bl2cu+Bh/jfnTI1T+DknX/FvPazrzVGJ7MlRLSpBuxKF7+qzt EHMaP4i2Tx2DSN+rRTSM0bG7ctM5mTHuJNP4PX2UcY5xNybsICqiSKTG4Tqu61FvlwO3JU iVPwuO3wAhcp1xHTL0A6WfXXxpKRlbcdnctnMFVM0bsMkXwDRoAyy5y1U42bgA== 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 4X7MzB0fVpzg0L; Tue, 17 Sep 2024 13:27:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48HDRn5g008697; Tue, 17 Sep 2024 13:27:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48HDRnVg008694; Tue, 17 Sep 2024 13:27:49 GMT (envelope-from git) Date: Tue, 17 Sep 2024 13:27:49 GMT Message-Id: <202409171327.48HDRnVg008694@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 82049bff7845 - main - textproc/py-mdx_wikilink_plus: 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: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 82049bff78458eff806741082b77dc0da3b8dc9f Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=82049bff78458eff806741082b77dc0da3b8dc9f commit 82049bff78458eff806741082b77dc0da3b8dc9f Author: Muhammad Moinur Rahman AuthorDate: 2024-09-17 13:25:49 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2024-09-17 13:27:43 +0000 textproc/py-mdx_wikilink_plus: New port Converts wikilinks ([[wikilink]]) to relative links, including support for GitHub image variant. Absolute links are kept as is (with an automatic label made from the file path part in the URL if label is not given explicitly). You must not use this extension with markdown.extensions.wikilinks. This extension is designed to provide the functionalities of markdown.extensions.wikilinks with some extra features. Choose either one. WWW: https://github.com/neurobin/mdx_wikilink_plus --- textproc/Makefile | 1 + textproc/py-mdx_wikilink_plus/Makefile | 21 +++++++++++++++++++++ textproc/py-mdx_wikilink_plus/distinfo | 3 +++ textproc/py-mdx_wikilink_plus/pkg-descr | 7 +++++++ 4 files changed, 32 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index bb53bba40754..d987df8fc1d7 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1445,6 +1445,7 @@ SUBDIR += py-mdformat SUBDIR += py-mdit-py-plugins SUBDIR += py-mdurl + SUBDIR += py-mdx_wikilink_plus SUBDIR += py-merge3 SUBDIR += py-mike SUBDIR += py-misaka diff --git a/textproc/py-mdx_wikilink_plus/Makefile b/textproc/py-mdx_wikilink_plus/Makefile new file mode 100644 index 000000000000..b699f6667636 --- /dev/null +++ b/textproc/py-mdx_wikilink_plus/Makefile @@ -0,0 +1,21 @@ +PORTNAME= mdx_wikilink_plus +DISTVERSION= 1.4.1 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= bofh@FreeBSD.org +COMMENT= Converts wikilinks to relative links +WWW= https://github.com/neurobin/mdx_wikilink_plus + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markdown>=2.6:textproc/py-markdown@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist distutils unittest + +NO_ARCH= yes + +.include diff --git a/textproc/py-mdx_wikilink_plus/distinfo b/textproc/py-mdx_wikilink_plus/distinfo new file mode 100644 index 000000000000..bbab7b3915d1 --- /dev/null +++ b/textproc/py-mdx_wikilink_plus/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1726579294 +SHA256 (mdx_wikilink_plus-1.4.1.tar.gz) = b82446c00a49a57a5ccab48e6053168397f6ed818d2183a8a0f7472aa0e8e3ca +SIZE (mdx_wikilink_plus-1.4.1.tar.gz) = 9896 diff --git a/textproc/py-mdx_wikilink_plus/pkg-descr b/textproc/py-mdx_wikilink_plus/pkg-descr new file mode 100644 index 000000000000..19702769c5b9 --- /dev/null +++ b/textproc/py-mdx_wikilink_plus/pkg-descr @@ -0,0 +1,7 @@ +Converts wikilinks ([[wikilink]]) to relative links, including support for +GitHub image variant. Absolute links are kept as is (with an automatic label +made from the file path part in the URL if label is not given explicitly). + +You must not use this extension with markdown.extensions.wikilinks. This +extension is designed to provide the functionalities of +markdown.extensions.wikilinks with some extra features. Choose either one.