diff --git a/dev-python/python3-openid/Manifest b/dev-python/python3-openid/Manifest new file mode 100644 index 0000000..62c1b14 --- /dev/null +++ b/dev-python/python3-openid/Manifest @@ -0,0 +1 @@ +DIST python3-openid-3.2.0.tar.gz 305600 BLAKE2B d793eb61335d7240d5c25324b8377d19781df15012c8da6d5d0d7445c8a7fcb31711156b48d32efae8b6de27509e8f9112535ece7820779ca9b7f2e7be04fb0f SHA512 54412820fef21928e1bf30d16c9bc73d454e9ff41df028a12047c08abdb4c2c9e1d9053daebab8b0327cb0fe0f67e364c2506a47509fef6db5bff42f8399b799 diff --git a/dev-python/python3-openid/metadata.xml b/dev-python/python3-openid/metadata.xml new file mode 100644 index 0000000..4c87ab4 --- /dev/null +++ b/dev-python/python3-openid/metadata.xml @@ -0,0 +1,9 @@ + + + + + + python3-openid + necaris/python3-openid + + diff --git a/dev-python/python3-openid/python3-openid-3.2.0-r1.ebuild b/dev-python/python3-openid/python3-openid-3.2.0-r1.ebuild new file mode 100644 index 0000000..cadf7c2 --- /dev/null +++ b/dev-python/python3-openid/python3-openid-3.2.0-r1.ebuild @@ -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}" +}