diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-05-06 21:31:24 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-05-06 21:33:02 +0200 |
commit | 473767626ea842a91c342a234ddb655df713ad96 (patch) | |
tree | adc37e01e344f1087e6df9f45ae28471bda5f8c9 /app-portage | |
parent | app-misc/screenfetch: Remove 3.7.0 (diff) | |
download | gentoo-473767626ea842a91c342a234ddb655df713ad96.tar.gz gentoo-473767626ea842a91c342a234ddb655df713ad96.tar.bz2 gentoo-473767626ea842a91c342a234ddb655df713ad96.zip |
app-portage/gemato: Support installing utility scripts
Closes: https://bugs.gentoo.org/655094
Diffstat (limited to 'app-portage')
-rw-r--r-- | app-portage/gemato/gemato-13.0.ebuild | 11 | ||||
-rw-r--r-- | app-portage/gemato/gemato-9999.ebuild | 13 | ||||
-rw-r--r-- | app-portage/gemato/metadata.xml | 3 |
3 files changed, 24 insertions, 3 deletions
diff --git a/app-portage/gemato/gemato-13.0.ebuild b/app-portage/gemato/gemato-13.0.ebuild index 8da41cdee06c..914ecd2cb4be 100644 --- a/app-portage/gemato/gemato-13.0.ebuild +++ b/app-portage/gemato/gemato-13.0.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" LICENSE="BSD-2" SLOT="0" KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~x64-cygwin ~amd64-fbsd" -IUSE="+blake2 bzip2 +gpg lzma sha3 test" +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}) ) @@ -32,3 +32,12 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] python_test() { esetup.py test } + +python_install_all() { + distutils-r1_python_install_all + + if use tools; then + insinto /usr/share/gemato + doins utils/*.{bash,py} + fi +} diff --git a/app-portage/gemato/gemato-9999.ebuild b/app-portage/gemato/gemato-9999.ebuild index 6dcd6cb0edfd..605958de2ad2 100644 --- a/app-portage/gemato/gemato-9999.ebuild +++ b/app-portage/gemato/gemato-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -16,7 +16,7 @@ EGIT_REPO_URI="https://github.com/mgorny/gemato.git" LICENSE="BSD-2" SLOT="0" KEYWORDS="" -IUSE="+blake2 bzip2 +gpg lzma sha3 test" +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}) ) @@ -33,3 +33,12 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] python_test() { esetup.py test } + +python_install_all() { + distutils-r1_python_install_all + + if use tools; then + insinto /usr/share/gemato + doins utils/*.{bash,py} + fi +} diff --git a/app-portage/gemato/metadata.xml b/app-portage/gemato/metadata.xml index 23ea67a25989..fecff7a1fcd3 100644 --- a/app-portage/gemato/metadata.xml +++ b/app-portage/gemato/metadata.xml @@ -12,6 +12,9 @@ signature verification support</flag> <flag name='sha3'>Install dependencies needed for SHA3 hash functions</flag> + <flag name='tools'>Install additional utilities (benchmarks, + hash testing tools, fast Manifest generators) + to /usr/share/gemato.</flag> </use> <upstream> <bugs-to>https://github.com/mgorny/gemato/issues/</bugs-to> |