mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
textproc/py-markups: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for dependency and package change
This commit is contained in:
parent
f9098a1117
commit
96ce98e85d
3 changed files with 15 additions and 7 deletions
|
@ -1,5 +1,6 @@
|
|||
PORTNAME= markups
|
||||
PORTVERSION= 4.0.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= textproc python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
@ -12,6 +13,8 @@ WWW= https://github.com/retext-project/pymarkups
|
|||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.2:devel/py-setuptools@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-markdown-math>=0:textproc/py-python-markdown-math@${PY_FLAVOR}
|
||||
TEST_DEPENDS= asciidoc>=0:textproc/asciidoc \
|
||||
${PYTHON_PKGNAMEPREFIX}docutils>=0,1:textproc/py-docutils@${PY_FLAVOR} \
|
||||
|
@ -23,11 +26,8 @@ TEST_DEPENDS= asciidoc>=0:textproc/asciidoc \
|
|||
${PYTHON_PKGNAMEPREFIX}textile>=0:www/py-textile@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.9+
|
||||
USE_PYTHON= autoplist concurrent distutils unittest
|
||||
USE_PYTHON= autoplist concurrent pep517 unittest
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
post-patch:
|
||||
@${CP} ${FILESDIR}/setup.py ${WRKSRC}/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
11
textproc/py-markups/files/patch-pyproject.toml
Normal file
11
textproc/py-markups/files/patch-pyproject.toml
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- pyproject.toml.orig 2023-01-16 19:07:22 UTC
|
||||
+++ pyproject.toml
|
||||
@@ -3,7 +3,7 @@ requires = ["setuptools>=61.2"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
-name = "Markups"
|
||||
+name = "markups"
|
||||
description = "A wrapper around various text markups"
|
||||
readme = "README.rst"
|
||||
authors = [{name = "Dmitry Shachnev", email = "mitya57@gmail.com"}]
|
|
@ -1,3 +0,0 @@
|
|||
from setuptools import setup
|
||||
|
||||
setup()
|
Loading…
Add table
Reference in a new issue