summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2013-06-08 09:30:16 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2013-06-08 09:30:16 +0000
commit8872c838870411e07501c08a1760b8b402cabf21 (patch)
tree5ad2ea1a45ddcec4de6719a906e82095dcf2887e /dev-util/quilt
parentAdd ~arm keyword (diff)
downloadgentoo-2-8872c838870411e07501c08a1760b8b402cabf21.tar.gz
gentoo-2-8872c838870411e07501c08a1760b8b402cabf21.tar.bz2
gentoo-2-8872c838870411e07501c08a1760b8b402cabf21.zip
Add live ebuild for quilt for work on opensuse. Add suse herd to help with this package, as we need it.
(Portage version: 2.2.0_alpha178/cvs/Linux x86_64, signed Manifest commit with key 8EEE3BE8)
Diffstat (limited to 'dev-util/quilt')
-rw-r--r--dev-util/quilt/ChangeLog4
-rw-r--r--dev-util/quilt/metadata.xml1
-rw-r--r--dev-util/quilt/quilt-0.48.ebuild59
-rw-r--r--dev-util/quilt/quilt-9999.ebuild60
4 files changed, 63 insertions, 61 deletions
diff --git a/dev-util/quilt/ChangeLog b/dev-util/quilt/ChangeLog
index 8b41d37bdec3..412f06daa1bc 100644
--- a/dev-util/quilt/ChangeLog
+++ b/dev-util/quilt/ChangeLog
@@ -1,6 +1,6 @@
# ChangeLog for dev-util/quilt
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/quilt/ChangeLog,v 1.58 2012/04/01 17:15:59 armin76 Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/quilt/ChangeLog,v 1.59 2013/06/08 09:30:16 scarabeus Exp $
01 Apr 2012; Raúl Porcel <armin76@gentoo.org> quilt-0.50.ebuild:
sparc stable wrt #408755
diff --git a/dev-util/quilt/metadata.xml b/dev-util/quilt/metadata.xml
index 7d5dd4e74936..76c91f263895 100644
--- a/dev-util/quilt/metadata.xml
+++ b/dev-util/quilt/metadata.xml
@@ -2,6 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>dev-tools</herd>
+ <herd>suse</herd>
<maintainer>
<email>mpagano@gentoo.org</email>
</maintainer>
diff --git a/dev-util/quilt/quilt-0.48.ebuild b/dev-util/quilt/quilt-0.48.ebuild
deleted file mode 100644
index e6e95ee3ce59..000000000000
--- a/dev-util/quilt/quilt-0.48.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/quilt/quilt-0.48.ebuild,v 1.7 2011/01/04 01:29:30 xmw Exp $
-
-inherit bash-completion eutils
-
-DESCRIPTION="quilt patch manager"
-HOMEPAGE="http://savannah.nongnu.org/projects/quilt"
-SRC_URI="http://savannah.nongnu.org/download/quilt/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm ppc ppc64 sparc x86"
-IUSE="emacs graphviz"
-
-RDEPEND="sys-apps/ed
- dev-util/diffstat
- graphviz? ( media-gfx/graphviz )
- || ( >=sys-apps/coreutils-6.10-r1 sys-apps/mktemp )"
-
-PDEPEND="emacs? ( app-emacs/quilt-el )"
-
-pkg_setup() {
- use graphviz && return 0
- echo
- elog "If you intend to use the folding functionality (graphical illustration of the"
- elog "patch stack) then you'll need to remerge this package with USE=graphviz."
- echo
- epause 5
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # Add support for USE=graphviz
- use graphviz || epatch "${FILESDIR}/${P}-no-graphviz.patch"
-
- # Some tests are somewhat broken while being run from within portage, work
- # fine if you run them manually
- rm "${S}"/test/delete.test "${S}"/test/mail.test
-}
-
-src_install() {
- emake BUILD_ROOT="${D}" install || die "make install failed"
-
- rm -rf "${D}"/usr/share/doc/${P}
- dodoc AUTHORS TODO quilt.changes doc/README doc/README.MAIL \
- doc/quilt.pdf
-
- rm -rf "${D}"/etc/bash_completion.d
- dobashcompletion bash_completion
-
- # Remove the compat symlinks
- rm -rf "${D}"/usr/share/quilt/compat
-
- # Remove Emacs mode; newer version is in app-emacs/quilt-el, bug 247500
- rm -rf "${D}"/usr/share/emacs
-}
diff --git a/dev-util/quilt/quilt-9999.ebuild b/dev-util/quilt/quilt-9999.ebuild
new file mode 100644
index 000000000000..d190c85c55f9
--- /dev/null
+++ b/dev-util/quilt/quilt-9999.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/quilt/quilt-9999.ebuild,v 1.1 2013/06/08 09:30:16 scarabeus Exp $
+
+EAPI=5
+
+EGIT_REPO_URI="git://git.sv.gnu.org/quilt.git"
+
+[[ ${PV} == 9999 ]] && inherit git-2
+
+inherit bash-completion-r1 eutils
+
+DESCRIPTION="quilt patch manager"
+HOMEPAGE="http://savannah.nongnu.org/projects/quilt"
+[[ ${PV} == 9999 ]] || SRC_URI="http://savannah.nongnu.org/download/quilt/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+[[ ${PV} == 9999 ]] || \
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
+IUSE="graphviz"
+
+RDEPEND="
+ dev-util/diffstat
+ mail-mta/sendmail
+ sys-apps/ed
+ >=sys-apps/coreutils-8.5
+ graphviz? ( media-gfx/graphviz )
+"
+
+src_prepare() {
+ # Add support for USE=graphviz
+ use graphviz || epatch "${FILESDIR}/${PN}-0.60-no-graphviz.patch"
+
+ # remove failing test, because it fails on root-build
+ rm -rf test/delete.test
+}
+
+src_install() {
+ emake BUILD_ROOT="${ED}" install
+
+ rm -rf "${ED}"/usr/share/doc/${P}
+ dodoc AUTHORS TODO quilt.changes doc/README doc/README.MAIL \
+ doc/quilt.pdf
+
+ rm -rf "${ED}"/etc/bash_completion.d
+ newbashcomp bash_completion ${PN}
+
+ # Remove the compat symlinks
+ rm -rf "${ED}"/usr/share/quilt/compat
+
+ # Remove Emacs mode; newer version is in app-emacs/quilt-el, bug 247500
+ rm -rf "${ED}"/usr/share/emacs
+}
+
+pkg_postinst() {
+ if ! has_version app-emacs/quilt-el ; then
+ elog "If you plan to use quilt with emacs consider installing \"app-emacs/quilt-el\""
+ fi
+}