diff options
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python-daemon')
-rw-r--r-- | meta-openembedded/meta-python/recipes-devtools/python/python-daemon/0001-Workaround-for-issue-2-1.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-daemon/0001-Workaround-for-issue-2-1.patch b/meta-openembedded/meta-python/recipes-devtools/python/python-daemon/0001-Workaround-for-issue-2-1.patch new file mode 100644 index 000000000..dbb840718 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-daemon/0001-Workaround-for-issue-2-1.patch @@ -0,0 +1,31 @@ +From 0981eee9f0198c2045dc0eaa78a005d06fc7bfe4 Mon Sep 17 00:00:00 2001 +From: Carlos Eduardo Moreira dos Santos <cems@cemshost.com.br> +Date: Tue, 28 Mar 2017 18:23:44 -0300 +Subject: [PATCH] Workaround for issue 2 [1] + +[1] https://pagure.io/python-daemon/issue/2 +--- + version.py | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +diff --git a/version.py b/version.py +index d58422a377ee..293e2d64c2b7 100644 +--- a/version.py ++++ b/version.py +@@ -648,9 +648,10 @@ class ChangelogAwareDistribution(distutils.dist.Distribution, object): + + @lru_cache(maxsize=128) + def get_version_info(self): +- changelog_path = get_changelog_path(self) +- version_info = generate_version_info_from_changelog(changelog_path) +- return version_info ++ return { ++ 'version': '2.1.2', ++ 'maintainer': 'Ben Finney' ++ } + + def get_version(self): + version_info = self.get_version_info() +-- +2.7.4 + |