-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
RDEPEND="
dev-python/pygments[${PYTHON_USEDEP}]
- dev-python/Babel[$(python_gen_usedep 'python2*')]
+ dev-python/Babel[${PYTHON_USEDEP}]
"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
sed -e 's:BSD licensed:GPL-3 licensed:' -i README || die
distutils-r1_src_prepare
}
-
-pkg_postinst() {
- if [[ "${PYTHON_TARGETS}" == *python3* ]]; then
- ewarn "Though ${PN} supports Python 3, Babel does not, thus it's number parsing feature won't be used."
- ewarn "If you need it, use Python 2."
- fi
-}