dev-python/python3-openid: new package, add 3.2.0-r1

This commit is contained in:
Alarig Le Lay 2023-03-21 20:07:33 +01:00
parent d21b026889
commit 3a49fb3627
Signed by: alarig
GPG Key ID: 7AFE62C6DF8BCDEC
3 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST python3-openid-3.2.0.tar.gz 305600 BLAKE2B d793eb61335d7240d5c25324b8377d19781df15012c8da6d5d0d7445c8a7fcb31711156b48d32efae8b6de27509e8f9112535ece7820779ca9b7f2e7be04fb0f SHA512 54412820fef21928e1bf30d16c9bc73d454e9ff41df028a12047c08abdb4c2c9e1d9053daebab8b0327cb0fe0f67e364c2506a47509fef6db5bff42f8399b799

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!--maintainer-needed-->
<upstream>
<remote-id type="pypi">python3-openid</remote-id>
<remote-id type="github">necaris/python3-openid</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,35 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
DESCRIPTION="OpenID support for modern servers and consumers"
HOMEPAGE="https://github.com/necaris/python3-openid"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
dev-python/defusedxml[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
${RDEPEND}
dev-python/django[${PYTHON_USEDEP}]
dev-python/psycopg:2[${PYTHON_USEDEP}]
)
"
DOCS=( NEWS.md README.md )
python_test() {
"${EPYTHON}" -m unittest -v openid.test.test_suite || die "Tests failed with ${EPYTHON}"
}