pkgsrc/devel/py-gobject3-common/Makefile
adam c57536ab4f py-gobject3: updated to 3.28.2
3.28.2:
* setup.py: Don't install the test C extension when it's built.
* setup.py: Always define PY_SSIZE_T_CLEAN.
* Fix __str__ return type of Gtk.TreePath with depth == 0.
* Fix a crash when setting a str property with a value containing surrogates.
* tests: Fix a potential crash during tests
2018-04-14 12:27:35 +00:00

23 lines
605 B
Makefile

# $NetBSD: Makefile,v 1.4 2018/04/14 12:27:35 adam Exp $
PYTHON_FOR_BUILD_ONLY= yes
.include "../../devel/py-gobject3/Makefile.common"
PKGNAME= py-${DISTNAME:S/^py//:S/-/3-common-/}
COMMENT= Python version independent files for glib2 gobject bindings
CONFIGURE_ARGS+= --disable-cairo
do-build:
INSTALLATION_DIRS+= include/pygobject-3.0 lib/pkgconfig
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/gi/pygobject.h \
${DESTDIR}${PREFIX}/include/pygobject-3.0/pygobject.h
${INSTALL_SCRIPT} ${WRKSRC}/pygobject-3.0.pc \
${DESTDIR}${PREFIX}/lib/pkgconfig/pygobject-3.0.pc
.include "../../mk/bsd.pkg.mk"