diff options
Diffstat (limited to 'app-shells/autojump')
-rw-r--r-- | app-shells/autojump/Manifest | 6 | ||||
-rw-r--r-- | app-shells/autojump/autojump-22.2.4-r4.ebuild | 4 | ||||
-rw-r--r-- | app-shells/autojump/autojump-22.5.1.ebuild | 4 | ||||
-rw-r--r-- | app-shells/autojump/autojump-22.5.3.ebuild | 77 |
4 files changed, 85 insertions, 6 deletions
diff --git a/app-shells/autojump/Manifest b/app-shells/autojump/Manifest index 1fed4e971cf3..220e488a0749 100644 --- a/app-shells/autojump/Manifest +++ b/app-shells/autojump/Manifest @@ -2,6 +2,8 @@ AUX autojump-22.2.4-fix-__aj_error-typo.patch 755 BLAKE2B 022a80e29cf8a03e358c01 AUX autojump-22.2.4-fix-autojump.fish-bugs.patch 2100 BLAKE2B 5aef4c4363b0a34238e91a012b19a8a6041a2e72d9d071753ce2c14db2062e93cd7cae93862d3a78ed1645993b41f5c6a31d777dc204675983bd76578400c7dc SHA512 a0a2fb0a06e43f4b1321d0b785ffa3273ba5d35e103f4ac687d6f08502835dd0cd5135a871640e05b535fce31c11f2e9908728c1e6f62ffe1e313ed9c75b7670 DIST autojump-22.2.4.tar.gz 52724 BLAKE2B 42d5db90d4a29c63f5cd79437ca005f9f6382a607ab9284244fd6bbcf539509c5043df71ab305a5e8420ec225f8d651411d327833762737e0a5ad828ac021d2b SHA512 bdfca07bb57b3a2733a2085af14f23c3e980b1b00db1c90247c2341ac73f60f171bdde29dd9917aac0808d0b8f2902d48096c990e09281745a71755f5abc921c DIST autojump-22.5.1.tar.gz 54721 BLAKE2B ea3a852dddc13ece5ff177be0b3f384e5dcb19795d31d22edae90dba19fe3e78a4b78f48f08c338521d89d57af6251d5690c62eab445229812adb154286b0d5c SHA512 ed1bb28b62d14a481d5c8ee8ebbfc286d21ca54c961904f81ac123c784e17810217dfe1689bdd4b50fd7a9d72509c0cb13583a9817074f6afe26dc3144f64243 -EBUILD autojump-22.2.4-r4.ebuild 2116 BLAKE2B e354d40e8f165ec2ddfc546ed7a82afe561cdd0ecfe0eff9c2dd8f6ff2f6c4faa5dfe8b884d97f4197399e3110b0635a19b8c1f141b3eda6083ed44b199df58c SHA512 c2a3239a7ba6ef8ec144ed271824e9b839b709ca2533d68d12499af0f3281cafb1b34ff58d8f85e9cee366f4674e46f5bfaf66be08b6038d121def8c06f0cb6a -EBUILD autojump-22.5.1.ebuild 1923 BLAKE2B 0e8025ac920b11a9319fe56c0106c831940c8cce9cb88bf57049541e74e42a5aad037e10cca642b162d8543da2880c4bdf3011a5c89b9f20e25d18d900444e96 SHA512 3890a2fbf91e837aeb93c55b41da0536ef855b4edd27f37d28c8499e886eecc15caa5062f22cd39319367b888b3e2e7c9adbffc3058393e266bf1d09c8f95bb6 +DIST autojump-22.5.3.tar.gz 55429 BLAKE2B 3a2773669f81d1a54c01cce9fe75bc01609265998b035b4ba1aa064f1132acf852b59eb04ebfa744e628152f0ab478cbef24e5aff326bf84cec6e2c9348e8360 SHA512 d1dd3cbb67fda4e0a17ec5028b947faf46be8a95a6cd8418127b927f42bc95b71538a06658b38b479c77d147a6cd5e8cef77639ef538c7d449414c469c13f140 +EBUILD autojump-22.2.4-r4.ebuild 2109 BLAKE2B 6dddf8efeb59f5478efa4dbf4827bd359cae9715662a8b43d7c2433e30735b19cfecf633de35a03a5f4f7f4a5cb190d8b70df4fb59f34e70723031f27d5882cf SHA512 ba241cbae182e0d1832a4fc9d8cb57e7eeed30b58d4b736210f9e6a94fa7de25390140b23819075db2bcf92ae9f8fdedc85d83b470035eac4c2dc142e587ace1 +EBUILD autojump-22.5.1.ebuild 1916 BLAKE2B 8e39b1d05bd268407b8290291217c4c8b933694814fd626cd9bde17c9fbbd2e0ff96a71a4532259196061ab9effb29a41b4b257a01c6c605d6a6665355db0bcf SHA512 d1872b722aec9f14d7a51bbbd50f25713f541e083afbf5863b1011bfd112bc371a9bd700bf3aa084032103c7050dbf82e2e642def61fa9a13f32897202fa7f7a +EBUILD autojump-22.5.3.ebuild 1931 BLAKE2B 1a50811b2bd838993d829f55b7509e6ffcc49996f872e81cd11a11cfa5705831ab272a793652d1e7fac978a67357351d1e522b0d5f69bd0f886425c959cc61bf SHA512 5f9b37f76def6bdb5dccf02c6cf986681a90dd89795e2c79dd60dff7af3edb3dcf8db50143cf974a9f03d85fa44e49694b655fb70e8319b9d30c71c753ffdcae MISC metadata.xml 490 BLAKE2B 33ef64a70f2b0d3211861a9ae667a4ed930f850a0198661cd3371024ac6193c80d3121ca188f48cac4732741fdea08e918c8ef78161a921127ec82b1064dd1c1 SHA512 c7742421c4211de2b774bb6136261863bd69a93debe3f1ab4b921e9f19a7581ef2711fbe2090ada92b60f799cd6683368e48d974ab9698ae3c2b5f768cd34db9 diff --git a/app-shells/autojump/autojump-22.2.4-r4.ebuild b/app-shells/autojump/autojump-22.2.4-r4.ebuild index 37fdc8405ed0..3da53fc5931e 100644 --- a/app-shells/autojump/autojump-22.2.4-r4.ebuild +++ b/app-shells/autojump/autojump-22.2.4-r4.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) +PYTHON_COMPAT=( python{2_7,3_5,3_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 8bc30ed3e75c..6f994b4afb59 100644 --- a/app-shells/autojump/autojump-22.5.1.ebuild +++ b/app-shells/autojump/autojump-22.5.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) +PYTHON_COMPAT=( python{2_7,3_5,3_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 new file mode 100644 index 000000000000..71bd16bed2f7 --- /dev/null +++ b/app-shells/autojump/autojump-22.5.3.ebuild @@ -0,0 +1,77 @@ +# 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 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' +} |