1 |
commit: 4b3b7f011e8b0a3134ceba9aab106df40aea836b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 21 22:22:21 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 21 22:26:40 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b3b7f01 |
7 |
|
8 |
app-portage/gemato: New ebuild for Gentoo Manifest Tool |
9 |
|
10 |
app-portage/gemato/gemato-9999.ebuild | 31 +++++++++++++++++++++++++++++++ |
11 |
app-portage/gemato/metadata.xml | 18 ++++++++++++++++++ |
12 |
2 files changed, 49 insertions(+) |
13 |
|
14 |
diff --git a/app-portage/gemato/gemato-9999.ebuild b/app-portage/gemato/gemato-9999.ebuild |
15 |
new file mode 100644 |
16 |
index 00000000000..2df8e801b28 |
17 |
--- /dev/null |
18 |
+++ b/app-portage/gemato/gemato-9999.ebuild |
19 |
@@ -0,0 +1,31 @@ |
20 |
+# Copyright 1999-2017 Gentoo Foundation |
21 |
+# Distributed under the terms of the GNU General Public License v2 |
22 |
+ |
23 |
+EAPI=6 |
24 |
+ |
25 |
+# backports.lzma is broken with pypy |
26 |
+# pyblake2 & pysha3 are broken with pypy3 |
27 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
28 |
+inherit distutils-r1 git-r3 |
29 |
+ |
30 |
+DESCRIPTION="Stand-alone Manifest generation & verification tool" |
31 |
+HOMEPAGE="https://github.com/mgorny/gemato" |
32 |
+SRC_URI="" |
33 |
+EGIT_REPO_URI="https://github.com/mgorny/gemato.git" |
34 |
+ |
35 |
+LICENSE="BSD-2" |
36 |
+SLOT="0" |
37 |
+KEYWORDS="" |
38 |
+IUSE="+blake2 bzip2 +gpg lzma sha3" |
39 |
+ |
40 |
+RDEPEND=" |
41 |
+ blake2? ( $(python_gen_cond_dep 'dev-python/pyblake2[${PYTHON_USEDEP}]' python{2_7,3_4,3_5} pypy{,3}) ) |
42 |
+ bzip2? ( $(python_gen_cond_dep 'dev-python/bz2file[${PYTHON_USEDEP}]' python2_7 pypy) ) |
43 |
+ gpg? ( app-crypt/gnupg ) |
44 |
+ lzma? ( $(python_gen_cond_dep 'dev-python/backports-lzma[${PYTHON_USEDEP}]' python2_7 pypy) ) |
45 |
+ sha3? ( $(python_gen_cond_dep 'dev-python/pysha3[${PYTHON_USEDEP}]' python{2_7,3_4,3_5} pypy{,3}) )" |
46 |
+DEPEND="${RDEPEND}" |
47 |
+ |
48 |
+python_test() { |
49 |
+ "${PYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" |
50 |
+} |
51 |
|
52 |
diff --git a/app-portage/gemato/metadata.xml b/app-portage/gemato/metadata.xml |
53 |
new file mode 100644 |
54 |
index 00000000000..805485e949c |
55 |
--- /dev/null |
56 |
+++ b/app-portage/gemato/metadata.xml |
57 |
@@ -0,0 +1,18 @@ |
58 |
+<?xml version="1.0" encoding="UTF-8"?> |
59 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
60 |
+<pkgmetadata> |
61 |
+ <maintainer type="person"> |
62 |
+ <email>mgorny@g.o</email> |
63 |
+ <name>Michał Górny</name> |
64 |
+ </maintainer> |
65 |
+ <use> |
66 |
+ <flag name='blake2'>Install dependencies needed for BLAKE2 hash |
67 |
+ functions</flag> |
68 |
+ <flag name='sha3'>Install dependencies needed for SHA3 hash |
69 |
+ functions</flag> |
70 |
+ </use> |
71 |
+ <upstream> |
72 |
+ <bugs-to>https://github.com/mgorny/gemato/issues/</bugs-to> |
73 |
+ <remote-id type="github">mgorny/gemato</remote-id> |
74 |
+ </upstream> |
75 |
+</pkgmetadata> |