summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@atlas.cz>2022-07-07 15:23:21 +0200
committerSam James <sam@gentoo.org>2022-07-09 09:15:52 +0100
commit2ad7fe7579ecf08c2cfe974631a081454cd99c4b (patch)
treedb8665d4e3fe79bf2cb073dfe7e80e734ad3f807 /dev-python/signedjson
parentdev-python/unpaddedbase64: new package, add 2.1.0 (diff)
downloadgentoo-2ad7fe7579ecf08c2cfe974631a081454cd99c4b.tar.gz
gentoo-2ad7fe7579ecf08c2cfe974631a081454cd99c4b.tar.bz2
gentoo-2ad7fe7579ecf08c2cfe974631a081454cd99c4b.zip
dev-python/signedjson: new package, add 1.1.4
Signed-off-by: Petr Vaněk <arkamar@atlas.cz> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/signedjson')
-rw-r--r--dev-python/signedjson/Manifest1
-rw-r--r--dev-python/signedjson/metadata.xml16
-rw-r--r--dev-python/signedjson/signedjson-1.1.4.ebuild35
3 files changed, 52 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..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>arkamar@atlas.cz</email>
+ <name>Petr Vaněk</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</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}