pkgsrc/devel/py-gobject3-common/Makefile
wiz 6970cbf36e py-gobject3*: update to 3.36.0:
3.36.0 - 2020-03-08
-------------------

This will be the last release supporting Python 2.

* pygobject-object: Avoid checking whether NULL is floating :mr:`135` (:user:`Alexandru Băluț <aleb>`)
* Avoid various new glib deprecation warnings
* Port to g_object_new_with_properties()
* Drop Python 2 support on Windows
* gtk overrides: Drop Menu, MenuItem for Gtk 4 (:user:`Marinus Schraal <mschraal>`)
* Docs:

  * Update openSUSE instructions (:user:`sharkwouter`)
  * Add Gaphor to Who is Using PyGObject (:user:`Dan Yeaw <danyeaw>`)
  * Remove reference to a fixed bug (:user:`Christian Stadelmann <genodeftest>`)
2020-03-22 18:36:17 +00:00

30 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.7 2020/03/22 18:36:17 wiz Exp $
.include "../../devel/py-gobject3/Makefile.common"
PKGNAME= py-${DISTNAME:S/^py//:S/-/3-common-/}
COMMENT= Python version independent files for glib2 gobject bindings
SUBST_CLASSES+= configurepc
SUBST_STAGE.configurepc= do-configure
SUBST_MESSAGE.configurepc= Create .pc file
SUBST_FILES.configurepc= pygobject-3.0.pc.in
SUBST_SED.configurepc= -e 's,@prefix@,${PREFIX},'
SUBST_SED.configurepc+= -e 's,@exec_prefix@,$${prefix},'
SUBST_SED.configurepc+= -e 's,@includedir@,$${prefix}/include,'
SUBST_SED.configurepc+= -e 's,@datarootdir@,$${prefix}/share,'
SUBST_SED.configurepc+= -e 's,@datadir@,$${datarootdir},'
SUBST_SED.configurepc+= -e 's,@VERSION@,${PKGVERSION},'
INSTALLATION_DIRS+= include/pygobject-3.0 lib/pkgconfig
do-build:
do-install:
${INSTALL_DATA} ${WRKSRC}/gi/pygobject.h \
${DESTDIR}${PREFIX}/include/pygobject-3.0/pygobject.h
${INSTALL_DATA} ${WRKSRC}/pygobject-3.0.pc.in \
${DESTDIR}${PREFIX}/lib/pkgconfig/pygobject-3.0.pc
.include "../../mk/bsd.pkg.mk"