Rename the python USE flag to ipython, since it really controls IPython
support, and not general Python support.
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~ppc ~ppc64"
-IUSE="python test"
+IUSE="ipython test"
# Not all tests pass. Need investigation.
RESTRICT="test"
-RDEPEND="python? ( ${PYTHON_DEPS} )"
+RDEPEND="ipython? ( ${PYTHON_DEPS} )"
DEPEND="test? ( dev-python/flake8 dev-python/tox )"
src_prepare() {
doins bin/_j
python_foreach_impl python_domodule bin/autojump_data.py bin/autojump_utils.py
- if use python; then
+ if use ipython; then
python_foreach_impl python_domodule tools/autojump_ipython.py
fi
}
pkg_postinst() {
- if use python; then
+ if use ipython; then
elog 'This tool provides "j" for ipython, please add'
elog '"import autojump_ipython" to your ipy_user_conf.py.'
elog
<bugs-to>https://github.com/joelthelion/autojump/issues</bugs-to>
<remote-id type="github">joelthelion/autojump</remote-id>
</upstream>
+ <use>
+ <flag name="ipython">Add support for <pkg>dev-python/ipython</pkg></flag>
+ </use>
</pkgmetadata>