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>
This commit is contained in:
Petr Vaněk
2022-07-07 15:23:21 +02:00
committed by Sam James
parent 812d96fe75
commit 2ad7fe7579
3 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST signedjson-1.1.4.gh.tar.gz 12714 BLAKE2B 854f28074b82490bbeb6a0a0b3528d608b2ff6f5ff3cb52c913525b81f483afa6b4c8423dc25d9adaa3c3a9f269ec54409af0e7f8b5ddf3903e33a9b00c0dac8 SHA512 8928b9ecf1d6a9291a07bc3270ef57a824267ad45c114cfb720fc4db36415301f6bee26db9bb447e0051d3366c5471f718f37238bdd841bd06e73f5841f13ed6

View File

@@ -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>

View File

@@ -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}