pkgsrc/sysutils/py-dbus/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

33 lines
1,014 B
Makefile

# $NetBSD: Makefile,v 1.29 2014/01/25 10:30:21 wiz Exp $
DISTNAME= dbus-python-1.2.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/-python//}
CATEGORIES= sysutils
MASTER_SITES= http://dbus.freedesktop.org/releases/dbus-python/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.freedesktop.org/Software/dbus
COMMENT= Python bindings for the D-BUS message bus system
LICENSE= mit
USE_TOOLS+= pkg-config gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-html-docs --disable-api-docs
PY_PATCHPLIST= YES
# py-expat is only needed at runtime
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
BUILDLINK_TRANSFORM+= rm:-std=c9x
.endif
.include "../../devel/glib2/buildlink3.mk"
.include "../../lang/python/extension.mk"
BUILDLINK_API_DEPENDS.dbus+= dbus>=1.6
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
.include "../../sysutils/dbus-python-common/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"