Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Mar 2023 06:18:16 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: cbf776676ab6 - main - textproc/py-mkdocs-material: Update to 9.1.2
Message-ID:  <202303160618.32G6IGki089269@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=cbf776676ab6468b5d91a2eaf4b22cf0bbdc57de

commit cbf776676ab6468b5d91a2eaf4b22cf0bbdc57de
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2023-03-16 05:56:51 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2023-03-16 05:57:41 +0000

    textproc/py-mkdocs-material: Update to 9.1.2
    
    * Switch to PEP517 build framework and remove no longer required
      setuptools workaround.
    
    Changelog since 8.5.11:
    
    https://github.com/squidfunk/mkdocs-material/compare/8.5.11...9.1.2
    
    MFH:            No (PEP517 support not present in 2023Q1 branch)
---
 textproc/py-mkdocs-material/Makefile             | 24 +++++------
 textproc/py-mkdocs-material/distinfo             |  6 +--
 textproc/py-mkdocs-material/files/patch-setup.py | 52 ------------------------
 3 files changed, 14 insertions(+), 68 deletions(-)

diff --git a/textproc/py-mkdocs-material/Makefile b/textproc/py-mkdocs-material/Makefile
index aa407f3dccc7..4574beed162f 100644
--- a/textproc/py-mkdocs-material/Makefile
+++ b/textproc/py-mkdocs-material/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	mkdocs-material
-DISTVERSION=	8.5.11
+DISTVERSION=	9.1.2
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,24 +12,22 @@ WWW=		https://github.com/squidfunk/mkdocs-material
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Jinja2>=3.0.2:devel/py-Jinja2@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}hatch-requirements-txt>0:devel/py-hatch-requirements-txt@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}hatch-nodejs-version>0:devel/py-hatch-nodejs-version@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}colorama>=0.4:devel/py-colorama@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}Jinja2>=3.0.2:devel/py-Jinja2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}markdown>=3.2:textproc/py-markdown@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}mkdocs>=1.4.0:textproc/py-mkdocs@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}mkdocs>=1.4.2:textproc/py-mkdocs@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}mkdocs-material-extensions>=1.1:textproc/py-mkdocs-material-extensions@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pygments>=2.12:textproc/py-pygments@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pymdown-extensions>=9.4:textproc/py-pymdown-extensions@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pygments>=2.14:textproc/py-pygments@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pymdown-extensions>=9.9.1:textproc/py-pymdown-extensions@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}regex>=2022.4.24:textproc/py-regex@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=2.26:www/py-requests@${PY_FLAVOR}
 
 USES=		python:3.7+
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist pep517
 
 NO_ARCH=	yes
 
-# Avoid that pyproject.toml is read during setup otherwise build fails
-post-extract:
-	@${MV} ${WRKSRC}/pyproject.toml ${WRKSRC}/pyproject.toml.dist
-
-post-patch:
-	@${REINPLACE_CMD} -e 's/%%DISTVERSION%%/${DISTVERSION}/' ${WRKSRC}/setup.py
-
 .include <bsd.port.mk>
diff --git a/textproc/py-mkdocs-material/distinfo b/textproc/py-mkdocs-material/distinfo
index fcebd2c1b5e5..4e68f71d3783 100644
--- a/textproc/py-mkdocs-material/distinfo
+++ b/textproc/py-mkdocs-material/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1671529347
-SHA256 (mkdocs_material-8.5.11.tar.gz) = b0ea0513fd8cab323e8a825d6692ea07fa83e917bb5db042e523afecc7064ab7
-SIZE (mkdocs_material-8.5.11.tar.gz) = 3533290
+TIMESTAMP = 1678824830
+SHA256 (mkdocs_material-9.1.2.tar.gz) = 9ca8c980c30aab3b70e3bfbec691f9ffcbea8319873911c86e8af145147e2a9d
+SIZE (mkdocs_material-9.1.2.tar.gz) = 3619020
diff --git a/textproc/py-mkdocs-material/files/patch-setup.py b/textproc/py-mkdocs-material/files/patch-setup.py
deleted file mode 100644
index dc4f53f88f2a..000000000000
--- a/textproc/py-mkdocs-material/files/patch-setup.py
+++ /dev/null
@@ -1,52 +0,0 @@
-Generated via adding
-
-[tool.hatch.build.targets.sdist]
-support-legacy = true
-
-to setup.py and then run "hatchling build".
-
---- setup.py.orig	2022-12-20 10:46:10 UTC
-+++ setup.py
-@@ -0,0 +1,42 @@
-+# -*- coding: utf-8 -*-
-+from setuptools import setup
-+
-+setup(
-+    name='mkdocs-material',
-+    version='%%DISTVERSION%%',
-+    description='Documentation that simply works',
-+    long_description='',
-+    author_email='Martin Donath <martin.donath@squidfunk.com>',
-+    classifiers=[
-+        'Development Status :: 5 - Production/Stable',
-+        'Environment :: Web Environment',
-+        'License :: OSI Approved :: MIT License',
-+        'Programming Language :: JavaScript',
-+        'Programming Language :: Python',
-+        'Topic :: Documentation',
-+        'Topic :: Software Development :: Documentation',
-+        'Topic :: Text Processing :: Markup :: HTML',
-+    ],
-+    install_requires=[
-+        'jinja2>=3.0.2',
-+        'markdown>=3.2',
-+        'mkdocs-material-extensions>=1.1',
-+        'mkdocs>=1.4.0',
-+        'pygments>=2.12',
-+        'pymdown-extensions>=9.4',
-+        'requests>=2.26',
-+    ],
-+    entry_points={
-+        'mkdocs.plugins': [
-+            'search = material.plugins.search.plugin:SearchPlugin',
-+            'social = material.plugins.social.plugin:SocialPlugin',
-+            'tags = material.plugins.tags.plugin:TagsPlugin',
-+        ],
-+        'mkdocs.themes': [
-+            'material = material',
-+        ],
-+    },
-+    package_data={
-+        '': ['*', '.icons/*', '.icons/*/*', '.icons/*/*/*'],
-+    },
-+)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303160618.32G6IGki089269>