public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/bash-completion/
Date: Mon, 24 Apr 2017 18:29:01 +0000 (UTC)	[thread overview]
Message-ID: <1493058532.0b268022d974da0406bee30b4e9af6f0f5f6f9ba.mgorny@gentoo> (raw)

commit:     0b268022d974da0406bee30b4e9af6f0f5f6f9ba
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 24 17:59:08 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Apr 24 18:28:52 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b268022

app-shells/bash-completion: Bump to 2.5

 app-shells/bash-completion/Manifest                |  1 +
 .../bash-completion/bash-completion-2.5.ebuild     | 98 ++++++++++++++++++++++
 2 files changed, 99 insertions(+)

diff --git a/app-shells/bash-completion/Manifest b/app-shells/bash-completion/Manifest
index c95f07d3979..9927439a1e0 100644
--- a/app-shells/bash-completion/Manifest
+++ b/app-shells/bash-completion/Manifest
@@ -1,5 +1,6 @@
 DIST bash-completion-2.1_p20141224.tar.xz 257964 SHA256 a76ffdbc9f49f48e290f0e6f3d46060d51c770f91e25b35b014bc16fec76f517 SHA512 94649aad8dbf0f170422605a5f36c5cab61e45ce402a92f89a6eba3bd5d2e976087b35cd0a9b6d4d29ba608cee3bb27b692088c884b766447ee9eafa99c2814a WHIRLPOOL 0ea12dfc8f432ffed598aee65c7080de570ebe9783415c7ebe4bd5d152fc645a132fae3a28986c029d13a4b939e15053204d73ae9b207f4ad62b9c117bf59cba
 DIST bash-completion-2.3.tar.xz 272252 SHA256 b2e081af317f3da4fff3a332bfdbebeb5514ebc6c2d2a9cf781180acab15e8e9 SHA512 396c060fa39aa05866d26b573d6b9eebdb96e41a17ef723e95f8b01bbda32b0b83bf9e4d978a4f0a1c0590787ae797bb3b6417b95b877f8447037cb873ccf38a WHIRLPOOL fe5ebae1c77dfba504e8f79b130ba0bc80d882a045b980a23f4642e77dfb7bb79b529c1573b13fc0986f486c41696bb94fadef677e0cabfdffe7aeea6e8ff5c0
 DIST bash-completion-2.4.tar.xz 276148 SHA256 c0f76b5202fec9ef8ffba82f5605025ca003f27cfd7a85115f838ba5136890f6 SHA512 b852e0a38417dfc3754a91dae2d107f99a3c2970d835a4bbaa80f2a4db8d670bc3820ddc6ada26f68070f22fb4c1db7abe50ad489b1c0f8497b1e6e91be27627 WHIRLPOOL f38f148dcbca1ee47ec6fa33637ea0673c03816b607bd638605832fb76ec7fb5f24cba35cb559e8a5b06636b1ec0f225e420615b6721074fc405cb79b505b07b
+DIST bash-completion-2.5.tar.xz 276732 SHA256 b0b9540c65532825eca030f1241731383f89b2b65e80f3492c5dd2f0438c95cf SHA512 44ca2cbf38190c2bfa1e98021c1de36dbef0e55f9fe7840e83bd7f91b4c9afc92afa9bb03d53dbc6d9f9b468ac63ff1021a60e456fc239010010d75687eff3da WHIRLPOOL b488571aca9d8b027214c2964ec789ef616659a098a2bd65a921075d94a8014b51a802040535e44c7831b159a5094b6879935f726ee97409b575c36cd01dbc13
 DIST bashcomp-2.0.1.tar.bz2 4078 SHA256 142348b61b32fb3f1580ac90b684b1014d6d177f371baadb503340c507f9a992 SHA512 8ac8982f418a2d71dffcf027ffe0b7eefa3ee49413a726a8ee9e758975d8f86c687a64b55cd94e09b7936d1c6990285ddc90a3c2b1989af44322937c5c4fb8d7 WHIRLPOOL b6daa0a93282e9df73635cbdddde97c473fd22aa3baf035c3ffcb5966152e20b26d85979fe8a5ecf9128157422f3f60dc27c82c843b9a0e6e80b7de7da596250
 DIST bashcomp-2.0.2.tar.gz 3625 SHA256 6ede58bfbe99f0dca1eb9236492aa20a6755e5731526de56e15d1e2b220165c9 SHA512 46bc1bcc32263135f44be68569459a409250dd2c81c18190735f11e13a26508e9d3cb91d24a8fe7b21bdea678347873b7ac1b67d5e8c78c8444011f85dfdcdce WHIRLPOOL 4b6cb989235d5fed8fd9986c1419ab337df38384fe2b307fd78f08f8696f4a2328845ed4f27913a36e9a544e973690bc0dd2af73816e272c3faf27ff2eafa585

diff --git a/app-shells/bash-completion/bash-completion-2.5.ebuild b/app-shells/bash-completion/bash-completion-2.5.ebuild
new file mode 100644
index 00000000000..0585f5e0e97
--- /dev/null
+++ b/app-shells/bash-completion/bash-completion-2.5.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+BASHCOMP_P=bashcomp-2.0.2
+inherit versionator
+
+DESCRIPTION="Programmable Completion for bash"
+HOMEPAGE="https://github.com/scop/bash-completion"
+SRC_URI="https://github.com/scop/bash-completion/releases/download/${PV}/${P}.tar.xz
+	https://bitbucket.org/mgorny/bashcomp2/downloads/${BASHCOMP_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris"
+IUSE=""
+
+RDEPEND=">=app-shells/bash-4.3_p30-r1
+	sys-apps/miscfiles
+	!app-eselect/eselect-bashcomp"
+DEPEND="app-arch/xz-utils"
+PDEPEND=">=app-shells/gentoo-bashcomp-20140911"
+
+# Remove unwanted completions.
+STRIP_COMPLETIONS=(
+	# Slackware package stuff, quite generic names cause collisions
+	# (e.g. with sys-apps/pacman)
+	explodepkg installpkg makepkg pkgtool removepkg upgradepkg
+
+	# Debian/Red Hat network stuff
+	ifdown ifup ifstatus
+
+	# Installed in app-editors/vim-core
+	xxd
+
+	# Now-dead symlinks to deprecated completions
+	hd ncal
+
+	# Installed by sys-apps/util-linux-2.28
+	mount umount mount.linux umount.linux
+)
+
+src_prepare() {
+	eapply "${WORKDIR}/${BASHCOMP_P}/${PN}"-2.1_p*.patch
+	# Bug 543100, update bug 601194
+	eapply "${FILESDIR}/${PN}-2.1-escape-characters-r1.patch"
+	eapply_user
+}
+
+src_test() { :; } # Skip testsuite because of interactive shell wrt #477066
+
+src_install() {
+	# work-around race conditions, bug #526996
+	mkdir -p "${ED}"/usr/share/bash-completion/{completions,helpers} || die
+
+	emake DESTDIR="${D}" profiledir="${EPREFIX}"/etc/bash/bashrc.d install
+
+	local file
+	for file in "${STRIP_COMPLETIONS[@]}"; do
+		rm "${ED}"/usr/share/bash-completion/completions/${file} || die
+	done
+	# remove deprecated completions (moved to other packages)
+	rm "${ED}"/usr/share/bash-completion/completions/_* || die
+
+	dodoc AUTHORS CHANGES CONTRIBUTING.md README.md
+
+	# install the eselect module
+	insinto /usr/share/eselect/modules
+	doins "${WORKDIR}/${BASHCOMP_P}/bashcomp.eselect"
+	doman "${WORKDIR}/${BASHCOMP_P}/bashcomp.eselect.5"
+}
+
+pkg_postinst() {
+	local v
+	for v in ${REPLACING_VERSIONS}; do
+		if ! version_is_at_least 2.1-r90 ${v}; then
+			ewarn "For bash-completion autoloader to work, all completions need to"
+			ewarn "be installed in /usr/share/bash-completion/completions. You may"
+			ewarn "need to rebuild packages that installed completions in the old"
+			ewarn "location. You can do this using:"
+			ewarn
+			ewarn "$ find ${EPREFIX}/usr/share/bash-completion -maxdepth 1 -type f '!' -name 'bash_completion' -exec emerge -1v {} +"
+			ewarn
+			ewarn "After the rebuild, you should remove the old setup symlinks:"
+			ewarn
+			ewarn "$ find ${EPREFIX}/etc/bash_completion.d -type l -delete"
+		fi
+	done
+
+	if has_version 'app-shells/zsh'; then
+		elog
+		elog "If you are interested in using the provided bash completion functions with"
+		elog "zsh, valuable tips on the effective use of bashcompinit are available:"
+		elog "  http://www.zsh.org/mla/workers/2003/msg00046.html"
+		elog
+	fi
+}


             reply	other threads:[~2017-04-24 18:29 UTC|newest]

Thread overview: 144+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-24 18:29 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-08  0:48 [gentoo-commits] repo/gentoo:master commit in: app-shells/bash-completion/ Sam James
2024-07-06 17:40 Arthur Zamarin
2024-06-08 11:12 Arthur Zamarin
2024-06-08 11:06 Arthur Zamarin
2024-06-07 13:35 Arthur Zamarin
2024-06-07 13:35 Arthur Zamarin
2024-06-07  6:26 Joonas Niilola
2024-06-07  6:26 Joonas Niilola
2024-06-06 17:30 Arthur Zamarin
2024-06-06 17:30 Arthur Zamarin
2024-06-06 17:30 Arthur Zamarin
2024-06-06 17:30 Arthur Zamarin
2024-06-06 17:30 Arthur Zamarin
2024-05-10 12:56 Joonas Niilola
2024-05-03 12:45 Sam James
2024-05-03 12:39 Sam James
2024-05-03 12:38 Sam James
2024-05-03 12:36 Sam James
2024-05-03 10:48 Arthur Zamarin
2024-05-03 10:48 Arthur Zamarin
2024-05-03 10:48 Arthur Zamarin
2024-03-03 15:55 Michał Górny
2024-03-03 15:25 Michał Górny
2023-06-10 10:25 Sam James
2023-03-03 13:29 Michał Górny
2023-03-03 13:29 Michał Górny
2023-03-03 13:29 Michał Górny
2023-03-03 13:29 Michał Górny
2023-03-03 13:29 Michał Górny
2023-03-03 13:29 Michał Górny
2023-03-03 13:29 Michał Górny
2023-03-03 13:29 Michał Górny
2023-03-03 13:29 Michał Górny
2022-12-05 20:00 Michał Górny
2022-08-28  7:41 WANG Xuerui
2022-05-07  7:44 Sam James
2022-04-23 15:15 Mike Gilbert
2021-09-18 22:50 James Le Cuirot
2021-07-22  3:19 Georgy Yakovlev
2021-04-14  7:36 Michał Górny
2021-01-06 13:26 Fabian Groffen
2020-12-27 14:01 Fabian Groffen
2020-09-18  9:38 Michał Górny
2020-09-02 22:48 Sam James
2020-07-27 10:02 Michał Górny
2020-07-27  8:30 Michał Górny
2020-05-04  9:37 Michał Górny
2020-05-04  9:37 Michał Górny
2020-03-31 17:51 Mart Raudsepp
2020-02-24 11:31 Agostino Sarubbo
2020-02-20 18:47 Sergei Trofimovich
2020-02-17 12:17 Agostino Sarubbo
2020-02-17 12:13 Agostino Sarubbo
2020-02-17 12:09 Agostino Sarubbo
2020-02-17 11:47 Agostino Sarubbo
2020-02-17 11:45 Agostino Sarubbo
2019-12-07 16:59 Michał Górny
2019-12-07  9:15 Michał Górny
2019-11-03 15:29 Michał Górny
2019-10-30 21:56 Sergei Trofimovich
2019-09-22  7:01 Matt Turner
2019-09-13 17:51 Mikle Kolyada
2019-09-09  6:02 Agostino Sarubbo
2019-09-09  6:00 Agostino Sarubbo
2019-09-09  5:54 Agostino Sarubbo
2019-09-09  5:50 Agostino Sarubbo
2019-09-09  0:24 Aaron Bauman
2019-09-08 19:15 Thomas Deutschmann
2019-09-08 18:26 Sergei Trofimovich
2019-09-08  6:43 Michał Górny
2019-07-28 11:09 Mikle Kolyada
2019-06-25 20:05 Sergei Trofimovich
2019-06-06  6:46 Agostino Sarubbo
2019-06-05 11:14 Agostino Sarubbo
2019-06-04 14:48 Agostino Sarubbo
2019-05-30 20:30 Sergei Trofimovich
2019-05-26 22:27 Thomas Deutschmann
2019-05-26 11:07 Mikle Kolyada
2019-05-26  8:27 Sergei Trofimovich
2019-05-25 21:11 Michał Górny
2019-05-25 21:11 Michał Górny
2019-05-25 19:57 Michał Górny
2019-05-25 18:45 Aaron Bauman
2019-04-30  6:11 Michał Górny
2019-04-28 12:16 Michał Górny
2019-04-28 10:54 Michał Górny
2019-04-28  8:42 Michał Górny
2019-04-28  8:42 Michał Górny
2019-04-28  8:42 Michał Górny
2019-04-28  8:42 Michał Górny
2019-04-28  8:42 Michał Górny
2019-04-28  8:42 Michał Górny
2019-04-08 13:20 Aaron Bauman
2019-04-08  6:42 Mikle Kolyada
2019-03-16 21:57 Sergei Trofimovich
2019-03-16 14:06 Mikle Kolyada
2019-03-14 21:53 Sergei Trofimovich
2019-03-10 20:35 Sergei Trofimovich
2019-03-10 13:37 Mikle Kolyada
2019-03-10 13:35 Mikle Kolyada
2018-09-28  9:30 Michał Górny
2018-09-28  9:30 Michał Górny
2018-09-28  9:30 Michał Górny
2018-09-28  9:30 Michał Górny
2018-09-06 21:22 Michał Górny
2018-09-06 21:22 Michał Górny
2018-05-26  9:57 Mikle Kolyada
2018-05-15 21:58 Patrice Clement
2018-05-08 18:43 Sergei Trofimovich
2018-05-03  7:06 Mart Raudsepp
2018-04-21  9:20 Mikle Kolyada
2018-04-19 22:14 Sergei Trofimovich
2018-04-10 14:48 Michał Górny
2018-04-10 14:48 Michał Górny
2018-04-01 11:09 Tobias Klausmann
2018-03-30 13:32 Aaron Bauman
2018-03-27 22:32 Sergei Trofimovich
2018-03-26 16:14 Michał Górny
2018-03-26 16:14 Michał Górny
2018-03-13 22:18 Michał Górny
2018-03-12 17:49 Michał Górny
2018-03-11 15:56 Michał Górny
2018-01-05  9:43 Michał Górny
2018-01-02  6:19 Michał Górny
2017-11-25 19:55 David Seifert
2017-10-23 21:31 Michał Górny
2017-07-02 21:46 Michał Górny
2017-07-02 18:22 Michał Górny
2017-06-28  8:23 Michał Górny
2017-06-28  8:23 Michał Górny
2017-06-20 13:15 Alexis Ballier
2017-02-18  5:50 Markus Meier
2017-01-16 19:56 Tobias Klausmann
2017-01-14 11:44 Jeroen Roovers
2017-01-08  5:07 Aaron Bauman
2016-08-13 18:32 Michał Górny
2016-04-09 10:16 Michał Górny
2016-03-26 15:55 Michał Górny
2016-03-26 15:54 Michał Górny
2016-03-26 15:54 Michał Górny
2016-02-19 13:41 Michał Górny
2016-01-28 15:37 Ian Delaney
2016-01-28 15:37 Ian Delaney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1493058532.0b268022d974da0406bee30b4e9af6f0f5f6f9ba.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox