ports/x11/dbus-python/Makefile

39 lines
673 B
Makefile
Raw Normal View History

2023-08-16 22:26:55 +00:00
COMMENT = dbus bindings for Python
V = 1.3.2
DISTNAME = dbus-python-${V}
PKGNAME = py-dbus-${V}
REVISION = 1
CATEGORIES = x11
HOMEPAGE = http://dbus.freedesktop.org/
MAINTAINER = Antoine Jacoutot <ajacoutot@openbsd.org>
# ISC-like
PERMIT_PACKAGE = Yes
WANTLIB += dbus-1 glib-2.0
2023-09-28 02:05:49 +00:00
SITES = ${HOMEPAGE}releases/dbus-python/
2023-08-16 22:26:55 +00:00
MODULES = devel/meson \
lang/python
FLAVORS = python3
FLAVOR = python3
LIB_DEPENDS = devel/glib2 \
x11/dbus
RUN_DEPENDS = x11/dbus
TEST_DEPENDS = devel/py-gobject3${MODPY_FLAVOR}
pre-configure:
sed -i "s,/bin/bash,/bin/sh,g" \
${WRKSRC}/test/{TestSuitePythonService.service.in,run-test.sh}
.include <bsd.port.mk>