Index: head/devel/pygobject3-common/Makefile =================================================================== --- head/devel/pygobject3-common/Makefile (revision 552486) +++ head/devel/pygobject3-common/Makefile (revision 552487) @@ -1,75 +1,75 @@ # Created by: Gustau Perez i Querol # $FreeBSD$ PORTNAME= gobject PORTVERSION= 3.28.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel python MASTER_SITES= GNOME/sources/pygobject/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} PKGNAMEPREFIX?= py PKGNAMESUFFIX?= 3-common DISTNAME= pygobject-${PORTVERSION} DIST_SUBDIR= gnome MAINTAINER= desktop@FreeBSD.org COMMENT?= Common files for the Python bindings for GObject LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING SLAVE_PORT?= no USES= gmake libtool pathfix pkgconfig tar:xz GNU_CONFIGURE= yes INSTALL_TARGET= install-strip # this port doesn't work with py-gobject < 2.28.6_2, clungle below CONFLICTS= py*-gtk-0* py*-gobject-2.*.[0-6] py*-gobject-2.*.[7-9] \ py*-gobject-2.*.6_1 PLIST_SUB= ARCH=${ARCH} UNAME_R=${UNAME_R} VERSION=${PORTVERSION} \ OPSYS=${OPSYS:tl} UNAME_M=${UNAME_M} # Override PYTHON_VERSION from DEPENDS_ARGS MAKE_ARGS= PYTHON_VERSION=${PYTHON_VER} .if ${SLAVE_PORT} == no PORTSCOUT?= limitw:1,even BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cairo>=0:graphics/py-cairo@${PY_FLAVOR} USES+= gnome python:build USE_GNOME= glib20:build introspection:build NO_BUILD= yes do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/include/pygobject-3.0/ ${INSTALL_DATA} ${WRKSRC}/gi/pygobject.h \ ${STAGEDIR}${PREFIX}/include/pygobject-3.0/pygobject.h ${INSTALL_DATA} ${WRKSRC}/pygobject-3.0.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/pygobject-3.0.pc .else PORTSCOUT= ignore:1 USES+= gettext-runtime gnome USE_GNOME+= cairo glib20 introspection LIB_DEPENDS+= libffi.so:devel/libffi RUN_DEPENDS+= pygobject3-common>=0:devel/pygobject3-common .if ${SLAVE_PORT} == python USES+= python USE_PYTHON= flavors py3kplist BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cairo>=0:graphics/py-cairo@${PY_FLAVOR} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cairo>=0:graphics/py-cairo@${PY_FLAVOR} .endif post-install: @${RM} -r ${STAGEDIR}${PREFIX}/include/pygobject-3.0 \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/pygobject-3.0.pc .endif .include UNAME_R!= ${UNAME} -r UNAME_M!= ${UNAME} -m .include Index: head/devel/pygobject3-common/files/patch-python39 =================================================================== --- head/devel/pygobject3-common/files/patch-python39 (nonexistent) +++ head/devel/pygobject3-common/files/patch-python39 (revision 552487) @@ -0,0 +1,16 @@ +https://gitlab.gnome.org/GNOME/pygobject/-/commit/07cb8d7dfc2f + +--- gi/pygobject-object.c.orig 2018-05-31 14:39:04 UTC ++++ gi/pygobject-object.c +@@ -846,7 +846,10 @@ pygobject_inherit_slots(PyTypeObject *type, PyObject * + offsetof(PyTypeObject, tp_iter), + offsetof(PyTypeObject, tp_repr), + offsetof(PyTypeObject, tp_str), +- offsetof(PyTypeObject, tp_print) }; ++#if PY_VERSION_HEX < 0x03000000 ++ offsetof(PyTypeObject, tp_print), ++#endif ++ }; + gsize i; + + /* Happens when registering gobject.GObject itself, at least. */ Property changes on: head/devel/pygobject3-common/files/patch-python39 ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property