* [gentoo-commits] dev/johu:master commit in: dev-vcs/gitflow/, dev-vcs/gitflow/files/
@ 2014-03-16 22:12 Johannes Huber
0 siblings, 0 replies; only message in thread
From: Johannes Huber @ 2014-03-16 22:12 UTC (permalink / raw
To: gentoo-commits
commit: 90ff18ad624de50c9186f7701ac73f9f345ed672
Author: Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 16 20:28:57 2014 +0000
Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Sun Mar 16 20:28:57 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/johu.git;a=commit;h=90ff18ad
[dev-vcs/gitflow] Initial import, bug #419943
Ebuild by Moritz Schlarb <moschlar <AT> metalabs.de>
Package-Manager: portage-2.2.8-r1
---
dev-vcs/gitflow/Manifest | 2 ++
dev-vcs/gitflow/files/system-shflags.patch | 32 +++++++++++++++++++++
dev-vcs/gitflow/gitflow-0.4.1.ebuild | 45 ++++++++++++++++++++++++++++++
dev-vcs/gitflow/metadata.xml | 8 ++++++
4 files changed, 87 insertions(+)
diff --git a/dev-vcs/gitflow/Manifest b/dev-vcs/gitflow/Manifest
new file mode 100644
index 0000000..7239d15
--- /dev/null
+++ b/dev-vcs/gitflow/Manifest
@@ -0,0 +1,2 @@
+DIST gitflow-0.4.1-completion.tar.gz 3873 SHA256 9b5fd62f8f70bd5eb1fac1298929fd42022cb7dde5df5c0c6a852c085089dc1d SHA512 32ca98362511b29dfc1aea9f2ac69853b70fc13693ac1ff667a9a34a0c3d11b9f5820d1aa4aa23c1d614e4609b7d2e1073b0afbea87992f5ab3eb3e96344b09d WHIRLPOOL 20ce7038138612d12d99e74c5abe052f8c33359c7c51dafcb68ad527895bab6a94a54fcc9f08f6177b74e94920457483dc94e8f54d5f0c3eea18c0110df40eee
+DIST gitflow-0.4.1.tar.gz 16745 SHA256 896fdbf1fecba4e79b666987c95ba2881565255452fd73006a5db526100cbf59 SHA512 fd60d18938e3ee73d1b666e1f213e4707e52bf9b7ed96beb56e4bc7bbebf7204cff0d5430ca89de0ea96c88128486efe9732b21835e1549be7be599288fcfa71 WHIRLPOOL eb1cec4bafbcea3aecaf44598f4732ab677dfcda34d279fc7df9dcd3ca9d33ea0353d5995f1d3ce9e9f22b580ff17e44287e0cedb725b825463214bcf74ef343
diff --git a/dev-vcs/gitflow/files/system-shflags.patch b/dev-vcs/gitflow/files/system-shflags.patch
new file mode 100644
index 0000000..93ecb72
--- /dev/null
+++ b/dev-vcs/gitflow/files/system-shflags.patch
@@ -0,0 +1,32 @@
+diff --git a/Makefile b/Makefile
+index fbbfd2c..b0e2490 100644
+--- a/Makefile
++++ b/Makefile
+@@ -40,14 +40,12 @@ SCRIPT_FILES+=git-flow-release
+ SCRIPT_FILES+=git-flow-support
+ SCRIPT_FILES+=git-flow-version
+ SCRIPT_FILES+=gitflow-common
+-SCRIPT_FILES+=gitflow-shFlags
+
+ all:
+ @echo "usage: make install"
+ @echo " make uninstall"
+
+ install:
+- @test -f gitflow-shFlags || (echo "Run 'git submodule init && git submodule update' first." ; exit 1 )
+ install -d -m 0755 $(prefix)/bin
+ install -m 0755 $(EXEC_FILES) $(prefix)/bin
+ install -m 0644 $(SCRIPT_FILES) $(prefix)/bin
+diff --git a/git-flow b/git-flow
+index 93e9f0f..7b643d3 100755
+--- a/git-flow
++++ b/git-flow
+@@ -78,7 +78,7 @@ main() {
+ export POSIXLY_CORRECT=1
+
+ # use the shFlags project to parse the command line arguments
+- . "$GITFLOW_DIR/gitflow-shFlags"
++ . /usr/share/misc/shflags
+ FLAGS_PARENT="git flow"
+ FLAGS "$@" || exit $?
+ eval set -- "${FLAGS_ARGV}"
diff --git a/dev-vcs/gitflow/gitflow-0.4.1.ebuild b/dev-vcs/gitflow/gitflow-0.4.1.ebuild
new file mode 100644
index 0000000..020cfc8
--- /dev/null
+++ b/dev-vcs/gitflow/gitflow-0.4.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit eutils bash-completion-r1
+
+DESCRIPTION="Git extensions to provide high-level repository operations for Vincent Driessen's branching model."
+HOMEPAGE="https://github.com/nvie/gitflow"
+SRC_URI="https://github.com/nvie/gitflow/tarball/0.4.1 -> ${P}.tar.gz
+ bash-completion? ( https://github.com/bobthecow/git-flow-completion/tarball/0.4.1.0 -> ${P}-completion.tar.gz )"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="bash-completion"
+
+DEPEND="dev-util/shflags"
+RDEPEND="${DEPEND}
+ dev-vcs/git[bash-completion?]"
+
+S="${WORKDIR}/nvie-gitflow-5b26edc"
+
+src_prepare() {
+ epatch "${FILESDIR}/system-shflags.patch"
+}
+
+src_compile() {
+ true
+}
+
+src_install() {
+ emake prefix="${D}" install
+ if use bash-completion; then
+ newbashcomp "${WORKDIR}/bobthecow-git-flow-completion-b399150/git-flow-completion.bash" git-flow
+ fi
+}
+
+pkg_postinst() {
+ if use bash-completion; then
+ elog "Use eselect to activate the bash-completion module:"
+ elog " git-flow"
+ fi
+}
diff --git a/dev-vcs/gitflow/metadata.xml b/dev-vcs/gitflow/metadata.xml
new file mode 100644
index 0000000..4a53d48
--- /dev/null
+++ b/dev-vcs/gitflow/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>
+ <email>johu@gentoo.org</email>
+ <name>Johannes Huber</name>
+ </maintainer>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-03-16 22:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-16 22:12 [gentoo-commits] dev/johu:master commit in: dev-vcs/gitflow/, dev-vcs/gitflow/files/ Johannes Huber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox