From nobody Sat May 4 08:14:19 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 4VWgSD0fNhz5K71X; Sat, 4 May 2024 08:14:20 +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 4VWgSC72nGz4bmY; Sat, 4 May 2024 08:14:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714810460; 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=DfT2vRymgWqJWEUfaE77Om/BxhMJCJzVpz3IcpC00MM=; b=fkdYM12f/vNgsnhpwlvO/2FURzq831DCW0PySFAIvyuXrprZxqMBAr7+sl003bC4qjt7Uh 9i9yBNAFaCapZhAFTpQEKNyMhUWTyK6R3e8GmI2te/Rfrl6xSPT03y2Q6Gcx/fm65CLJcg fqo4P36OZ3DIRP+ksaQFpQYIlC7qsWsInB3H1MT0L1lSz4rJqBhWk9FDB2F99nXtTaczOq Jow5fGRj/UhXRGr46hxmRIxY60zFoVufH/rYxSFd3FE0Rrr9mv3hfvKVSzNDj4kWCnLAan MHT6YLECb9ljnqvJaFXoTKkcMtyUnZlDuQz4+sSYPy4Q1jREAAY13RWeUHtANg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714810460; a=rsa-sha256; cv=none; b=aMd/lrDaFEBuRUies+Nys00nUsKQyekS29WVgbZXkz8R30uahepNzGjSu2WqznDyT/7lDr bGj+WXtFuoYgE5YE4hv4VqHr81KtwvG2BM06KBowqEtQaN1NpYIC4WOuIPqZQ2fOLga34d lPYkfjE/11pHhqLTCzKPacE4lXUFWHhum9oUxJQpCF0yaQZUiEjP7jrRLfbU0eiWDHDX8K F2SYFSk/KrHzheknnp3l9rWCC1b2n4zdRint3APqBfNPIqqfrcHAe4lINmd+slBTS2X2Rv /ol+2plhPtkCpTE83U5lA+vzLMvgydiu7+X+r0rv2Jj1GzocfEJ3UDXOWzdfig== 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=1714810460; 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=DfT2vRymgWqJWEUfaE77Om/BxhMJCJzVpz3IcpC00MM=; b=ffEoESHxIBDIqPQhXEcDql5yezuZG3e5z6XXSTPYOZzyhsxXwExoKUEMfqMW1lbzPFxUEW z0SKQuHYuJ4qgO6sUQ/kl1+1/brBBiHx7fqDNNXKTWkPp3yPlLjQzNue7CtYF7rJMFgf4i X9On1amVkgiEZZvLQ9xmWGkRNppO6MUC+xq4aLd9eamPToEHiUev7LL/1E/FQchjISTzE6 X5ZTJV2Kwh/7Izh2cRkDaj13nDQmZ+BXx85ya9ugyV/5ZUJDMkWPP1NwGi/HHWLeglZGoZ cEOKuuocbCTQusmGpCmDaxfvUOK5bXIpHbtviBUBHPvVeEYZjhR44hBWT3MuAw== 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 4VWgSC6dl5zMRB; Sat, 4 May 2024 08:14:19 +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 4448EJQ6032060; Sat, 4 May 2024 08:14:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 4448EJ90032057; Sat, 4 May 2024 08:14:19 GMT (envelope-from git) Date: Sat, 4 May 2024 08:14:19 GMT Message-Id: <202405040814.4448EJ90032057@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: 5d832102e93a - main - textproc/py-mkdocs-get-deps: 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: kai X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5d832102e93a9684ae8d265b48c040d9b2cfacfb Auto-Submitted: auto-generated The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=5d832102e93a9684ae8d265b48c040d9b2cfacfb commit 5d832102e93a9684ae8d265b48c040d9b2cfacfb Author: Kai Knoblich AuthorDate: 2024-05-04 07:35:48 +0000 Commit: Kai Knoblich CommitDate: 2024-05-04 08:13:23 +0000 textproc/py-mkdocs-get-deps: New port This package offers an extra command for MkDocs that infers required PyPI packages from plugins in mkdocs.yml. --- textproc/Makefile | 1 + textproc/py-mkdocs-get-deps/Makefile | 33 +++++++++++++++++++++++++++++++++ textproc/py-mkdocs-get-deps/distinfo | 3 +++ textproc/py-mkdocs-get-deps/pkg-descr | 2 ++ 4 files changed, 39 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index a48c152049ca..35acdf46fbd5 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1434,6 +1434,7 @@ SUBDIR += py-mistune2 SUBDIR += py-mkdocs SUBDIR += py-mkdocs-autorefs + SUBDIR += py-mkdocs-get-deps SUBDIR += py-mkdocs-git-revision-date-localized-plugin SUBDIR += py-mkdocs-material SUBDIR += py-mkdocs-material-extensions diff --git a/textproc/py-mkdocs-get-deps/Makefile b/textproc/py-mkdocs-get-deps/Makefile new file mode 100644 index 000000000000..1bf4ce339ca5 --- /dev/null +++ b/textproc/py-mkdocs-get-deps/Makefile @@ -0,0 +1,33 @@ +PORTNAME= mkdocs-get-deps +DISTVERSION= 0.2.0 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= mkdocs_get_deps-${DISTVERSION} + +MAINTAINER= kai@FreeBSD.org +COMMENT= MkDocs extension that lists all dependencies according to a mkdocs.yml +WWW= https://github.com/mkdocs/get-deps + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mergedeep>=1.3.4:devel/py-mergedeep@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}platformdirs>=2.2.0:devel/py-platformdirs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}yaml>=5.1:devel/py-yaml@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 pytest + +TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +NO_ARCH= yes + +.include + +.if ${PYTHON_REL} < 31000 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4.4:devel/py-importlib-metadata@${PY_FLAVOR} +.endif + +.include diff --git a/textproc/py-mkdocs-get-deps/distinfo b/textproc/py-mkdocs-get-deps/distinfo new file mode 100644 index 000000000000..93c298442df7 --- /dev/null +++ b/textproc/py-mkdocs-get-deps/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1714706840 +SHA256 (mkdocs_get_deps-0.2.0.tar.gz) = 162b3d129c7fad9b19abfdcb9c1458a651628e4b1dea628ac68790fb3061c60c +SIZE (mkdocs_get_deps-0.2.0.tar.gz) = 10239 diff --git a/textproc/py-mkdocs-get-deps/pkg-descr b/textproc/py-mkdocs-get-deps/pkg-descr new file mode 100644 index 000000000000..8c464ad4135e --- /dev/null +++ b/textproc/py-mkdocs-get-deps/pkg-descr @@ -0,0 +1,2 @@ +This package offers an extra command for MkDocs that infers required PyPI +packages from plugins in mkdocs.yml.