mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
graphics/py-cairosvg: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
This commit is contained in:
parent
8b4cfad94d
commit
5f6fdf1ff1
2 changed files with 13 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
PORTNAME= cairosvg
|
||||
PORTVERSION= 2.7.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= graphics python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
@ -13,6 +14,8 @@ WWW= https://www.courtbouillon.org/cairosvg \
|
|||
LICENSE= LGPL3
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairocffi>=0:graphics/py-cairocffi@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}cssselect2>=0:textproc/py-cssselect2@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}defusedxml>=0:devel/py-defusedxml@${PY_FLAVOR} \
|
||||
|
@ -22,7 +25,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}isort>=0:devel/py-isort@${PY_FLAVOR} \
|
|||
${PYTHON_PKGNAMEPREFIX}flake8>=0:devel/py-flake8@${PY_FLAVOR} \
|
||||
|
||||
USES= cpe python
|
||||
USE_PYTHON= autoplist concurrent distutils pytest
|
||||
USE_PYTHON= autoplist concurrent pep517 pytest
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
|
|
9
graphics/py-cairosvg/files/patch-setup.cfg
Normal file
9
graphics/py-cairosvg/files/patch-setup.cfg
Normal file
|
@ -0,0 +1,9 @@
|
|||
--- setup.cfg.orig 2023-08-05 09:02:26 UTC
|
||||
+++ setup.cfg
|
||||
@@ -1,5 +1,5 @@
|
||||
[metadata]
|
||||
-name = CairoSVG
|
||||
+name = cairosvg
|
||||
url = https://courtbouillon.org/cairosvg
|
||||
version = file: cairosvg/VERSION
|
||||
license = LGPLv3+
|
Loading…
Add table
Reference in a new issue