| 1 |
# Copyright 1999-2012 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/github2/github2-0.6.2.ebuild,v 1.1 2012/06/28 06:29:25 patrick Exp $ |
| 4 |
|
| 5 |
EAPI="4" |
| 6 |
PYTHON_DEPEND="2:2.6" |
| 7 |
SUPPORT_PYTHON_ABIS="1" |
| 8 |
DISTUTILS_SRC_TEST="nosetests" |
| 9 |
|
| 10 |
# Restricted until the third-party socks module is ported to Python 3 |
| 11 |
RESTRICT_PYTHON_ABIS="3.*" |
| 12 |
|
| 13 |
inherit distutils |
| 14 |
|
| 15 |
DESCRIPTION="Github API library" |
| 16 |
HOMEPAGE="https://github.com/ask/python-github2 http://pypi.python.org/pypi/github2/" |
| 17 |
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.bz2" |
| 18 |
|
| 19 |
LICENSE="BSD" |
| 20 |
SLOT="0" |
| 21 |
KEYWORDS="~amd64 ~x86" |
| 22 |
IUSE="test" |
| 23 |
|
| 24 |
RDEPEND=">=dev-python/httplib2-0.7.0 |
| 25 |
dev-python/python-dateutil" |
| 26 |
DEPEND="${RDEPEND} |
| 27 |
test? ( dev-python/coverage |
| 28 |
dev-python/mock )" |