diff options
| author | Krzysztof Kozlowski <krzk@kernel.org> | 2017-07-09 17:47:22 +0200 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-07-14 23:44:32 +0200 |
| commit | 5dcaa1231be0a2d6ded44855f8b5b054cb04c6f3 (patch) | |
| tree | 649819e6f15ebe126926c22198bc273b7181a6b3 /meta-python/recipes-devtools/python/python-daemon | |
| parent | 5623b70c79ace30556ca59052a80a04030c9e66f (diff) | |
| download | meta-openembedded-5dcaa1231be0a2d6ded44855f8b5b054cb04c6f3.tar.gz | |
meta-python: Add python-daemon recipe and its dependencies
Add recipes for python-daemon PIP package with its dependencies -
lockfile and docutils.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-daemon')
| -rw-r--r-- | 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-python/recipes-devtools/python/python-daemon/0001-Workaround-for-issue-2-1.patch b/meta-python/recipes-devtools/python/python-daemon/0001-Workaround-for-issue-2-1.patch new file mode 100644 index 0000000000..dbb8407186 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-daemon/0001-Workaround-for-issue-2-1.patch | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | From 0981eee9f0198c2045dc0eaa78a005d06fc7bfe4 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Carlos Eduardo Moreira dos Santos <cems@cemshost.com.br> | ||
| 3 | Date: Tue, 28 Mar 2017 18:23:44 -0300 | ||
| 4 | Subject: [PATCH] Workaround for issue 2 [1] | ||
| 5 | |||
| 6 | [1] https://pagure.io/python-daemon/issue/2 | ||
| 7 | --- | ||
| 8 | version.py | 7 ++++--- | ||
| 9 | 1 file changed, 4 insertions(+), 3 deletions(-) | ||
| 10 | |||
| 11 | diff --git a/version.py b/version.py | ||
| 12 | index d58422a377ee..293e2d64c2b7 100644 | ||
| 13 | --- a/version.py | ||
| 14 | +++ b/version.py | ||
| 15 | @@ -648,9 +648,10 @@ class ChangelogAwareDistribution(distutils.dist.Distribution, object): | ||
| 16 | |||
| 17 | @lru_cache(maxsize=128) | ||
| 18 | def get_version_info(self): | ||
| 19 | - changelog_path = get_changelog_path(self) | ||
| 20 | - version_info = generate_version_info_from_changelog(changelog_path) | ||
| 21 | - return version_info | ||
| 22 | + return { | ||
| 23 | + 'version': '2.1.2', | ||
| 24 | + 'maintainer': 'Ben Finney' | ||
| 25 | + } | ||
| 26 | |||
| 27 | def get_version(self): | ||
| 28 | version_info = self.get_version_info() | ||
| 29 | -- | ||
| 30 | 2.7.4 | ||
| 31 | |||
