summaryrefslogtreecommitdiff
path: root/dev-vcs/git-flow
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:47:34 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:47:34 -0500
commitdda948891d3731927b821ce31f9d9a2d03ba20c5 (patch)
tree99cd40be4cbb0606260da212cd81b8ab2db9da9b /dev-vcs/git-flow
parenta3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (diff)
downloadbaldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.tar.gz
baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.tar.xz
baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.zip
Adding metadata
Diffstat (limited to 'dev-vcs/git-flow')
-rw-r--r--dev-vcs/git-flow/Manifest2
-rw-r--r--dev-vcs/git-flow/files/git-flow-1.12.3_scriptdir.patch72
-rw-r--r--dev-vcs/git-flow/git-flow-1.12.3-r2.ebuild46
-rw-r--r--dev-vcs/git-flow/metadata.xml5
4 files changed, 125 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..5f33304011d5
--- /dev/null
+++ b/dev-vcs/git-flow/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>