diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2017-07-20 03:44:30 -0400 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-07-24 18:58:53 +0200 |
commit | 1cf72114c6bde09b85a7d6f0aa3cac885ca52481 (patch) | |
tree | e22e31363b1165b3d335ca118b1a3b58ba2c48eb /recipes-extended | |
parent | b3dabe194f733c5bd3a3b60e15b231fd6ce2ae1a (diff) | |
download | meta-python2-1cf72114c6bde09b85a7d6f0aa3cac885ca52481.tar.gz |
python3-meh: add recipe 0.45
(From meta-openembedded commit: cccb69cd94a962758bdcc9b0c8e02c3ac5b7536f)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Tim Orling <ticotimo@gmail.com>
Diffstat (limited to 'recipes-extended')
-rw-r--r-- | recipes-extended/python-meh/files/tweak-native-language-support.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/recipes-extended/python-meh/files/tweak-native-language-support.patch b/recipes-extended/python-meh/files/tweak-native-language-support.patch new file mode 100644 index 0000000..41cfadd --- /dev/null +++ b/recipes-extended/python-meh/files/tweak-native-language-support.patch @@ -0,0 +1,44 @@ +From 6e7689bced8ef56cfb5969560d23706f8e039807 Mon Sep 17 00:00:00 2001 +From: Hongxu Jia <hongxu.jia@windriver.com> +Date: Mon, 11 Apr 2016 23:01:19 -0400 +Subject: [PATCH] tweak native language support + +- Only support en_GB only. + +Upstream-Status: Inappropriate [oe specific] + +Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> +--- + Makefile | 9 ++++++++- + 1 file changed, 8 insertions(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index d0a9784..db152c4 100644 +--- a/Makefile ++++ b/Makefile +@@ -24,7 +24,7 @@ test: + PYTHONPATH=. python $(TESTSUITE) -v + + install: +- python setup.py install --root=$(DESTDIR) ++ python setup.py install --root=$(DESTDIR) --install-lib=${PYTHON_SITEPACKAGES_DIR} --prefix=${prefix} + $(MAKE) -C po install + + ChangeLog: +@@ -61,6 +61,13 @@ rpmlog: + @git log --pretty="format:- %s (%ae)" $(TAG).. |sed -e 's/@.*)/)/' + @echo + ++po-empty: ++ for lingua in "en_GB" ; do \ ++ [ -f po/$$lingua.po ] || \ ++ msginit -i po/$(PKGNAME).pot -o po/$$lingua.po -l $$lingua --no-translator || \ ++ exit 1 ; \ ++ done ++ + potfile: + $(MAKE) -C po potfile + +-- +1.9.1 + |