commit: c2573621f2cf8d03eb11cd9539590c7fa3a0da56 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> AuthorDate: Wed Aug 12 11:45:01 2020 +0000 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> CommitDate: Wed Aug 12 12:25:45 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2573621
dev-python/osrf_pycommon: add missing test dep Closes: https://bugs.gentoo.org/736826 Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> dev-python/osrf_pycommon/osrf_pycommon-0.1.10.ebuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/dev-python/osrf_pycommon/osrf_pycommon-0.1.10.ebuild b/dev-python/osrf_pycommon/osrf_pycommon-0.1.10.ebuild index 5766d731686..d38cfc41188 100644 --- a/dev-python/osrf_pycommon/osrf_pycommon-0.1.10.ebuild +++ b/dev-python/osrf_pycommon/osrf_pycommon-0.1.10.ebuild @@ -13,12 +13,16 @@ SRC_URI="https://github.com/osrf/osrf_pycommon/archive/${PV}.tar.gz -> ${P}.tar. LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64" -IUSE="" -RESTRICT="" +IUSE="test" +RESTRICT="!test? ( test )" DEPEND="dev-python/mock[${PYTHON_USEDEP}]" RDEPEND="${DEPEND}" -BDEPEND="" +BDEPEND=" + test? ( + dev-python/flake8[${PYTHON_USEDEP}] + ) +" PATCHES=( "${FILESDIR}/str.patch" ) distutils_enable_tests pytest
