summaryrefslogtreecommitdiff
path: root/app-shells/autojump
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-11-16 16:56:41 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-11-16 16:56:41 +0000
commit38f60b3ec9ff175535d9a056a76ae42931e61e21 (patch)
tree320bc3a66bb967560bbfe8c576a6e75333cf83cc /app-shells/autojump
parente2d84e38284aeb9d522a7e935554340ddf0e4a6f (diff)
gentoo resync : 16.11.2017
Diffstat (limited to 'app-shells/autojump')
-rw-r--r--app-shells/autojump/Manifest2
-rw-r--r--app-shells/autojump/autojump-22.5.1.ebuild76
2 files changed, 78 insertions, 0 deletions
diff --git a/app-shells/autojump/Manifest b/app-shells/autojump/Manifest
index 243648326539..b8d4b48f0fa1 100644
--- a/app-shells/autojump/Manifest
+++ b/app-shells/autojump/Manifest
@@ -1,7 +1,9 @@
AUX autojump-22.2.4-fix-__aj_error-typo.patch 755 SHA256 9c25c774cc56d722e3f37bf80eb8edf9e5e29997abb083ad1ec35d300b4fd375 SHA512 8661ceae090ed70498f5ed34f447c80d3cf359eca304e16c122a992538af8fb5e046c26d739ccf9bcfd7ccd5706735aebc494f95ebcb2d3c300b126dc0e38136 WHIRLPOOL ab6d843da7e4f594b3aaad58059606baefc3b8258b9760d139402d81be55a5a695acb456294c1c628bceb0ee5a5aacc756666d365a9026d20bd34ae3990a1191
AUX autojump-22.2.4-fix-autojump.fish-bugs.patch 2100 SHA256 ee635006a406fc6baa31b448a980168c661fc80be1b1f532496050cb84d606a9 SHA512 a0a2fb0a06e43f4b1321d0b785ffa3273ba5d35e103f4ac687d6f08502835dd0cd5135a871640e05b535fce31c11f2e9908728c1e6f62ffe1e313ed9c75b7670 WHIRLPOOL eed96b7687eb6274a0242634226e52372d8c1f185d905f744cc91a20b1b3f260e7de04b06a8cad7c6cb822b6aa4bd39239bc512deb44760938e233bd3efe18dc
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
EBUILD autojump-22.2.4-r4.ebuild 2116 SHA256 e84c63108a2307256d5f724215c204d27e2d55245f9ed0b47a194669ca710c92 SHA512 c2a3239a7ba6ef8ec144ed271824e9b839b709ca2533d68d12499af0f3281cafb1b34ff58d8f85e9cee366f4674e46f5bfaf66be08b6038d121def8c06f0cb6a WHIRLPOOL 0b9d7dd6d7ba995f2ee97f8373090772b240bd1f69396ed1df65837776ffcaac985f42b50af3595811085d42b08b09f72476f75ddea5c07e2a2344ff777a6de6
+EBUILD autojump-22.5.1.ebuild 1928 SHA256 6c1bfea430fe2bd4ad0e2e62711df574c7aa0f9657b9ef3da0d57c9f5a999e76 SHA512 1200526e09ea335d2334310b115f6105d61758d75e774f851ebdef7e5607756488771d887b472bfeb7bc01159fa4d022c2a195f56efb9104dffc3b43cec49167 WHIRLPOOL 65fb8b03b4109aece87a1fc48833ed30d7ca07e2ac5693f19bfd3ba6b00ac8d2026acbba5b3407fe7fc2e8694cf24cd0e1d4796c7744522fd0ae55fa781d2a2e
MISC ChangeLog 6692 SHA256 b1e0ed6382ef5ed567444b6531aceed4a9a65e578275839a0f88105d205480a2 SHA512 10f9f954d82ae5407c5a8294fdaf86bc130af2eb16d8fe459782460966cc04f938217689351e078fbcf581ee90e54268aba146ff835c16db73273e4259ff4e58 WHIRLPOOL 6edb297c89c27a9558797efd56b38ba110a57b6dafbb77b2bd36730394b8fb3fa3a4af6ef71c4bf75071774a5f0df19c92b08018ba0490bcf5deb67bee642596
MISC ChangeLog-2015 3293 SHA256 afff847c010993cb63dc8cca52fa8cee7fc0251ad6c4211c7242eb2a5b4c572e SHA512 cb348e5242171f75312ddaa39637de3d21ac62887a5d3828a994acf6745aacf269f2ff9baca1f31557b36980e2c47b01d37b742cc1520102b9edcca07532372e WHIRLPOOL fd4d6407b36edb7445686ccde48805df4b9df38a4f1fcbde5d07b324ff7c49fb8f4b29a442f300e6db74b4dd86f3852f9f947b1f36cf3f986d3e5bf370a31757
MISC metadata.xml 503 SHA256 aa2902d491147277f9138b2e396afecaef2e736730f023e0e13ea291db14d37c SHA512 5173d3dcf39215a8ce67a9eb37127f4945d1420180a48f952d417d73e83bbd03fe1cdcbbb193b69f5eec3cfb994c12f8a92b4e6e22844b30753024dc0919a10d WHIRLPOOL 0fcad9a1942049923af4eebf3ab85ff9f6db44cf0fa45bb8a2ef842ab489e665d0a6fb9d5060733f01f5266ae48527b534bb02dbb981a0b39a79e7d34c0ec0a1
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 000000000000..6c2501ca72ba
--- /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'
+}