From nobody Mon Feb 28 12:03:28 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 1908619EB5E1; Mon, 28 Feb 2022 12:03:29 +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 4K6fD05WdLz3NW4; Mon, 28 Feb 2022 12:03:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646049808; 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=RMbvivWqo9Gj7ohwi7GYC8WHe9LYzFL47nkjYQGmc6M=; b=rTOVEhaQ8euUmERyCoWVdgII1Bnx7wzU7xUASDKb5yTrc/W8Z43OpY2ZDmrpCaUd6q7yc6 7pOQ+D7LdDKiohX+fEo9Iv1HBLN9vVmcC7+QwvS+yT11V35WT23T9xI9ARM++3NMeOpFcu W1YD8a9Bd83QFGw/wKhXTRjdIQ0cRB6v5yN/jd3S2QDqgWXgTzzkbGICoLr/zY0ystnp7E mf+v95xmoLsnOK/pCR7Pg1R8fMN2sPzagWpHoYgcH2HJDE9lXwrW+d1f244asPxhKoBXX9 IOmj0mp106LD1H1bqZh5qERBOFKQ/mlgz92o4AZtNDs6eMlNEIIupcwQuCzYDQ== 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 7275D1B1A4; Mon, 28 Feb 2022 12:03:28 +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 21SC3SYE095346; Mon, 28 Feb 2022 12:03:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21SC3Sat095345; Mon, 28 Feb 2022 12:03:28 GMT (envelope-from git) Date: Mon, 28 Feb 2022 12:03:28 GMT Message-Id: <202202281203.21SC3Sat095345@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: 4d0c38877a77 - main - textproc/py-mkdocs-autorefs: 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: kai X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4d0c38877a77eb7623f27e02127a22c6a8c92b1f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646049808; 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=RMbvivWqo9Gj7ohwi7GYC8WHe9LYzFL47nkjYQGmc6M=; b=uQ/hQimzueKDMqeYulisn8N8Feos5MSfSDp3HTrEXvp2cdhhBX0s8KvQ14ZzXWcrWowziQ PHjJX0/WSa8cZ9oR2cqVK0S4ec70VVcmVf81PorG6ots5ZnQXydJQevm3WQs7Jc5k0iscx 8UmMx8xu3Q34wCoQo8IHv991EUCNKHHokNuifgyDEkGLz9dp86095XDJoRtIZcev5U8mYi +xSbJKjJyKcXPSKfOHoxFmlMgUeHaMv5QtEIgUkJpb1lWTJzNhA/JgdG6RCHE21hG/Wfnu H5nn5xEnh2pc+pDFtYsUh1vzWjgZPlB9cUL0IMwva+Cxhg0t6VzVbWwXhvqGfA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646049808; a=rsa-sha256; cv=none; b=RPPWLzrGDr+44cmioBU/p73uG7brxGKwnuKcPpahfvlUJ6LK5yJZX1oYI1d+HfseRTCH0m /57nHgrks8cj2FoBUCrgvYHQkGW9RFcgJoxYYNPUC8CD1/evI9MgIt6zsFD7WrxxfFmEaR iPQ+quPYQFSQ0A0g2pfDYEk3Ex/2PZOxrixVukW+mHOHlEdInY+jcWuSc0dqQx3JFQz3m9 4oiVw6ZI/M3xclrjz4wMZj0JBWFcAm71IQpoz0Ac/B705+ePnWfgrp8GhQy6QXHVEZIxgm jXZ2T15TDM3ZiTGo7tOD/zppcYUlotuqWxv5Oy2aeZYpRNinMhMlgjb+RHrsWQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=4d0c38877a77eb7623f27e02127a22c6a8c92b1f commit 4d0c38877a77eb7623f27e02127a22c6a8c92b1f Author: Kai Knoblich AuthorDate: 2022-02-28 11:48:40 +0000 Commit: Kai Knoblich CommitDate: 2022-02-28 11:48:40 +0000 textproc/py-mkdocs-autorefs: New port MkDocs generates anchors for each heading, and they can always be used to link to something, either within the same page or by specifying the path of the other page. But with this plugin, you can link to a heading from any other page on the site without needing to know the path of either of the pages, just the heading title itself. WWW: https://github.com/mkdocstrings/autorefs --- textproc/Makefile | 1 + textproc/py-mkdocs-autorefs/Makefile | 21 +++++++++++++++++++++ textproc/py-mkdocs-autorefs/distinfo | 3 +++ textproc/py-mkdocs-autorefs/pkg-descr | 9 +++++++++ 4 files changed, 34 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index b24af10abded..0debc484f844 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1364,6 +1364,7 @@ SUBDIR += py-misaka SUBDIR += py-mistune SUBDIR += py-mkdocs + SUBDIR += py-mkdocs-autorefs SUBDIR += py-mkdocs-material SUBDIR += py-mkdocs-material-extensions SUBDIR += py-mkdocs-nature diff --git a/textproc/py-mkdocs-autorefs/Makefile b/textproc/py-mkdocs-autorefs/Makefile new file mode 100644 index 000000000000..30861e52c8f1 --- /dev/null +++ b/textproc/py-mkdocs-autorefs/Makefile @@ -0,0 +1,21 @@ +PORTNAME= mkdocs-autorefs +DISTVERSION= 0.3.1 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= kai@FreeBSD.org +COMMENT= Automatically link across pages in MkDocs + +LICENSE= ISCL +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markdown>=3.3<4.0:textproc/py-markdown@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mkdocs>=1.1<2.0:textproc/py-mkdocs@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include diff --git a/textproc/py-mkdocs-autorefs/distinfo b/textproc/py-mkdocs-autorefs/distinfo new file mode 100644 index 000000000000..a8c6497ce053 --- /dev/null +++ b/textproc/py-mkdocs-autorefs/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1645878017 +SHA256 (mkdocs-autorefs-0.3.1.tar.gz) = 12baad29359f468b44d980ed35b713715409097a1d8e3d0ef90962db95205eda +SIZE (mkdocs-autorefs-0.3.1.tar.gz) = 8940 diff --git a/textproc/py-mkdocs-autorefs/pkg-descr b/textproc/py-mkdocs-autorefs/pkg-descr new file mode 100644 index 000000000000..39b83729ed13 --- /dev/null +++ b/textproc/py-mkdocs-autorefs/pkg-descr @@ -0,0 +1,9 @@ +MkDocs generates anchors for each heading, and they can always be used to link +to something, either within the same page or by specifying the path of the +other page. + +But with this plugin, you can link to a heading from any other page on the site +without needing to know the path of either of the pages, just the heading title +itself. + +WWW: https://github.com/mkdocstrings/autorefs