Files
gentoo/dev-python/pytest-flakes/pytest-flakes-4.0.0.ebuild
T
Tony Vroon 10e53506d1 dev-python/pytest-flakes: Widen PYTHON_COMPAT
Test suite passes for Python 3.6 & 3.7, so add to PYTHON_COMPAT.

Bug: https://bugs.gentoo.org/678422
Suggested-By: Pacho Ramos <pacho@gentoo.org>
Signed-Off-By: Tony Vroon <chainsaw@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
2019-05-22 15:48:20 +01:00

25 lines
607 B
Bash

# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy pypy3)
inherit distutils-r1
DESCRIPTION="Collection of small Python functions & classes"
HOMEPAGE="https://pypi.org/project/python-utils/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc test"
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]"
BDEPEND="${RDEPEND}"
python_test() {
"${PYTHON}" ./test_flakes.py || die "Tests failed under ${EPYTHON}"
}