Commit 386aeb04 authored by Gleb Popov's avatar Gleb Popov
Browse files

devel/pydbus-common: Merge into devel/py-dbus

parent 3f971efa
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5071,3 +5071,4 @@ multimedia/mlt7-glaxnimate@qt5||2026-01-08|Qt5 support has been dropped by upstr
multimedia/mlt7-glaxnimate@qt6|multimedia/mlt7-glaxnimate|2026-01-08|Unflavorize; only Qt6 is supported
multimedia/mlt7-qt@qt5||2026-01-08|Qt5 support has been dropped by upstream
multimedia/mlt7-qt@qt6|multimedia/mlt7-qt|2026-01-08|Unflavorize; only Qt6 is supported
devel/pydbus-common|devel/py-dbus|2026-01-09|Merged into devel/py-dbus
+0 −1
Original line number Diff line number Diff line
@@ -6342,7 +6342,6 @@
    SUBDIR += pycharm
    SUBDIR += pycos
    SUBDIR += pycount
    SUBDIR += pydbus-common
    SUBDIR += pydeps
    SUBDIR += pyderasn
    SUBDIR += pyenv

devel/pydbus-common/Makefile

deleted100644 → 0
+0 −77
Original line number Diff line number Diff line
PORTNAME=	dbus
DISTVERSION=	1.3.2
PORTREVISION?=	0
CATEGORIES=	devel gnome python
MASTER_SITES=	http://dbus.freedesktop.org/releases/dbus-python/
PKGNAMEPREFIX?=	py
PKGNAMESUFFIX?=	-common
DISTNAME=	dbus-python-${PORTVERSION}

MAINTAINER=	desktop@FreeBSD.org
COMMENT?=	Common files for the Python bindings for the D-BUS messaging system
WWW=		https://dbus.freedesktop.org/doc/dbus-python/

BUILD_DEPENDS=	dbus-glib>=0:devel/dbus-glib

SLAVE_PORT?=	no

USES=		gettext gmake libtool pathfix pkgconfig
GNU_CONFIGURE=	yes
CPPFLAGS+=	-I${PYTHON_INCLUDEDIR}
CONFIGURE_ARGS=	--docdir=${DOCSDIR} \
		--disable-api-docs
INSTALL_TARGET=	install-strip

.if ${SLAVE_PORT} == no
USES+=		python:build

NO_ARCH=	yes

DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESDIR=	${PREFIX}/share/examples/py-${PORTNAME}

OPTIONS_SUB=	yes
OPTIONS_DEFINE=	HTMLDOCS DOCS EXAMPLES
HTMLDOCS_DESC=	build html documentation
HTMLDOCS_IMPLIES=	DOCS
HTMLDOCS_CONFIGURE_ENABLE=	documentation
HTMLDOCS_BUILD_DEPENDS=		sphinx-build:textproc/py-sphinx \
				${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR}

post-patch-DOCS-on:
	@${REINPLACE_CMD} -e 's|HEADERS install-dist_docDATA|HEADERS|g ; \
		s|PYTHON install-nodist_docDATA|PYTHON|g' \
			${WRKSRC}/Makefile.in

do-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/include/dbus-1.0/dbus/
	${INSTALL_DATA} ${WRKSRC}/include/dbus/dbus-python.h \
		${STAGEDIR}${PREFIX}/include/dbus-1.0/dbus/dbus-python.h
	${INSTALL_DATA} ${WRKSRC}/dbus-python.pc \
		${STAGEDIR}${PREFIX}/libdata/pkgconfig/dbus-python.pc

	${MKDIR} ${STAGEDIR}${EXAMPLESDIR} && \
		${INSTALL_DATA} ${WRKSRC}/examples/*.py ${STAGEDIR}${EXAMPLESDIR}

	${MKDIR} ${STAGEDIR}${DOCSDIR} && \
		${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${STAGEDIR}${DOCSDIR} && \
		${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} && \
		${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR}

do-install-HTMLDOCS-on:
	${INSTALL_DATA} ${WRKSRC}/doc/html/*.html ${STAGEDIR}${DOCSDIR}

.else # slave is defined
LIB_DEPENDS+=	libdbus-glib-1.so:devel/dbus-glib
RUN_DEPENDS+=	pydbus-common>=0:devel/pydbus-common
USE_LDCONFIG=	yes
USES+=		python
USE_PYTHON=	flavors

post-install:
	@${RM} -r ${STAGEDIR}${PREFIX}/include/dbus-1.0 \
		${STAGEDIR}${PREFIX}/libdata/pkgconfig/dbus-python.pc
	@${RM} -r ${STAGEDIR}/${DOCSDIR}
.endif # end of slaving block

.include <bsd.port.mk>

devel/pydbus-common/distinfo

deleted100644 → 0
+0 −3
Original line number Diff line number Diff line
TIMESTAMP = 1662527783
SHA256 (dbus-python-1.3.2.tar.gz) = ad67819308618b5069537be237f8e68ca1c7fcc95ee4a121fe6845b1418248f8
SIZE (dbus-python-1.3.2.tar.gz) = 605495

devel/pydbus-common/pkg-descr

deleted100644 → 0
+0 −1
Original line number Diff line number Diff line
Python bindings for the D-BUS interprocess messaging system.
Loading