Index: head/devel/pygobject3-common/Makefile =================================================================== --- head/devel/pygobject3-common/Makefile (revision 537995) +++ head/devel/pygobject3-common/Makefile (revision 537996) @@ -1,75 +1,75 @@ # Created by: Gustau Perez i Querol # $FreeBSD$ PORTNAME= gobject PORTVERSION= 3.28.3 -PORTREVISION= 0 +PORTREVISION= 1 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= gnome@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-python38 =================================================================== --- head/devel/pygobject3-common/files/patch-python38 (nonexistent) +++ head/devel/pygobject3-common/files/patch-python38 (revision 537996) @@ -0,0 +1,88 @@ +https://gitlab.gnome.org/GNOME/pygobject/-/commit/bfc759c9c0bb + +--- gi/gimodule.c.orig 2018-05-31 14:39:04 UTC ++++ gi/gimodule.c +@@ -685,7 +685,10 @@ PYGLIB_MODULE_START(_gi, "_gi") + pygi_error_register_types (module); + _pygi_repository_register_types (module); + _pygi_info_register_types (module); ++ pygobject_type_register_types (module_dict); ++ pygobject_pointer_register_types (module_dict); + _pygi_struct_register_types (module); ++ pygobject_boxed_register_types (module_dict); + _pygi_boxed_register_types (module); + _pygi_ccallback_register_types (module); + pygi_resulttuple_register_types (module); +@@ -699,12 +702,9 @@ PYGLIB_MODULE_START(_gi, "_gi") + pygobject_register_features (module_dict); + pygobject_register_version_tuples (module_dict); + pygobject_register_warnings (module_dict); +- pygobject_type_register_types (module_dict); + pygobject_object_register_types (module_dict); + pygobject_interface_register_types (module_dict); + pygobject_paramspec_register_types (module_dict); +- pygobject_boxed_register_types (module_dict); +- pygobject_pointer_register_types (module_dict); + pygobject_enum_register_types (module_dict); + pygobject_flags_register_types (module_dict); + +--- gi/pygboxed.c.orig 2018-05-31 14:39:04 UTC ++++ gi/pygboxed.c +@@ -162,6 +162,7 @@ pyg_register_boxed(PyObject *dict, const gchar *class_ + if (!type->tp_dealloc) type->tp_dealloc = (destructor)pyg_boxed_dealloc; + + Py_TYPE(type) = &PyType_Type; ++ g_assert (Py_TYPE (&PyGBoxed_Type) != NULL); + type->tp_base = &PyGBoxed_Type; + + if (PyType_Ready(type) < 0) { +--- gi/pygi-boxed.c.orig 2018-05-31 14:39:04 UTC ++++ gi/pygi-boxed.c +@@ -230,6 +230,7 @@ void + _pygi_boxed_register_types (PyObject *m) + { + Py_TYPE(&PyGIBoxed_Type) = &PyType_Type; ++ g_assert (Py_TYPE (&PyGBoxed_Type) != NULL); + PyGIBoxed_Type.tp_base = &PyGBoxed_Type; + PyGIBoxed_Type.tp_new = (newfunc) _boxed_new; + PyGIBoxed_Type.tp_init = (initproc) _boxed_init; +--- gi/pygi-struct.c.orig 2018-05-31 14:39:04 UTC ++++ gi/pygi-struct.c +@@ -231,6 +231,7 @@ void + _pygi_struct_register_types (PyObject *m) + { + Py_TYPE(&PyGIStruct_Type) = &PyType_Type; ++ g_assert (Py_TYPE (&PyGPointer_Type) != NULL); + PyGIStruct_Type.tp_base = &PyGPointer_Type; + PyGIStruct_Type.tp_new = (newfunc) _struct_new; + PyGIStruct_Type.tp_init = (initproc) _struct_init; +--- gi/pyginterface.c.orig 2018-05-31 14:39:04 UTC ++++ gi/pyginterface.c +@@ -72,6 +72,7 @@ pyg_register_interface(PyObject *dict, const gchar *cl + PyObject *o; + + Py_TYPE(type) = &PyType_Type; ++ g_assert (Py_TYPE (&PyGInterface_Type) != NULL); + type->tp_base = &PyGInterface_Type; + + if (PyType_Ready(type) < 0) { +--- gi/pygpointer.c.orig 2018-05-31 14:39:04 UTC ++++ gi/pygpointer.c +@@ -117,6 +117,7 @@ pyg_register_pointer(PyObject *dict, const gchar *clas + if (!type->tp_dealloc) type->tp_dealloc = (destructor)pyg_pointer_dealloc; + + Py_TYPE(type) = &PyType_Type; ++ g_assert (Py_TYPE (&PyGPointer_Type) != NULL); + type->tp_base = &PyGPointer_Type; + + if (PyType_Ready(type) < 0) { +--- gi/pygtype.c.orig 2018-05-31 14:39:04 UTC ++++ gi/pygtype.c +@@ -345,6 +345,7 @@ pyg_type_wrapper_new(GType type) + { + PyGTypeWrapper *self; + ++ g_assert (Py_TYPE (&PyGTypeWrapper_Type) != NULL); + self = (PyGTypeWrapper *)PyObject_NEW(PyGTypeWrapper, + &PyGTypeWrapper_Type); + if (self == NULL) Property changes on: head/devel/pygobject3-common/files/patch-python38 ___________________________________________________________________ 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