diff options
author | Sam James <sam@gentoo.org> | 2023-04-18 08:47:58 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-04-18 08:48:12 +0100 |
commit | cf3855f776dce67949d4e046a78c4ed9fd7590b5 (patch) | |
tree | 2d4ed51dbf0a16101c29f79f017f3b7407e05431 /media-tv | |
parent | gui-wm/wayfire: fix build w/ gcc 13 (diff) | |
download | gentoo-cf3855f776dce67949d4e046a78c4ed9fd7590b5.tar.gz gentoo-cf3855f776dce67949d4e046a78c4ed9fd7590b5.tar.bz2 gentoo-cf3855f776dce67949d4e046a78c4ed9fd7590b5.zip |
media-tv/mythtv: fix build w/ newer setuptools
Note that we need a revbump for this as it affects installed files.
Closes: https://bugs.gentoo.org/891189
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-tv')
-rw-r--r-- | media-tv/mythtv/files/mythtv-32.0-python-version.patch | 25 | ||||
-rw-r--r-- | media-tv/mythtv/mythtv-32.0-r4.ebuild (renamed from media-tv/mythtv/mythtv-32.0-r3.ebuild) | 3 |
2 files changed, 27 insertions, 1 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 + diff --git a/media-tv/mythtv/mythtv-32.0-r3.ebuild b/media-tv/mythtv/mythtv-32.0-r4.ebuild index 29e1671cf498..ce9af87d74fa 100644 --- a/media-tv/mythtv/mythtv-32.0-r3.ebuild +++ b/media-tv/mythtv/mythtv-32.0-r4.ebuild @@ -151,6 +151,7 @@ python_check_deps() { } PATCHES=( + "${FILESDIR}"/${PN}-32.0-python-version.patch ) DISABLE_AUTOFORMATTING="yes" @@ -158,7 +159,7 @@ DOC_CONTENTS=" Support for metadata lookup changes is added. User configuration required. Details at: https://www.mythtv.org/wiki/Metadata_Lookup_Changes_March_2021 -Suppport for Python 2.7 is removed. +Support for Python 2.7 is removed. If a MYSQL server is installed, a mythtv MySQL user and mythconverg database is created if it does not already exist. |