summaryrefslogtreecommitdiff
path: root/app-shells/gentoo-bashcomp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-shells/gentoo-bashcomp
reinit the tree, so we can have metadata
Diffstat (limited to 'app-shells/gentoo-bashcomp')
-rw-r--r--app-shells/gentoo-bashcomp/Manifest10
-rw-r--r--app-shells/gentoo-bashcomp/files/gentoo-bashcomp-20101217-make_globals.patch11
-rw-r--r--app-shells/gentoo-bashcomp/gentoo-bashcomp-20101217-r1.ebuild46
-rw-r--r--app-shells/gentoo-bashcomp/gentoo-bashcomp-20121024.ebuild44
-rw-r--r--app-shells/gentoo-bashcomp/gentoo-bashcomp-20140911.ebuild22
-rw-r--r--app-shells/gentoo-bashcomp/metadata.xml8
6 files changed, 141 insertions, 0 deletions
diff --git a/app-shells/gentoo-bashcomp/Manifest b/app-shells/gentoo-bashcomp/Manifest
new file mode 100644
index 000000000000..669450babbb0
--- /dev/null
+++ b/app-shells/gentoo-bashcomp/Manifest
@@ -0,0 +1,10 @@
+AUX gentoo-bashcomp-20101217-make_globals.patch 312 SHA256 d535e8f15f996639de5c18990bc22a6dde1e3f46ca20211282dd9163f7d182f6 SHA512 52c57defde061ab2c28521a601e840cc6e00f4be3ea438edee7089a9ca98e6c540148c5da51744fd6108742b3d219997c93810bfc6f42ade29629ccb90b09af6 WHIRLPOOL 9d2b784cbb755c672f87cb9e4f0be147c68f933735f7ff77854100e778ec25c070869ff0ce0278eaad45aee059fc89f484fa1f9cf93a9e456a5260fb9cc0de5a
+DIST gentoo-bashcomp-20101217.tar.bz2 23095 SHA256 834e62a9189294f30771fce3fcdeca5fae6fd706c7fd35047f246fb2c0e8cd5a SHA512 29c4802b8f71585b7146e454f44700954de8655aa46dda7046338ed46e1e9835f4ea4141cfd5a813a5f75b6586b030e0e0cbde4c8030ec303f98110fa7a5e316 WHIRLPOOL 1d2c0ea0cd9a4888cc86b05bc9f9c9e9810a7af3c601c000cfc03d1f648cf958308d0d0c09615aec9b1d5b1f550398fca08b6a5b60cbc86d189650d13d2d0987
+DIST gentoo-bashcomp-20121024.tar.bz2 28025 SHA256 e7c23a671fa5fee6647729bfb0f93984fda3a33256cf5a29af6f525f2068c42a SHA512 ca755de801b8ecba6267395930024cbd6eb7f3f78c08de5caff6621bcf99554b68f8d3bb93f517f6a7fe27b08c42c8896910b0b93f8917db6e0172bfd614bacd WHIRLPOOL f4a08409874d9481618392810aa942c489337075d01050da24ee88b0dd41e303fc0b44a7f919034d1ddf543cc2a06c3d1cb46430e356a7f6f910a9874d0144bf
+DIST gentoo-bashcomp-20140911.tar.bz2 30258 SHA256 71d14492f9af8fe53e20bb130884fea36cf4ea643c8854713aa509b8602b7fb3 SHA512 cacd1c3353bce7e67d00758a714829860111932ab7addd0a84a06cae9218ff18aff4ea562e0682ca4db859408ca15817edd81548d54144223ed5016667549f7f WHIRLPOOL fb208cb268efa43dcb5a71a29c96c3ebe3731cbcb2cfa3d10776fa5ede20eadd496eab69d2c448346deaf367b49cca8ae92b77af40ceb4fac725249caffd6def
+EBUILD gentoo-bashcomp-20101217-r1.ebuild 1411 SHA256 e723fd2ec23a2d1eb68c4e8a0c65f5892233869bd9c13d760c445e9d3c822110 SHA512 799fd62b1fba1f8a20ce92b3b754bc13ab709a50a6e28ab19a5469248f6a5ec9543421c2871b2c31a63758a0e3dc07a214dfaa0e0cc6b36517396435497130b7 WHIRLPOOL cd38ef16a6082847fe7096786d3898045584bdf2991996dad936fc582456926f6ccd1bdd04fa0140d0bd2c8b10ed275dd96266f2d50f396bf558d3383301bcbb
+EBUILD gentoo-bashcomp-20121024.ebuild 1312 SHA256 e69370e10075642fec289c5fcc18a3b900919dced7ed79166c70371e2318227a SHA512 231c9d39eb88721cc79286c9c8f15a64e5ece68adadad634967f3e1d2acdd465253e675a7a875b00167984b5fff883b7ad893537f9a546009b7cffad0bfefd3e WHIRLPOOL ce65eccd6e22e2c07b7f4ae39e75e92c5ed635ede439e9005d964e3be5f456a635013165090ceafa6cf5ec6bc07b6f96b06c406f9c9597e0ec386b4430ed19bb
+EBUILD gentoo-bashcomp-20140911.ebuild 752 SHA256 ebf15674a8c2a55bf65f39f20ace67f2fabf278249c5eb42c81b2193988ecb5d SHA512 f0aa4db120aa031d9c98136e22d95fb635dd21cf5343588924c0ed75417f879c635c79fe48873d4edba4899c39b707b5a0b227b035e04ddc7d62ee06a06df5ff WHIRLPOOL 41d1a9fbbbd0d78e98b25508b431973aa3f0c262b8e672cc0ab5a06d3c1f59536027c0a09d0bd5616a366218ed0afc76bef29f6fd2cbda246fcd1164c22bcf75
+MISC ChangeLog 2775 SHA256 c06323f792c19c405f4ac89db2e5a5c227b0ca5301f7d52e84af7a2e7b92f268 SHA512 95dd40bd74a3b2f7ff963e8723440595875e9d29a3889f5133b6339538568d7a095ae42a144cf3e7f5c67ed45fae9f7b1c566abaa7540aec62ebc1f9e8150573 WHIRLPOOL 838b77402e4f5d5c38696ab17ebb7f2efb40ceca6c3c7e047b1e4f8e3fe39457cab79e127da65dbd7debdf9af96752e21c81d0d91f3d8f922da3a570a469da94
+MISC ChangeLog-2015 11726 SHA256 e03312228515a877ce679894f15509f3e17c3db52326f39c1e54909f0ab7481d SHA512 c55a68a66787893fbde4b9baa1ec19b72df277c257e416a36c4c27bbc02a32117a9e347fcdee7cda0094d8c30e8d9cb111ee10aba6bbcc71a083a0bae8552404 WHIRLPOOL 7c935af2abde6bff03445b59042c2a21aba41eaa95660f5b31d229d7c71e41795ca2f722c54f66a94844d1db67e4373fa7a3ab100d54d8e31f4ccc1c95366288
+MISC metadata.xml 265 SHA256 5c4f9426c69dd2191012bf8aae1952f4f6298c1f6ff0ec1e45fe0e05327694e9 SHA512 176f814d8c555e8726f36e012367b698e8a19a0662982621029a7f9190beecc5e6798e43c51698dc149364966cdeff7061121e54fa9d4cf2a3559a6ce4904e25 WHIRLPOOL 2fa84a9f23f48e804ab20a6fabe2707f86227bded2a41d3af30958db5a69bc6276140a7f035a256caeca5a8b8ce1c240383c300a90fc4a83334c178769bc3519
diff --git a/app-shells/gentoo-bashcomp/files/gentoo-bashcomp-20101217-make_globals.patch b/app-shells/gentoo-bashcomp/files/gentoo-bashcomp-20101217-make_globals.patch
new file mode 100644
index 000000000000..ff5262cdabf2
--- /dev/null
+++ b/app-shells/gentoo-bashcomp/files/gentoo-bashcomp-20101217-make_globals.patch
@@ -0,0 +1,11 @@
+--- a/gentoo
++++ b/gentoo
+@@ -21,7 +21,7 @@ have()
+ _portdir()
+ {
+ (
+- source @GENTOO_PORTAGE_EPREFIX@/etc/make.globals 2>/dev/null
++ source @GENTOO_PORTAGE_EPREFIX@/usr/share/portage/config/make.globals 2>/dev/null
+ source @GENTOO_PORTAGE_EPREFIX@/etc/make.conf 2>/dev/null
+
+ echo ${PORTDIR}
diff --git a/app-shells/gentoo-bashcomp/gentoo-bashcomp-20101217-r1.ebuild b/app-shells/gentoo-bashcomp/gentoo-bashcomp-20101217-r1.ebuild
new file mode 100644
index 000000000000..9b9190536b91
--- /dev/null
+++ b/app-shells/gentoo-bashcomp/gentoo-bashcomp-20101217-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit eutils prefix
+
+DESCRIPTION="Gentoo-specific bash command-line completions (emerge, ebuild, equery, etc)"
+HOMEPAGE="https://www.gentoo.org/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2
+ https://dev.gentoo.org/~darkside/tmp/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm 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-completion"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-make_globals.patch" #431034
+ eprefixify gentoo
+}
+
+src_compile() { :; } # There is a useless Makefile in the distfile
+
+src_install() {
+ insinto /usr/share/bash-completion
+ doins gentoo || die "failed to install gentoo module"
+ doins repoman || die "failed to install repoman module"
+ doins layman || die "failed to install layman module"
+ dodoc AUTHORS ChangeLog TODO
+}
+
+pkg_postinst() {
+ # can't use bash-completion.eclass.
+ elog "To enable command-line completion for ${PN}, run:"
+ elog
+ elog " eselect bashcomp enable gentoo"
+ elog
+ elog "to install locally, or"
+ elog
+ elog " eselect bashcomp enable --global gentoo"
+ elog
+ elog "to install system-wide. (and/or repoman instead of gentoo if you use"
+ elog "repoman frequently)"
+}
diff --git a/app-shells/gentoo-bashcomp/gentoo-bashcomp-20121024.ebuild b/app-shells/gentoo-bashcomp/gentoo-bashcomp-20121024.ebuild
new file mode 100644
index 000000000000..6feed7d34c84
--- /dev/null
+++ b/app-shells/gentoo-bashcomp/gentoo-bashcomp-20121024.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit eutils prefix
+
+DESCRIPTION="Gentoo-specific bash command-line completions (emerge, ebuild, equery, etc)"
+HOMEPAGE="https://www.gentoo.org/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+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-completion"
+
+src_prepare() {
+ eprefixify gentoo
+}
+
+src_compile() { :; } # There is a useless Makefile in the distfile
+
+src_install() {
+ insinto /usr/share/bash-completion
+ doins gentoo || die "failed to install gentoo module"
+ doins repoman || die "failed to install repoman module"
+ doins layman || die "failed to install layman module"
+ dodoc AUTHORS ChangeLog TODO
+}
+
+pkg_postinst() {
+ # can't use bash-completion.eclass.
+ elog "To enable command-line completion for ${PN}, run:"
+ elog
+ elog " eselect bashcomp enable gentoo"
+ elog
+ elog "to install locally, or"
+ elog
+ elog " eselect bashcomp enable --global gentoo"
+ elog
+ elog "to install system-wide. (and/or repoman instead of gentoo if you use"
+ elog "repoman frequently)"
+}
diff --git a/app-shells/gentoo-bashcomp/gentoo-bashcomp-20140911.ebuild b/app-shells/gentoo-bashcomp/gentoo-bashcomp-20140911.ebuild
new file mode 100644
index 000000000000..de1290e2a58b
--- /dev/null
+++ b/app-shells/gentoo-bashcomp/gentoo-bashcomp-20140911.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit bash-completion-r1
+
+DESCRIPTION="Gentoo-specific bash command-line completions (emerge, ebuild, equery, etc)"
+HOMEPAGE="https://www.gentoo.org/"
+SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.bz2"
+
+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=""
+
+src_install() {
+ emake DESTDIR="${D}" install \
+ completionsdir="$(get_bashcompdir)" \
+ helpersdir="$(get_bashhelpersdir)" \
+ compatdir="${EPREFIX}/etc/bash_completion.d"
+}
diff --git a/app-shells/gentoo-bashcomp/metadata.xml b/app-shells/gentoo-bashcomp/metadata.xml
new file mode 100644
index 000000000000..3cf14bf74636
--- /dev/null
+++ b/app-shells/gentoo-bashcomp/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+</pkgmetadata>