pkgsrc/sysutils/dbus-python-common/Makefile
wiz 196c0160f1 Update to 1.2.0.
D-Bus Python Bindings 1.2.0 (2013-05-07)
========================================

The "compile like it's 1998" release.

Dependencies:

• libdbus 1.6 or later is now required.

Enhancements:

• Unicode Corrigendum 9: when used with a suitable version of libdbus
  (1.6.10 or later, or 1.7.2 or later), noncharacters in strings are
  now accepted

Fixes:

• Support DBusException('something with non—ASCII') under Python 2
  (Michael Vogt, smcv; fd.o #55899)

• Correct some misleading wording in COPYING which was written under the
  assumption that libdbus could actually be relicensed to MIT/X11
  (Thiago Macieira)

• Avoid variable-length arrays, because MSVC++ is still stuck in 1998
  (based on patches from Christoph Höger, fd.o #51725)

• Remove unnecessary uses of stdint.h (fd.o #51725)

• Add support for Unix compilers not supporting 'inline', for completeness

• Use GObject.__class__ instead of GObjectMeta, which can no longer be
  imported from gi.repository.GObject in pygobject 3.8

• Fix autoreconfiscation on Automake 1.13 (Marko Lindqvist, fd.o #59006)
2013-05-29 22:59:32 +00:00

43 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2013/05/29 22:59:32 wiz Exp $
DISTNAME= dbus-python-1.2.0
PKGNAME= dbus-python-common-1.2.0
CATEGORIES= sysutils
MASTER_SITES= http://dbus.freedesktop.org/releases/dbus-python/
#BUILD_DEPENDS+= ${PYPKGPREFIX}-docutils>=0:../../textproc/py-docutils
#DEPENDS+= ${PYPKGPREFIX}-pyrex>=0.9.3:../../lang/py-pyrex
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.freedesktop.org/Software/dbus
COMMENT= Python bindings for the D-BUS message bus system
LICENSE= mit
CONFLICTS+= py[0-9]*-dbus<1.1.1
PYTHON_FOR_BUILD_ONLY= yes
PYTHON_VERSIONS_INCLUDE_3X= yes
USE_TOOLS+= pkg-config gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-html-docs --disable-api-docs
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
BUILDLINK_TRANSFORM+= rm:-std=c9x
.endif
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/include/dbus-1.0/dbus
${INSTALL_DATA} ${WRKSRC}/include/dbus-python.h \
${DESTDIR}${PREFIX}/include/dbus-1.0/dbus
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/pkgconfig
${INSTALL_DATA} ${WRKSRC}/dbus-python.pc \
${DESTDIR}${PREFIX}/lib/pkgconfig
.include "../../lang/python/application.mk"
BUILDLINK_API_DEPENDS.dbus+= dbus>=1.0
.include "../../sysutils/dbus/buildlink3.mk"
BUILDLINK_DEPMETHOD.dbus-glib= build
.include "../../sysutils/dbus-glib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"