dlan        14/05/10 20:01:09

  Modified:             ChangeLog
  Added:                stgit-0.17.1-r1.ebuild
  Removed:              stgit-0.17.1.ebuild
  Log:
  pull in a few upstream patches, minor update
  
  (Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key 
0xAABEFD55)

Revision  Changes    Path
1.22                 dev-vcs/stgit/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/stgit/ChangeLog?rev=1.22&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/stgit/ChangeLog?rev=1.22&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/stgit/ChangeLog?r1=1.21&r2=1.22

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-vcs/stgit/ChangeLog,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- ChangeLog   25 Mar 2014 17:35:55 -0000      1.21
+++ ChangeLog   10 May 2014 20:01:09 -0000      1.22
@@ -1,6 +1,12 @@
 # ChangeLog for dev-vcs/stgit
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/stgit/ChangeLog,v 1.21 2014/03/25 
17:35:55 dlan Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/stgit/ChangeLog,v 1.22 2014/05/10 
20:01:09 dlan Exp $
+
+*stgit-0.17.1-r1 (10 May 2014)
+
+  10 May 2014; Yixun Lan <d...@gentoo.org> -stgit-0.17.1.ebuild,
+  +stgit-0.17.1-r1.ebuild:
+  pull in a few upstream patches
 
 *stgit-0.17.1 (25 Mar 2014)
 



1.1                  dev-vcs/stgit/stgit-0.17.1-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/stgit/stgit-0.17.1-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/stgit/stgit-0.17.1-r1.ebuild?rev=1.1&content-type=text/plain

Index: stgit-0.17.1-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/stgit/stgit-0.17.1-r1.ebuild,v 1.1 
2014/05/10 20:01:09 dlan Exp $

EAPI="5"

PYTHON_COMPAT=( python2_7 )

inherit bash-completion-r1 distutils-r1

DESCRIPTION="Manage a stack of patches using GIT as a backend"
HOMEPAGE="http://www.procode.org/stgit/";
UPSTREAM_VER=0
[[ -n ${UPSTREAM_VER} ]] && \
        
UPSTREAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz";

SRC_URI="http://download.gna.org/${PN}/${P}.tar.gz
        ${UPSTREAM_PATCHSET_URI}"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc"

RDEPEND=">=dev-vcs/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.
DEPEND="${RDEPEND}
        doc? (
                app-text/asciidoc
                app-text/xmlto
                dev-lang/perl
        )"

PATCHES=(
        "${FILESDIR}/${PN}-0.16-man-linkfix.patch"
)

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
}

python_prepare_all() {
        # Upstream's patchset
        if [[ -n ${UPSTREAM_VER} ]]; then
                EPATCH_SUFFIX="patch" \
                EPATCH_FORCE="yes" \
                        epatch "${WORKDIR}"/patches-upstream
        fi

        # this will be a noop, as we are working with a tarball,
        # but throws git errors --> just get rid of it
        sed -i -e 's/version\.write_builtin_version()//' setup.py || die

        distutils-r1_python_prepare_all
}

python_compile_all() {
        if use doc; then
                emake DESTDIR="${D}" \
                        htmldir="${EPREFIX}/usr/share/doc/${PF}/html/" \
                        mandir="${EPREFIX}/usr/share/man/" \
                        doc
        fi
}

python_install_all() {
        if use doc; then
                emake DESTDIR="${D}" \
                        htmldir="${EPREFIX}/usr/share/doc/${PF}/html/" \
                        mandir="${EPREFIX}/usr/share/man/" \
                        install-doc install-html
        fi

        distutils-r1_python_install_all

        newbashcomp stgit-completion.bash ${PN}
}




Reply via email to