summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-tv/mythtv/files/mythtv-32.0-python-version.patch')
-rw-r--r--media-tv/mythtv/files/mythtv-32.0-python-version.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/media-tv/mythtv/files/mythtv-32.0-python-version.patch b/media-tv/mythtv/files/mythtv-32.0-python-version.patch
new file mode 100644
index 000000000000..8f86cdda3764
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-32.0-python-version.patch
@@ -0,0 +1,25 @@
+https://bugs.gentoo.org/891189
+https://github.com/MythTV/mythtv/issues/711
+https://github.com/MythTV/mythtv/commit/23e158cbd9357e0d31834dff9c45022758671255
+
+From 23e158cbd9357e0d31834dff9c45022758671255 Mon Sep 17 00:00:00 2001
+From: David Hampton <mythtv@love2code.net>
+Date: Sun, 5 Jun 2022 00:43:38 -0400
+Subject: [PATCH] Fix "XX.0.-1 is an invalid version" warning in python
+ bindings.
+
+(cherry picked from commit 0f8e58b20a4246d46a77406fcf3c5368fbabaf8b)
+
+Fixes #711.
+--- a/bindings/python/setup.cfg
++++ b/bindings/python/setup.cfg
+@@ -2,7 +2,7 @@
+
+ [metadata]
+ name = MythTV
+-version = 32.0.-1
++version = 32.0
+ description = MythTV Python bindings.
+ long_description = Provides canned database and protocol access to the MythTV database, mythproto, mythxml, services_api and frontend remote control.
+ url = https://mythtv.org
+