Skip to content

Commit

Permalink
textproc/py-markdown: Convert to USE_PYTHON=pep517
Browse files Browse the repository at this point in the history
- Bump PORTREVISION for package change
  • Loading branch information
sunpoet committed Jun 30, 2023
1 parent c9060cf commit e18d862
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
5 changes: 4 additions & 1 deletion 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}
Expand All @@ -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

Expand Down
11 changes: 11 additions & 0 deletions 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={

0 comments on commit e18d862

Please sign in to comment.