pkgsrc/x11/py-gtksourceview/Makefile
wiz aa67e11089 Mark packages as not ready for python-3.x where applicable;
either because they themselves are not ready or because a
dependency isn't. This is annotated by
PYTHON_VERSIONS_INCOMPATIBLE=  33 # not yet ported as of x.y.z
or
PYTHON_VERSIONS_INCOMPATIBLE=  33 # py-foo, py-bar
respectively, please use the same style for other packages,
and check during updates.

Use versioned_dependencies.mk where applicable.
Use REPLACE_PYTHON instead of handcoded alternatives, where applicable.
Reorder Makefile sections into standard order, where applicable.

Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default
with the next commit.

Whitespace cleanups and other nits corrected, where necessary.
2014-01-25 10:29:56 +00:00

32 lines
1,010 B
Makefile

# $NetBSD: Makefile,v 1.33 2014/01/25 10:30:31 wiz Exp $
DISTNAME= pygtksourceview-2.10.1
PKGNAME= ${DISTNAME:S/py/${PYPKGPREFIX}-/}
PKGREVISION= 17
CATEGORIES= x11 python
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/pygtksourceview/2.10/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnome.org/
COMMENT= Python bindings for gtksourceview2
LICENSE= gnu-lgpl-v2
BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
USE_LIBTOOL= YES
PKGCONFIG_OVERRIDE+= pygtksourceview-2.0.pc.in
GNU_CONFIGURE= YES
USE_TOOLS+= pkg-config
PY_PATCHPLIST= YES
PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-gtk2
.include "../../lang/python/extension.mk"
BUILDLINK_API_DEPENDS.pygobject+= ${PYPKGPREFIX}-gobject>=2.15.2
.include "../../devel/py-gobject/buildlink3.mk"
BUILDLINK_API_DEPENDS.gtksourceview2+= gtksourceview2>=2.3.0
.include "../../x11/gtksourceview2/buildlink3.mk"
.include "../../x11/py-gtk2/buildlink3.mk"
.include "../../textproc/gtk-doc/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"