Verified Commit b01ea745 authored by Charlie Li's avatar Charlie Li
Browse files

graphics/py-pycairo: rename and update to 1.29.0

Changelog: https://pycairo.readthedocs.io/en/latest/changelog.html#v1-29-0

Notably, experimental support for free-threaded Python (3.13t, soon 3.14t)

Port and PKGNAME renamed to match Python package metadata, and to
properly build with USE_PYTHON=pep517. Test suite also now exposed.
Remove PORTSCOUT since this does not follow the even-odd version
split.
parent 77311439
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5146,3 +5146,4 @@ databases/postgresql13-plpython||2026-02-12|Has expired: PostgreSQL-13 is end-of
databases/postgresql13-docs||2026-02-12|Has expired: PostgreSQL-13 is end-of-life
databases/postgresql13-pgtcl||2026-02-12|Removed, PostgreSQL-13 is end-of-life
databases/postgresql13-server||2026-02-12|Has expired: PostgreSQL-13 is end-of-life
graphics/py-cairo|graphics/py-pycairo|2026-02-12|Use correct Python package name
+2 −2
Original line number Diff line number Diff line
@@ -149,8 +149,8 @@ RECONFIGURE_MAKE_ARGS_OFF= reconfigure=no
CPPBIND_MAKE_ARGS_OFF=		libgpsmm=no
PYSERIAL_BUILD_DEPENDS=		${PYTHON_PKGNAMEPREFIX}pyserial>=0:comms/py-pyserial@${PY_FLAVOR}
PYSERIAL_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}pyserial>=0:comms/py-pyserial@${PY_FLAVOR}
X11_BUILD_DEPENDS=		${PYTHON_PKGNAMEPREFIX}cairo>=0:graphics/py-cairo@${PY_FLAVOR}
X11_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}cairo>=0:graphics/py-cairo@${PY_FLAVOR}
X11_BUILD_DEPENDS=		${PYTHON_PKGNAMEPREFIX}pycairo>=0:graphics/py-pycairo@${PY_FLAVOR}
X11_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}pycairo>=0:graphics/py-pycairo@${PY_FLAVOR}
X11_USES=			gnome
X11_USE=			gnome=gtk30 pygobject3
X11_MAKE_ARGS_OFF=		xgps=no
+2 −2
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ WWW= https://pygobject.gnome.org/
LICENSE=	LGPL21
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cairo>=1.16:graphics/py-cairo@${PY_FLAVOR}
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pycairo>=1.16:graphics/py-pycairo@${PY_FLAVOR}
LIB_DEPENDS=	libffi.so:devel/libffi

USES=		gnome pkgconfig python
@@ -35,7 +35,7 @@ do-install:
		${STAGEDIR}${PREFIX}/include/pygobject-3.0/pygobject.h
.else
BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}meson-python>=0.12.1:devel/meson-python@${PY_FLAVOR}
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cairo>=1.16:graphics/py-cairo@${PY_FLAVOR} \
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pycairo>=1.16:graphics/py-pycairo@${PY_FLAVOR} \
		${LOCALBASE}/libdata/pkgconfig/pygobject-3.0.pc:devel/pygobject-common
USE_GNOME=	cairo glib20 introspection
USE_PYTHON=	autoplist concurrent pep517
+1 −1
Original line number Diff line number Diff line
@@ -907,7 +907,6 @@
    SUBDIR += py-blockdiag
    SUBDIR += py-blockdiagcontrib-cisco
    SUBDIR += py-box2d-py
    SUBDIR += py-cairo
    SUBDIR += py-cairocffi
    SUBDIR += py-cairosvg
    SUBDIR += py-cartopy
@@ -991,6 +990,7 @@
    SUBDIR += py-pointpats
    SUBDIR += py-projpicker
    SUBDIR += py-proplot
    SUBDIR += py-pycairo
    SUBDIR += py-pycha
    SUBDIR += py-pycollada
    SUBDIR += py-pydot
+2 −2
Original line number Diff line number Diff line
@@ -10,9 +10,9 @@ WWW= https://maoschanz.github.io/drawing/
LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cairo>=0:graphics/py-cairo@${PY_FLAVOR} \
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pycairo>=0:graphics/py-pycairo@${PY_FLAVOR} \
		itstool:textproc/itstool
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cairo>=0:graphics/py-cairo@${PY_FLAVOR}
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pycairo>=0:graphics/py-pycairo@${PY_FLAVOR}

USES=		desktop-file-utils gettext gnome meson pkgconfig python \
		shebangfix
Loading