diff --git a/app-portage/gemato/Manifest b/app-portage/gemato/Manifest index 372229f03bc7b..7ec2f867474e8 100644 --- a/app-portage/gemato/Manifest +++ b/app-portage/gemato/Manifest @@ -1,2 +1,3 @@ DIST gemato-19.0.gh.tar.gz 86174 BLAKE2B b13e17f3b4388df4c0b6980db8347d68f9e6cb2657cdbcb28a8466bcdebed9e986ecac2f0f88e549741eb62accd91ed48a8ee4a714a5decce68e1529174a4c90 SHA512 3a8dfc94770e4063da8f1bf42ffc4c261345af89edd223bbf64033a82c2e31cb3369b98467fdbe9bf911b76e5ef964b676b94803579525697ddc31be1b83017b DIST gemato-20.0.gh.tar.gz 86296 BLAKE2B 663a479650fa6b7a989882c9233ba1cf11b5a528ef4ccc14aed2c32c7a52d877fd1efe9af29c5ed61ee0f8c846e89a52547a2cb6d0256ede5816527defe876ef SHA512 e8b3c515e7dcf32b34101d644ba658b3c534b117407f3b65543dfb684f9569969468c6a5d0290e698d204de6c4a2a18baf722c8e7a6d24d079319310e82e6803 +DIST gemato-20.1.gh.tar.gz 86394 BLAKE2B c8f8f855a5b56dbf06eef0c99e33d4ad04c8151fa121d152c9f918059436e21dafc98d3931465cc27f4c489c8e4f576abe73efd810df09896e4fe91e9aa21814 SHA512 d4395f95b5807473511cfc9631dc9db3cff610d3f3b12c8360ee452b964ea6610c76f7f1687b6b21f44fde93d6921731b1791ff51d908d3e7fd154beef6ac596 diff --git a/app-portage/gemato/gemato-20.1.ebuild b/app-portage/gemato/gemato-20.1.ebuild new file mode 100644 index 0000000000000..7e02cc9bba9dd --- /dev/null +++ b/app-portage/gemato/gemato-20.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9..11} pypy3 ) +PYTHON_REQ_USE='threads(+)' + +inherit distutils-r1 + +DESCRIPTION="Stand-alone Manifest generation & verification tool" +HOMEPAGE=" + https://github.com/projg2/gemato/ + https://pypi.org/project/gemato/ +" +SRC_URI=" + https://github.com/projg2/gemato/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux" +IUSE="+gpg pretty-log tools" + +RDEPEND=" + gpg? ( + >=app-crypt/gnupg-2.2.20-r1 + dev-python/requests[${PYTHON_USEDEP}] + ) + pretty-log? ( + dev-python/rich[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + test? ( + >=app-crypt/gnupg-2.2.20-r1 + dev-python/requests[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_install_all() { + distutils-r1_python_install_all + + if use tools; then + exeinto /usr/share/gemato + doexe utils/*.{bash,py} + fi +}