Skip to content

Commit

Permalink
dev-python/irc: add python 3.7, make tests verbose, sort deps
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.43, Repoman-2.3.10
  • Loading branch information
sbraz committed Jul 28, 2018
1 parent c22a087 commit bc04751
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions dev-python/irc/irc-16.3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2

EAPI=7
PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} )

inherit distutils-r1

Expand All @@ -27,18 +27,19 @@ RDEPEND="
dev-python/pytz[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
>=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}]
test? (
${RDEPEND}
dev-python/backports-unittest-mock[${PYTHON_USEDEP}]
>=dev-python/pytest-2.8[${PYTHON_USEDEP}]
)
doc? (
>=dev-python/jaraco-packaging-3.2[${PYTHON_USEDEP}]
>=dev-python/rst-linker-1.9[${PYTHON_USEDEP}]
dev-python/sphinx[${PYTHON_USEDEP}]
)
test? (
${RDEPEND}
dev-python/backports-unittest-mock[${PYTHON_USEDEP}]
>=dev-python/pytest-2.8[${PYTHON_USEDEP}]
)
"

python_compile_all() {
Expand All @@ -51,7 +52,7 @@ python_compile_all() {

python_test() {
# Override pytest options to skip flake8
py.test --override-ini="addopts=--doctest-modules" \
pytest -vv --override-ini="addopts=--doctest-modules" \
|| die "Tests failed with ${EPYTHON}"
}

Expand Down

0 comments on commit bc04751

Please sign in to comment.