dev-python/hypothesis: Fix stripping CLI script

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2021-06-10 12:53:46 +02:00
parent 6d47547854
commit 225f15cd22
3 changed files with 3 additions and 3 deletions
@@ -44,7 +44,7 @@ PATCHES=(
)
python_prepare() {
if ! use cli || ! has "${EPYTHON}" python3_{7..9}; then
if ! use cli || ! has "${EPYTHON}" python3.{7..9}; then
sed -i -e '/console_scripts/d' setup.py || die
fi
}
@@ -41,7 +41,7 @@ BDEPEND="
distutils_enable_tests --install pytest
python_prepare() {
if ! use cli || ! has "${EPYTHON}" python3_{7..9}; then
if ! use cli || ! has "${EPYTHON}" python3.{7..9}; then
sed -i -e '/console_scripts/d' setup.py || die
fi
}
@@ -41,7 +41,7 @@ BDEPEND="
distutils_enable_tests --install pytest
python_prepare() {
if ! use cli || ! has "${EPYTHON}" python3_{7..9}; then
if ! use cli || ! has "${EPYTHON}" python3.{7..9}; then
sed -i -e '/console_scripts/d' setup.py || die
fi
}