summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2017-11-26 14:25:00 -0800
committerZac Medico <zmedico@gentoo.org>2017-11-26 14:35:03 -0800
commit716acfa4ee3b8eed773110a662573ebe83a9d964 (patch)
tree7b62f503c928f67072af52a52af492345a5a07f0
parentsys-kernel/genkernel-next: Drop old (diff)
downloadgentoo-716acfa4ee3b8eed773110a662573ebe83a9d964.tar.gz
gentoo-716acfa4ee3b8eed773110a662573ebe83a9d964.tar.bz2
gentoo-716acfa4ee3b8eed773110a662573ebe83a9d964.zip
app-portage/gemato: Add v7 release
Package-Manager: Portage-2.3.16, Repoman-2.3.6
-rw-r--r--app-portage/gemato/Manifest1
-rw-r--r--app-portage/gemato/gemato-7.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/app-portage/gemato/Manifest b/app-portage/gemato/Manifest
index 5c888b6b8c48..648d2c9352f5 100644
--- a/app-portage/gemato/Manifest
+++ b/app-portage/gemato/Manifest
@@ -1 +1,2 @@
DIST gemato-4.tar.gz 57334 BLAKE2B 5aad3950e8b7fcf42d088de3b9dd5ded5eaeeb3f91414c38b79eaa4afd4799ccb4084da8a8bdf1bec67b82de8dd09a4c2977f07932a4c63bc833916d184418eb SHA512 a6747a83020efe72ad356873b1648bcf80828efaf9248e17e46cf626f879ebb77571c28d4097ebe56f891a0c096a81feed84bacbd04b37e6a6ce5f0ec37d27ba
+DIST gemato-7.tar.gz 57456 BLAKE2B e88d2db66b207ab226f9d8cc000dea6b337a38ebb7ff0bfd41416c0f15fa0c5b36951ff2274bd466798718577bafb8ade5b791db986d4e2e1a34c5318acae79e SHA512 4a278d14c52daefc2a9d16096256df933456f11eabb8997c0293ac59754b7b57f4a9e6edd1d127c9303a4762e14ffcbcaac378f709edd5ded91e0216b7bcca33
diff --git a/app-portage/gemato/gemato-7.ebuild b/app-portage/gemato/gemato-7.ebuild
new file mode 100644
index 000000000000..deffb436423e
--- /dev/null
+++ b/app-portage/gemato/gemato-7.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# backports.lzma is broken with pypy
+# pyblake2 & pysha3 are broken with pypy3
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+inherit distutils-r1
+
+DESCRIPTION="Stand-alone Manifest generation & verification tool"
+HOMEPAGE="https://github.com/mgorny/gemato"
+SRC_URI="https://github.com/mgorny/gemato/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="+blake2 bzip2 +gpg lzma sha3"
+
+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}) )"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+python_test() {
+ "${PYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}"
+}