1682c6507d
by the infrastructure. Mark a couple more packages as not ready for python-3.x.
44 lines
1.4 KiB
Text
44 lines
1.4 KiB
Text
# $NetBSD: Makefile.common,v 1.8 2016/08/28 15:48:30 wiz Exp $
|
|
# used by devel/py-gobject3/Makefile
|
|
# used by devel/py-gobject3-common/Makefile
|
|
|
|
VER= 3.20.0
|
|
DISTNAME= pygobject-${VER}
|
|
CATEGORIES= devel gnome
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/pygobject/${PKGVERSION_NOREV:R}/}
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= prlw1@cam.ac.uk
|
|
HOMEPAGE= https://wiki.gnome.org/Projects/PyGObject
|
|
LICENSE= gnu-lgpl-v2.1
|
|
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_LANGUAGES= c c99
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= pkg-config gmake
|
|
GNU_CONFIGURE= yes
|
|
#CONFIGURE_ARGS+= --disable-cairo
|
|
CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q}
|
|
|
|
DISTINFO_FILE= ${.CURDIR}/../../devel/py-gobject3/distinfo
|
|
PATCHDIR= ${.CURDIR}/../../devel/py-gobject3/patches
|
|
|
|
PKGCONFIG_OVERRIDE+= pygobject-3.0.pc.in
|
|
PY_PATCHPLIST= yes
|
|
CONFLICTS+= ${PYPKGPREFIX}-gtk2<2.8.4
|
|
CONFLICTS+= ${PYPKGPREFIX}-gobject<2.28.6nb4
|
|
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../lang/python/application.mk"
|
|
|
|
# for the egg
|
|
.if exists(${PYTHONBIN:Q})
|
|
PLATFORM!= ${PYTHONBIN:Q} -c "import sys; from distutils import util; sys.stdout.write(util.get_platform())"
|
|
PLIST_SUBST+= PLATFORM=${PLATFORM:Q}
|
|
.endif
|
|
|
|
BUILDLINK_API_DEPENDS.glib2= glib2>=2.38.0
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
BUILDLINK_API_DEPENDS.gobject-introspection= gobject-introspection>=1.46.0
|
|
.include "../../devel/gobject-introspection/buildlink3.mk"
|
|
.include "../../devel/libffi/buildlink3.mk"
|