pkgsrc/sysutils/dbus-python-common/Makefile
wiz 34fa6172c6 py-dbus, dbus-python-common: Update to 1.2.8
D-Bus Python Bindings 1.2.8 (2018-05-04)
========================================

The “cursed ice surface” release.

Dependencies:

• Documentation requires Sphinx and the readthedocs theme
• Documentation no longer requires epydoc

Enhancements:

• Build documentation with Sphinx instead of epydoc

• Remove obsolete COMPAT.txt, documenting compatibility breaks in
  versions over a decade old

Fixes:

• Make sure $(builddir)/test exists before creating .test files there

• Add PKG-INFO and egg_info to dist tarballs so they can be uploaded
  to PyPI again
2018-05-07 11:26:30 +00:00

38 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.15 2018/05/07 11:26:30 wiz Exp $
DISTNAME= dbus-python-1.2.8
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=34 35 36 # 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/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"
.include "../../devel/glib2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"