Date: Wed, 23 Mar 2022 06:27:47 GMT From: Kai Knoblich <kai@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 8095b86c4f74 - main - textproc/py-mkdocs-autorefs: Update to 0.4.1 Message-ID: <202203230627.22N6RlOK029217@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=8095b86c4f74f4b39101069aef9feeb4ba397e96 commit 8095b86c4f74f4b39101069aef9feeb4ba397e96 Author: Kai Knoblich <kai@FreeBSD.org> AuthorDate: 2022-03-23 06:21:28 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2022-03-23 06:21:28 +0000 textproc/py-mkdocs-autorefs: Update to 0.4.1 Changelog since 0.3.1: https://github.com/mkdocstrings/autorefs/blob/0.4.1/CHANGELOG.md --- textproc/py-mkdocs-autorefs/Makefile | 9 ++++-- textproc/py-mkdocs-autorefs/distinfo | 6 ++-- textproc/py-mkdocs-autorefs/files/patch-setup.py | 35 ++++++++++++++++++++++++ 3 files changed, 44 insertions(+), 6 deletions(-) diff --git a/textproc/py-mkdocs-autorefs/Makefile b/textproc/py-mkdocs-autorefs/Makefile index 30861e52c8f1..36c72cdbf204 100644 --- a/textproc/py-mkdocs-autorefs/Makefile +++ b/textproc/py-mkdocs-autorefs/Makefile @@ -1,5 +1,5 @@ PORTNAME= mkdocs-autorefs -DISTVERSION= 0.3.1 +DISTVERSION= 0.4.1 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,12 +10,15 @@ 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} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markdown>=3.3:textproc/py-markdown@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mkdocs>=1.1:textproc/py-mkdocs@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist distutils NO_ARCH= yes +post-patch: + @${REINPLACE_CMD} -e 's|%%DISTVERSION%%|${DISTVERSION}|' ${WRKSRC}/setup.py + .include <bsd.port.mk> diff --git a/textproc/py-mkdocs-autorefs/distinfo b/textproc/py-mkdocs-autorefs/distinfo index a8c6497ce053..fc16edb10a05 100644 --- a/textproc/py-mkdocs-autorefs/distinfo +++ b/textproc/py-mkdocs-autorefs/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1645878017 -SHA256 (mkdocs-autorefs-0.3.1.tar.gz) = 12baad29359f468b44d980ed35b713715409097a1d8e3d0ef90962db95205eda -SIZE (mkdocs-autorefs-0.3.1.tar.gz) = 8940 +TIMESTAMP = 1647897201 +SHA256 (mkdocs-autorefs-0.4.1.tar.gz) = 70748a7bd025f9ecd6d6feeba8ba63f8e891a1af55f48e366d6d6e78493aba84 +SIZE (mkdocs-autorefs-0.4.1.tar.gz) = 13142 diff --git a/textproc/py-mkdocs-autorefs/files/patch-setup.py b/textproc/py-mkdocs-autorefs/files/patch-setup.py new file mode 100644 index 000000000000..fe6b9c9a3a97 --- /dev/null +++ b/textproc/py-mkdocs-autorefs/files/patch-setup.py @@ -0,0 +1,35 @@ +--- setup.py.orig 2022-03-22 06:18:53 UTC ++++ setup.py +@@ -0,0 +1,32 @@ ++# Generated via "pdm export -f setuppy" (run "pdm lock" beforehand) ++# ++# -*- coding: utf-8 -*- ++from setuptools import setup ++ ++INSTALL_REQUIRES = [ ++ 'Markdown>=3.3', ++ 'mkdocs>=1.1', ++] ++ENTRY_POINTS = { ++ 'mkdocs.plugins': [ ++ 'autorefs = mkdocs_autorefs.plugin:AutorefsPlugin', ++ ], ++} ++ ++setup_kwargs = { ++ 'name': 'mkdocs-autorefs', ++ 'version': '%%DISTVERSION%%', ++ 'description': 'Automatically link across pages in MkDocs.', ++ 'author': '', ++ 'author_email': 'Oleh Prypin <oleh@pryp.in>,Timothée Mazzucotelli <pawamoy@pm.me>', ++ 'packages': [ ++ 'mkdocs_autorefs', ++ ], ++ 'package_dir': {'': 'src'}, ++ 'package_data': {'': ['*']}, ++ 'install_requires': INSTALL_REQUIRES, ++ 'python_requires': '>=3.7', ++ 'entry_points': ENTRY_POINTS, ++} ++ ++setup(**setup_kwargs)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203230627.22N6RlOK029217>