blob: ddbe4fd9673636e4d14e567695e029bc4c75be80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python{3_3,3_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
}
|