Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jun 2023 07:20:48 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e18d862b9d04 - main - textproc/py-markdown: Convert to USE_PYTHON=pep517
Message-ID:  <202306300720.35U7KmZU076101@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e18d862b9d04efd14684af43da888c8df4c87ef9

commit e18d862b9d04efd14684af43da888c8df4c87ef9
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-06-30 07:05:00 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-06-30 07:05:00 +0000

    textproc/py-markdown: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 textproc/py-markdown/Makefile             |  5 ++++-
 textproc/py-markdown/files/patch-setup.py | 11 +++++++++++
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/textproc/py-markdown/Makefile b/textproc/py-markdown/Makefile
index f084e9d925ec..861088b4f49a 100644
--- a/textproc/py-markdown/Makefile
+++ b/textproc/py-markdown/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	markdown
 PORTVERSION=	3.3.7
+PORTREVISION=	1
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,11 +13,13 @@ WWW=		https://github.com/Python-Markdown/markdown
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=36.6:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils unittest
+USE_PYTHON=	autoplist concurrent pep517 unittest
 
 NO_ARCH=	yes
 
diff --git a/textproc/py-markdown/files/patch-setup.py b/textproc/py-markdown/files/patch-setup.py
new file mode 100644
index 000000000000..671ba7436192
--- /dev/null
+++ b/textproc/py-markdown/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2022-05-05 19:08:30 UTC
++++ setup.py
+@@ -56,7 +56,7 @@ with open('README.md') as f:
+     long_description = f.read()
+ 
+ setup(
+-    name='Markdown',
++    name='markdown',
+     version=__version__,
+     url='https://Python-Markdown.github.io/',
+     project_urls={



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