diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2009-11-11 16:09:34 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2009-11-11 16:09:34 +0000 |
commit | 530b4fda75f3bd134e3beee6dd1c529af56ffa39 (patch) | |
tree | 90e4ca0c3eef71a799ef229cd7175818469ef9dd /dev-util/stgit | |
parent | stable sparc, bug 287627 (diff) | |
download | gentoo-2-530b4fda75f3bd134e3beee6dd1c529af56ffa39.tar.gz gentoo-2-530b4fda75f3bd134e3beee6dd1c529af56ffa39.tar.bz2 gentoo-2-530b4fda75f3bd134e3beee6dd1c529af56ffa39.zip |
Version bump. Fixes bug 292615
(Portage version: 2.2_rc49/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/stgit')
-rw-r--r-- | dev-util/stgit/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/stgit/stgit-0.15.ebuild | 74 |
2 files changed, 81 insertions, 1 deletions
diff --git a/dev-util/stgit/ChangeLog b/dev-util/stgit/ChangeLog index 1413ffac2174..e1be71ee08cd 100644 --- a/dev-util/stgit/ChangeLog +++ b/dev-util/stgit/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-util/stgit # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/stgit/ChangeLog,v 1.35 2009/08/21 20:32:37 darkside Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/stgit/ChangeLog,v 1.36 2009/11/11 16:09:34 hwoarang Exp $ + +*stgit-0.15 (11 Nov 2009) + + 11 Nov 2009; Markos Chandras <hwoarang@gentoo.org> +stgit-0.15.ebuild: + Version bump. Fixes bug 292615. Thanks to René 'Necoro' Neumann + <gentoo@necoro.eu> for the ebuilds and recommendations 21 Aug 2009; Jeremy Olexa <darkside@gentoo.org> -stgit-0.10.ebuild, -stgit-0.14.1.ebuild: diff --git a/dev-util/stgit/stgit-0.15.ebuild b/dev-util/stgit/stgit-0.15.ebuild new file mode 100644 index 000000000000..b41c75ef62fa --- /dev/null +++ b/dev-util/stgit/stgit-0.15.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/stgit/stgit-0.15.ebuild,v 1.1 2009/11/11 16:09:34 hwoarang Exp $ + +EAPI="2" + +inherit distutils bash-completion + +DESCRIPTION="Manage a stack of patches using GIT as a backend" +HOMEPAGE="http://www.procode.org/stgit/" +SRC_URI="http://download.gna.org/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86" +IUSE="doc" + +RDEPEND=">=dev-util/git-1.6.3.3" + +# NOTE: It seems to be quite important which asciidoc version to use. +# So keep an eye on it for the future. Reference should be the online +# man pages. (As of this writing, they use 8.2.7). +DEPEND="$RDEPEND + doc? ( + =app-text/asciidoc-8.2* + app-text/xmlto + dev-lang/perl + )" + +pkg_setup () { + if ! use doc; then + echo + ewarn "Manpages will not be built and installed." + ewarn "Enable the 'doc' useflag, if you want them." + echo + fi +} + +src_prepare() { + # setup.cfg defaults to ~ ... delete it instead of sed'ing + rm setup.cfg + distutils_src_prepare +} + +src_compile() { + # git throws errors if it cannot write its config file + # thus feed it a dummy one + touch gitconfig + export GIT_CONFIG="${S}/gitconfig" + + # preparation stuff done in the makefile + emake build || die "emake build failed" + + if use doc; then + emake doc || die "emake doc failed" + fi + + # do not call normal 'emake' s.t. Gentoo's Python handling + # can do its work + distutils_src_compile +} + +src_install() { + distutils_src_install + + if use doc; then + # do not use 'emake install-*' as the pathes are wrong + # and fixing them is more work than just using the following + doman Documentation/*.1 || die "doman failed" + dohtml Documentation/*.html || die "dohtml failed" + fi + + dobashcompletion stgit-completion.bash ${PN} +} |