mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 22:48:07 -07:00
dev-python/priority: Enable py3.8, fix tests
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy)
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy)
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
@@ -15,18 +15,14 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/pytest-2.9.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/hypothesis-3.4.2[${PYTHON_USEDEP}]
|
||||
)
|
||||
test? ( >=dev-python/hypothesis-3.4.2[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
python_test() {
|
||||
py.test -vv || die "Tests failed under ${EPYTHON}"
|
||||
}
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/priority-1.3.0-test-timeout.patch
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
Reference in New Issue
Block a user