summaryrefslogtreecommitdiff
path: root/dev-python/signedjson
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/signedjson')
-rw-r--r--dev-python/signedjson/Manifest1
-rw-r--r--dev-python/signedjson/metadata.xml10
-rw-r--r--dev-python/signedjson/signedjson-1.1.4.ebuild34
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/signedjson/Manifest b/dev-python/signedjson/Manifest
new file mode 100644
index 000000000000..6354a03b4e7f
--- /dev/null
+++ b/dev-python/signedjson/Manifest
@@ -0,0 +1 @@
+DIST signedjson-1.1.4.gh.tar.gz 12714 BLAKE2B 854f28074b82490bbeb6a0a0b3528d608b2ff6f5ff3cb52c913525b81f483afa6b4c8423dc25d9adaa3c3a9f269ec54409af0e7f8b5ddf3903e33a9b00c0dac8 SHA512 8928b9ecf1d6a9291a07bc3270ef57a824267ad45c114cfb720fc4db36415301f6bee26db9bb447e0051d3366c5471f718f37238bdd841bd06e73f5841f13ed6
diff --git a/dev-python/signedjson/metadata.xml b/dev-python/signedjson/metadata.xml
new file mode 100644
index 000000000000..c69681175a83
--- /dev/null
+++ b/dev-python/signedjson/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>arkamar@gentoo.org</email>
+ <name>Petr Vaněk</name>
+ </maintainer>
+ <stabilize-allarches />
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>
diff --git a/dev-python/signedjson/signedjson-1.1.4.ebuild b/dev-python/signedjson/signedjson-1.1.4.ebuild
new file mode 100644
index 000000000000..ea4ab56cf958
--- /dev/null
+++ b/dev-python/signedjson/signedjson-1.1.4.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2022-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit distutils-r1
+
+DESCRIPTION="Signs JSON objects with ED25519 signatures"
+HOMEPAGE="
+ https://github.com/matrix-org/python-signedjson/
+ https://pypi.org/project/signedjson/
+"
+SRC_URI="https://github.com/matrix-org/python-signedjson/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+S="${WORKDIR}/python-${P}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="amd64 ~arm64 ~ppc64"
+
+RDEPEND="
+ dev-python/canonicaljson[${PYTHON_USEDEP}]
+ dev-python/pynacl[${PYTHON_USEDEP}]
+ dev-python/unpaddedbase64[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/setuptools-scm[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests unittest
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}