commit:     2ad7fe7579ecf08c2cfe974631a081454cd99c4b
Author:     Petr Vaněk <arkamar <AT> atlas <DOT> cz>
AuthorDate: Thu Jul  7 13:23:21 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul  9 08:15:52 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ad7fe75

dev-python/signedjson: new package, add 1.1.4

Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/signedjson/Manifest                |  1 +
 dev-python/signedjson/metadata.xml            | 16 ++++++++++++
 dev-python/signedjson/signedjson-1.1.4.ebuild | 35 +++++++++++++++++++++++++++
 3 files changed, 52 insertions(+)

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..d52dc8df1afc
--- /dev/null
+++ b/dev-python/signedjson/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person" proxied="yes">
+               <email>[email protected]</email>
+               <name>Petr Vaněk</name>
+       </maintainer>
+       <maintainer type="project" proxied="proxy">
+               <email>[email protected]</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="pypi">signedjson</remote-id>
+               <remote-id 
type="github">matrix-org/python-signedjson</remote-id>
+       </upstream>
+</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..e3119b96c7d6
--- /dev/null
+++ b/dev-python/signedjson/signedjson-1.1.4.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Signs JSON objects with ED25519 signatures."
+HOMEPAGE="
+       https://github.com/matrix-org/python-signedjson
+       https://pypi.python.org/pypi/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"
+
+RDEPEND="
+       dev-python/canonicaljson[${PYTHON_USEDEP}]
+       dev-python/pynacl[${PYTHON_USEDEP}]
+       dev-python/unpaddedbase64[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               dev-python/importlib_metadata[${PYTHON_USEDEP}]
+       ' python3_9)
+"
+
+distutils_enable_tests unittest
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}

Reply via email to