dev-python/dugong: add python3_7 support
authorTim Harder <radhermit@gentoo.org>
Thu, 13 Dec 2018 06:14:34 +0000 (00:14 -0600)
committerTim Harder <radhermit@gentoo.org>
Thu, 13 Dec 2018 06:47:15 +0000 (00:47 -0600)
Note that >=pytest-3.3.0 merged the catchlog plugin so use it for 3.7
support.

Signed-off-by: Tim Harder <radhermit@gentoo.org>
dev-python/dugong/dugong-3.7.3.ebuild

index e1144b98f8bd54d1274d6a377e3c774ff9037857..c074de2aed1716d0ed2f586c776485ebca10d255 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-PYTHON_COMPAT=( python3_{4,5,6} )
+PYTHON_COMPAT=( python3_{4,5,6,7} )
 
 inherit distutils-r1
 
@@ -18,7 +18,10 @@ IUSE="doc examples test"
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
        test? (
                dev-python/pytest[${PYTHON_USEDEP}]
-               dev-python/pytest-catchlog[${PYTHON_USEDEP}]
+               || (
+                       dev-python/pytest-catchlog[${PYTHON_USEDEP}]
+                       >=dev-python/pytest-3.3.0[${PYTHON_USEDEP}]
+               )
        )"
 
 python_test() {