1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python{2_7,3_{4,5}} )
8 inherit distutils-r1 eutils
10 DESCRIPTION="A command to search port names and numbers"
11 HOMEPAGE="https://github.com/ncrocfer/whatportis http://pypi.python.org/pypi/whatportis"
12 SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
16 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
20 >=dev-python/click-6.2[${PYTHON_USEDEP}]
21 >=dev-python/prettytable-0.7.2[${PYTHON_USEDEP}]
22 >=dev-python/tinydb-3.1.2[${PYTHON_USEDEP}]
23 >=dev-python/simplejson-3.8.1[${PYTHON_USEDEP}]
26 dev-python/setuptools[${PYTHON_USEDEP}]"
29 "${EPYTHON}" test_${PN}.py || die
33 optfeature "Run ${PN} as a Server" dev-python/flask