summaryrefslogtreecommitdiff
path: root/app-portage
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa+gentoo@gmail.com>2025-09-15 00:00:59 -0400
committerJohn Turner <jturner.usa+gentoo@gmail.com>2025-09-15 00:00:59 -0400
commit4ee337f372a225dba8ab5b76494b0d19a8ebbed6 (patch)
tree7d0dc1677cf5b4abf1fe29d18b3b654b1855a78d /app-portage
parent43e13d6864888cb7fcd6697ebd49df5e1c37041c (diff)
downloadebuilds-4ee337f372a225dba8ab5b76494b0d19a8ebbed6.tar.gz
add gemato
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/gemato/Manifest1
-rw-r--r--app-portage/gemato/gemato-20.6.ebuild49
-rw-r--r--app-portage/gemato/gemato-9999.ebuild53
-rw-r--r--app-portage/gemato/metadata.xml23
4 files changed, 126 insertions, 0 deletions
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <use>
+ <flag name="gpg">Install dependencies needed for OpenPGP
+ signature verification support</flag>
+ <flag name="pretty-log">Pull <pkg>dev-python/rich</pkg>
+ to enable pretty logs</flag>
+ <flag name="tools">Install additional utilities (benchmarks,
+ hash testing tools, fast Manifest generators)
+ to /usr/share/gemato.</flag>
+ </use>
+ <upstream>
+ <bugs-to>https://github.com/projg2/gemato/issues/</bugs-to>
+ <remote-id type="github">projg2/gemato</remote-id>
+ <remote-id type="pypi">gemato</remote-id>
+ </upstream>
+</pkgmetadata>