mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 08:58:27 -07:00
dev-python/sphinx-jinja: Drop superfluous calls to python_is_python3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -26,9 +26,8 @@ DEPEND="${RDEPEND}
|
||||
dev-python/sphinx-testing[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_prepare() {
|
||||
if python_is_python3; then
|
||||
sed -i -e "s/import urllib/import urllib.request as urllib/" sphinxcontrib/jinja.py || die
|
||||
fi
|
||||
sed -e "s/import urllib/import urllib.request as urllib/" \
|
||||
-i sphinxcontrib/jinja.py || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
|
||||
Reference in New Issue
Block a user