Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(dbus-python): mark as pip-compatible package #511

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions package/dbus-python/dbus-python.mk
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,12 @@ HOST_DBUS_PYTHON_CONF_ENV = \
PYTHON_LIBS="`$(HOST_DIR)/bin/python3-config --ldflags`" \
PYTHON_EXTRA_LIBS="`$(HOST_DIR)/bin/python3-config --libs --embed`"

# batocera ; #511
define HOST_DBUS_PYTHON_MARK_AS_INSTALLED
touch $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/dbus_python-$(DBUS_PYTHON_VERSION).egg-info
endef

HOST_DBUS_PYTHON_POST_INSTALL_HOOKS += HOST_DBUS_PYTHON_MARK_AS_INSTALLED

$(eval $(autotools-package))
$(eval $(host-autotools-package))