1 |
commit: ec821e92460679181bf2d63a8f899f0b8fbf7e24 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 1 10:09:10 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 1 11:36:24 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec821e92 |
7 |
|
8 |
app-portage/gemato: Add a live ebuild for multiprocessing branch |
9 |
|
10 |
Add a separate ebuild for multiprocessing branch and keep it p.masked |
11 |
due to the known hangs. Hopefully it will help testing and finding |
12 |
a proper solution to that. |
13 |
|
14 |
Bug: https://bugs.gentoo.org/647964 |
15 |
|
16 |
app-portage/gemato/gemato-9999m.ebuild | 50 ++++++++++++++++++++++++++++++++++ |
17 |
profiles/package.mask | 6 ++++ |
18 |
2 files changed, 56 insertions(+) |
19 |
|
20 |
diff --git a/app-portage/gemato/gemato-9999m.ebuild b/app-portage/gemato/gemato-9999m.ebuild |
21 |
new file mode 100644 |
22 |
index 00000000000..57616701daf |
23 |
--- /dev/null |
24 |
+++ b/app-portage/gemato/gemato-9999m.ebuild |
25 |
@@ -0,0 +1,50 @@ |
26 |
+# Copyright 1999-2018 Gentoo Foundation |
27 |
+# Distributed under the terms of the GNU General Public License v2 |
28 |
+ |
29 |
+EAPI=6 |
30 |
+ |
31 |
+# pyblake2 & pysha3 are broken with pypy3 |
32 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} pypy ) |
33 |
+PYTHON_REQ_USE='threads(+)' |
34 |
+inherit distutils-r1 git-r3 |
35 |
+ |
36 |
+DESCRIPTION="Stand-alone Manifest generation & verification tool" |
37 |
+HOMEPAGE="https://github.com/mgorny/gemato" |
38 |
+SRC_URI="" |
39 |
+EGIT_REPO_URI="https://github.com/mgorny/gemato.git" |
40 |
+EGIT_BRANCH="multiprocessing" |
41 |
+ |
42 |
+LICENSE="BSD-2" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="" |
45 |
+IUSE="+blake2 bzip2 +gpg lzma sha3 test tools" |
46 |
+ |
47 |
+MODULE_RDEPEND=" |
48 |
+ blake2? ( $(python_gen_cond_dep 'dev-python/pyblake2[${PYTHON_USEDEP}]' python{2_7,3_4,3_5} pypy{,3}) ) |
49 |
+ bzip2? ( $(python_gen_cond_dep 'dev-python/bz2file[${PYTHON_USEDEP}]' python2_7 pypy) ) |
50 |
+ gpg? ( app-crypt/gnupg ) |
51 |
+ lzma? ( $(python_gen_cond_dep 'dev-python/backports-lzma[${PYTHON_USEDEP}]' python2_7 pypy) ) |
52 |
+ sha3? ( $(python_gen_cond_dep 'dev-python/pysha3[${PYTHON_USEDEP}]' python{2_7,3_4,3_5} pypy{,3}) )" |
53 |
+ |
54 |
+RDEPEND="${MODULE_RDEPEND} |
55 |
+ dev-python/setuptools[${PYTHON_USEDEP}]" |
56 |
+DEPEND=">=dev-python/setuptools-34[${PYTHON_USEDEP}] |
57 |
+ test? ( ${MODULE_RDEPEND} )" |
58 |
+ |
59 |
+python_test() { |
60 |
+ esetup.py test |
61 |
+} |
62 |
+ |
63 |
+python_install_all() { |
64 |
+ distutils-r1_python_install_all |
65 |
+ |
66 |
+ if use tools; then |
67 |
+ exeinto /usr/share/gemato |
68 |
+ doexe utils/*.{bash,py} |
69 |
+ fi |
70 |
+} |
71 |
+ |
72 |
+pkg_postinst() { |
73 |
+ elog "The multiprocessing support in gemato may cause the process to hang." |
74 |
+ elog "Please see https://bugs.gentoo.org/647964 for more details." |
75 |
+} |
76 |
|
77 |
diff --git a/profiles/package.mask b/profiles/package.mask |
78 |
index 548fd1b1c18..a9edadcf52a 100644 |
79 |
--- a/profiles/package.mask |
80 |
+++ b/profiles/package.mask |
81 |
@@ -29,6 +29,12 @@ |
82 |
|
83 |
#--- END OF EXAMPLES --- |
84 |
|
85 |
+# Michał Górny <mgorny@g.o> (01 Aug 2018) |
86 |
+# Multiprocessing versions of gemato. They are known to hang on some |
87 |
+# users, so let's keep them masked until somebody figures out what's |
88 |
+# wrong. Bug #647964. |
89 |
+~app-portage/gemato-9999m |
90 |
+ |
91 |
# Joonas Niilola <juippis@×××××.com> (31 Jul 2018) |
92 |
# Old and obsolete. Merged into one EFL package since 1.18 release. |
93 |
# Removal in ~30 days. Bug #662510 |