public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-util/coccinelle: ChangeLog coccinelle-0.2.5-r1.ebuild coccinelle-0.2.5.ebuild
@ 2011-05-09 21:14 Sergei Trofimovich (slyfox)
  0 siblings, 0 replies; only message in thread
From: Sergei Trofimovich (slyfox) @ 2011-05-09 21:14 UTC (permalink / raw
  To: gentoo-commits

slyfox      11/05/09 21:14:10

  Modified:             ChangeLog
  Added:                coccinelle-0.2.5-r1.ebuild
  Removed:              coccinelle-0.2.5.ebuild
  Log:
  Fixed missing runtime depend on findlib as found out Jakub Zawadzki in bug #366553. Added USE=ocaml for ocaml scripting support.
  
  (Portage version: 2.1.9.48/cvs/Linux x86_64)

Revision  Changes    Path
1.7                  dev-util/coccinelle/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/coccinelle/ChangeLog?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/coccinelle/ChangeLog?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/coccinelle/ChangeLog?r1=1.6&r2=1.7

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-util/coccinelle/ChangeLog,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ChangeLog	8 May 2011 21:09:48 -0000	1.6
+++ ChangeLog	9 May 2011 21:14:09 -0000	1.7
@@ -1,6 +1,13 @@
 # ChangeLog for dev-util/coccinelle
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/coccinelle/ChangeLog,v 1.6 2011/05/08 21:09:48 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/coccinelle/ChangeLog,v 1.7 2011/05/09 21:14:09 slyfox Exp $
+
+*coccinelle-0.2.5-r1 (09 May 2011)
+
+  09 May 2011; Sergei Trofimovich <slyfox@gentoo.org> -coccinelle-0.2.5.ebuild,
+  +coccinelle-0.2.5-r1.ebuild:
+  Fixed missing runtime depend on findlib as found out Jakub Zawadzki in bug
+  #366553. Added USE=ocaml for ocaml scripting support.
 
 *coccinelle-0.2.5 (08 May 2011)
 



1.1                  dev-util/coccinelle/coccinelle-0.2.5-r1.ebuild

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

Index: coccinelle-0.2.5-r1.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/coccinelle/coccinelle-0.2.5-r1.ebuild,v 1.1 2011/05/09 21:14:09 slyfox Exp $

EAPI="2"

inherit multilib

DESCRIPTION="Program matching and transformation engine"
HOMEPAGE="http://coccinelle.lip6.fr/"
SRC_URI="http://coccinelle.lip6.fr/distrib/${P}.tgz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc +ocamlopt python ocaml"

# ocaml enables ocaml scripting (uses findlib)
RDEPEND="python? ( dev-lang/python )
	>=dev-lang/ocaml-3.10[ocamlopt?]
	ocaml? ( dev-ml/findlib )"

# dev-texlive/texlive-fontsextra contains 'ifsym.sty'
DEPEND="${RDEPEND}
	doc? ( virtual/latex-base
		|| ( dev-texlive/texlive-latexextra app-text/ptex )
		dev-texlive/texlive-fontsextra )"

src_configure() {
	# non-autoconf
	./configure \
		--prefix=/usr \
		$(use ocamlopt || echo "--no-opt") \
		$(use_with python) \
		$(use_with ocaml) \
		|| die
	sed -i "s:^LIBDIR=.*:LIBDIR=/usr/$(get_libdir)/ocaml/stublibs/:" Makefile.config
	sed -i "s:^SHAREDIR=.*:SHAREDIR=/usr/libexec/${PN}/:" Makefile.config
	sed -i "s:^MANDIR=.*:MANDIR=/usr/share/man/:" Makefile.config
}

src_compile() {
	emake depend || die
	emake || die
	if use doc ; then
		VARTEXFONTS="${T}"/fonts emake docs || die
	fi
	if use ocamlopt ; then
		emake opt || die
	fi
}

src_test() {
	source env.sh # needed for built in-place python plugin
	./spatch standard.h -parse_c -dir tests/ || die
	yes | ./spatch -iso_file standard.iso -macro_file_builtins standard.h -testall || die
	if use ocamlopt ; then
		./spatch.opt -iso_file standard.iso -macro_file_builtins standard.h -testall ||	die
	fi
}

src_install() {
	emake DESTDIR="${D}" install || die
	dodoc authors.txt bugs.txt changes.txt credits.txt readme.txt
	use doc && dodoc docs/manual/*.pdf
	export STRIP_MASK='*/coccinelle/spatch'
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-05-09 21:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-09 21:14 [gentoo-commits] gentoo-x86 commit in dev-util/coccinelle: ChangeLog coccinelle-0.2.5-r1.ebuild coccinelle-0.2.5.ebuild Sergei Trofimovich (slyfox)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox