Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/gemato/
Date: Wed, 01 Mar 2023 19:33:39
Message-Id: 1677699213.1c13f9d58fe55ae5d0f699a62bdc1c76cbf1a95a.mgorny@gentoo
1 commit: 1c13f9d58fe55ae5d0f699a62bdc1c76cbf1a95a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 1 19:29:51 2023 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 1 19:33:33 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c13f9d5
7
8 app-portage/gemato: Bump to 20.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 app-portage/gemato/Manifest | 1 +
13 app-portage/gemato/gemato-20.0.ebuild | 53 +++++++++++++++++++++++++++++++++++
14 2 files changed, 54 insertions(+)
15
16 diff --git a/app-portage/gemato/Manifest b/app-portage/gemato/Manifest
17 index 3832b2dd2e30..372229f03bc7 100644
18 --- a/app-portage/gemato/Manifest
19 +++ b/app-portage/gemato/Manifest
20 @@ -1 +1,2 @@
21 DIST gemato-19.0.gh.tar.gz 86174 BLAKE2B b13e17f3b4388df4c0b6980db8347d68f9e6cb2657cdbcb28a8466bcdebed9e986ecac2f0f88e549741eb62accd91ed48a8ee4a714a5decce68e1529174a4c90 SHA512 3a8dfc94770e4063da8f1bf42ffc4c261345af89edd223bbf64033a82c2e31cb3369b98467fdbe9bf911b76e5ef964b676b94803579525697ddc31be1b83017b
22 +DIST gemato-20.0.gh.tar.gz 86296 BLAKE2B 663a479650fa6b7a989882c9233ba1cf11b5a528ef4ccc14aed2c32c7a52d877fd1efe9af29c5ed61ee0f8c846e89a52547a2cb6d0256ede5816527defe876ef SHA512 e8b3c515e7dcf32b34101d644ba658b3c534b117407f3b65543dfb684f9569969468c6a5d0290e698d204de6c4a2a18baf722c8e7a6d24d079319310e82e6803
23
24 diff --git a/app-portage/gemato/gemato-20.0.ebuild b/app-portage/gemato/gemato-20.0.ebuild
25 new file mode 100644
26 index 000000000000..7e02cc9bba9d
27 --- /dev/null
28 +++ b/app-portage/gemato/gemato-20.0.ebuild
29 @@ -0,0 +1,53 @@
30 +# Copyright 1999-2023 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=flit
36 +PYTHON_COMPAT=( python3_{9..11} pypy3 )
37 +PYTHON_REQ_USE='threads(+)'
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Stand-alone Manifest generation & verification tool"
42 +HOMEPAGE="
43 + https://github.com/projg2/gemato/
44 + https://pypi.org/project/gemato/
45 +"
46 +SRC_URI="
47 + https://github.com/projg2/gemato/archive/v${PV}.tar.gz
48 + -> ${P}.gh.tar.gz
49 +"
50 +
51 +LICENSE="BSD-2"
52 +SLOT="0"
53 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux"
54 +IUSE="+gpg pretty-log tools"
55 +
56 +RDEPEND="
57 + gpg? (
58 + >=app-crypt/gnupg-2.2.20-r1
59 + dev-python/requests[${PYTHON_USEDEP}]
60 + )
61 + pretty-log? (
62 + dev-python/rich[${PYTHON_USEDEP}]
63 + )
64 +"
65 +BDEPEND="
66 + test? (
67 + >=app-crypt/gnupg-2.2.20-r1
68 + dev-python/requests[${PYTHON_USEDEP}]
69 + dev-python/responses[${PYTHON_USEDEP}]
70 + )
71 +"
72 +
73 +distutils_enable_tests pytest
74 +
75 +python_install_all() {
76 + distutils-r1_python_install_all
77 +
78 + if use tools; then
79 + exeinto /usr/share/gemato
80 + doexe utils/*.{bash,py}
81 + fi
82 +}