mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 21:08:35 -07:00
Package-Manager: Portage-2.3.83, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org>
27 lines
601 B
Bash
27 lines
601 B
Bash
# Copyright 1999-2019 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=5
|
|
|
|
PYTHON_COMPAT=( python3_{5,6} )
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="An extensible ASCII table reader"
|
|
HOMEPAGE="http://cxc.harvard.edu/contrib/asciitable"
|
|
SRC_URI="mirror://pypi/a/${PN}/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
|
IUSE="test"
|
|
RESTRICT="!test? ( test )"
|
|
|
|
RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
|
|
DEPEND="${RDEPEND}
|
|
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
|
|
|
python_test() {
|
|
nosetests || die "Tests fail with ${EPYTHON}"
|
|
}
|