2015-03-03 15:02:00 +03:00
|
|
|
# Copyright 1999-2015 Gentoo Foundation
|
2013-05-02 15:08:24 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2015-08-10 23:59:40 +03:00
|
|
|
# $Id$
|
2013-05-02 15:08:24 +04:00
|
|
|
|
|
|
|
EAPI=5
|
2015-08-24 15:02:01 +03:00
|
|
|
|
|
|
|
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 )
|
2013-05-02 15:08:24 +04:00
|
|
|
|
|
|
|
inherit distutils-r1
|
|
|
|
|
|
|
|
DESCRIPTION="Useful extra bits for Python that should be in the standard library"
|
2015-08-24 15:02:01 +03:00
|
|
|
HOMEPAGE="https://github.com/testing-cabal/extras/ https://pypi.python.org/pypi/extras/"
|
2013-05-02 15:08:24 +04:00
|
|
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="MIT"
|
|
|
|
SLOT="0"
|
2015-03-03 15:02:00 +03:00
|
|
|
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd"
|
2013-05-02 15:08:24 +04:00
|
|
|
IUSE="test"
|
|
|
|
|
2015-08-24 15:02:01 +03:00
|
|
|
DEPEND="
|
|
|
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
2013-05-02 15:08:24 +04:00
|
|
|
test? ( dev-python/testtools[${PYTHON_USEDEP}] )"
|
|
|
|
RDEPEND=""
|
|
|
|
|
|
|
|
python_test() {
|
|
|
|
"${PYTHON}" ${PN}/tests/test_extras.py || die
|
|
|
|
}
|