blob: 2ce0f45544e44a1d0bab4c7ac5b7a25c88e19625 (
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-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/python3-openid/python3-openid-3.0.4_p1.ebuild,v 1.1 2014/08/30 14:06:40 maksbotan Exp $
EAPI=5
PYTHON_COMPAT=( python{3_2,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
}
|