[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: e28b7813444ea2d22ff773dc9962533a8d2a5b5d Author: Matt Turner gentoo org> AuthorDate: Thu Apr 25 17:06:21 2024 + Commit: Matt Turner gentoo org> CommitDate: Thu Apr 25 18:45:47 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e28b7813 app-shells/autojump: Drop old versions Signed-off-by: Matt Turner gentoo.org> app-shells/autojump/autojump-22.5.3-r2.ebuild | 88 --- 1 file changed, 88 deletions(-) diff --git a/app-shells/autojump/autojump-22.5.3-r2.ebuild b/app-shells/autojump/autojump-22.5.3-r2.ebuild deleted file mode 100644 index e53678ffb700.. --- a/app-shells/autojump/autojump-22.5.3-r2.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) -DISTUTILS_SINGLE_IMPL=1 - -inherit distutils-r1 vcs-snapshot prefix - -DESCRIPTION="change directory command that learns" -HOMEPAGE="https://github.com/wting/autojump"; -SRC_URI="https://github.com/wting/${PN}/archive/release-v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~hppa ~ppc ~ppc64 x86 ~x64-macos" -IUSE="ipython test" -REQUIRED_USE="ipython? ( ${PYTHON_REQUIRED_USE} )" - -RESTRICT="!test? ( test )" -RDEPEND="ipython? ( ${PYTHON_DEPS} )" -DEPEND="${PYTHON_DEPS} - test? ( - >=dev-vcs/pre-commit-0.7.0[${PYTHON_SINGLE_USEDEP}] - ) -" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}"/${PV}-Use-mock-from-unittest.patch -) - -src_prepare() { - default - sed -e "s:/usr/local/share:/usr/share:" \ - -i bin/autojump.sh || die - - # autojump_argparse is only there for Python 2.6 compatibility - sed -e "s:autojump_argparse:argparse:" \ - -i bin/autojump || die - - hprefixify -q '"' -w '/usr\/share/' bin/autojump.sh -} - -src_compile() { - : -} - -src_install() { - dobin bin/"${PN}" - python_doscript "${ED}"/usr/bin/"${PN}" - - insinto /etc/profile.d - doins bin/"${PN}".sh - - insinto /usr/share/"${PN}"/ - doins bin/"${PN}.bash" - doins bin/"${PN}.zsh" - doins bin/"${PN}.fish" - insinto /usr/share/zsh/site-functions - doins bin/_j - - python_domodule bin/autojump_argparse.py bin/autojump_data.py \ - bin/autojump_match.py bin/autojump_utils.py - if use ipython; then - python_domodule tools/autojump_ipython.py - fi - - doman docs/"${PN}.1" - einstalldocs -} - -pkg_postinst() { - if use ipython; then - elog 'This tool provides "j" for ipython, please add' - elog '"import autojump_ipython" to your ipy_user_conf.py.' - elog - fi - - elog 'If you use app-shells/fish, add the following code to your' - elog 'config.fish to get autojump support:' - elog 'if test -f /usr/share/autojump/autojump.fish' - elog 'source /usr/share/autojump/autojump.fish' - elog 'end' -}
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: 0fa4b3c2536f702d15d8fc25f6df715760ac5475 Author: Arthur Zamarin gentoo org> AuthorDate: Tue Apr 2 16:37:25 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Tue Apr 2 16:37:25 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fa4b3c2 app-shells/autojump: Stabilize 22.5.3-r3 x86, #928449 Signed-off-by: Arthur Zamarin gentoo.org> app-shells/autojump/autojump-22.5.3-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-shells/autojump/autojump-22.5.3-r3.ebuild b/app-shells/autojump/autojump-22.5.3-r3.ebuild index 2d175c7c7050..f948182bddc6 100644 --- a/app-shells/autojump/autojump-22.5.3-r3.ebuild +++ b/app-shells/autojump/autojump-22.5.3-r3.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/wting/${PN}/archive/release-v${PV}.tar.gz -> ${P}.ta LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~x64-macos" +KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 x86 ~x64-macos" IUSE="ipython test" REQUIRED_USE="ipython? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: ffe4b6ff79af06bc9acf4a864f4e6eb1e44a97da Author: Arthur Zamarin gentoo org> AuthorDate: Tue Apr 2 16:37:26 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Tue Apr 2 16:37:26 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffe4b6ff app-shells/autojump: Stabilize 22.5.3-r3 amd64, #928449 Signed-off-by: Arthur Zamarin gentoo.org> app-shells/autojump/autojump-22.5.3-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-shells/autojump/autojump-22.5.3-r3.ebuild b/app-shells/autojump/autojump-22.5.3-r3.ebuild index f948182bddc6..d49f249fcbcc 100644 --- a/app-shells/autojump/autojump-22.5.3-r3.ebuild +++ b/app-shells/autojump/autojump-22.5.3-r3.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/wting/${PN}/archive/release-v${PV}.tar.gz -> ${P}.ta LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 x86 ~x64-macos" +KEYWORDS="amd64 ~arm64 ~hppa ~ppc ~ppc64 x86 ~x64-macos" IUSE="ipython test" REQUIRED_USE="ipython? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: 0012518a624c0181e6679443e4d46deea3ddd39a Author: Matt Turner gentoo org> AuthorDate: Sun Feb 25 02:35:56 2024 + Commit: Matt Turner gentoo org> CommitDate: Sun Feb 25 02:43:26 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0012518a app-shells/autojump: Add Python 3.12 compatibility Signed-off-by: Matt Turner gentoo.org> app-shells/autojump/autojump-22.5.3-r3.ebuild | 88 +++ 1 file changed, 88 insertions(+) diff --git a/app-shells/autojump/autojump-22.5.3-r3.ebuild b/app-shells/autojump/autojump-22.5.3-r3.ebuild new file mode 100644 index ..2d175c7c7050 --- /dev/null +++ b/app-shells/autojump/autojump-22.5.3-r3.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_SINGLE_IMPL=1 + +inherit distutils-r1 vcs-snapshot prefix + +DESCRIPTION="change directory command that learns" +HOMEPAGE="https://github.com/wting/autojump"; +SRC_URI="https://github.com/wting/${PN}/archive/release-v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~x64-macos" +IUSE="ipython test" +REQUIRED_USE="ipython? ( ${PYTHON_REQUIRED_USE} )" + +RESTRICT="!test? ( test )" +RDEPEND="ipython? ( ${PYTHON_DEPS} )" +DEPEND="${PYTHON_DEPS} + test? ( + >=dev-vcs/pre-commit-0.7.0[${PYTHON_SINGLE_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}"/${PV}-Use-mock-from-unittest.patch +) + +src_prepare() { + default + sed -e "s:/usr/local/share:/usr/share:" \ + -i bin/autojump.sh || die + + # autojump_argparse is only there for Python 2.6 compatibility + sed -e "s:autojump_argparse:argparse:" \ + -i bin/autojump || die + + hprefixify -q '"' -w '/usr\/share/' bin/autojump.sh +} + +src_compile() { + : +} + +src_install() { + dobin bin/"${PN}" + python_doscript "${ED}"/usr/bin/"${PN}" + + insinto /etc/profile.d + doins bin/"${PN}".sh + + insinto /usr/share/"${PN}"/ + doins bin/"${PN}.bash" + doins bin/"${PN}.zsh" + doins bin/"${PN}.fish" + insinto /usr/share/zsh/site-functions + doins bin/_j + + python_domodule bin/autojump_argparse.py bin/autojump_data.py \ + bin/autojump_match.py bin/autojump_utils.py + if use ipython; then + python_domodule tools/autojump_ipython.py + fi + + doman docs/"${PN}.1" + einstalldocs +} + +pkg_postinst() { + if use ipython; then + elog 'This tool provides "j" for ipython, please add' + elog '"import autojump_ipython" to your ipy_user_conf.py.' + elog + fi + + elog 'If you use app-shells/fish, add the following code to your' + elog 'config.fish to get autojump support:' + elog 'if test -f /usr/share/autojump/autojump.fish' + elog 'source /usr/share/autojump/autojump.fish' + elog 'end' +}
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: 5a7f4f02991b49454bda2e46f9077383e64833cd Author: Matt Turner gentoo org> AuthorDate: Wed Nov 8 18:33:30 2023 + Commit: Matt Turner gentoo org> CommitDate: Wed Nov 8 18:46:30 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a7f4f02 app-shells/autojump: Drop old versions Signed-off-by: Matt Turner gentoo.org> app-shells/autojump/autojump-22.5.3-r1.ebuild | 88 --- 1 file changed, 88 deletions(-) diff --git a/app-shells/autojump/autojump-22.5.3-r1.ebuild b/app-shells/autojump/autojump-22.5.3-r1.ebuild deleted file mode 100644 index f9eccb7b88fa.. --- a/app-shells/autojump/autojump-22.5.3-r1.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{9..11} ) -DISTUTILS_SINGLE_IMPL=1 -DISTUTILS_USE_SETUPTOOLS=no - -inherit distutils-r1 vcs-snapshot prefix - -DESCRIPTION="change directory command that learns" -HOMEPAGE="https://github.com/wting/autojump"; -SRC_URI="https://github.com/wting/${PN}/archive/release-v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~hppa ~ppc ~ppc64 x86 ~x64-macos" -IUSE="ipython test" -REQUIRED_USE="ipython? ( ${PYTHON_REQUIRED_USE} )" - -RESTRICT="!test? ( test )" -RDEPEND="ipython? ( ${PYTHON_DEPS} )" -DEPEND="${PYTHON_DEPS} - test? ( - >=dev-vcs/pre-commit-0.7.0[${PYTHON_SINGLE_USEDEP}] - ) -" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}"/${PV}-Use-mock-from-unittest.patch -) - -src_prepare() { - default - sed -e "s:/usr/local/share:/usr/share:" \ - -i bin/autojump.sh || die - - # autojump_argparse is only there for Python 2.6 compatibility - sed -e "s:autojump_argparse:argparse:" \ - -i bin/autojump || die - - hprefixify -q '"' -w '/usr\/share/' bin/autojump.sh -} - -src_compile() { - : -} - -src_install() { - dobin bin/"${PN}" - python_doscript "${ED}"/usr/bin/"${PN}" - - insinto /etc/profile.d - doins bin/"${PN}".sh - - insinto /usr/share/"${PN}"/ - doins bin/"${PN}.bash" - doins bin/"${PN}.zsh" - doins bin/"${PN}.fish" - insinto /usr/share/zsh/site-functions - doins bin/_j - - python_domodule bin/autojump_argparse.py bin/autojump_data.py \ - bin/autojump_match.py bin/autojump_utils.py - if use ipython; then - python_domodule tools/autojump_ipython.py - fi - - doman docs/"${PN}.1" - einstalldocs -} - -pkg_postinst() { - if use ipython; then - elog 'This tool provides "j" for ipython, please add' - elog '"import autojump_ipython" to your ipy_user_conf.py.' - elog - fi - - elog 'If you use app-shells/fish, add the following code to your' - elog 'config.fish to get autojump support:' - elog 'if test -f /usr/share/autojump/autojump.fish' - elog 'source /usr/share/autojump/autojump.fish' - elog 'end' -}
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: 68300ff09cb4e71311704290bc800bc913eb881f Author: Matt Turner gentoo org> AuthorDate: Sun Sep 10 16:51:06 2023 + Commit: Matt Turner gentoo org> CommitDate: Sun Sep 10 16:51:45 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68300ff0 app-shells/autojump: Migrate to PEP517 build Closes: https://bugs.gentoo.org/909894 Signed-off-by: Matt Turner gentoo.org> app-shells/autojump/autojump-22.5.3-r2.ebuild | 88 +++ 1 file changed, 88 insertions(+) diff --git a/app-shells/autojump/autojump-22.5.3-r2.ebuild b/app-shells/autojump/autojump-22.5.3-r2.ebuild new file mode 100644 index ..709493ffca2a --- /dev/null +++ b/app-shells/autojump/autojump-22.5.3-r2.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) +DISTUTILS_SINGLE_IMPL=1 + +inherit distutils-r1 vcs-snapshot prefix + +DESCRIPTION="change directory command that learns" +HOMEPAGE="https://github.com/wting/autojump"; +SRC_URI="https://github.com/wting/${PN}/archive/release-v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~x64-macos" +IUSE="ipython test" +REQUIRED_USE="ipython? ( ${PYTHON_REQUIRED_USE} )" + +RESTRICT="!test? ( test )" +RDEPEND="ipython? ( ${PYTHON_DEPS} )" +DEPEND="${PYTHON_DEPS} + test? ( + >=dev-vcs/pre-commit-0.7.0[${PYTHON_SINGLE_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}"/${PV}-Use-mock-from-unittest.patch +) + +src_prepare() { + default + sed -e "s:/usr/local/share:/usr/share:" \ + -i bin/autojump.sh || die + + # autojump_argparse is only there for Python 2.6 compatibility + sed -e "s:autojump_argparse:argparse:" \ + -i bin/autojump || die + + hprefixify -q '"' -w '/usr\/share/' bin/autojump.sh +} + +src_compile() { + : +} + +src_install() { + dobin bin/"${PN}" + python_doscript "${ED}"/usr/bin/"${PN}" + + insinto /etc/profile.d + doins bin/"${PN}".sh + + insinto /usr/share/"${PN}"/ + doins bin/"${PN}.bash" + doins bin/"${PN}.zsh" + doins bin/"${PN}.fish" + insinto /usr/share/zsh/site-functions + doins bin/_j + + python_domodule bin/autojump_argparse.py bin/autojump_data.py \ + bin/autojump_match.py bin/autojump_utils.py + if use ipython; then + python_domodule tools/autojump_ipython.py + fi + + doman docs/"${PN}.1" + einstalldocs +} + +pkg_postinst() { + if use ipython; then + elog 'This tool provides "j" for ipython, please add' + elog '"import autojump_ipython" to your ipy_user_conf.py.' + elog + fi + + elog 'If you use app-shells/fish, add the following code to your' + elog 'config.fish to get autojump support:' + elog 'if test -f /usr/share/autojump/autojump.fish' + elog 'source /usr/share/autojump/autojump.fish' + elog 'end' +}
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: 287c510745be157431ca53b532e7f30a4b34368a Author: Matt Turner gentoo org> AuthorDate: Sun Sep 10 16:30:57 2023 + Commit: Matt Turner gentoo org> CommitDate: Sun Sep 10 16:51:45 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=287c5107 app-shells/autojump: Keyword 22.5.3-r1 arm64 Signed-off-by: Matt Turner gentoo.org> app-shells/autojump/autojump-22.5.3-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-shells/autojump/autojump-22.5.3-r1.ebuild b/app-shells/autojump/autojump-22.5.3-r1.ebuild index 70ebc4038f03..f9eccb7b88fa 100644 --- a/app-shells/autojump/autojump-22.5.3-r1.ebuild +++ b/app-shells/autojump/autojump-22.5.3-r1.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/wting/${PN}/archive/release-v${PV}.tar.gz -> ${P}.ta LICENSE="GPL-3" SLOT="0" -KEYWORDS="amd64 ~hppa ~ppc ~ppc64 x86 ~x64-macos" +KEYWORDS="amd64 ~arm64 ~hppa ~ppc ~ppc64 x86 ~x64-macos" IUSE="ipython test" REQUIRED_USE="ipython? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: abd03c101f5260c1123a5154e59aae14d44f1f33 Author: Matt Turner gentoo org> AuthorDate: Sat Oct 29 17:36:48 2022 + Commit: Matt Turner gentoo org> CommitDate: Sat Oct 29 17:44:03 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abd03c10 app-shells/autojump: Add Python 3.11 compatibility Signed-off-by: Matt Turner gentoo.org> app-shells/autojump/autojump-22.5.3-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-shells/autojump/autojump-22.5.3-r1.ebuild b/app-shells/autojump/autojump-22.5.3-r1.ebuild index 6c1430f5a0b7..470039c09d20 100644 --- a/app-shells/autojump/autojump-22.5.3-r1.ebuild +++ b/app-shells/autojump/autojump-22.5.3-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{8..11} ) DISTUTILS_SINGLE_IMPL=1 DISTUTILS_USE_SETUPTOOLS=no
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/, app-shells/autojump/files/
commit: 6dedaa5efa9849ff40627490e39f01ca9a89298c Author: Matt Turner gentoo org> AuthorDate: Thu Jan 27 20:16:37 2022 + Commit: Matt Turner gentoo org> CommitDate: Thu Jan 27 20:56:04 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dedaa5e app-shells/autojump: Use mock from unittest Closes: https://bugs.gentoo.org/831958 Signed-off-by: Matt Turner gentoo.org> app-shells/autojump/autojump-22.5.3-r1.ebuild | 6 - .../files/22.5.3-Use-mock-from-unittest.patch | 27 ++ 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/app-shells/autojump/autojump-22.5.3-r1.ebuild b/app-shells/autojump/autojump-22.5.3-r1.ebuild index 6786cfcf9684..6c1430f5a0b7 100644 --- a/app-shells/autojump/autojump-22.5.3-r1.ebuild +++ b/app-shells/autojump/autojump-22.5.3-r1.ebuild @@ -29,8 +29,12 @@ DEPEND="${PYTHON_DEPS} distutils_enable_tests pytest +PATCHES=( + "${FILESDIR}"/${PV}-Use-mock-from-unittest.patch +) + src_prepare() { - eapply_user + default sed -e "s:/usr/local/share:/usr/share:" \ -i bin/autojump.sh || die diff --git a/app-shells/autojump/files/22.5.3-Use-mock-from-unittest.patch b/app-shells/autojump/files/22.5.3-Use-mock-from-unittest.patch new file mode 100644 index ..942d19c838e0 --- /dev/null +++ b/app-shells/autojump/files/22.5.3-Use-mock-from-unittest.patch @@ -0,0 +1,27 @@ +https://github.com/wting/autojump/pull/648 + +From b935baa9ab73305e0c8e3d733f40cc8567740020 Mon Sep 17 00:00:00 2001 +From: Matt Turner +Date: Thu, 27 Jan 2022 12:11:33 -0800 +Subject: [PATCH] Use mock from unittest + +--- + tests/unit/autojump_utils_test.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/unit/autojump_utils_test.py b/tests/unit/autojump_utils_test.py +index 07f67b3..386b4cd 100644 +--- a/tests/unit/autojump_utils_test.py b/tests/unit/autojump_utils_test.py +@@ -3,7 +3,7 @@ + import os + import sys + +-import mock ++from unittest import mock + import pytest + + sys.path.append(os.path.join(os.getcwd(), 'bin')) # noqa +-- +2.34.1 +
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: 0e157d2202369b04dc1a6dc397dd1eaf49858520 Author: Matt Turner gentoo org> AuthorDate: Mon Jan 24 05:51:58 2022 + Commit: Matt Turner gentoo org> CommitDate: Mon Jan 24 05:55:46 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e157d22 app-shells/autojump: Drop old versions Signed-off-by: Matt Turner gentoo.org> app-shells/autojump/autojump-22.5.3.ebuild | 77 -- 1 file changed, 77 deletions(-) diff --git a/app-shells/autojump/autojump-22.5.3.ebuild b/app-shells/autojump/autojump-22.5.3.ebuild deleted file mode 100644 index deb81c56b6b3.. --- a/app-shells/autojump/autojump-22.5.3.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_{7..9} ) - -inherit bash-completion-r1 python-r1 vcs-snapshot prefix - -DESCRIPTION="change directory command that learns" -HOMEPAGE="https://github.com/wting/autojump"; -SRC_URI="https://github.com/wting/${PN}/archive/release-v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 ~hppa ~mips ~ppc ~ppc64 x86 ~x64-macos" -IUSE="ipython test" -REQUIRED_USE="ipython? ( ${PYTHON_REQUIRED_USE} )" - -# Not all tests pass. Need investigation. -RESTRICT="test" -RDEPEND="ipython? ( ${PYTHON_DEPS} )" -DEPEND="${PYTHON_DEPS}" - -src_prepare() { - eapply_user - sed -e "s:/usr/local/share:/usr/share:" \ - -i bin/autojump.sh || die - - # autojump_argparse is only there for Python 2.6 compatibility - sed -e "s:autojump_argparse:argparse:" \ - -i bin/autojump || die - - hprefixify -q '"' -w '/usr\/share/' bin/autojump.sh -} - -src_compile() { - : -} - -src_install() { - dobin bin/"${PN}" - python_replicate_script "${ED}"/usr/bin/"${PN}" - - insinto /etc/profile.d - doins bin/"${PN}".sh - - insinto /usr/share/"${PN}"/ - doins bin/"${PN}.bash" - doins bin/"${PN}.zsh" - doins bin/"${PN}.fish" - insinto /usr/share/zsh/site-functions - doins bin/_j - - python_foreach_impl python_domodule bin/autojump_argparse.py bin/autojump_data.py \ - bin/autojump_match.py bin/autojump_utils.py - if use ipython; then - python_foreach_impl python_domodule tools/autojump_ipython.py - fi - - doman docs/"${PN}.1" - einstalldocs -} - -pkg_postinst() { - if use ipython; then - elog 'This tool provides "j" for ipython, please add' - elog '"import autojump_ipython" to your ipy_user_conf.py.' - elog - fi - - elog 'If you use app-shells/fish, add the following code to your' - elog 'config.fish to get autojump support:' - elog 'if test -f /usr/share/autojump/autojump.fish' - elog 'source /usr/share/autojump/autojump.fish' - elog 'end' -}
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: df50af9761e46d8c61d516e392b289a1d5cee68b Author: Matt Turner gentoo org> AuthorDate: Mon Jan 24 05:54:39 2022 + Commit: Matt Turner gentoo org> CommitDate: Mon Jan 24 05:55:46 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df50af97 app-shells/autojump: Add Python 3.10 compatibility Signed-off-by: Matt Turner gentoo.org> app-shells/autojump/autojump-22.5.3-r1.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app-shells/autojump/autojump-22.5.3-r1.ebuild b/app-shells/autojump/autojump-22.5.3-r1.ebuild index 9e398fa63288..6786cfcf9684 100644 --- a/app-shells/autojump/autojump-22.5.3-r1.ebuild +++ b/app-shells/autojump/autojump-22.5.3-r1.ebuild @@ -1,13 +1,13 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{8..9} ) +PYTHON_COMPAT=( python3_{8..10} ) DISTUTILS_SINGLE_IMPL=1 DISTUTILS_USE_SETUPTOOLS=no -inherit distutils-r1 bash-completion-r1 vcs-snapshot prefix +inherit distutils-r1 vcs-snapshot prefix DESCRIPTION="change directory command that learns" HOMEPAGE="https://github.com/wting/autojump";
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: fb2da041aa6b9bd633215a1a63e6e6ac1f0dcca0 Author: Sam James gentoo org> AuthorDate: Thu Oct 21 23:27:41 2021 + Commit: Sam James gentoo org> CommitDate: Thu Oct 21 23:27:41 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb2da041 app-shells/autojump: Stabilize 22.5.3-r1 amd64, #819075 Signed-off-by: Sam James gentoo.org> app-shells/autojump/autojump-22.5.3-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-shells/autojump/autojump-22.5.3-r1.ebuild b/app-shells/autojump/autojump-22.5.3-r1.ebuild index 9cd6be4d611..9e398fa6328 100644 --- a/app-shells/autojump/autojump-22.5.3-r1.ebuild +++ b/app-shells/autojump/autojump-22.5.3-r1.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/wting/${PN}/archive/release-v${PV}.tar.gz -> ${P}.ta LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 x86 ~x64-macos" +KEYWORDS="amd64 ~hppa ~ppc ~ppc64 x86 ~x64-macos" IUSE="ipython test" REQUIRED_USE="ipython? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: 1fddda084d0e84d7937fa1a9138bb4dd8023aecb Author: Sam James gentoo org> AuthorDate: Thu Oct 21 23:26:48 2021 + Commit: Sam James gentoo org> CommitDate: Thu Oct 21 23:26:48 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fddda08 app-shells/autojump: Stabilize 22.5.3-r1 x86, #819075 Signed-off-by: Sam James gentoo.org> app-shells/autojump/autojump-22.5.3-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-shells/autojump/autojump-22.5.3-r1.ebuild b/app-shells/autojump/autojump-22.5.3-r1.ebuild index 1ec895245e8..9cd6be4d611 100644 --- a/app-shells/autojump/autojump-22.5.3-r1.ebuild +++ b/app-shells/autojump/autojump-22.5.3-r1.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/wting/${PN}/archive/release-v${PV}.tar.gz -> ${P}.ta LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x64-macos" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 x86 ~x64-macos" IUSE="ipython test" REQUIRED_USE="ipython? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: bbf7fd4e72f7a5a5b3d077d0d3cdd1ede3b392f8 Author: Sam James gentoo org> AuthorDate: Sat Jul 24 04:09:30 2021 + Commit: Sam James gentoo org> CommitDate: Sat Jul 24 04:09:30 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbf7fd4e app-shells/autojump: Keyword 22.5.3-r1 ppc64, #793794 Signed-off-by: Sam James gentoo.org> app-shells/autojump/autojump-22.5.3-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-shells/autojump/autojump-22.5.3-r1.ebuild b/app-shells/autojump/autojump-22.5.3-r1.ebuild index ea9ec176b0d..1ec895245e8 100644 --- a/app-shells/autojump/autojump-22.5.3-r1.ebuild +++ b/app-shells/autojump/autojump-22.5.3-r1.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/wting/${PN}/archive/release-v${PV}.tar.gz -> ${P}.ta LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~x64-macos" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x64-macos" IUSE="ipython test" REQUIRED_USE="ipython? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: df5addc42007b0cad16d5578a37e4c892fe7d5a3 Author: Sam James gentoo org> AuthorDate: Sat Jul 24 04:09:20 2021 + Commit: Sam James gentoo org> CommitDate: Sat Jul 24 04:09:20 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df5addc4 app-shells/autojump: Keyword 22.5.3-r1 x86, #793794 Signed-off-by: Sam James gentoo.org> app-shells/autojump/autojump-22.5.3-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-shells/autojump/autojump-22.5.3-r1.ebuild b/app-shells/autojump/autojump-22.5.3-r1.ebuild index aaddacf3c3c..ea9ec176b0d 100644 --- a/app-shells/autojump/autojump-22.5.3-r1.ebuild +++ b/app-shells/autojump/autojump-22.5.3-r1.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/wting/${PN}/archive/release-v${PV}.tar.gz -> ${P}.ta LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~hppa ~ppc ~x64-macos" +KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~x64-macos" IUSE="ipython test" REQUIRED_USE="ipython? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: 41ba10651f19760fa40cd808c1c6b294fc5cd917 Author: Sam James gentoo org> AuthorDate: Mon Jul 12 21:54:51 2021 + Commit: Sam James gentoo org> CommitDate: Mon Jul 12 21:54:51 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41ba1065 app-shells/autojump: Keyword 22.5.3-r1 ppc, #793794 Signed-off-by: Sam James gentoo.org> app-shells/autojump/autojump-22.5.3-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-shells/autojump/autojump-22.5.3-r1.ebuild b/app-shells/autojump/autojump-22.5.3-r1.ebuild index a8d2faf130c..aaddacf3c3c 100644 --- a/app-shells/autojump/autojump-22.5.3-r1.ebuild +++ b/app-shells/autojump/autojump-22.5.3-r1.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/wting/${PN}/archive/release-v${PV}.tar.gz -> ${P}.ta LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~hppa ~x64-macos" +KEYWORDS="~amd64 ~hppa ~ppc ~x64-macos" IUSE="ipython test" REQUIRED_USE="ipython? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: 76cd773dca53f3ed067db256f452091c78c80f3f Author: Rolf Eike Beer sf-mail de> AuthorDate: Tue Jun 8 15:36:50 2021 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Jun 8 16:53:54 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76cd773d app-shells/autojump: keyworded 22.5.3-r1 for hppa, bug #793794 Package-Manager: Portage-3.0.18, Repoman-3.0.2 RepoMan-Options: --include-arches="hppa" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> app-shells/autojump/autojump-22.5.3-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-shells/autojump/autojump-22.5.3-r1.ebuild b/app-shells/autojump/autojump-22.5.3-r1.ebuild index 8ff6378c09e..a8d2faf130c 100644 --- a/app-shells/autojump/autojump-22.5.3-r1.ebuild +++ b/app-shells/autojump/autojump-22.5.3-r1.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/wting/${PN}/archive/release-v${PV}.tar.gz -> ${P}.ta LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~x64-macos" +KEYWORDS="~amd64 ~hppa ~x64-macos" IUSE="ipython test" REQUIRED_USE="ipython? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: 2dcfb7b4ca6d10c30db96d0a7d5a75fc23ed1b8a Author: Matt Turner gentoo org> AuthorDate: Tue Jun 1 02:42:17 2021 + Commit: Matt Turner gentoo org> CommitDate: Wed Jun 2 01:14:23 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dcfb7b4 app-shells/autojump: Enable tests Closes: https://bugs.gentoo.org/530742 Closes: https://github.com/gentoo/gentoo/pull/21070 Signed-off-by: Matt Turner gentoo.org> app-shells/autojump/autojump-22.5.3-r1.ebuild | 84 +++ 1 file changed, 84 insertions(+) diff --git a/app-shells/autojump/autojump-22.5.3-r1.ebuild b/app-shells/autojump/autojump-22.5.3-r1.ebuild new file mode 100644 index 000..8ff6378c09e --- /dev/null +++ b/app-shells/autojump/autojump-22.5.3-r1.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..9} ) +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_SETUPTOOLS=no + +inherit distutils-r1 bash-completion-r1 vcs-snapshot prefix + +DESCRIPTION="change directory command that learns" +HOMEPAGE="https://github.com/wting/autojump"; +SRC_URI="https://github.com/wting/${PN}/archive/release-v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x64-macos" +IUSE="ipython test" +REQUIRED_USE="ipython? ( ${PYTHON_REQUIRED_USE} )" + +RESTRICT="!test? ( test )" +RDEPEND="ipython? ( ${PYTHON_DEPS} )" +DEPEND="${PYTHON_DEPS} + test? ( + >=dev-vcs/pre-commit-0.7.0[${PYTHON_SINGLE_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + eapply_user + sed -e "s:/usr/local/share:/usr/share:" \ + -i bin/autojump.sh || die + + # autojump_argparse is only there for Python 2.6 compatibility + sed -e "s:autojump_argparse:argparse:" \ + -i bin/autojump || die + + hprefixify -q '"' -w '/usr\/share/' bin/autojump.sh +} + +src_compile() { + : +} + +src_install() { + dobin bin/"${PN}" + python_doscript "${ED}"/usr/bin/"${PN}" + + insinto /etc/profile.d + doins bin/"${PN}".sh + + insinto /usr/share/"${PN}"/ + doins bin/"${PN}.bash" + doins bin/"${PN}.zsh" + doins bin/"${PN}.fish" + insinto /usr/share/zsh/site-functions + doins bin/_j + + python_domodule bin/autojump_argparse.py bin/autojump_data.py \ + bin/autojump_match.py bin/autojump_utils.py + if use ipython; then + python_domodule tools/autojump_ipython.py + fi + + doman docs/"${PN}.1" + einstalldocs +} + +pkg_postinst() { + if use ipython; then + elog 'This tool provides "j" for ipython, please add' + elog '"import autojump_ipython" to your ipy_user_conf.py.' + elog + fi + + elog 'If you use app-shells/fish, add the following code to your' + elog 'config.fish to get autojump support:' + elog 'if test -f /usr/share/autojump/autojump.fish' + elog 'source /usr/share/autojump/autojump.fish' + elog 'end' +}
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: 0ab853444612837dd9aef367db9e2f25d71fbcb3 Author: Matt Turner gentoo org> AuthorDate: Mon Mar 8 20:38:30 2021 + Commit: Matt Turner gentoo org> CommitDate: Mon Mar 8 20:40:41 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ab85344 app-shells/autojump: Add Python 3.9 compat Signed-off-by: Matt Turner gentoo.org> app-shells/autojump/autojump-22.5.3.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-shells/autojump/autojump-22.5.3.ebuild b/app-shells/autojump/autojump-22.5.3.ebuild index 5ec6baee3cf..deb81c56b6b 100644 --- a/app-shells/autojump/autojump-22.5.3.ebuild +++ b/app-shells/autojump/autojump-22.5.3.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python3_{7..8} ) +PYTHON_COMPAT=( python3_{7..9} ) inherit bash-completion-r1 python-r1 vcs-snapshot prefix
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: f85617214d5885329d50bf33b7439ab284df5cf6 Author: Matt Turner gentoo org> AuthorDate: Wed Aug 19 04:35:54 2020 + Commit: Matt Turner gentoo org> CommitDate: Wed Aug 19 04:38:09 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8561721 app-shells/autojump: Add Python 3.8 compatibility Signed-off-by: Matt Turner gentoo.org> app-shells/autojump/autojump-22.5.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-shells/autojump/autojump-22.5.3.ebuild b/app-shells/autojump/autojump-22.5.3.ebuild index 71d13b78703..4f243d7525f 100644 --- a/app-shells/autojump/autojump-22.5.3.ebuild +++ b/app-shells/autojump/autojump-22.5.3.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python{3_6,3_7} ) +PYTHON_COMPAT=( python3_{6..8} ) inherit bash-completion-r1 python-r1 vcs-snapshot prefix
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/files/, app-shells/autojump/
commit: 93ec289e60f1a74adc57bef9dc673b6af2f8dff2 Author: Matt Turner gentoo org> AuthorDate: Wed Aug 19 04:36:34 2020 + Commit: Matt Turner gentoo org> CommitDate: Wed Aug 19 04:38:16 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93ec289e app-shells/autojump: Drop old versions Signed-off-by: Matt Turner gentoo.org> app-shells/autojump/Manifest | 2 - app-shells/autojump/autojump-22.2.4-r4.ebuild | 83 -- app-shells/autojump/autojump-22.5.1.ebuild | 76 .../autojump-22.2.4-fix-__aj_error-typo.patch | 22 -- .../autojump-22.2.4-fix-autojump.fish-bugs.patch | 67 - 5 files changed, 250 deletions(-) diff --git a/app-shells/autojump/Manifest b/app-shells/autojump/Manifest index 6127b32c7a8..02b5487c4db 100644 --- a/app-shells/autojump/Manifest +++ b/app-shells/autojump/Manifest @@ -1,3 +1 @@ -DIST autojump-22.2.4.tar.gz 52724 BLAKE2B 42d5db90d4a29c63f5cd79437ca005f9f6382a607ab9284244fd6bbcf539509c5043df71ab305a5e8420ec225f8d651411d327833762737e0a5ad828ac021d2b SHA512 bdfca07bb57b3a2733a2085af14f23c3e980b1b00db1c90247c2341ac73f60f171bdde29dd9917aac0808d0b8f2902d48096c990e09281745a71755f5abc921c -DIST autojump-22.5.1.tar.gz 54721 BLAKE2B ea3a852dddc13ece5ff177be0b3f384e5dcb19795d31d22edae90dba19fe3e78a4b78f48f08c338521d89d57af6251d5690c62eab445229812adb154286b0d5c SHA512 ed1bb28b62d14a481d5c8ee8ebbfc286d21ca54c961904f81ac123c784e17810217dfe1689bdd4b50fd7a9d72509c0cb13583a9817074f6afe26dc3144f64243 DIST autojump-22.5.3.tar.gz 55429 BLAKE2B 3a2773669f81d1a54c01cce9fe75bc01609265998b035b4ba1aa064f1132acf852b59eb04ebfa744e628152f0ab478cbef24e5aff326bf84cec6e2c9348e8360 SHA512 d1dd3cbb67fda4e0a17ec5028b947faf46be8a95a6cd8418127b927f42bc95b71538a06658b38b479c77d147a6cd5e8cef77639ef538c7d449414c469c13f140 diff --git a/app-shells/autojump/autojump-22.2.4-r4.ebuild b/app-shells/autojump/autojump-22.2.4-r4.ebuild deleted file mode 100644 index cbaa265735d..000 --- a/app-shells/autojump/autojump-22.2.4-r4.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python3_6 ) - -inherit bash-completion-r1 python-r1 vcs-snapshot - -DESCRIPTION="change directory command that learns" -HOMEPAGE="https://github.com/joelthelion/autojump"; -SRC_URI="https://github.com/joelthelion/${PN}/archive/release-v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 ~ppc ~ppc64 x86" -IUSE="ipython test" -REQUIRED_USE="ipython? ( ${PYTHON_REQUIRED_USE} )" - -# Not all tests pass. Need investigation. -RESTRICT="test" -RDEPEND="ipython? ( ${PYTHON_DEPS} )" -DEPEND="test? ( dev-python/flake8 dev-python/tox )" - -PATCHES=( - "${FILESDIR}/${P}-fix-autojump.fish-bugs.patch" - "${FILESDIR}/${P}-fix-__aj_error-typo.patch" -) - -src_prepare() { - sed -e "s: \(/etc/profile.d\): \"${EPREFIX}\1\":" \ - -e "s:/usr/local/share:/usr/share:" \ - -i bin/autojump.sh || die - - # autojump_argparse is only there for Python 2.6 compatibility - sed -e "s:autojump_argparse:argparse:" \ - -i bin/autojump || die - - # upstream fixes to the autojump.fish script; the first patch is needed for - # the second patch to apply - epatch "${PATCHES[@]}" -} - -src_compile() { - : -} - -src_install() { - dobin bin/"${PN}" - python_replicate_script "${ED}"/usr/bin/"${PN}" - - insinto /etc/profile.d - doins bin/"${PN}".sh - - insinto /usr/share/"${PN}"/ - doins bin/"${PN}.bash" - doins bin/"${PN}.zsh" - doins bin/"${PN}.fish" - insinto /usr/share/zsh/site-functions - doins bin/_j - - python_foreach_impl python_domodule bin/autojump_data.py bin/autojump_utils.py - if use ipython; then - python_foreach_impl python_domodule tools/autojump_ipython.py - fi - - doman docs/"${PN}.1" - dodoc README.md -} - -pkg_postinst() { - if use ipython; then - elog 'This tool provides "j" for ipython, please add' - elog '"import autojump_ipython" to your ipy_user_conf.py.' - elog - fi - - elog 'If you use app-shells/fish, add the following code to your' - elog 'config.fish to get autojump support:' - elog 'if test -f /usr/share/autojump/autojump.fish' - elog 'source /usr/share/autojump/autojump.fish' - elog 'end' -} diff --git a/app-shells/autojump/autojump-22.5.1.ebuild b/app-shells/autojump/autojump-22.5.1.ebuild deleted file mode 100644 index 245a0758bb7..000 --- a/app-shells/autojump/autojump-22.5.1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_6 ) - -inherit
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: 1c6ae8928ada13d8311308f1948fe4453c4dd5fa Author: Matt Turner gentoo org> AuthorDate: Sat Feb 1 03:41:59 2020 + Commit: Matt Turner gentoo org> CommitDate: Sat Feb 1 03:42:30 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c6ae892 app-shells/autojump-22.5.3: x86 stable Signed-off-by: Matt Turner gentoo.org> app-shells/autojump/autojump-22.5.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-shells/autojump/autojump-22.5.3.ebuild b/app-shells/autojump/autojump-22.5.3.ebuild index b2962731054..71d13b78703 100644 --- a/app-shells/autojump/autojump-22.5.3.ebuild +++ b/app-shells/autojump/autojump-22.5.3.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/wting/${PN}/archive/release-v${PV}.tar.gz -> ${P}.ta LICENSE="GPL-3" SLOT="0" -KEYWORDS="amd64 ~hppa ~mips ~ppc ~ppc64 ~x86 ~x64-macos" +KEYWORDS="amd64 ~hppa ~mips ~ppc ~ppc64 x86 ~x64-macos" IUSE="ipython test" REQUIRED_USE="ipython? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: 7801f2da71bab4434792147423838d8e7e9be450 Author: Matt Turner gentoo org> AuthorDate: Sat Feb 1 03:41:55 2020 + Commit: Matt Turner gentoo org> CommitDate: Sat Feb 1 03:42:29 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7801f2da app-shells/autojump-22.5.3: amd64 stable Signed-off-by: Matt Turner gentoo.org> app-shells/autojump/autojump-22.5.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-shells/autojump/autojump-22.5.3.ebuild b/app-shells/autojump/autojump-22.5.3.ebuild index f93d6e95848..b2962731054 100644 --- a/app-shells/autojump/autojump-22.5.3.ebuild +++ b/app-shells/autojump/autojump-22.5.3.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/wting/${PN}/archive/release-v${PV}.tar.gz -> ${P}.ta LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~hppa ~mips ~ppc ~ppc64 ~x86 ~x64-macos" +KEYWORDS="amd64 ~hppa ~mips ~ppc ~ppc64 ~x86 ~x64-macos" IUSE="ipython test" REQUIRED_USE="ipython? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: 57189e80ed3e99b2eb034965565f380fc86af330 Author: Michał Górny gentoo org> AuthorDate: Thu Jan 30 21:09:36 2020 + Commit: Michał Górny gentoo org> CommitDate: Thu Jan 30 21:26:03 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57189e80 app-shells/autojump: Remove py2 Signed-off-by: Michał Górny gentoo.org> app-shells/autojump/autojump-22.2.4-r4.ebuild | 2 +- app-shells/autojump/autojump-22.5.1.ebuild| 2 +- app-shells/autojump/autojump-22.5.3.ebuild| 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app-shells/autojump/autojump-22.2.4-r4.ebuild b/app-shells/autojump/autojump-22.2.4-r4.ebuild index 4883114a037..cbaa265735d 100644 --- a/app-shells/autojump/autojump-22.2.4-r4.ebuild +++ b/app-shells/autojump/autojump-22.2.4-r4.ebuild @@ -3,7 +3,7 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_6} ) +PYTHON_COMPAT=( python3_6 ) inherit bash-completion-r1 python-r1 vcs-snapshot diff --git a/app-shells/autojump/autojump-22.5.1.ebuild b/app-shells/autojump/autojump-22.5.1.ebuild index 0da2af83294..245a0758bb7 100644 --- a/app-shells/autojump/autojump-22.5.1.ebuild +++ b/app-shells/autojump/autojump-22.5.1.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python{2_7,3_6} ) +PYTHON_COMPAT=( python3_6 ) inherit bash-completion-r1 python-r1 vcs-snapshot diff --git a/app-shells/autojump/autojump-22.5.3.ebuild b/app-shells/autojump/autojump-22.5.3.ebuild index 656a01d92f4..f93d6e95848 100644 --- a/app-shells/autojump/autojump-22.5.3.ebuild +++ b/app-shells/autojump/autojump-22.5.3.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python{2_7,3_6,3_7} ) +PYTHON_COMPAT=( python{3_6,3_7} ) inherit bash-completion-r1 python-r1 vcs-snapshot prefix
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: e90abf4be37ca322749be5f0f088f6c07ee20b82 Author: Fabian Groffen gentoo org> AuthorDate: Thu Apr 11 08:06:42 2019 + Commit: Fabian Groffen gentoo org> CommitDate: Thu Apr 11 08:06:58 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e90abf4b app-shells/autojump: fix patching for Prefix Closes: https://bugs.gentoo.org/665270 Signed-off-by: Fabian Groffen gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 app-shells/autojump/autojump-22.5.3.ebuild | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app-shells/autojump/autojump-22.5.3.ebuild b/app-shells/autojump/autojump-22.5.3.ebuild index fe3883cf63e..71bd16bed2f 100644 --- a/app-shells/autojump/autojump-22.5.3.ebuild +++ b/app-shells/autojump/autojump-22.5.3.ebuild @@ -5,7 +5,7 @@ EAPI=6 PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} ) -inherit bash-completion-r1 python-r1 vcs-snapshot +inherit bash-completion-r1 python-r1 vcs-snapshot prefix DESCRIPTION="change directory command that learns" HOMEPAGE="https://github.com/wting/autojump"; @@ -24,13 +24,14 @@ DEPEND="${PYTHON_DEPS}" src_prepare() { eapply_user - sed -e "s: \(/etc/profile.d\): \"${EPREFIX}\1\":" \ - -e "s:/usr/local/share:/usr/share:" \ + sed -e "s:/usr/local/share:/usr/share:" \ -i bin/autojump.sh || die # autojump_argparse is only there for Python 2.6 compatibility sed -e "s:autojump_argparse:argparse:" \ -i bin/autojump || die + + hprefixify -q '"' -w '/usr\/share/' bin/autojump.sh } src_compile() {
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: c455eb27b86e4cbc6e744535456419d899e39374 Author: Matt Turner gentoo org> AuthorDate: Tue Apr 9 15:51:26 2019 + Commit: Matt Turner gentoo org> CommitDate: Tue Apr 9 16:10:08 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c455eb27 app-shells/autojump: Version bump to 22.5.3 Signed-off-by: Matt Turner gentoo.org> app-shells/autojump/Manifest | 1 + app-shells/autojump/autojump-22.5.3.ebuild | 76 ++ 2 files changed, 77 insertions(+) diff --git a/app-shells/autojump/Manifest b/app-shells/autojump/Manifest index 03334480107..6127b32c7a8 100644 --- a/app-shells/autojump/Manifest +++ b/app-shells/autojump/Manifest @@ -1,2 +1,3 @@ DIST autojump-22.2.4.tar.gz 52724 BLAKE2B 42d5db90d4a29c63f5cd79437ca005f9f6382a607ab9284244fd6bbcf539509c5043df71ab305a5e8420ec225f8d651411d327833762737e0a5ad828ac021d2b SHA512 bdfca07bb57b3a2733a2085af14f23c3e980b1b00db1c90247c2341ac73f60f171bdde29dd9917aac0808d0b8f2902d48096c990e09281745a71755f5abc921c DIST autojump-22.5.1.tar.gz 54721 BLAKE2B ea3a852dddc13ece5ff177be0b3f384e5dcb19795d31d22edae90dba19fe3e78a4b78f48f08c338521d89d57af6251d5690c62eab445229812adb154286b0d5c SHA512 ed1bb28b62d14a481d5c8ee8ebbfc286d21ca54c961904f81ac123c784e17810217dfe1689bdd4b50fd7a9d72509c0cb13583a9817074f6afe26dc3144f64243 +DIST autojump-22.5.3.tar.gz 55429 BLAKE2B 3a2773669f81d1a54c01cce9fe75bc01609265998b035b4ba1aa064f1132acf852b59eb04ebfa744e628152f0ab478cbef24e5aff326bf84cec6e2c9348e8360 SHA512 d1dd3cbb67fda4e0a17ec5028b947faf46be8a95a6cd8418127b927f42bc95b71538a06658b38b479c77d147a6cd5e8cef77639ef538c7d449414c469c13f140 diff --git a/app-shells/autojump/autojump-22.5.3.ebuild b/app-shells/autojump/autojump-22.5.3.ebuild new file mode 100644 index 000..fe3883cf63e --- /dev/null +++ b/app-shells/autojump/autojump-22.5.3.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} ) + +inherit bash-completion-r1 python-r1 vcs-snapshot + +DESCRIPTION="change directory command that learns" +HOMEPAGE="https://github.com/wting/autojump"; +SRC_URI="https://github.com/wting/${PN}/archive/release-v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~mips ~ppc ~ppc64 ~x86 ~x64-macos" +IUSE="ipython test" +REQUIRED_USE="ipython? ( ${PYTHON_REQUIRED_USE} )" + +# Not all tests pass. Need investigation. +RESTRICT="test" +RDEPEND="ipython? ( ${PYTHON_DEPS} )" +DEPEND="${PYTHON_DEPS}" + +src_prepare() { + eapply_user + sed -e "s: \(/etc/profile.d\): \"${EPREFIX}\1\":" \ + -e "s:/usr/local/share:/usr/share:" \ + -i bin/autojump.sh || die + + # autojump_argparse is only there for Python 2.6 compatibility + sed -e "s:autojump_argparse:argparse:" \ + -i bin/autojump || die +} + +src_compile() { + : +} + +src_install() { + dobin bin/"${PN}" + python_replicate_script "${ED}"/usr/bin/"${PN}" + + insinto /etc/profile.d + doins bin/"${PN}".sh + + insinto /usr/share/"${PN}"/ + doins bin/"${PN}.bash" + doins bin/"${PN}.zsh" + doins bin/"${PN}.fish" + insinto /usr/share/zsh/site-functions + doins bin/_j + + python_foreach_impl python_domodule bin/autojump_argparse.py bin/autojump_data.py \ + bin/autojump_match.py bin/autojump_utils.py + if use ipython; then + python_foreach_impl python_domodule tools/autojump_ipython.py + fi + + doman docs/"${PN}.1" + einstalldocs +} + +pkg_postinst() { + if use ipython; then + elog 'This tool provides "j" for ipython, please add' + elog '"import autojump_ipython" to your ipy_user_conf.py.' + elog + fi + + elog 'If you use app-shells/fish, add the following code to your' + elog 'config.fish to get autojump support:' + elog 'if test -f /usr/share/autojump/autojump.fish' + elog 'source /usr/share/autojump/autojump.fish' + elog 'end' +}
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: b3c5b1f3327088db31d5ca6a783208fc53b169ce Author: Matt Turner gentoo org> AuthorDate: Sun Nov 25 18:09:28 2018 + Commit: Matt Turner gentoo org> CommitDate: Sun Nov 25 18:11:16 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3c5b1f3 app-shells/autojump: Add myself as maintainer Signed-off-by: Matt Turner gentoo.org> app-shells/autojump/metadata.xml | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/app-shells/autojump/metadata.xml b/app-shells/autojump/metadata.xml index 3b1385d4d40..1546a6446e7 100644 --- a/app-shells/autojump/metadata.xml +++ b/app-shells/autojump/metadata.xml @@ -1,12 +1,15 @@ http://www.gentoo.org/dtd/metadata.dtd";> - - -https://github.com/joelthelion/autojump/issues -joelthelion/autojump - - -Add support for dev-python/ipython - + + matts...@gentoo.org + Matt Turner + + + https://github.com/joelthelion/autojump/issues + joelthelion/autojump + + + Add support for dev-python/ipython +
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: 0c19e62f19fe0b8b21580704653e479b36c836d9 Author: Matt Turner gentoo org> AuthorDate: Wed Aug 15 23:30:53 2018 + Commit: Matt Turner gentoo org> CommitDate: Wed Aug 15 23:31:35 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c19e62f app-shells/autojump: Depend on ${PYTHON_DEPS} Closes: https://bugs.gentoo.org/660576 app-shells/autojump/autojump-22.5.1.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/app-shells/autojump/autojump-22.5.1.ebuild b/app-shells/autojump/autojump-22.5.1.ebuild index 9dd0659c267..8bc30ed3e75 100644 --- a/app-shells/autojump/autojump-22.5.1.ebuild +++ b/app-shells/autojump/autojump-22.5.1.ebuild @@ -20,6 +20,7 @@ REQUIRED_USE="ipython? ( ${PYTHON_REQUIRED_USE} )" # Not all tests pass. Need investigation. RESTRICT="test" RDEPEND="ipython? ( ${PYTHON_DEPS} )" +DEPEND="${PYTHON_DEPS}" src_prepare() { eapply_user
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: a7a6360ca9c57858484fcd3a4bce5405f4f8e4e2 Author: Virgil Dupras gentoo org> AuthorDate: Sun Aug 12 15:45:16 2018 + Commit: Virgil Dupras gentoo org> CommitDate: Sun Aug 12 15:45:16 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7a6360c app-shells/autojump: remove spurious test dependencies tox and flake8 are not needed to run tests. This has no effect because tests are RESTRICTed anyways, but even if they weren't, test dependencies would be broken because they depend on pytest and mock which aren't specified. Package-Manager: Portage-2.3.46, Repoman-2.3.10 app-shells/autojump/autojump-22.5.1.ebuild | 1 - 1 file changed, 1 deletion(-) diff --git a/app-shells/autojump/autojump-22.5.1.ebuild b/app-shells/autojump/autojump-22.5.1.ebuild index a5865f7617f..9dd0659c267 100644 --- a/app-shells/autojump/autojump-22.5.1.ebuild +++ b/app-shells/autojump/autojump-22.5.1.ebuild @@ -20,7 +20,6 @@ REQUIRED_USE="ipython? ( ${PYTHON_REQUIRED_USE} )" # Not all tests pass. Need investigation. RESTRICT="test" RDEPEND="ipython? ( ${PYTHON_DEPS} )" -DEPEND="test? ( dev-python/flake8 dev-python/tox )" src_prepare() { eapply_user
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: a141c7a7e644a89cd5e57d99aa4c813c8c8ef9d8 Author: Fabian Groffen gentoo org> AuthorDate: Fri Apr 6 11:01:58 2018 + Commit: Fabian Groffen gentoo org> CommitDate: Fri Apr 6 11:05:08 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a141c7a7 app-shells/autojump: marked ~x64-macos, bug #650848 Package-Manager: Portage-2.3.24, Repoman-2.3.6 app-shells/autojump/autojump-22.5.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-shells/autojump/autojump-22.5.1.ebuild b/app-shells/autojump/autojump-22.5.1.ebuild index 3b234c08f3c..a5865f7617f 100644 --- a/app-shells/autojump/autojump-22.5.1.ebuild +++ b/app-shells/autojump/autojump-22.5.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -13,7 +13,7 @@ SRC_URI="https://github.com/wting/${PN}/archive/release-v${PV}.tar.gz -> ${P}.ta LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~hppa ~mips ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~hppa ~mips ~ppc ~ppc64 ~x86 ~x64-macos" IUSE="ipython test" REQUIRED_USE="ipython? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: 193ed38011c0eeb253113b06bf34af2bfec253e4 Author: Matt Turner gentoo org> AuthorDate: Mon Mar 26 03:55:37 2018 + Commit: Matt Turner gentoo org> CommitDate: Mon Mar 26 03:55:37 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=193ed380 app-shells/autojump-22.5.1: added ~mips app-shells/autojump/autojump-22.5.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-shells/autojump/autojump-22.5.1.ebuild b/app-shells/autojump/autojump-22.5.1.ebuild index 01c828b05a7..3b234c08f3c 100644 --- a/app-shells/autojump/autojump-22.5.1.ebuild +++ b/app-shells/autojump/autojump-22.5.1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/wting/${PN}/archive/release-v${PV}.tar.gz -> ${P}.ta LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~hppa ~mips ~ppc ~ppc64 ~x86" IUSE="ipython test" REQUIRED_USE="ipython? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: 2691a6a40713eefad13c29bbea192b390e79d8d2 Author: Matt Turner gentoo org> AuthorDate: Sun Mar 11 01:04:02 2018 + Commit: Matt Turner gentoo org> CommitDate: Sun Mar 11 01:04:19 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2691a6a4 app-shells/autojump-22.5.1: added ~hppa app-shells/autojump/autojump-22.5.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-shells/autojump/autojump-22.5.1.ebuild b/app-shells/autojump/autojump-22.5.1.ebuild index 6c2501ca72b..01c828b05a7 100644 --- a/app-shells/autojump/autojump-22.5.1.ebuild +++ b/app-shells/autojump/autojump-22.5.1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/wting/${PN}/archive/release-v${PV}.tar.gz -> ${P}.ta LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" IUSE="ipython test" REQUIRED_USE="ipython? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: 8718b11b0e6ab3685973b4d5aa4ec8b2be788a3f Author: Lukáš Poláček ksp sk> AuthorDate: Thu Oct 19 19:30:12 2017 + Commit: Patrice Clement gentoo org> CommitDate: Wed Nov 15 22:15:31 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8718b11b app-shells/autojump: version bump. Package-Manager: Portage-2.3.8, Repoman-2.3.3 Closes: https://bugs.gentoo.org/636528 Closes: https://github.com/gentoo/gentoo/pull/5988 app-shells/autojump/Manifest | 1 + app-shells/autojump/autojump-22.5.1.ebuild | 76 ++ 2 files changed, 77 insertions(+) diff --git a/app-shells/autojump/Manifest b/app-shells/autojump/Manifest index 72ef1de455c..2635ca58770 100644 --- a/app-shells/autojump/Manifest +++ b/app-shells/autojump/Manifest @@ -1 +1,2 @@ DIST autojump-22.2.4.tar.gz 52724 SHA256 816badb0721f735e2b86bdfa8b333112f3867343c7c2263c569f75b4ec91f475 SHA512 bdfca07bb57b3a2733a2085af14f23c3e980b1b00db1c90247c2341ac73f60f171bdde29dd9917aac0808d0b8f2902d48096c990e09281745a71755f5abc921c WHIRLPOOL 29fe48cc2d8eee809a79c3d9b923d16be32a1591dc3bfa911bda26eceeb4fe0c05a49e1218958f63eb4b609837b2dc4b0ba4d4b23070c7fea0cad3d833e0fa39 +DIST autojump-22.5.1.tar.gz 54721 SHA256 765fabda130eb4df70d1c1e5bc172e1d18f8ec22c6b89ff98f1674335292e99f SHA512 ed1bb28b62d14a481d5c8ee8ebbfc286d21ca54c961904f81ac123c784e17810217dfe1689bdd4b50fd7a9d72509c0cb13583a9817074f6afe26dc3144f64243 WHIRLPOOL d0d6d36e8cb471bfa69312a591d53a3996866eec8134fbcc8ee0ce7259518a8f4e1c982afe88572a2edebd6b7994a39ab073684ef97298f0762fc6db75843654 diff --git a/app-shells/autojump/autojump-22.5.1.ebuild b/app-shells/autojump/autojump-22.5.1.ebuild new file mode 100644 index 000..6c2501ca72b --- /dev/null +++ b/app-shells/autojump/autojump-22.5.1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit bash-completion-r1 python-r1 vcs-snapshot + +DESCRIPTION="change directory command that learns" +HOMEPAGE="https://github.com/wting/autojump"; +SRC_URI="https://github.com/wting/${PN}/archive/release-v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="ipython test" +REQUIRED_USE="ipython? ( ${PYTHON_REQUIRED_USE} )" + +# Not all tests pass. Need investigation. +RESTRICT="test" +RDEPEND="ipython? ( ${PYTHON_DEPS} )" +DEPEND="test? ( dev-python/flake8 dev-python/tox )" + +src_prepare() { + eapply_user + sed -e "s: \(/etc/profile.d\): \"${EPREFIX}\1\":" \ + -e "s:/usr/local/share:/usr/share:" \ + -i bin/autojump.sh || die + + # autojump_argparse is only there for Python 2.6 compatibility + sed -e "s:autojump_argparse:argparse:" \ + -i bin/autojump || die +} + +src_compile() { + : +} + +src_install() { + dobin bin/"${PN}" + python_replicate_script "${ED}"/usr/bin/"${PN}" + + insinto /etc/profile.d + doins bin/"${PN}".sh + + insinto /usr/share/"${PN}"/ + doins bin/"${PN}.bash" + doins bin/"${PN}.zsh" + doins bin/"${PN}.fish" + insinto /usr/share/zsh/site-functions + doins bin/_j + + python_foreach_impl python_domodule bin/autojump_argparse.py bin/autojump_data.py \ + bin/autojump_match.py bin/autojump_utils.py + if use ipython; then + python_foreach_impl python_domodule tools/autojump_ipython.py + fi + + doman docs/"${PN}.1" + einstalldocs +} + +pkg_postinst() { + if use ipython; then + elog 'This tool provides "j" for ipython, please add' + elog '"import autojump_ipython" to your ipy_user_conf.py.' + elog + fi + + elog 'If you use app-shells/fish, add the following code to your' + elog 'config.fish to get autojump support:' + elog 'if test -f /usr/share/autojump/autojump.fish' + elog 'source /usr/share/autojump/autojump.fish' + elog 'end' +}
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: 5a049d2c8ec985bc8916b3e1a2a198c390317ecb Author: Pacho Ramos gentoo org> AuthorDate: Sat Apr 22 09:50:32 2017 + Commit: Pacho Ramos gentoo org> CommitDate: Sat Apr 22 09:56:18 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a049d2c app-shells/autojump: Support newer python Package-Manager: Portage-2.3.5, Repoman-2.3.2 app-shells/autojump/autojump-22.2.4-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-shells/autojump/autojump-22.2.4-r4.ebuild b/app-shells/autojump/autojump-22.2.4-r4.ebuild index af26257a22c..37fdc8405ed 100644 --- a/app-shells/autojump/autojump-22.2.4-r4.ebuild +++ b/app-shells/autojump/autojump-22.2.4-r4.ebuild @@ -3,7 +3,7 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_4} ) +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) inherit bash-completion-r1 python-r1 vcs-snapshot
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: ab61f3d1daa0e7f0a5ed4d31a4d38c0bc0158cad Author: David Seifert gentoo org> AuthorDate: Thu Apr 20 07:56:30 2017 + Commit: David Seifert gentoo org> CommitDate: Thu Apr 20 07:59:20 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab61f3d1 app-shells/autojump: [QA] Add missing python metadata variables Package-Manager: Portage-2.3.5, Repoman-2.3.2 app-shells/autojump/autojump-22.2.4-r4.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app-shells/autojump/autojump-22.2.4-r4.ebuild b/app-shells/autojump/autojump-22.2.4-r4.ebuild index 7c7b3c0a745..af26257a22c 100644 --- a/app-shells/autojump/autojump-22.2.4-r4.ebuild +++ b/app-shells/autojump/autojump-22.2.4-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -15,6 +15,7 @@ LICENSE="GPL-3" SLOT="0" KEYWORDS="amd64 ~ppc ~ppc64 x86" IUSE="ipython test" +REQUIRED_USE="ipython? ( ${PYTHON_REQUIRED_USE} )" # Not all tests pass. Need investigation. RESTRICT="test"
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/files/, app-shells/autojump/
commit: 3a77f9163093e6db58f4beffd654300a9e87eeff Author: Patrice Clement gentoo org> AuthorDate: Wed Feb 17 10:33:25 2016 + Commit: Patrice Clement gentoo org> CommitDate: Wed Feb 17 10:35:47 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a77f916 app-shells/autojump: Clean up. Package-Manager: portage-2.2.26 app-shells/autojump/autojump-22.2.4-r3.ebuild | 56 -- .../files/autojump-21.3.0-supported-shells.patch | 34 - 2 files changed, 90 deletions(-) diff --git a/app-shells/autojump/autojump-22.2.4-r3.ebuild b/app-shells/autojump/autojump-22.2.4-r3.ebuild deleted file mode 100644 index 4b774f9..000 --- a/app-shells/autojump/autojump-22.2.4-r3.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python{2_7,3_3,3_4} ) - -inherit bash-completion-r1 python-r1 vcs-snapshot - -DESCRIPTION="change directory command that learns" -HOMEPAGE="https://github.com/joelthelion/autojump"; -SRC_URI="https://github.com/joelthelion/${PN}/archive/release-v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~ppc ~ppc64" -IUSE="python test" - -# Not all tests pass. Need investigation. -RESTRICT="test" -RDEPEND="python? ( ${PYTHON_DEPS} )" -DEPEND="test? ( dev-python/flake8 dev-python/tox )" - -src_prepare() { - sed -e "s: \(/etc/profile.d\): \"${EPREFIX}\1\":" \ - -e "s:/usr/local/share:/usr/share:" \ - -i bin/autojump.sh || die -} - -src_compile() { - : -} - -src_install() { - dobin bin/autojump - - insinto /etc/profile.d - doins bin/"${PN}".sh - - insinto /usr/share/"${PN}"/ - doins bin/"${PN}.bash" - doins bin/"${PN}.zsh" - insinto /usr/share/zsh/site-functions - doins bin/_j - - python_foreach_impl python_domodule bin/autojump_argparse.py bin/autojump_data.py bin/autojump_utils.py - if use python; then - python_foreach_impl python_domodule tools/autojump_ipython.py - einfo 'This tool provides "j" for ipython, please add' - einfo '"import autojump_ipython" to your ipy_user_conf.py.' - fi - - doman docs/"${PN}.1" - dodoc README.md -} diff --git a/app-shells/autojump/files/autojump-21.3.0-supported-shells.patch b/app-shells/autojump/files/autojump-21.3.0-supported-shells.patch deleted file mode 100644 index a16fc2d..000 --- a/app-shells/autojump/files/autojump-21.3.0-supported-shells.patch +++ /dev/null @@ -1,34 +0,0 @@ autojump-21.3.0/bin/autojump.sh -+++ autojump-21.3.0/bin/autojump.sh -@@ -1,17 +1,17 @@ - # source autojump on BASH or ZSH depending on the shell - - shell=`echo ${SHELL} | awk -F/ '{ print $NF }'` -- --# check local install --if [ -s ~/.autojump/etc/profile.d/autojump.${shell} ]; then -- source ~/.autojump/etc/profile.d/autojump.${shell} -- --# check global install --elif [ -s /etc/profile.d/autojump.${shell} ]; then -- source /etc/profile.d/autojump.${shell} -- --# check custom install locations (modified by Homebrew or using --destdir option) --elif [ -s custom_install/autojump.${shell} ]; then -- source custom_install/autojump.${shell} -- --fi -+case ${shell} in -+ bash|zsh) -+ # check local install -+ if [ -s ~/.autojump/etc/profile.d/autojump.${shell} ]; then -+ source ~/.autojump/etc/profile.d/autojump.${shell} -+ # check global install -+ elif [ -s "${EPREFIX}"/etc/profile.d/autojump.${shell} ]; then -+ source "${EPREFIX}"/etc/profile.d/autojump.${shell} -+ fi -+ ;; -+ *) -+ echo "Your shell ${shell} (from SHELL=${SHELL}) is unkown." -+ ;; -+esac
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/, app-shells/autojump/files/
commit: c9c68d5695775a3967d1ef0a3586b2eeb7076afc Author: Patrice Clement gentoo org> AuthorDate: Wed Feb 17 10:31:00 2016 + Commit: Patrice Clement gentoo org> CommitDate: Wed Feb 17 10:35:44 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9c68d56 app-shells/autojump: Stable for amd64+x86. Package-Manager: portage-2.2.26 app-shells/autojump/autojump-22.2.4-r4.ebuild| 16 ++-- ...o.patch => autojump-22.2.4-fix-__aj_error-typo.patch} | 0 ...atch => autojump-22.2.4-fix-autojump.fish-bugs.patch} | 0 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/app-shells/autojump/autojump-22.2.4-r4.ebuild b/app-shells/autojump/autojump-22.2.4-r4.ebuild index 84bf291..8ba85aa 100644 --- a/app-shells/autojump/autojump-22.2.4-r4.ebuild +++ b/app-shells/autojump/autojump-22.2.4-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -14,7 +14,7 @@ SRC_URI="https://github.com/joelthelion/${PN}/archive/release-v${PV}.tar.gz -> $ LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~x86 ~ppc ~ppc64" +KEYWORDS="amd64 ~ppc ~ppc64 x86" IUSE="ipython test" # Not all tests pass. Need investigation. @@ -22,6 +22,11 @@ RESTRICT="test" RDEPEND="ipython? ( ${PYTHON_DEPS} )" DEPEND="test? ( dev-python/flake8 dev-python/tox )" +PATCHES=( + "${FILESDIR}/${P}-fix-autojump.fish-bugs.patch" + "${FILESDIR}/${P}-fix-__aj_error-typo.patch" +) + src_prepare() { sed -e "s: \(/etc/profile.d\): \"${EPREFIX}\1\":" \ -e "s:/usr/local/share:/usr/share:" \ @@ -33,8 +38,7 @@ src_prepare() { # upstream fixes to the autojump.fish script; the first patch is needed for # the second patch to apply - epatch "${FILESDIR}/autojump-22.4.4-fix-autojump.fish-bugs.patch" - epatch "${FILESDIR}/autojump-22.4.4-fix-__aj_error-typo.patch" + epatch "${PATCHES[@]}" } src_compile() { @@ -42,8 +46,8 @@ src_compile() { } src_install() { - dobin bin/autojump - python_replicate_script "${ED}"/usr/bin/autojump + dobin bin/"${PN}" + python_replicate_script "${ED}"/usr/bin/"${PN}" insinto /etc/profile.d doins bin/"${PN}".sh diff --git a/app-shells/autojump/files/autojump-22.4.4-fix-__aj_error-typo.patch b/app-shells/autojump/files/autojump-22.2.4-fix-__aj_error-typo.patch similarity index 100% rename from app-shells/autojump/files/autojump-22.4.4-fix-__aj_error-typo.patch rename to app-shells/autojump/files/autojump-22.2.4-fix-__aj_error-typo.patch diff --git a/app-shells/autojump/files/autojump-22.4.4-fix-autojump.fish-bugs.patch b/app-shells/autojump/files/autojump-22.2.4-fix-autojump.fish-bugs.patch similarity index 100% rename from app-shells/autojump/files/autojump-22.4.4-fix-autojump.fish-bugs.patch rename to app-shells/autojump/files/autojump-22.2.4-fix-autojump.fish-bugs.patch
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: 58d63506e2747f0b734485340f3c29b7d723ee06 Author: Marc Joliet gmx de> AuthorDate: Sun Nov 29 08:25:18 2015 + Commit: Patrice Clement gentoo org> CommitDate: Fri Dec 4 21:00:20 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58d63506 app-shells/autojump-22.2.4-r4: rm bundled argparse Upstream only includes the bundled argparse module for Python 2.6 support. Patch bin/autojump to use the built-in argparse module instead. Signed-off-by: Marc Joliet gmx.de> app-shells/autojump/autojump-22.2.4-r4.ebuild | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app-shells/autojump/autojump-22.2.4-r4.ebuild b/app-shells/autojump/autojump-22.2.4-r4.ebuild index 3b21610..af56c09 100644 --- a/app-shells/autojump/autojump-22.2.4-r4.ebuild +++ b/app-shells/autojump/autojump-22.2.4-r4.ebuild @@ -27,6 +27,10 @@ src_prepare() { -e "s:/usr/local/share:/usr/share:" \ -i bin/autojump.sh || die + # autojump_argparse is only there for Python 2.6 compatibility + sed -e "s:autojump_argparse:argparse:" \ + -i bin/autojump || die + # upstream fixes to the autojump.fish script; the first patch is needed for # the second patch to apply epatch "${FILESDIR}/autojump-22.4.4-fix-autojump.fish-bugs.patch" @@ -51,7 +55,7 @@ src_install() { insinto /usr/share/zsh/site-functions doins bin/_j - python_foreach_impl python_domodule bin/autojump_argparse.py bin/autojump_data.py bin/autojump_utils.py + python_foreach_impl python_domodule bin/autojump_data.py bin/autojump_utils.py if use python; then python_foreach_impl python_domodule tools/autojump_ipython.py einfo 'This tool provides "j" for ipython, please add'
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: 9169f9a3606dcc811fbf21c6e0363a5fa21bacde Author: Marc Joliet gmx de> AuthorDate: Sun Nov 29 08:20:19 2015 + Commit: Patrice Clement gentoo org> CommitDate: Fri Dec 4 21:00:19 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9169f9a3 app-shells/autojump-22.2.4-r4: use python_replicate_script Signed-off-by: Marc Joliet gmx.de> app-shells/autojump/autojump-22.2.4-r4.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/app-shells/autojump/autojump-22.2.4-r4.ebuild b/app-shells/autojump/autojump-22.2.4-r4.ebuild index f812b0b..3b21610 100644 --- a/app-shells/autojump/autojump-22.2.4-r4.ebuild +++ b/app-shells/autojump/autojump-22.2.4-r4.ebuild @@ -39,6 +39,7 @@ src_compile() { src_install() { dobin bin/autojump + python_replicate_script "${ED}"/usr/bin/autojump insinto /etc/profile.d doins bin/"${PN}".sh
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: d817c33d460afeda104ef7016f6e1bd9dd7dbf9f Author: Marc Joliet gmx de> AuthorDate: Fri Dec 4 20:57:30 2015 + Commit: Patrice Clement gentoo org> CommitDate: Fri Dec 4 21:00:22 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d817c33d app-shells/autojump-22.2.4-r4: python -> ipython Rename the python USE flag to ipython, since it really controls IPython support, and not general Python support. app-shells/autojump/autojump-22.2.4-r4.ebuild | 8 app-shells/autojump/metadata.xml | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/app-shells/autojump/autojump-22.2.4-r4.ebuild b/app-shells/autojump/autojump-22.2.4-r4.ebuild index 6c967ce..84bf291 100644 --- a/app-shells/autojump/autojump-22.2.4-r4.ebuild +++ b/app-shells/autojump/autojump-22.2.4-r4.ebuild @@ -15,11 +15,11 @@ SRC_URI="https://github.com/joelthelion/${PN}/archive/release-v${PV}.tar.gz -> $ 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() { @@ -56,7 +56,7 @@ src_install() { 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 @@ -65,7 +65,7 @@ src_install() { } 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 diff --git a/app-shells/autojump/metadata.xml b/app-shells/autojump/metadata.xml index 9365472..136e949 100644 --- a/app-shells/autojump/metadata.xml +++ b/app-shells/autojump/metadata.xml @@ -9,4 +9,7 @@ https://github.com/joelthelion/autojump/issues joelthelion/autojump + +Add support for dev-python/ipython +
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: 0228f34fa3df87fa286d64d44bff60787c1cd750 Author: Marc Joliet gmx de> AuthorDate: Mon Nov 30 11:47:06 2015 + Commit: Patrice Clement gentoo org> CommitDate: Fri Dec 4 21:00:21 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0228f34f app-shells/autojump-22.2.4-r4: convert einfo to elog Convert the einfo message in src_install() to an elog message in pkg_postinst(), which is a more fitting place for such a message. Signed-off-by: Marc Joliet gmx.de> app-shells/autojump/autojump-22.2.4-r4.ebuild | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app-shells/autojump/autojump-22.2.4-r4.ebuild b/app-shells/autojump/autojump-22.2.4-r4.ebuild index af56c09..6c967ce 100644 --- a/app-shells/autojump/autojump-22.2.4-r4.ebuild +++ b/app-shells/autojump/autojump-22.2.4-r4.ebuild @@ -58,8 +58,6 @@ src_install() { python_foreach_impl python_domodule bin/autojump_data.py bin/autojump_utils.py if use python; then python_foreach_impl python_domodule tools/autojump_ipython.py - einfo 'This tool provides "j" for ipython, please add' - einfo '"import autojump_ipython" to your ipy_user_conf.py.' fi doman docs/"${PN}.1" @@ -67,6 +65,12 @@ src_install() { } pkg_postinst() { + if use python; then + elog 'This tool provides "j" for ipython, please add' + elog '"import autojump_ipython" to your ipy_user_conf.py.' + elog + fi + elog 'If you use app-shells/fish, add the following code to your' elog 'config.fish to get autojump support:' elog 'if test -f /usr/share/autojump/autojump.fish'
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/files/, app-shells/autojump/
commit: 747f3d1b8aff8f6c981dbf15c4000267fe5774b9 Author: Marc Joliet gmx de> AuthorDate: Sun Nov 29 08:17:29 2015 + Commit: Patrice Clement gentoo org> CommitDate: Fri Dec 4 21:00:18 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=747f3d1b app-shells/autojump: revbump to add FISH support Signed-off-by: Marc Joliet gmx.de> app-shells/autojump/autojump-22.2.4-r4.ebuild | 70 ++ .../autojump-22.4.4-fix-__aj_error-typo.patch | 22 +++ .../autojump-22.4.4-fix-autojump.fish-bugs.patch | 67 + 3 files changed, 159 insertions(+) diff --git a/app-shells/autojump/autojump-22.2.4-r4.ebuild b/app-shells/autojump/autojump-22.2.4-r4.ebuild new file mode 100644 index 000..f812b0b --- /dev/null +++ b/app-shells/autojump/autojump-22.2.4-r4.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) + +inherit bash-completion-r1 python-r1 vcs-snapshot + +DESCRIPTION="change directory command that learns" +HOMEPAGE="https://github.com/joelthelion/autojump"; +SRC_URI="https://github.com/joelthelion/${PN}/archive/release-v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~ppc ~ppc64" +IUSE="python test" + +# Not all tests pass. Need investigation. +RESTRICT="test" +RDEPEND="python? ( ${PYTHON_DEPS} )" +DEPEND="test? ( dev-python/flake8 dev-python/tox )" + +src_prepare() { + sed -e "s: \(/etc/profile.d\): \"${EPREFIX}\1\":" \ + -e "s:/usr/local/share:/usr/share:" \ + -i bin/autojump.sh || die + + # upstream fixes to the autojump.fish script; the first patch is needed for + # the second patch to apply + epatch "${FILESDIR}/autojump-22.4.4-fix-autojump.fish-bugs.patch" + epatch "${FILESDIR}/autojump-22.4.4-fix-__aj_error-typo.patch" +} + +src_compile() { + : +} + +src_install() { + dobin bin/autojump + + insinto /etc/profile.d + doins bin/"${PN}".sh + + insinto /usr/share/"${PN}"/ + doins bin/"${PN}.bash" + doins bin/"${PN}.zsh" + doins bin/"${PN}.fish" + insinto /usr/share/zsh/site-functions + doins bin/_j + + python_foreach_impl python_domodule bin/autojump_argparse.py bin/autojump_data.py bin/autojump_utils.py + if use python; then + python_foreach_impl python_domodule tools/autojump_ipython.py + einfo 'This tool provides "j" for ipython, please add' + einfo '"import autojump_ipython" to your ipy_user_conf.py.' + fi + + doman docs/"${PN}.1" + dodoc README.md +} + +pkg_postinst() { + elog 'If you use app-shells/fish, add the following code to your' + elog 'config.fish to get autojump support:' + elog 'if test -f /usr/share/autojump/autojump.fish' + elog 'source /usr/share/autojump/autojump.fish' + elog 'end' +} diff --git a/app-shells/autojump/files/autojump-22.4.4-fix-__aj_error-typo.patch b/app-shells/autojump/files/autojump-22.4.4-fix-__aj_error-typo.patch new file mode 100644 index 000..6a9ac3c --- /dev/null +++ b/app-shells/autojump/files/autojump-22.4.4-fix-__aj_error-typo.patch @@ -0,0 +1,22 @@ +From d188d7e6757a4d0cad619b6d5ab729fdc59b1593 Mon Sep 17 00:00:00 2001 +From: Scott Olson +Date: Mon, 6 Jul 2015 23:12:35 -0400 +Subject: [PATCH] Fix typo (__aj_error -> __aj_err). + +--- + bin/autojump.fish | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/bin/autojump.fish b/bin/autojump.fish +index ead7ea1..b16ef01 100644 +--- a/bin/autojump.fish b/bin/autojump.fish +@@ -91,7 +91,7 @@ function jo + case cygwin + cygstart "" (cygpath -w -a (pwd)) + case '*' +-__aj_error "Unknown operating system: \"$OSTYPE\"" ++__aj_err "Unknown operating system: \"$OSTYPE\"" + end + else + __aj_err "autojump: directory '"$argv"' not found" diff --git a/app-shells/autojump/files/autojump-22.4.4-fix-autojump.fish-bugs.patch b/app-shells/autojump/files/autojump-22.4.4-fix-autojump.fish-bugs.patch new file mode 100644 index 000..6048ca9 --- /dev/null +++ b/app-shells/autojump/files/autojump-22.4.4-fix-autojump.fish-bugs.patch @@ -0,0 +1,67 @@ +From f09d23e30d3159db18872a3e8f8f579ed9e77231 Mon Sep 17 00:00:00 2001 +From: David Frascone +Date: Tue, 9 Jun 2015 14:32:38 -0600 +Subject: [PATCH] Fixed some bugs in fish script + +OSTYPE was not being set correctly. It is in bash, not sh. +Since the value is unlikely to change, I read it once and +stored it globally +Test logic was backward in jo function, causing error to always +be printed, unless you did NOT specify a directory name. +--- + bin/autojump.fish | 20 + 1 file changed, 12 insertions(+), 8 deletions(-) + +diff --git a/bin/autojump
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: cc5eabf490e37a65c31f37cee78dc789ea9dd9d1 Author: Lukáš Poláček ksp sk> AuthorDate: Wed Sep 23 05:34:01 2015 + Commit: Patrice Clement gentoo org> CommitDate: Wed Sep 23 05:34:01 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc5eabf4 app-shells/autojump: remove 22.2.4-r2 app-shells/autojump/autojump-22.2.4-r2.ebuild | 56 --- 1 file changed, 56 deletions(-) diff --git a/app-shells/autojump/autojump-22.2.4-r2.ebuild b/app-shells/autojump/autojump-22.2.4-r2.ebuild deleted file mode 100644 index f0fc9f7..000 --- a/app-shells/autojump/autojump-22.2.4-r2.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python{2_7,3_3,3_4} ) - -inherit bash-completion-r1 python-r1 vcs-snapshot - -DESCRIPTION="change directory command that learns" -HOMEPAGE="https://github.com/joelthelion/autojump"; -SRC_URI="https://github.com/joelthelion/${PN}/archive/release-v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~ppc ~ppc64" -IUSE="python test" - -# Not all tests pass. Need investigation. -RESTRICT="test" -RDEPEND="python? ( ${PYTHON_DEPS} )" -DEPEND="test? ( dev-python/flake8 dev-python/tox )" - -src_prepare() { - sed -e "s: \(/etc/profile.d\): \"${EPREFIX}\1\":" \ - -e "s:/usr/local/share:/usr/share:" \ - -i bin/autojump.sh || die -} - -src_compile() { - : -} - -src_install() { - dobin bin/autojump - - insinto /etc/profile.d - doins bin/"${PN}".sh - - newbashcomp bin/"${PN}".bash "${PN}" - insinto /usr/share/"${PN}"/ - doins bin/"${PN}.zsh" - insinto /usr/share/zsh/site-functions - doins bin/_j - - python_foreach_impl python_domodule bin/autojump_argparse.py bin/autojump_data.py bin/autojump_utils.py - if use python; then - python_foreach_impl python_domodule tools/autojump_ipython.py - einfo 'This tool provides "j" for ipython, please add' - einfo '"import autojump_ipython" to your ipy_user_conf.py.' - fi - - doman docs/"${PN}.1" - dodoc README.md -}
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: 0ca099d41a5abb4f0d02c567914c52038668c88d Author: Lukáš Poláček ksp sk> AuthorDate: Wed Sep 23 05:27:57 2015 + Commit: Patrice Clement gentoo org> CommitDate: Wed Sep 23 05:27:57 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ca099d4 app-shells/autojump: Fix autojump in bash There is only one file for bash that also contains code for completion, so we don't install completion separately. Reported-by: Tomasz Golinski alpha.uwb.edu.pl> app-shells/autojump/autojump-22.2.4-r3.ebuild | 56 +++ 1 file changed, 56 insertions(+) diff --git a/app-shells/autojump/autojump-22.2.4-r3.ebuild b/app-shells/autojump/autojump-22.2.4-r3.ebuild new file mode 100644 index 000..4b774f9 --- /dev/null +++ b/app-shells/autojump/autojump-22.2.4-r3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) + +inherit bash-completion-r1 python-r1 vcs-snapshot + +DESCRIPTION="change directory command that learns" +HOMEPAGE="https://github.com/joelthelion/autojump"; +SRC_URI="https://github.com/joelthelion/${PN}/archive/release-v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~ppc ~ppc64" +IUSE="python test" + +# Not all tests pass. Need investigation. +RESTRICT="test" +RDEPEND="python? ( ${PYTHON_DEPS} )" +DEPEND="test? ( dev-python/flake8 dev-python/tox )" + +src_prepare() { + sed -e "s: \(/etc/profile.d\): \"${EPREFIX}\1\":" \ + -e "s:/usr/local/share:/usr/share:" \ + -i bin/autojump.sh || die +} + +src_compile() { + : +} + +src_install() { + dobin bin/autojump + + insinto /etc/profile.d + doins bin/"${PN}".sh + + insinto /usr/share/"${PN}"/ + doins bin/"${PN}.bash" + doins bin/"${PN}.zsh" + insinto /usr/share/zsh/site-functions + doins bin/_j + + python_foreach_impl python_domodule bin/autojump_argparse.py bin/autojump_data.py bin/autojump_utils.py + if use python; then + python_foreach_impl python_domodule tools/autojump_ipython.py + einfo 'This tool provides "j" for ipython, please add' + einfo '"import autojump_ipython" to your ipy_user_conf.py.' + fi + + doman docs/"${PN}.1" + dodoc README.md +}
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: 3c5fbd4b17df82fd7ad99d88dbd0491dc9d463ca Author: Lukáš Poláček ksp sk> AuthorDate: Sun Sep 13 10:07:40 2015 + Commit: Patrice Clement gentoo org> CommitDate: Sun Sep 13 10:07:40 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c5fbd4b app-shells/autojump: use newbashcomp Also edit autojump.sh to use /usr/share instead of /usr/local/share app-shells/autojump/autojump-22.2.4-r2.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app-shells/autojump/autojump-22.2.4-r2.ebuild b/app-shells/autojump/autojump-22.2.4-r2.ebuild index 6ae3def..b485a21 100644 --- a/app-shells/autojump/autojump-22.2.4-r2.ebuild +++ b/app-shells/autojump/autojump-22.2.4-r2.ebuild @@ -6,7 +6,7 @@ EAPI=5 PYTHON_COMPAT=( python{2_7,3_3,3_4} ) -inherit python-r1 vcs-snapshot +inherit bash-completion-r1 python-r1 vcs-snapshot DESCRIPTION="change directory command that learns" HOMEPAGE="https://github.com/joelthelion/autojump"; @@ -24,6 +24,7 @@ DEPEND="test? ( dev-python/flake8 dev-python/tox )" src_prepare() { sed -e "s: \(/etc/profile.d\): \"${EPREFIX}\1\":" \ + -e "s:/usr/local/share:/usr/share:" \ -i bin/autojump.sh || die } @@ -37,8 +38,8 @@ src_install() { insinto /etc/profile.d doins bin/${PN}.sh + newbashcomp bin/${PN}.bash ${PN} insinto /usr/share/"${PN}"/ - doins bin/${PN}.bash doins bin/${PN}.zsh insinto /usr/share/zsh/site-functions doins bin/_j
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: 5ae18e2488b0b3f43a984ad71e015e267b522bf4 Author: Patrice Clement gentoo org> AuthorDate: Sun Sep 13 17:16:26 2015 + Commit: Patrice Clement gentoo org> CommitDate: Sun Sep 13 17:16:26 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ae18e24 app-shells/autojump: Correctly quote ${PN} variable. Package-Manager: portage-2.2.18 Signed-off-by: Patrice Clement gentoo.org> app-shells/autojump/autojump-22.2.4-r2.ebuild | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app-shells/autojump/autojump-22.2.4-r2.ebuild b/app-shells/autojump/autojump-22.2.4-r2.ebuild index b485a21..f0fc9f7 100644 --- a/app-shells/autojump/autojump-22.2.4-r2.ebuild +++ b/app-shells/autojump/autojump-22.2.4-r2.ebuild @@ -36,21 +36,21 @@ src_install() { dobin bin/autojump insinto /etc/profile.d - doins bin/${PN}.sh + doins bin/"${PN}".sh - newbashcomp bin/${PN}.bash ${PN} + newbashcomp bin/"${PN}".bash "${PN}" insinto /usr/share/"${PN}"/ - doins bin/${PN}.zsh + doins bin/"${PN}.zsh" insinto /usr/share/zsh/site-functions doins bin/_j python_foreach_impl python_domodule bin/autojump_argparse.py bin/autojump_data.py bin/autojump_utils.py - if use python ; then + if use python; then python_foreach_impl python_domodule tools/autojump_ipython.py einfo 'This tool provides "j" for ipython, please add' einfo '"import autojump_ipython" to your ipy_user_conf.py.' fi - doman docs/${PN}.1 + doman docs/"${PN}.1" dodoc README.md }
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: dd4654603872adccc3417a3992e8ceb4f27e38d4 Author: Lukáš Poláček ksp sk> AuthorDate: Sun Sep 13 07:11:29 2015 + Commit: Patrice Clement gentoo org> CommitDate: Sun Sep 13 08:07:44 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd465460 app-shells/autojump: remove 22.2.4-r1 app-shells/autojump/autojump-22.2.4-r1.ebuild | 62 --- 1 file changed, 62 deletions(-) diff --git a/app-shells/autojump/autojump-22.2.4-r1.ebuild b/app-shells/autojump/autojump-22.2.4-r1.ebuild deleted file mode 100644 index be4106d..000 --- a/app-shells/autojump/autojump-22.2.4-r1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python{2_7,3_3,3_4} ) - -inherit python-r1 python-utils-r1 vcs-snapshot - -DESCRIPTION="change directory command that learns" -HOMEPAGE="https://github.com/joelthelion/autojump"; -SRC_URI="https://github.com/joelthelion/${PN}/archive/release-v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~ppc ~ppc64" -IUSE="bash-completion python test zsh-completion" - -# Not all tests pass. Need investigation. -RESTRICT="test" -RDEPEND="bash-completion? ( >=app-shells/bash-4 ) - python? ( ${PYTHON_DEPS} ) - zsh-completion? ( app-shells/zsh app-shells/gentoo-zsh-completions )" -DEPEND="test? ( dev-python/flake8 dev-python/tox )" - -src_prepare() { - sed -e "s: \(/etc/profile.d\): \"${EPREFIX}\1\":" \ - -i bin/autojump.sh || die -} - -src_compile() { - true -} - -src_install() { - dobin bin/autojump - - insinto /etc/profile.d - doins bin/${PN}.sh - - insinto /usr/local/share/"${PN}"/ - if use bash-completion ; then - doins bin/${PN}.bash - fi - - if use zsh-completion ; then - doins bin/${PN}.zsh - insinto /usr/share/zsh/site-functions - doins bin/_j - fi - - if use python ; then - python_foreach_impl python_domodule tools/autojump_ipython.py bin/autojump_argparse.py bin/autojump_data.py bin/autojump_utils.py - - einfo "This tool provides \"j\" for ipython, please add" - einfo "\"import autojump_ipython\" to your ipy_user_conf.py." - fi - - doman docs/${PN}.1 - dodoc README.md -}
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: 28c2d4a5b24c4fccb4e5acf58088d1a6887a62f5 Author: Lukáš Poláček ksp sk> AuthorDate: Sun Sep 13 07:38:31 2015 + Commit: Patrice Clement gentoo org> CommitDate: Sun Sep 13 08:07:46 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28c2d4a5 app-shells/autojump: remove 22.2.4 app-shells/autojump/autojump-22.2.4.ebuild | 64 -- 1 file changed, 64 deletions(-) diff --git a/app-shells/autojump/autojump-22.2.4.ebuild b/app-shells/autojump/autojump-22.2.4.ebuild deleted file mode 100644 index dc79dce..000 --- a/app-shells/autojump/autojump-22.2.4.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python{2_7,3_3,3_4} ) - -inherit python-r1 python-utils-r1 vcs-snapshot - -DESCRIPTION="change directory command that learns" -HOMEPAGE="https://github.com/joelthelion/autojump"; -SRC_URI="https://github.com/joelthelion/${PN}/archive/release-v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~ppc ~ppc64" -IUSE="bash-completion python test zsh-completion" - -# Not all tests pass. Need investigation. -RESTRICT="test" -RDEPEND="bash-completion? ( >=app-shells/bash-4 ) - python? ( ${PYTHON_DEPS} ) - zsh-completion? ( app-shells/zsh app-shells/gentoo-zsh-completions )" -DEPEND="test? ( - dev-python/flake8 - dev-python/tox - )" - -src_prepare() { - sed -e "s: \(/etc/profile.d\): \"${EPREFIX}\1\":" \ - -i bin/autojump.sh || die -} - -src_compile() { - true -} - -src_install() { - dobin bin/autojump - - insinto /etc/profile.d - doins bin/${PN}.sh - - if use bash-completion ; then - doins bin/${PN}.bash - fi - - if use zsh-completion ; then - doins bin/${PN}.zsh - insinto /usr/share/zsh/site-functions - doins bin/_j - fi - - if use python ; then - python_foreach_impl python_domodule tools/autojump_ipython.py - - einfo "This tool provides \"j\" for ipython, please add" - einfo "\"import autojump_ipython\" to your ipy_user_conf.py." - fi - - doman docs/${PN}.1 - dodoc README.md -}
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: c6da3beb744f7e26de61385d46773d679cc7c5ec Author: Lukáš Poláček ksp sk> AuthorDate: Sun Sep 13 07:05:16 2015 + Commit: Patrice Clement gentoo org> CommitDate: Sun Sep 13 08:07:35 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6da3beb app-shells/autojump: don't install into /usr/local Suggested-by: Leho Kraav kraav.com> app-shells/autojump/autojump-22.2.4-r2.ebuild | 55 +++ 1 file changed, 55 insertions(+) diff --git a/app-shells/autojump/autojump-22.2.4-r2.ebuild b/app-shells/autojump/autojump-22.2.4-r2.ebuild new file mode 100644 index 000..6ae3def --- /dev/null +++ b/app-shells/autojump/autojump-22.2.4-r2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) + +inherit python-r1 vcs-snapshot + +DESCRIPTION="change directory command that learns" +HOMEPAGE="https://github.com/joelthelion/autojump"; +SRC_URI="https://github.com/joelthelion/${PN}/archive/release-v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~ppc ~ppc64" +IUSE="python test" + +# Not all tests pass. Need investigation. +RESTRICT="test" +RDEPEND="python? ( ${PYTHON_DEPS} )" +DEPEND="test? ( dev-python/flake8 dev-python/tox )" + +src_prepare() { + sed -e "s: \(/etc/profile.d\): \"${EPREFIX}\1\":" \ + -i bin/autojump.sh || die +} + +src_compile() { + : +} + +src_install() { + dobin bin/autojump + + insinto /etc/profile.d + doins bin/${PN}.sh + + insinto /usr/share/"${PN}"/ + doins bin/${PN}.bash + doins bin/${PN}.zsh + insinto /usr/share/zsh/site-functions + doins bin/_j + + python_foreach_impl python_domodule bin/autojump_argparse.py bin/autojump_data.py bin/autojump_utils.py + if use python ; then + python_foreach_impl python_domodule tools/autojump_ipython.py + einfo 'This tool provides "j" for ipython, please add' + einfo '"import autojump_ipython" to your ipy_user_conf.py.' + fi + + doman docs/${PN}.1 + dodoc README.md +}
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: 97a35eea93f7cab64e1bd810fe6ade5a3c788a1f Author: Lukáš Poláček ksp sk> AuthorDate: Fri Sep 4 22:38:27 2015 + Commit: Patrice Clement gentoo org> CommitDate: Fri Sep 4 22:38:27 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97a35eea app-shells/autojump: fix Python import error app-shells/autojump/autojump-22.2.4-r1.ebuild | 65 +++ 1 file changed, 65 insertions(+) diff --git a/app-shells/autojump/autojump-22.2.4-r1.ebuild b/app-shells/autojump/autojump-22.2.4-r1.ebuild new file mode 100644 index 000..0364cca --- /dev/null +++ b/app-shells/autojump/autojump-22.2.4-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) + +inherit python-r1 python-utils-r1 vcs-snapshot + +DESCRIPTION="change directory command that learns" +HOMEPAGE="https://github.com/joelthelion/autojump"; +SRC_URI="https://github.com/joelthelion/${PN}/archive/release-v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~ppc ~ppc64" +IUSE="bash-completion python test zsh-completion" + +# Not all tests pass. Need investigation. +RESTRICT="test" +RDEPEND="bash-completion? ( >=app-shells/bash-4 ) +python? ( ${PYTHON_DEPS} ) +zsh-completion? ( app-shells/zsh app-shells/gentoo-zsh-completions )" +DEPEND="test? ( +dev-python/flake8 +dev-python/tox +)" + +src_prepare() { +sed -e "s: \(/etc/profile.d\): \"${EPREFIX}\1\":" \ +-i bin/autojump.sh || die +} + +src_compile() { +true +} + +src_install() { +dobin bin/autojump + +insinto /etc/profile.d +doins bin/${PN}.sh + +insinto /usr/local/share/autojump/ +if use bash-completion ; then +doins bin/${PN}.bash +fi + +if use zsh-completion ; then +doins bin/${PN}.zsh +insinto /usr/share/zsh/site-functions +doins bin/_j +fi + +if use python ; then +python_foreach_impl python_domodule tools/autojump_ipython.py bin/autojump_argparse.py bin/autojump_data.py bin/autojump_utils.py + +einfo "This tool provides \"j\" for ipython, please add" +einfo "\"import autojump_ipython\" to your ipy_user_conf.py." +fi + +doman docs/${PN}.1 +dodoc README.md +}
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: fb6b7aa8f4e799b40e16cfd9a923797567b30d3b Author: Patrice Clement gentoo org> AuthorDate: Mon Sep 7 11:31:19 2015 + Commit: Patrice Clement gentoo org> CommitDate: Mon Sep 7 11:31:19 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb6b7aa8 all-shells/autojump: Make use of ${PN} and remove trailing spaces. Package-Manager: portage-2.2.18 Signed-off-by: Patrice Clement gentoo.org> app-shells/autojump/autojump-22.2.4-r1.ebuild | 53 +-- 1 file changed, 25 insertions(+), 28 deletions(-) diff --git a/app-shells/autojump/autojump-22.2.4-r1.ebuild b/app-shells/autojump/autojump-22.2.4-r1.ebuild index 0364cca..be4106d 100644 --- a/app-shells/autojump/autojump-22.2.4-r1.ebuild +++ b/app-shells/autojump/autojump-22.2.4-r1.ebuild @@ -20,46 +20,43 @@ IUSE="bash-completion python test zsh-completion" # Not all tests pass. Need investigation. RESTRICT="test" RDEPEND="bash-completion? ( >=app-shells/bash-4 ) -python? ( ${PYTHON_DEPS} ) -zsh-completion? ( app-shells/zsh app-shells/gentoo-zsh-completions )" -DEPEND="test? ( -dev-python/flake8 -dev-python/tox -)" + python? ( ${PYTHON_DEPS} ) + zsh-completion? ( app-shells/zsh app-shells/gentoo-zsh-completions )" +DEPEND="test? ( dev-python/flake8 dev-python/tox )" src_prepare() { -sed -e "s: \(/etc/profile.d\): \"${EPREFIX}\1\":" \ --i bin/autojump.sh || die + sed -e "s: \(/etc/profile.d\): \"${EPREFIX}\1\":" \ + -i bin/autojump.sh || die } src_compile() { -true + true } src_install() { -dobin bin/autojump + dobin bin/autojump -insinto /etc/profile.d -doins bin/${PN}.sh + insinto /etc/profile.d + doins bin/${PN}.sh -insinto /usr/local/share/autojump/ -if use bash-completion ; then -doins bin/${PN}.bash -fi + insinto /usr/local/share/"${PN}"/ + if use bash-completion ; then + doins bin/${PN}.bash + fi -if use zsh-completion ; then -doins bin/${PN}.zsh -insinto /usr/share/zsh/site-functions -doins bin/_j -fi + if use zsh-completion ; then + doins bin/${PN}.zsh + insinto /usr/share/zsh/site-functions + doins bin/_j + fi -if use python ; then -python_foreach_impl python_domodule tools/autojump_ipython.py bin/autojump_argparse.py bin/autojump_data.py bin/autojump_utils.py + if use python ; then + python_foreach_impl python_domodule tools/autojump_ipython.py bin/autojump_argparse.py bin/autojump_data.py bin/autojump_utils.py -einfo "This tool provides \"j\" for ipython, please add" -einfo "\"import autojump_ipython\" to your ipy_user_conf.py." -fi + einfo "This tool provides \"j\" for ipython, please add" + einfo "\"import autojump_ipython\" to your ipy_user_conf.py." + fi -doman docs/${PN}.1 -dodoc README.md + doman docs/${PN}.1 + dodoc README.md }
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: 3473f81c0d09b50583050afb92d26f9b941cb92a Author: Patrice Clement gentoo org> AuthorDate: Sun Aug 30 20:16:13 2015 + Commit: Patrice Clement gentoo org> CommitDate: Sun Aug 30 20:21:38 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3473f81c app-shells/autojump: Remove old. Package-Manager: portage-2.2.18 Signed-off-by: Patrice Clement gentoo.org> app-shells/autojump/Manifest | 4 +- app-shells/autojump/autojump-21.3.0-r1.ebuild | 61 --- app-shells/autojump/autojump-21.5.8-r1.ebuild | 59 -- app-shells/autojump/autojump-21.6.9.ebuild| 59 -- 4 files changed, 1 insertion(+), 182 deletions(-) diff --git a/app-shells/autojump/Manifest b/app-shells/autojump/Manifest index e6168c9..72ef1de 100644 --- a/app-shells/autojump/Manifest +++ b/app-shells/autojump/Manifest @@ -1,3 +1 @@ -DIST autojump-21.3.0.tar.gz 51261 SHA256 217398c3135647f223356e055a1b84adb470385584d743baf7fe4d519fd78252 SHA512 b0b0292a08d01005f09581c58bff2bf9b4b860b53602c0777bab7ef5a5b301993fe2bfef154bedadc75407bcc41e8de4a6f01d5b70e2e1be6b4ae6a6162d5196 WHIRLPOOL a218cde9345077af5c365b3e8eaff994606a0c29f2c8f3c6772b043e68decdc915bd353efc20c61f6de974d59c617c8a9b292fc465823b818882ac68f438869c -DIST autojump-21.5.8.tar.gz 52170 SHA256 4e18585aac319da1c900f0f022a4fe8ce3e21257d440c034d7abf29ed42d4e1e SHA512 a3857e0195cc77f19bd4eb46b4fc96cd5f7b1c01dac35c1f928dde19198519fa4848c0cf7f8342f87a1f71617cfcad62cc495a711541f32bec807347e9b6bd01 WHIRLPOOL b7686d0d1332d4cbeec6d88a35951bae0cc513843b9fd34ff407e88cf0fdb8f616acb9e48d40a91b63cf4beea085f8fd6a4215d5e0b38599e47af8212f2eb2e2 -DIST autojump-21.6.9.tar.gz 50172 SHA256 8918817688a4e5f1e87e4e559a1bb5cd3fe43cb11222bb5283fd0f44d395464b SHA512 90f2d5fa3e8e272073a8dd00e6023f74d6e9159f5c4d5345fb3e2fbb4829262e0de18d64975dbd7b85bbbfb83f5706f4463f7370806516385cae48595113afff WHIRLPOOL 89e4bb6380396c50a7509050e192ab3dcaeef4861191760a75464cbed0deeecb071544d255d88d8139323abbf38c84f6418821437debf273d1f99d76e63c67bd +DIST autojump-22.2.4.tar.gz 52724 SHA256 816badb0721f735e2b86bdfa8b333112f3867343c7c2263c569f75b4ec91f475 SHA512 bdfca07bb57b3a2733a2085af14f23c3e980b1b00db1c90247c2341ac73f60f171bdde29dd9917aac0808d0b8f2902d48096c990e09281745a71755f5abc921c WHIRLPOOL 29fe48cc2d8eee809a79c3d9b923d16be32a1591dc3bfa911bda26eceeb4fe0c05a49e1218958f63eb4b609837b2dc4b0ba4d4b23070c7fea0cad3d833e0fa39 diff --git a/app-shells/autojump/autojump-21.3.0-r1.ebuild b/app-shells/autojump/autojump-21.3.0-r1.ebuild deleted file mode 100644 index b0076da..000 --- a/app-shells/autojump/autojump-21.3.0-r1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python{2_7,3_3} ) - -inherit eutils python-r1 python-utils-r1 vcs-snapshot - -DESCRIPTION="change directory command that learns" -HOMEPAGE="https://github.com/joelthelion/autojump"; -SRC_URI="https://github.com/joelthelion/${PN}/archive/release-v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="bash-completion python test zsh-completion" - -RDEPEND="bash-completion? ( >=app-shells/bash-4 ) - python? ( ${PYTHON_DEPS} ) - zsh-completion? ( app-shells/zsh app-shells/gentoo-zsh-completions )" -DEPEND="test? ( ${PYTHON_DEPS} )" - -src_prepare() { - epatch "${FILESDIR}"/${P}-supported-shells.patch -} - -src_compile() { - true -} - -src_install() { - dobin bin/autojump - - insinto /etc/profile.d - doins bin/${PN}.sh - - if use bash-completion ; then - doins bin/${PN}.bash - fi - - if use zsh-completion ; then - doins bin/${PN}.zsh - insinto /usr/share/zsh/site-functions - doins bin/_j - fi - - if use python ; then - python_foreach_impl python_domodule tools/autojump_ipython.py - - einfo "This tool provides \"j\" for ipython, please add" - einfo "\"import autojump_ipython\" to your ipy_user_conf.py." - fi - - doman docs/${PN}.1 - dodoc README.md - - elog "loading of insecure relative path \"custom_install\" has been" - elog "remove. See ${EPREFIX}/etc/profile.d/${PN}.sh for details." -} diff --git a/app-shells/autojump/autojump-21.5.8-r1.ebuild b/app-shells/autojump/autojump-21.5.8-r1.ebuild deleted file mode 100644 index 3e6ee29..000 --- a/app-shells/autojump/autojump-21.5.8-r1.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python{2_7,3_3} ) - -inherit python-r1 python-utils-r1 vcs-snapshot - -DESCRIPTION="change directory command that learns" -HOMEPAGE="https://github.com/joelthelion/autojump"; -SRC_URI="https://github.co
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: 574b2e02979285210fe5f13d28cd4064746100c2 Author: Patrice Clement gentoo org> AuthorDate: Sun Aug 30 19:51:05 2015 + Commit: Patrice Clement gentoo org> CommitDate: Sun Aug 30 20:21:22 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=574b2e02 app-shells/autojump: Version bump. Package-Manager: portage-2.2.18 Signed-off-by: Patrice Clement gentoo.org> app-shells/autojump/autojump-22.2.4.ebuild | 64 ++ 1 file changed, 64 insertions(+) diff --git a/app-shells/autojump/autojump-22.2.4.ebuild b/app-shells/autojump/autojump-22.2.4.ebuild new file mode 100644 index 000..1e19667 --- /dev/null +++ b/app-shells/autojump/autojump-22.2.4.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) + +inherit python-r1 python-utils-r1 vcs-snapshot + +DESCRIPTION="change directory command that learns" +HOMEPAGE="https://github.com/joelthelion/autojump"; +SRC_URI="https://github.com/joelthelion/${PN}/archive/release-v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="bash-completion python test zsh-completion" + +# Not all tests pass. Need investigation. +RESTRICT="test" +RDEPEND="bash-completion? ( >=app-shells/bash-4 ) + python? ( ${PYTHON_DEPS} ) + zsh-completion? ( app-shells/zsh app-shells/gentoo-zsh-completions )" +DEPEND="test? ( + dev-python/flake8 + dev-python/tox + )" + +src_prepare() { + sed -e "s: \(/etc/profile.d\): \"${EPREFIX}\1\":" \ + -i bin/autojump.sh || die +} + +src_compile() { + true +} + +src_install() { + dobin bin/autojump + + insinto /etc/profile.d + doins bin/${PN}.sh + + if use bash-completion ; then + doins bin/${PN}.bash + fi + + if use zsh-completion ; then + doins bin/${PN}.zsh + insinto /usr/share/zsh/site-functions + doins bin/_j + fi + + if use python ; then + python_foreach_impl python_domodule tools/autojump_ipython.py + + einfo "This tool provides \"j\" for ipython, please add" + einfo "\"import autojump_ipython\" to your ipy_user_conf.py." + fi + + doman docs/${PN}.1 + dodoc README.md +}
[gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
commit: 7b93ca2df3092f426d81b95e180281da60613e3a Author: Patrice Clement gentoo org> AuthorDate: Sun Aug 30 19:56:55 2015 + Commit: Patrice Clement gentoo org> CommitDate: Sun Aug 30 20:21:26 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b93ca2d app-shells/autojump: Keyword for ppc+ppc64. Package-Manager: portage-2.2.18 Signed-off-by: Patrice Clement gentoo.org> app-shells/autojump/autojump-22.2.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-shells/autojump/autojump-22.2.4.ebuild b/app-shells/autojump/autojump-22.2.4.ebuild index 1e19667..dc79dce 100644 --- a/app-shells/autojump/autojump-22.2.4.ebuild +++ b/app-shells/autojump/autojump-22.2.4.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/joelthelion/${PN}/archive/release-v${PV}.tar.gz -> $ LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~x86 ~ppc ~ppc64" IUSE="bash-completion python test zsh-completion" # Not all tests pass. Need investigation.