diff --git a/graphics/py-cairocffi/Makefile b/graphics/py-cairocffi/Makefile index 1eaf534147ad..4d0d11c890a2 100644 --- a/graphics/py-cairocffi/Makefile +++ b/graphics/py-cairocffi/Makefile @@ -1,39 +1,39 @@ PORTNAME= cairocffi -PORTVERSION= 1.4.0 -PORTREVISION= 1 +PORTVERSION= 1.7.1 CATEGORIES= graphics python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= dch@FreeBSD.org COMMENT= CFFI-based Cairo bindings for Python WWW= https://github.com/kozea/cairocffi LICENSE= BSD3CLAUSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.1.0:devel/py-cffi@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.1.0:devel/py-cffi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}flit-core>0:devel/py-flit-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.1.0:devel/py-cffi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xcffib>=0.3.2:x11/py-xcffib@${PY_FLAVOR} TEST_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ gdk-pixbuf2>0:graphics/gdk-pixbuf2 USES= gnome python USE_GNOME= cairo -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes # --record output is not complete so supplement autoplist w/ a plist for now # https://github.com/Kozea/cairocffi/issues/108 # _generated files only exist after install not build # so copy them to the src directory so we can run tests against WRKSRC # # -v = verbose, -rs print skip reasons, -o override tox.ini/pytest.ini args do-test: ${CP} -Rp ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/_generated ${WRKSRC}/${PORTNAME} ${TOUCH} ${WRKSRC}/${PORTNAME}/_generated/__init__.py @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts= .include diff --git a/graphics/py-cairocffi/distinfo b/graphics/py-cairocffi/distinfo index 3958028587d6..26412de0978d 100644 --- a/graphics/py-cairocffi/distinfo +++ b/graphics/py-cairocffi/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1668630352 -SHA256 (cairocffi-1.4.0.tar.gz) = 509339b32ccd8d7b00c2204c32736cde78db53a32e6a162d312478d25626cd9a -SIZE (cairocffi-1.4.0.tar.gz) = 69851 +TIMESTAMP = 1741093793 +SHA256 (cairocffi-1.7.1.tar.gz) = 2e48ee864884ec4a3a34bfa8c9ab9999f688286eb714a15a43ec9d068c36557b +SIZE (cairocffi-1.7.1.tar.gz) = 88096 diff --git a/graphics/py-cairocffi/files/patch-setup.cfg b/graphics/py-cairocffi/files/patch-setup.cfg deleted file mode 100644 index d9a0b2b0a797..000000000000 --- a/graphics/py-cairocffi/files/patch-setup.cfg +++ /dev/null @@ -1,14 +0,0 @@ -# pytest-runner should be conditional on test arg provided to setup.py -# it is only needed for tests, but we run pytest directly (for now) -# TODO: Report/resolve upstream - ---- setup.cfg.orig 2022-11-16 20:31:48 UTC -+++ setup.cfg -@@ -52,7 +52,6 @@ test = - sphinx - sphinx_rtd_theme - test = -- pytest - flake8 - isort - numpy diff --git a/graphics/py-cairocffi/pkg-plist b/graphics/py-cairocffi/pkg-plist deleted file mode 100644 index e4c1f94a7724..000000000000 --- a/graphics/py-cairocffi/pkg-plist +++ /dev/null @@ -1,6 +0,0 @@ -%%PYTHON_SITELIBDIR%%/cairocffi/_generated/__pycache__/ffi_pixbuf.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc -%%PYTHON_SITELIBDIR%%/cairocffi/_generated/__pycache__/ffi_pixbuf.cpython-%%PYTHON_SUFFIX%%.pyc -%%PYTHON_SITELIBDIR%%/cairocffi/_generated/__pycache__/ffi.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc -%%PYTHON_SITELIBDIR%%/cairocffi/_generated/__pycache__/ffi.cpython-%%PYTHON_SUFFIX%%.pyc -%%PYTHON_SITELIBDIR%%/cairocffi/_generated/ffi_pixbuf.py -%%PYTHON_SITELIBDIR%%/cairocffi/_generated/ffi.py