diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-vcs/git-flow | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-vcs/git-flow')
| -rw-r--r-- | dev-vcs/git-flow/Manifest | 2 | ||||
| -rw-r--r-- | dev-vcs/git-flow/files/git-flow-1.12.3_scriptdir.patch | 72 | ||||
| -rw-r--r-- | dev-vcs/git-flow/git-flow-1.12.3-r2.ebuild | 46 | ||||
| -rw-r--r-- | dev-vcs/git-flow/metadata.xml | 8 |
4 files changed, 128 insertions, 0 deletions
diff --git a/dev-vcs/git-flow/Manifest b/dev-vcs/git-flow/Manifest new file mode 100644 index 000000000000..405258672c71 --- /dev/null +++ b/dev-vcs/git-flow/Manifest @@ -0,0 +1,2 @@ +DIST git-flow-1.12.3.tar.gz 66173 BLAKE2B c6045fda9df8e305ccde8fac844614c840c5361f41848af6bf3394f64ffbbc5b03c20ed966960667d9aba76b0ed105f4caa2a5c0d5eab02a24720bff7b0aea48 SHA512 807cd36de7f5c9b4a7b28101de5ea8cfcbf528ff76578e4914c788b8098c7d3d91f8c19a3274e124ee7f7b4bdb6efdc5de2b74e09f374b71ae685beaa86e3e5a +DIST git-flow-completion-0.6.0.tar.gz 7823 BLAKE2B 24dedfc0cddb5acfa57333895533f5c882a0c85db6e08539ff5c33f984eec40cb06da6d5f0ba812348c9cbf226080875de0269b295791ee5d4c8b2732a1ea1b2 SHA512 1082ad47938ec78045f4cbd12340a82960ba3de204c21a95e1166cb0b86e96dbbc3e5fc8af1945c951d5edd43b4026021761e8377795acbb87af3c1e391cb256 diff --git a/dev-vcs/git-flow/files/git-flow-1.12.3_scriptdir.patch b/dev-vcs/git-flow/files/git-flow-1.12.3_scriptdir.patch new file mode 100644 index 000000000000..34fab234d41e --- /dev/null +++ b/dev-vcs/git-flow/files/git-flow-1.12.3_scriptdir.patch @@ -0,0 +1,72 @@ +Keeps the auxiliary, non-executable script files out of /usr/bin, and +avoids calling uname every time git-flow runs. + +--- a/git-flow ++++ b/git-flow +@@ -41,41 +41,9 @@ + set -x + fi + +-# Setup the GITFLOW_DIR for different operating systems. +-# This is mostly to make sure that we get the correct directory when the +-# git-flow file is a symbolic link +-case $(uname -s) in +-Linux) +- export GITFLOW_DIR=$(dirname "$(readlink -e "$0")") +- ;; +-FreeBSD|OpenBSD|NetBSD) +- export FLAGS_GETOPT_CMD='/usr/local/bin/getopt' +- export GITFLOW_DIR=$(dirname "$(realpath "$0")") +- ;; +-Darwin) +- PRG="$0" +- while [ -h "$PRG" ]; do +- link=$(readlink "$PRG") +- if expr "$link" : '/.*' > /dev/null; then +- PRG="$link" +- else +- PRG="$(dirname "$PRG")/$link" +- fi +- done +- export GITFLOW_DIR=$(dirname "$PRG") +- ;; +-*MINGW*) +- export GITFLOW_DIR=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") +- pwd () { +- builtin pwd -W +- } +- ;; +-*) +- # The sed expression here replaces all backslashes by forward slashes. +- # This helps our Windows users, while not bothering our Unix users.) +- export GITFLOW_DIR=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") +- ;; +-esac ++# Setup GITFLOW_DIR ++GITFLOW_DIR="@PREFIX@/libexec/git-flow" ++export GITFLOW_DIR + + # Extra environment settings + if [ -f ~/.gitflow_export ]; then +--- a/Makefile ++++ b/Makefile +@@ -30,6 +30,7 @@ + + datarootdir=$(prefix)/share + docdir=$(datarootdir)/doc/gitflow ++scriptdir=$(prefix)/libexec/git-flow + # files that need mode 755 + EXEC_FILES=git-flow + +@@ -55,9 +56,10 @@ + + install: + install -d -m 0755 $(prefix)/bin ++ install -d -m 0755 $(scriptdir) + install -d -m 0755 $(docdir)/hooks + install -m 0755 $(EXEC_FILES) $(prefix)/bin +- install -m 0644 $(SCRIPT_FILES) $(prefix)/bin ++ install -m 0644 $(SCRIPT_FILES) $(scriptdir) + install -m 0644 $(HOOK_FILES) $(docdir)/hooks + + uninstall: diff --git a/dev-vcs/git-flow/git-flow-1.12.3-r2.ebuild b/dev-vcs/git-flow/git-flow-1.12.3-r2.ebuild new file mode 100644 index 000000000000..fe3202788ae2 --- /dev/null +++ b/dev-vcs/git-flow/git-flow-1.12.3-r2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 + +MY_PN="${PN/-/}-avh" +COMP_PN="${PN}-completion" +COMP_PV="0.6.0" +COMP_P="${COMP_PN}-${COMP_PV}" + +DESCRIPTION="Git extensions to provide high-level repository operations" +HOMEPAGE="https://github.com/petervanderdoes/gitflow-avh" +SRC_URI="https://github.com/petervanderdoes/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz + https://github.com/petervanderdoes/${COMP_PN}/archive/${COMP_PV}.tar.gz -> ${COMP_P}.tar.gz" + +LICENSE="BSD MIT" +SLOT="0" +KEYWORDS="amd64 ~riscv x86" + +RDEPEND="dev-vcs/git" + +PATCHES=( + "${FILESDIR}"/${PN}-1.12.3_scriptdir.patch +) + +DOCS=( AUTHORS CHANGELOG.md README.md ) + +S="${WORKDIR}"/${MY_PN}-${PV} + +src_prepare() { + default + sed -i "s!doc/gitflow!doc/${PF}!" Makefile || die "Fixing doc path failed" + sed -i "s!@PREFIX@!${EPREFIX}/usr!" git-flow || die "Failed to set prefix in the script" +} + +src_compile() { + true +} + +src_install() { + emake prefix="${ED}"/usr install + einstalldocs + newbashcomp "${WORKDIR}"/${COMP_P}/${COMP_PN}.bash ${PN} +} diff --git a/dev-vcs/git-flow/metadata.xml b/dev-vcs/git-flow/metadata.xml new file mode 100644 index 000000000000..afd05e6b4505 --- /dev/null +++ b/dev-vcs/git-flow/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="github">petervanderdoes/gitflow-avh</remote-id> + </upstream> +</pkgmetadata> |
