You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/python3-openid/python3-openid-3.0.4_p1.ebuild

35 lines
845 B

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python3_4 )
inherit vcs-snapshot distutils-r1
DESCRIPTION="Python 3 port of the python-openid library"
HOMEPAGE="https://github.com/necaris/python3-openid https://pypi.python.org/pypi/python3-openid"
SRC_URI="https://github.com/necaris/${PN}/archive/47a15d30b962a4316473ae9909b3405773d78181.tar.gz -> ${P}.tar.gz"
#https://github.com/necaris/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64"
IUSE="examples test"
DEPEND=""
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/django-tests.patch
)
python_test() {
"${S}"/run_tests.sh || die "tests fail on ${EPYTHON}"
}
python_install_all() {
use examples && local EXAMPLES="examples/."
distutils-r1_python_install_all
}