# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_REQ_USE='sqlite?' PYTHON_COMPAT=( python2_7 ) inherit distutils-r1 DESCRIPTION="OpenID support for servers and consumers" HOMEPAGE="http://www.openidenabled.com/openid/libraries/python/ https://pypi.org/project/python-openid/" SRC_URI="https://github.com/openid/python-openid/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="Apache-2.0" SLOT="python2" KEYWORDS="~alpha amd64 arm arm64 hppa ~ppc ppc64 s390 sparc x86" IUSE="examples mysql postgres sqlite test" # Tests depend on twill, a broken package. Bug #285169 RESTRICT="mirror test" RDEPEND="mysql? ( >=dev-python/mysql-python-1.2.2[${PYTHON_USEDEP}] ) postgres? ( dev-python/psycopg:python2[${PYTHON_USEDEP}] ) !