gentoo-ebuilds/app-misc/lirc/files/lirc-0.10.2-fix-python-pkg.patch
Alfred Wingate 0079957a51
app-misc/lirc: enable py3.13 + fix python
Python bindings are broken without the config.py patch.

Bug: https://bugs.gentoo.org/830522
Bug: https://bugs.gentoo.org/922209
Bug: https://bugs.gentoo.org/952222
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/41748
Closes: https://github.com/gentoo/gentoo/pull/41748
Signed-off-by: Sam James <sam@gentoo.org>
2025-04-26 22:34:42 +01:00

26 lines
939 B
Diff

https://sourceforge.net/p/lirc/git/ci/3e2e9758aac0d51bc4168d863763c8e3a4c537f5/
From 3e2e9758aac0d51bc4168d863763c8e3a4c537f5 Mon Sep 17 00:00:00 2001
From: Sean Young <sean@mess.org>
Date: Sun, 12 Mar 2023 11:24:47 +0000
Subject: [PATCH 1/1] config.py is needed by the python package
Partial revert of commit 0ab24de56c8a282ffd356e929e71b48a69685dda
--- a/Makefile.am
+++ b/Makefile.am
@@ -84,11 +84,10 @@ dist_py_pkg_DATA = python-pkg/setup.py \
py_pkg_lircdir = $(pkgdatadir)/python-pkg/lirc
py_PYTHON = python-pkg/lirc/__init__.py \
+ python-pkg/lirc/config.py \
python-pkg/lirc/database.py \
python-pkg/lirc/paths.py
-nodist_py_pkg_PYTHON = python-pkg/lirc/config.py
-
if HAVE_PYTHON35
py_PYTHON += python-pkg/lirc/async_client.py \
python-pkg/lirc/client.py
--
2.49.0