git: 94f75f80caf7 - main - graphics/py-cairocffi: update to 1.4.0

From: Dave Cottlehuber <dch_at_FreeBSD.org>
Date: Wed, 16 Nov 2022 23:14:09 UTC
The branch main has been updated by dch:

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

commit 94f75f80caf7903c82f19993d1d60e004322c4da
Author:     Dave Cottlehuber <dch@FreeBSD.org>
AuthorDate: 2022-11-16 23:07:43 +0000
Commit:     Dave Cottlehuber <dch@FreeBSD.org>
CommitDate: 2022-11-16 23:07:43 +0000

    graphics/py-cairocffi:  update to 1.4.0
    
    Reported by:    portscout
    Sponsored by:   SkunkWerks, GmbH
---
 graphics/py-cairocffi/Makefile                        | 11 +++++------
 graphics/py-cairocffi/distinfo                        |  6 +++---
 .../files/patch-cairocffi_test__pixbuf.py             | 19 -------------------
 graphics/py-cairocffi/files/patch-setup.cfg           | 18 +++++++++---------
 4 files changed, 17 insertions(+), 37 deletions(-)

diff --git a/graphics/py-cairocffi/Makefile b/graphics/py-cairocffi/Makefile
index 8c3ee567fcc7..2245425fba5b 100644
--- a/graphics/py-cairocffi/Makefile
+++ b/graphics/py-cairocffi/Makefile
@@ -1,26 +1,25 @@
 PORTNAME=	cairocffi
-PORTVERSION=	1.2.0
+PORTVERSION=	1.4.0
 CATEGORIES=	graphics python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	dch@FreeBSD.org
 COMMENT=	CFFI-based Cairo bindings for Python
-WWW=		https://github.com/SimonSapin/cairocffi
+WWW=		https://github.com/kozea/cairocffi
 
 LICENSE=	BSD3CLAUSE
-LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.1.0:devel/py-cffi@${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=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
-		${PYNUMPY} \
+TEST_DEPENDS=	${PYNUMPY} \
+		${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
 		gdk-pixbuf2>0:graphics/gdk-pixbuf2
 
 USES=		gnome python:3.5+
 USE_GNOME=	cairo
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	autoplist distutils
 
 NO_ARCH=	yes
 
diff --git a/graphics/py-cairocffi/distinfo b/graphics/py-cairocffi/distinfo
index eeadf3be4433..3958028587d6 100644
--- a/graphics/py-cairocffi/distinfo
+++ b/graphics/py-cairocffi/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1605812745
-SHA256 (cairocffi-1.2.0.tar.gz) = 9a979b500c64c8179fec286f337e8fe644eca2f2cd05860ce0b62d25f22ea140
-SIZE (cairocffi-1.2.0.tar.gz) = 70393
+TIMESTAMP = 1668630352
+SHA256 (cairocffi-1.4.0.tar.gz) = 509339b32ccd8d7b00c2204c32736cde78db53a32e6a162d312478d25626cd9a
+SIZE (cairocffi-1.4.0.tar.gz) = 69851
diff --git a/graphics/py-cairocffi/files/patch-cairocffi_test__pixbuf.py b/graphics/py-cairocffi/files/patch-cairocffi_test__pixbuf.py
deleted file mode 100644
index 31d163fcbcbb..000000000000
--- a/graphics/py-cairocffi/files/patch-cairocffi_test__pixbuf.py
+++ /dev/null
@@ -1,19 +0,0 @@
-# Skip the test (module) if gdk_pixbuf can't be loaded
-# TODO: Report/resolve/PR upstream
-
---- cairocffi/test_pixbuf.py.orig	2019-02-06 21:50:58 UTC
-+++ cairocffi/test_pixbuf.py
-@@ -15,7 +15,12 @@ import zlib
- 
- import pytest
- 
--from . import constants, pixbuf
-+from . import constants
-+
-+try:
-+    from . import pixbuf
-+except OSError:
-+    pytestmark = pytest.mark.skip('Could not find/load gdk_pixbuf-2.0')
- 
- PNG_BYTES = base64.b64decode(
-     b'iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAYAAACddGYaAAAAE0lEQV'
diff --git a/graphics/py-cairocffi/files/patch-setup.cfg b/graphics/py-cairocffi/files/patch-setup.cfg
index a44e23cc6ced..d9a0b2b0a797 100644
--- a/graphics/py-cairocffi/files/patch-setup.cfg
+++ b/graphics/py-cairocffi/files/patch-setup.cfg
@@ -2,13 +2,13 @@
 # it is only needed for tests, but we run pytest directly (for now)
 # TODO: Report/resolve upstream
 
---- setup.cfg.orig	2019-05-21 10:20:51 UTC
+--- setup.cfg.orig	2022-11-16 20:31:48 UTC
 +++ setup.cfg
-@@ -36,7 +36,6 @@ project_urls = 
- packages = find:
- setup_requires = 
- 	cffi >= 1.1.0
--	pytest-runner
- 	setuptools
- install_requires = 
- 	cffi >= 1.1.0
+@@ -52,7 +52,6 @@ test = 
+ 	sphinx
+ 	sphinx_rtd_theme
+ test = 
+-	pytest
+ 	flake8
+ 	isort
+ 	numpy