mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-arch/vimball: bump to EAPI 7, add py37 support, and missing test RESTRICT
Signed-off-by: Tim Harder <radhermit@gentoo.org>
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{3_5,3_6} )
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python{3_5,3_6,3_7} )
|
||||
inherit distutils-r1
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
@@ -19,10 +19,11 @@ HOMEPAGE="https://github.com/radhermit/vimball"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${BDEPEND}"
|
||||
DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
PYTHON_COMPAT=( python{3_5,3_6,3_7} )
|
||||
inherit distutils-r1
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
@@ -19,10 +19,11 @@ HOMEPAGE="https://github.com/radhermit/vimball"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${BDEPEND}"
|
||||
DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
|
||||
Reference in New Issue
Block a user