commit:     896aadcc7d554a275953ac86458b0ecbbc0df55a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  1 11:02:31 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Aug  1 11:36:24 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=896aadcc

app-portage/gemato: Add 14.0+multiprocessing version

Bug: https://bugs.gentoo.org/647964

 app-portage/gemato/Manifest            |  1 +
 app-portage/gemato/gemato-14.0m.ebuild | 53 ++++++++++++++++++++++++++++++++++
 profiles/package.mask                  |  1 +
 3 files changed, 55 insertions(+)

diff --git a/app-portage/gemato/Manifest b/app-portage/gemato/Manifest
index f24aec90f25..15b564f3d68 100644
--- a/app-portage/gemato/Manifest
+++ b/app-portage/gemato/Manifest
@@ -1,4 +1,5 @@
 DIST gemato-12.2.tar.gz 66897 BLAKE2B 
85ca439620afdb2045e571ed7a11f3eb8ce85e41c0984ad51af3b9d22c0926138eda0c7b02e1d70e200eb8c93cf4003e61f901e0fd5fd28861217b02a1e3ab64
 SHA512 
10ba7da5de3b90722b0bdcf9d3766a7c83c68d29d23e49744a31b0c8ad80eaa4917dff2fbd9f12ef2fa4fde03244e79f6fe5e9c108db7fb64fd6ea68fa0eb81c
 DIST gemato-13.0.tar.gz 66899 BLAKE2B 
e75a16d6a26f010801df072154897a485e9aee6434cf60962d59d11fda70b790284a734d9137ccc7910b0a95278d922640aece45e42ca497d1118e01992c2a15
 SHA512 
0ca17f1df8606e09a88411d75d144094bd13e440b04721175c8d9a3ea92fc616b34de0c80c817898ee94a1d82e37e4de50319634a351a52bccaec9653ad2f166
 DIST gemato-13.1.tar.gz 66699 BLAKE2B 
f779efc2ad00c2bb6ad7eb2bbab8f6fbc8b8bc026b593bfc830844ba50a6d5ff260ca0b73190b1739268b2181461fbd4c4c45adf244b23b8ade7803d90c6773f
 SHA512 
2cda08cee937cfdf4ff46d60b44d49e4de7af5c57bfc12ba5394e967fcdae6e4cb9ceaf131b379a2c90e92b14d8b1ec375362415fc81e16efcb3279a0ff1e46a
+DIST gemato-14.0-multiprocessing.tar.gz 71359 BLAKE2B 
b8c6fbcf8a83c8e85db4045ad23296944b94623d132a6c5f15b8388662fd092cb589600fda1d11c9645541106dc735dceaeed87d642b1fadf0f352f4a9b3f108
 SHA512 
2f1a1cbd837ab316bf544f713470f570286a313e002a4dcc075e464e77a3b10ba86410f805aad3d5702f3deedda48f8270f1274a67d76086b4ad5cd597426c5e
 DIST gemato-14.0.tar.gz 70754 BLAKE2B 
e66d63a20e144e809555b2eeff6a24f899e1f488c95a14b2250c6eb45c39a6e6b0e614afe30a64f5a353720ab38371ba3e4bf9948052dae3e06f9f82ac3d04a2
 SHA512 
0494b8fab720b4e5ad2b190fab128baf997073137b933bc113dddc8c5f2c54f53d09bc640b01565e9757b41197d039c8487cb2b78de77313722d19baf008b51f

diff --git a/app-portage/gemato/gemato-14.0m.ebuild 
b/app-portage/gemato/gemato-14.0m.ebuild
new file mode 100644
index 00000000000..6fcdac1cf18
--- /dev/null
+++ b/app-portage/gemato/gemato-14.0m.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# pyblake2 & pysha3 are broken with pypy3
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} pypy )
+PYTHON_REQ_USE='threads(+)'
+inherit distutils-r1
+
+MY_PV=${PV%m}+multiprocessing
+MY_P=${PN}-${MY_PV/+/-}
+
+DESCRIPTION="Stand-alone Manifest generation & verification tool"
+HOMEPAGE="https://github.com/mgorny/gemato";
+SRC_URI="https://github.com/mgorny/gemato/archive/v${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~x64-cygwin ~amd64-fbsd"
+IUSE="+blake2 bzip2 +gpg lzma sha3 test tools"
+
+MODULE_RDEPEND="
+       blake2? ( $(python_gen_cond_dep 'dev-python/pyblake2[${PYTHON_USEDEP}]' 
python{2_7,3_4,3_5} pypy{,3}) )
+       bzip2? ( $(python_gen_cond_dep 'dev-python/bz2file[${PYTHON_USEDEP}]' 
python2_7 pypy) )
+       gpg? ( app-crypt/gnupg )
+       lzma? ( $(python_gen_cond_dep 
'dev-python/backports-lzma[${PYTHON_USEDEP}]' python2_7 pypy) )
+       sha3? ( $(python_gen_cond_dep 'dev-python/pysha3[${PYTHON_USEDEP}]' 
python{2_7,3_4,3_5} pypy{,3}) )"
+
+RDEPEND="${MODULE_RDEPEND}
+       dev-python/setuptools[${PYTHON_USEDEP}]"
+DEPEND=">=dev-python/setuptools-34[${PYTHON_USEDEP}]
+       test? ( ${MODULE_RDEPEND} )"
+
+S=${WORKDIR}/${MY_P}
+
+python_test() {
+       esetup.py test
+}
+
+python_install_all() {
+       distutils-r1_python_install_all
+
+       if use tools; then
+               exeinto /usr/share/gemato
+               doexe utils/*.{bash,py}
+       fi
+}
+
+pkg_postinst() {
+       elog "The multiprocessing support in gemato may cause the process to 
hang."
+       elog "Please see https://bugs.gentoo.org/647964 for more details."
+}

diff --git a/profiles/package.mask b/profiles/package.mask
index a9edadcf52a..2a56dd1c82a 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -33,6 +33,7 @@
 # Multiprocessing versions of gemato.  They are known to hang on some
 # users, so let's keep them masked until somebody figures out what's
 # wrong.  Bug #647964.
+~app-portage/gemato-14.0m
 ~app-portage/gemato-9999m
 
 # Joonas Niilola <[email protected]> (31 Jul 2018)

Reply via email to