Update to py3-dbus-1.3.2.
Renove py2 support.
This commit is contained in:
parent
d7577cf1e5
commit
ce70775f4e
@ -44,7 +44,6 @@
|
||||
SUBDIR += dbus
|
||||
SUBDIR += dbus-glib
|
||||
SUBDIR += dbus-intf
|
||||
SUBDIR += dbus-python
|
||||
SUBDIR += dbus-python,python3
|
||||
SUBDIR += dbus-tcl
|
||||
SUBDIR += dbusmenu-qt
|
||||
|
@ -1,15 +1,8 @@
|
||||
PORTROACH= limitw:2,even
|
||||
COMMENT = dbus bindings for Python
|
||||
|
||||
COMMENT-main = dbus bindings for Python
|
||||
COMMENT-common = common files for py-dbus
|
||||
|
||||
V = 1.2.18
|
||||
V = 1.3.2
|
||||
DISTNAME = dbus-python-${V}
|
||||
|
||||
PKGNAME-main = py-dbus-${V}
|
||||
FULLPKGNAME-common = py-dbus-common-${V}
|
||||
FULLPKGPATH-common = x11/dbus-python,-common
|
||||
REVISION-common = 0
|
||||
PKGNAME = py-dbus-${V}
|
||||
|
||||
CATEGORIES = x11
|
||||
|
||||
@ -20,54 +13,27 @@ MAINTAINER = Antoine Jacoutot <ajacoutot@openbsd.org>
|
||||
# ISC-like
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
WANTLIB-main += dbus-1 execinfo glib-2.0 iconv intl pthread
|
||||
|
||||
WANTLIB-common += #empty
|
||||
WANTLIB += dbus-1 glib-2.0
|
||||
|
||||
MASTER_SITES = ${HOMEPAGE}releases/dbus-python/
|
||||
|
||||
MULTI_PACKAGES = -main -common
|
||||
|
||||
MODULES = lang/python
|
||||
MODULES = devel/meson \
|
||||
lang/python
|
||||
|
||||
FLAVORS = python3
|
||||
FLAVOR ?=
|
||||
FLAVOR = python3
|
||||
|
||||
USE_GMAKE = Yes
|
||||
|
||||
.if ${FLAVOR:Mpython3}
|
||||
FULLPKGNAME-main = ${PKGNAME-main:S/^py-/py3-/}
|
||||
FULLPKGPATH-main = x11/dbus-python,-main${MODPY_FLAVOR}
|
||||
TEST_DEPENDS += devel/py-gobject3${MODPY_FLAVOR}
|
||||
.else
|
||||
# dbus/gobject_service.py:
|
||||
# dbus.gobject_service is deprecated, and is not available under Python 3.
|
||||
# Porting from gobject (PyGObject 2) to gi.repository.GObject (PyGObject 3),
|
||||
# and using dbus.gi_service instead of dbus.gobject_service, is recommended.
|
||||
NO_TEST = Yes
|
||||
.endif
|
||||
REVISION-main = 0
|
||||
|
||||
LIB_DEPENDS-main = devel/glib2 \
|
||||
LIB_DEPENDS = devel/glib2 \
|
||||
x11/dbus
|
||||
|
||||
RUN_DEPENDS-main = ${MODPY_RUN_DEPENDS} \
|
||||
x11/dbus-python,-common
|
||||
RUN_DEPENDS = x11/dbus
|
||||
|
||||
LIB_DEPENDS-common = #empty
|
||||
# we don't want to own include/dbus-1.0/ and include/dbus-1.0/dbus/
|
||||
RUN_DEPENDS-common = x11/dbus
|
||||
TEST_DEPENDS = devel/py-gobject3${MODPY_FLAVOR}
|
||||
|
||||
CONFIGURE_STYLE = gnu
|
||||
CONFIGURE_ARGS = --disable-documentation
|
||||
|
||||
TEST_FLAGS = LDFLAGS="-L${LOCALBASE}/lib"
|
||||
#TEST_FLAGS = LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
pre-configure:
|
||||
sed -i "s,/bin/bash,/bin/sh,g" \
|
||||
${WRKSRC}/test/{TestSuitePythonService.service.in,run-test.sh}
|
||||
|
||||
post-install:
|
||||
rm ${PREFIX}/lib/python${MODPY_VERSION}/site-packages/*.{a,la}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (dbus-python-1.2.18.tar.gz) = kr3R5otFWWyDMwel/0shfuaSmhUC9TQbrij9EgrPcmA=
|
||||
SIZE (dbus-python-1.2.18.tar.gz) = 578204
|
||||
SHA256 (dbus-python-1.3.2.tar.gz) = rWeBkwhhi1BpU3viN/jmjKHH/Mle5KEh/mhFsUGCSPg=
|
||||
SIZE (dbus-python-1.3.2.tar.gz) = 605495
|
||||
|
@ -1 +0,0 @@
|
||||
Header, pkg-config(1) and documentation files for py-gobject3.
|
@ -1,3 +0,0 @@
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/gobject_service.py
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/gobject_service.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/gobject_service.pyo
|
27
x11/dbus-python/pkg/PLIST
Normal file
27
x11/dbus-python/pkg/PLIST
Normal file
@ -0,0 +1,27 @@
|
||||
@conflict py-dbus-common-*
|
||||
@conflict py-dbus-*
|
||||
@pkgpath x11/dbus-python,-common
|
||||
@pkgpath x11/dbus-python,-main
|
||||
include/dbus-1.0/dbus/dbus-python.h
|
||||
lib/pkgconfig/dbus-python.pc
|
||||
@so lib/python${MODPY_VERSION}/site-packages/_dbus_bindings.${MODPY_PYC_MAGIC_TAG}so
|
||||
@so lib/python${MODPY_VERSION}/site-packages/_dbus_glib_bindings.${MODPY_PYC_MAGIC_TAG}so
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/_compat.py
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/_dbus.py
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/_expat_introspect_parser.py
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/bus.py
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/connection.py
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/decorators.py
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/exceptions.py
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/gi_service.py
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/glib.py
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/lowlevel.py
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/mainloop/
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/mainloop/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/mainloop/glib.py
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/proxies.py
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/server.py
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/service.py
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/types.py
|
@ -1,4 +0,0 @@
|
||||
@conflict dbus-python-*
|
||||
@pkgpath x11/dbus-python
|
||||
include/dbus-1.0/dbus/dbus-python.h
|
||||
lib/pkgconfig/dbus-python.pc
|
@ -1,58 +0,0 @@
|
||||
!%%python3%%
|
||||
@so lib/python${MODPY_VERSION}/site-packages/_dbus_bindings.so
|
||||
@so lib/python${MODPY_VERSION}/site-packages/_dbus_glib_bindings.so
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/__init__.py
|
||||
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/dbus/${MODPY_PYCACHE}/
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/${MODPY_PYCACHE}_compat.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/${MODPY_PYCACHE}_compat.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/${MODPY_PYCACHE}_dbus.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/${MODPY_PYCACHE}_dbus.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/${MODPY_PYCACHE}_expat_introspect_parser.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/${MODPY_PYCACHE}_expat_introspect_parser.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/${MODPY_PYCACHE}bus.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/${MODPY_PYCACHE}bus.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/${MODPY_PYCACHE}connection.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/${MODPY_PYCACHE}connection.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/${MODPY_PYCACHE}decorators.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/${MODPY_PYCACHE}decorators.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/${MODPY_PYCACHE}exceptions.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/${MODPY_PYCACHE}exceptions.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/${MODPY_PYCACHE}gi_service.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/${MODPY_PYCACHE}gi_service.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/${MODPY_PYCACHE}glib.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/${MODPY_PYCACHE}glib.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/${MODPY_PYCACHE}lowlevel.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/${MODPY_PYCACHE}lowlevel.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/${MODPY_PYCACHE}proxies.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/${MODPY_PYCACHE}proxies.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/${MODPY_PYCACHE}server.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/${MODPY_PYCACHE}server.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/${MODPY_PYCACHE}service.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/${MODPY_PYCACHE}service.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/${MODPY_PYCACHE}types.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/${MODPY_PYCACHE}types.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/_compat.py
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/_dbus.py
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/_expat_introspect_parser.py
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/bus.py
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/connection.py
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/decorators.py
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/exceptions.py
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/gi_service.py
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/glib.py
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/lowlevel.py
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/mainloop/
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/mainloop/__init__.py
|
||||
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/dbus/mainloop/${MODPY_PYCACHE}/
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/mainloop/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/mainloop/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/mainloop/${MODPY_PYCACHE}glib.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/mainloop/${MODPY_PYCACHE}glib.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/mainloop/glib.py
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/proxies.py
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/server.py
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/service.py
|
||||
lib/python${MODPY_VERSION}/site-packages/dbus/types.py
|
Loading…
Reference in New Issue
Block a user