Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Mar 2023 06:18:12 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: ad96d9888ffd - main - textproc/py-pymdown-extensions: Update to 9.9.2
Message-ID:  <202303160618.32G6ICq5089212@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=ad96d9888ffd3892e22636c2eca7609a5bf0cc90

commit ad96d9888ffd3892e22636c2eca7609a5bf0cc90
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2023-03-16 05:53:08 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2023-03-16 05:53:08 +0000

    textproc/py-pymdown-extensions: Update to 9.9.2
    
    * Switch to PEP517 build framework and remove no longer required
      setuptools workaround.
    
    Changelog since 9.9:
    
    https://github.com/facelessuser/pymdown-extensions/compare/9.9...9.9.2
    
    MFH:            No (PEP517 support not present in 2023Q1 branch)
---
 textproc/py-pymdown-extensions/Makefile            | 12 ++-----
 textproc/py-pymdown-extensions/distinfo            |  6 ++--
 .../py-pymdown-extensions/files/patch-setup.py     | 42 ----------------------
 3 files changed, 6 insertions(+), 54 deletions(-)

diff --git a/textproc/py-pymdown-extensions/Makefile b/textproc/py-pymdown-extensions/Makefile
index b315e7613b21..3b9a2cbd3fc5 100644
--- a/textproc/py-pymdown-extensions/Makefile
+++ b/textproc/py-pymdown-extensions/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pymdown-extensions
-DISTVERSION=	9.9
+DISTVERSION=	9.9.2
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,18 +12,12 @@ WWW=		https://github.com/facelessuser/pymdown-extensions
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>=0.21.1:devel/py-hatchling@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}markdown>=3.2:textproc/py-markdown@${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-pymdown-extensions/distinfo b/textproc/py-pymdown-extensions/distinfo
index bdec34704dcc..d1395d92cb0e 100644
--- a/textproc/py-pymdown-extensions/distinfo
+++ b/textproc/py-pymdown-extensions/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1671528940
-SHA256 (pymdown_extensions-9.9.tar.gz) = 0f8fb7b74a37a61cc34e90b2c91865458b713ec774894ffad64353a5fce85cfc
-SIZE (pymdown_extensions-9.9.tar.gz) = 743948
+TIMESTAMP = 1677140141
+SHA256 (pymdown_extensions-9.9.2.tar.gz) = ebb33069bafcb64d5f5988043331d4ea4929325dc678a6bcf247ddfcf96499f8
+SIZE (pymdown_extensions-9.9.2.tar.gz) = 744017
diff --git a/textproc/py-pymdown-extensions/files/patch-setup.py b/textproc/py-pymdown-extensions/files/patch-setup.py
deleted file mode 100644
index e9091bddbf99..000000000000
--- a/textproc/py-pymdown-extensions/files/patch-setup.py
+++ /dev/null
@@ -1,42 +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-11-19 11:48:49 UTC
-+++ setup.py
-@@ -0,0 +1,32 @@
-+# -*- coding: utf-8 -*-
-+from setuptools import setup
-+
-+setup(
-+    name='pymdown-extensions',
-+    version='%%DISTVERSION%%',
-+    description='Extension pack for Python Markdown.',
-+    long_description='',
-+    author_email='Isaac Muse <Isaac.Muse@gmail.com>',
-+    classifiers=[
-+        'Development Status :: 5 - Production/Stable',
-+        'Environment :: Console',
-+        'Intended Audience :: Developers',
-+        'License :: OSI Approved :: MIT License',
-+        'Operating System :: OS Independent',
-+        'Programming Language :: Python :: 3',
-+        'Programming Language :: Python :: 3.7',
-+        'Programming Language :: Python :: 3.8',
-+        'Programming Language :: Python :: 3.9',
-+        'Programming Language :: Python :: 3.10',
-+        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
-+        'Topic :: Software Development :: Libraries :: Python Modules',
-+        'Topic :: Text Processing :: Filters',
-+        'Topic :: Text Processing :: Markup :: HTML',
-+    ],
-+    install_requires=[
-+        'markdown>=3.2',
-+    ],
-+    packages=[
-+        'pymdownx',
-+    ],
-+)



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