pinkbyte    14/12/19 11:46:12

  Modified:             ChangeLog
  Added:                ctemplate-2.3.ebuild
  Log:
  Version bump, wrt bug #532976
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
0x1F357D42)

Revision  Changes    Path
1.31                 dev-cpp/ctemplate/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/ctemplate/ChangeLog?rev=1.31&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/ctemplate/ChangeLog?rev=1.31&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/ctemplate/ChangeLog?r1=1.30&r2=1.31

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-cpp/ctemplate/ChangeLog,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- ChangeLog   19 Dec 2014 09:24:37 -0000      1.30
+++ ChangeLog   19 Dec 2014 11:46:12 -0000      1.31
@@ -1,6 +1,11 @@
 # ChangeLog for dev-cpp/ctemplate
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/ctemplate/ChangeLog,v 1.30 
2014/12/19 09:24:37 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/ctemplate/ChangeLog,v 1.31 
2014/12/19 11:46:12 pinkbyte Exp $
+
+*ctemplate-2.3 (19 Dec 2014)
+
+  19 Dec 2014; Sergey Popov <[email protected]> +ctemplate-2.3.ebuild:
+  Version bump, wrt bug #532976
 
   19 Dec 2014; Sergey Popov <[email protected]> ctemplate-2.2_p129.ebuild:
   Stable on amd64 and x86, wrt bug #529414



1.1                  dev-cpp/ctemplate/ctemplate-2.3.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/ctemplate/ctemplate-2.3.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/ctemplate/ctemplate-2.3.ebuild?rev=1.1&content-type=text/plain

Index: ctemplate-2.3.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/ctemplate/ctemplate-2.3.ebuild,v 1.1 
2014/12/19 11:46:12 pinkbyte Exp $

EAPI="5"

AUTOTOOLS_AUTORECONF=1
AUTOTOOLS_IN_SOURCE_BUILD=1
PYTHON_COMPAT=( python2_7 )
inherit autotools-utils elisp-common python-any-r1

DESCRIPTION="A simple but powerful template language for C++"
HOMEPAGE="http://code.google.com/p/ctemplate/";
SRC_URI="http://dev.gentoo.org/~pinkbyte/distfiles/${P}.tar.bz2";

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
IUSE="doc emacs vim-syntax static-libs test"

DEPEND="test? ( ${PYTHON_DEPS} )"
RDEPEND="vim-syntax? ( >=app-editors/vim-core-7 )
        emacs? ( virtual/emacs )"

DOCS=( AUTHORS ChangeLog NEWS README )

SITEFILE="70ctemplate-gentoo.el"

# Some tests are broken in 2.3
RESTRICT="test"

src_compile() {
        autotools-utils_src_compile

        if use emacs ; then
                elisp-compile contrib/tpl-mode.el || die "elisp-compile failed"
        fi
}

src_install() {
        autotools-utils_src_install

        # Installs just every piece
        rm -rf "${ED}/usr/share/doc"

        use doc && dohtml doc/*

        if use vim-syntax ; then
                cd "${S}/contrib"
                sh highlighting.vim || die "unpacking vim scripts failed"
                insinto /usr/share/vim/vimfiles
                doins -r .vim/*
        fi

        if use emacs ; then
                cd "${S}/contrib"
                elisp-install ${PN} tpl-mode.el tpl-mode.elc || die 
"elisp-install failed"
                elisp-site-file-install "${FILESDIR}/${SITEFILE}"
        fi
}

pkg_postinst() {
        use emacs && elisp-site-regen
}

pkg_postrm() {
        use emacs && elisp-site-regen
}




Reply via email to