dev-python/beautifulsoup: Tweak the chardet blocker

!dev-python/chardet[${PYTHON_USEDEP}] only blocks chardet if it happens to
have exactly the same python flags enabled.

We also need a hard blocker rather than a soft one.

Package-Manager: portage-2.2.20
This commit is contained in:
Mike Gilbert
2015-09-05 09:16:54 -04:00
parent 87b6125cb0
commit 6cb2905faf

View File

@@ -26,8 +26,9 @@ RDEPEND="$(python_gen_cond_dep 'dev-python/html5lib[${PYTHON_USEDEP}]' python2_7
$(python_gen_cond_dep 'dev-python/lxml[${PYTHON_USEDEP}]' python2_7 'python3*')"
DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? ( dev-python/nose[${PYTHON_USEDEP}]
!dev-python/chardet[${PYTHON_USEDEP}] )"
!!dev-python/chardet )"
# See https://bugs.launchpad.net/beautifulsoup/+bug/1471359 to explain need for blocker
[[ ${PV} == 4.4.0 ]] || die "Don't forget to remove the chardet blocker!"
S=${WORKDIR}/${MY_P}