summaryrefslogtreecommitdiff
path: root/dev-python/python3-openid/python3-openid-3.2.0-r1.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-06-04 12:38:55 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-06-04 12:38:55 +0000
commitd4aa3c7086d7b5519fdc4423743750dc2b037477 (patch)
tree87b7b96967a036fd670bc18b9894e84844c66f86 /dev-python/python3-openid/python3-openid-3.2.0-r1.ebuild
parent03a3cdcd54278d3b6b7e9ba5185a8abf682e6201 (diff)
downloadbaldeagleos-repo-d4aa3c7086d7b5519fdc4423743750dc2b037477.tar.gz
baldeagleos-repo-d4aa3c7086d7b5519fdc4423743750dc2b037477.tar.xz
baldeagleos-repo-d4aa3c7086d7b5519fdc4423743750dc2b037477.zip
Adding metadata
Diffstat (limited to 'dev-python/python3-openid/python3-openid-3.2.0-r1.ebuild')
-rw-r--r--dev-python/python3-openid/python3-openid-3.2.0-r1.ebuild35
1 files changed, 35 insertions, 0 deletions
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 000000000000..ab12cd422d2f
--- /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_{7,8,9,10} )
+
+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}"
+}