112b123c35
D-Bus Python Bindings 1.2.2 (2016-02-22) ======================================== The “mind fray” release. Versioning changes: • dbus-python releases now have an even micro version (1.2.0, 1.2.2), and snapshots from git have an odd micro version (1.2.1). Dependencies: • Building from git (but not from tarballs) now requires macros from the GNU Autoconf Archive, for example the autoconf-archive package in Debian or Fedora derivatives. • Building from git (but not from tarballs) now requires Automake 1.13 or later. • The automated tests and some examples now require PyGI (the gi module), not PyGObject 2 (the deprecated glib and gobject modules). Enhancements: • There is now a setuptools setup.py, allowing dbus-python to be installed into a virtualenv using pip from a standard Automake source release. This requires pre-existing system-wide installations of the normal build dependencies (pkg-config, libdbus, dbus-glib, a C compiler) and has some limitations. For system-wide installations and development, please use the Autoconf/Automake build system directly. (fd.o #55439; Simon McVittie) • dbus-python now uses the common compiler warnings from AX_COMPILER_FLAGS (Simon McVittie) • The automated tests can now be installed as GNOME-style "installed tests", and should be somewhat more reliable (Simon McVittie) Fixes: • "from dbus.service import *" now imports FallbackObject (fd.o #85720; Ben Longbons) • The GConf-related examples work again (fd.o #85720; Ben Longbons) • Consistently make examples executable, and install them all (fd.o #85720; Ben Longbons) • Search PATH for an appropriately-versioned pythonX.Y-config, or as a last resort python-config, if there isn't a ${PYTHON}-config in the same directory as ${PYTHON} (fd.o #92085; Yamashita, Yuu) • Add support for the Automake 1.13 parallel test driver (Simon McVittie) • Skip building API documentation if "import epydoc" fails (Simon McVittie)
39 lines
1.3 KiB
Makefile
39 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.10 2016/03/03 12:16:24 wiz Exp $
|
|
|
|
DISTNAME= dbus-python-1.2.2
|
|
PKGNAME= ${DISTNAME:S/python/python-common/}
|
|
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
|
|
|
|
CONFLICTS+= py[0-9]*-dbus<1.1.1
|
|
|
|
PYTHON_FOR_BUILD_ONLY= yes
|
|
#BUILD_DEPENDS+= ${PYPKGPREFIX}-docutils>=0:../../textproc/py-docutils
|
|
#DEPENDS+= ${PYPKGPREFIX}-pyrex>=0.9.3:../../lang/py-pyrex
|
|
#PYTHON_VERSIONS_INCOMPATIBLE=33 34 35 # py-pyrex
|
|
|
|
USE_TOOLS+= pkg-config gmake
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --disable-html-docs --disable-api-docs
|
|
|
|
BUILDLINK_TRANSFORM.SunOS+= rm:-std=c9x
|
|
|
|
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"
|