pkgsrc/sysutils/dbus-python-common/Makefile
wiz e05341f031 py-dbus, dbus-python-common: Update to 1.2.14
dbus Python Bindings 1.2.14 (2019-11-25)
========================================

The “don't stand in the fire” release.

Fixes:

• Ensure that the numeric types from dbus.types get the same str()
  under Python 3.8 that they did under previous versions. Previously,
  Python 3.8 used their repr() for the str(), which was not intended.
  (dbus-python#31; matclab, Simon McVittie)

• Disable -Winline (Simon McVittie)

• Add Python 3.8 to CI (Simon McVittie)
2019-12-31 11:53:39 +00:00

39 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.20 2019/12/31 11:53:39 wiz Exp $
DISTNAME= dbus-python-1.2.14
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= 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
INSTALLATION_DIRS+= include/dbus-1.0/dbus
INSTALLATION_DIRS+= lib/pkgconfig
do-install:
${INSTALL_DATA} ${WRKSRC}/include/dbus/dbus-python.h \
${DESTDIR}${PREFIX}/include/dbus-1.0/dbus
${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"