diff options
author | Wim Muskee <wimmuskee@gmail.com> | 2019-12-08 13:52:46 +0100 |
---|---|---|
committer | Aaron Bauman <bman@gentoo.org> | 2019-12-13 11:07:43 -0500 |
commit | c4a9cd9e1d53607a0a96eed744a5898338ca15b9 (patch) | |
tree | cc8c46f2d4646574f44ebb353feb07e8740c8bbf /dev-python/click-threading | |
parent | dev-python/click-log: apply distutils_enable_tests, add py37 compat (diff) | |
download | gentoo-c4a9cd9e1d53607a0a96eed744a5898338ca15b9.tar.gz gentoo-c4a9cd9e1d53607a0a96eed744a5898338ca15b9.tar.bz2 gentoo-c4a9cd9e1d53607a0a96eed744a5898338ca15b9.zip |
dev-python/click-threading: apply distutils_enable_tests, add py37 compat, remove py27 for 0.4.4
Closes: https://bugs.gentoo.org/660650
Signed-off-by: Wim Muskee <wimmuskee@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/13919
Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'dev-python/click-threading')
-rw-r--r-- | dev-python/click-threading/click-threading-0.3.0.ebuild | 11 | ||||
-rw-r--r-- | dev-python/click-threading/click-threading-0.4.4.ebuild | 11 |
2 files changed, 6 insertions, 16 deletions
diff --git a/dev-python/click-threading/click-threading-0.3.0.ebuild b/dev-python/click-threading/click-threading-0.3.0.ebuild index 0df9ebc7f528..5355a0103c2a 100644 --- a/dev-python/click-threading/click-threading-0.3.0.ebuild +++ b/dev-python/click-threading/click-threading-0.3.0.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python{2_7,3_5,3_6} ) +PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} ) inherit distutils-r1 @@ -13,15 +13,10 @@ SRC_URI="https://github.com/click-contrib/${PN}/archive/${PV}.tar.gz -> ${P}-gh. LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" RDEPEND=">=dev-python/click-5.0[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - test? ( dev-python/pytest[${PYTHON_USEDEP}] )" +DEPEND="${RDEPEND}" DOCS=( README.rst ) -python_test() { - py.test -v || die "Tests fail with ${EPYTHON}" -} +distutils_enable_tests pytest diff --git a/dev-python/click-threading/click-threading-0.4.4.ebuild b/dev-python/click-threading/click-threading-0.4.4.ebuild index 0df9ebc7f528..a61aa16cab9f 100644 --- a/dev-python/click-threading/click-threading-0.4.4.ebuild +++ b/dev-python/click-threading/click-threading-0.4.4.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python{2_7,3_5,3_6} ) +PYTHON_COMPAT=( python{3_5,3_6,3_7} ) inherit distutils-r1 @@ -13,15 +13,10 @@ SRC_URI="https://github.com/click-contrib/${PN}/archive/${PV}.tar.gz -> ${P}-gh. LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" RDEPEND=">=dev-python/click-5.0[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - test? ( dev-python/pytest[${PYTHON_USEDEP}] )" +DEPEND="${RDEPEND}" DOCS=( README.rst ) -python_test() { - py.test -v || die "Tests fail with ${EPYTHON}" -} +distutils_enable_tests pytest |