From 4ee337f372a225dba8ab5b76494b0d19a8ebbed6 Mon Sep 17 00:00:00 2001 From: John Turner Date: Mon, 15 Sep 2025 00:00:59 -0400 Subject: add gemato --- app-portage/gemato/Manifest | 1 + app-portage/gemato/gemato-20.6.ebuild | 49 ++++++++++++++++++++++++++++++++ app-portage/gemato/gemato-9999.ebuild | 53 +++++++++++++++++++++++++++++++++++ app-portage/gemato/metadata.xml | 23 +++++++++++++++ 4 files changed, 126 insertions(+) create mode 100644 app-portage/gemato/Manifest create mode 100644 app-portage/gemato/gemato-20.6.ebuild create mode 100644 app-portage/gemato/gemato-9999.ebuild create mode 100644 app-portage/gemato/metadata.xml diff --git a/app-portage/gemato/Manifest b/app-portage/gemato/Manifest new file mode 100644 index 0000000..d355ca0 --- /dev/null +++ b/app-portage/gemato/Manifest @@ -0,0 +1 @@ +DIST gemato-20.6.tar.gz 87376 BLAKE2B ba7dad60ee44059e742ccd20b99eb6710c28250ecb0b11dc169c9a3e02ca0499e8d11587fe2ab878a86335e7a297fa70af2d87c9bd096ecaf8a20969a02a2cf7 SHA512 84d7eb5046ecc8465ccfeb3a97c8cd2b1512a5d3128458b053244dcfa40b69d2c3faf8bd6791fffdd7ea271e6d7a28d74096398a9208526a9eda542c2708b899 diff --git a/app-portage/gemato/gemato-20.6.ebuild b/app-portage/gemato/gemato-20.6.ebuild new file mode 100644 index 0000000..e6f84c3 --- /dev/null +++ b/app-portage/gemato/gemato-20.6.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) +PYTHON_REQ_USE='threads(+),ssl(+)' + +inherit distutils-r1 pypi + +DESCRIPTION="Stand-alone Manifest generation & verification tool" +HOMEPAGE=" + https://github.com/projg2/gemato/ + https://pypi.org/project/gemato/ +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" +IUSE="+gpg pretty-log tools" + +RDEPEND=" + gpg? ( + >=app-crypt/gnupg-2.2.20-r1[ssl] + 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 +} diff --git a/app-portage/gemato/gemato-9999.ebuild b/app-portage/gemato/gemato-9999.ebuild new file mode 100644 index 0000000..9299b39 --- /dev/null +++ b/app-portage/gemato/gemato-9999.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) +PYTHON_REQ_USE='threads(+),ssl(+)' + +inherit distutils-r1 git-r3 + +DESCRIPTION="Stand-alone Manifest generation & verification tool" +HOMEPAGE=" + https://github.com/projg2/gemato/ + https://pypi.org/project/gemato/ +" +EGIT_REPO_URI="https://jturnerusa.dev/cgit/gemato" + +EGIT_SSH_KEYS=( + 'jturner.usa@gmail.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA3D6QtWHDFV5agz2Ms/wPOAmRSuH3xGfsI/a8Nnex0c' +) + +LICENSE="GPL-2+" +SLOT="0" +IUSE="+gpg pretty-log tools" + +RDEPEND=" + gpg? ( + >=app-crypt/gnupg-2.2.20-r1[ssl] + 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 +} diff --git a/app-portage/gemato/metadata.xml b/app-portage/gemato/metadata.xml new file mode 100644 index 0000000..aa7988a --- /dev/null +++ b/app-portage/gemato/metadata.xml @@ -0,0 +1,23 @@ + + + + + mgorny@gentoo.org + Michał Górny + + + + Install dependencies needed for OpenPGP + signature verification support + Pull dev-python/rich + to enable pretty logs + Install additional utilities (benchmarks, + hash testing tools, fast Manifest generators) + to /usr/share/gemato. + + + https://github.com/projg2/gemato/issues/ + projg2/gemato + gemato + + -- cgit v1.2.3