public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-mathematics/reduce: ChangeLog reduce-20101007-r1.ebuild reduce-20101007.ebuild
@ 2011-03-29 21:02 Andrey Grozin (grozin)
  0 siblings, 0 replies; only message in thread
From: Andrey Grozin (grozin) @ 2011-03-29 21:02 UTC (permalink / raw
  To: gentoo-commits

grozin      11/03/29 21:02:40

  Modified:             ChangeLog
  Added:                reduce-20101007-r1.ebuild
  Removed:              reduce-20101007.ebuild
  Log:
  QA issues fixed (bug #358383), csl now installed, pdf now installed with USE=doc (not tex files)
  
  (Portage version: 2.2.0_alpha29/cvs/Linux i686)

Revision  Changes    Path
1.2                  sci-mathematics/reduce/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/reduce/ChangeLog?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/reduce/ChangeLog?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/reduce/ChangeLog?r1=1.1&r2=1.2

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/reduce/ChangeLog,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ChangeLog	5 Jan 2011 11:40:19 -0000	1.1
+++ ChangeLog	29 Mar 2011 21:02:40 -0000	1.2
@@ -1,6 +1,13 @@
 # ChangeLog for sci-mathematics/reduce
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/reduce/ChangeLog,v 1.1 2011/01/05 11:40:19 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/reduce/ChangeLog,v 1.2 2011/03/29 21:02:40 grozin Exp $
+
+*reduce-20101007-r1 (29 Mar 2011)
+
+  29 Mar 2011; Andrey Grozin <grozin@gentoo.org> -reduce-20101007.ebuild,
+  +reduce-20101007-r1.ebuild, +files/csl, +files/redcsl, -files/reduce:
+  QA issues fixed (bug #358383), csl now installed, pdf now installed with
+  USE=doc (not tex files)
 
 *reduce-20101007 (05 Jan 2011)
 



1.1                  sci-mathematics/reduce/reduce-20101007-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/reduce/reduce-20101007-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/reduce/reduce-20101007-r1.ebuild?rev=1.1&content-type=text/plain

Index: reduce-20101007-r1.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/reduce/reduce-20101007-r1.ebuild,v 1.1 2011/03/29 21:02:40 grozin Exp $
EAPI="2"
inherit elisp-common
MY_PN=${PN}-algebra
MY_P=${MY_PN}-${PV}

DESCRIPTION="A general-purpose computer algebra system"
HOMEPAGE="http://reduce-algebra.sourceforge.net/
	http://reduce-algebra.com/"
IUSE="doc emacs gnuplot X"
SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.bz2"
LICENSE="BSD-2 X? ( LGPL-2.1 )"
SLOT="0"
KEYWORDS="~x86"

RDEPEND="X? ( x11-libs/libXrandr
		x11-libs/libXcursor
		x11-libs/libXft )
	gnuplot? ( sci-visualization/gnuplot )
	emacs? ( virtual/emacs )"
DEPEND="${RDEPEND}"

S="${WORKDIR}/${MY_P}"

src_configure() {
	# If you pass --prefix to this damn configure,
	# make (not make install!) will try to install stuff
	# into the live file system => sandbox violation
	# Therefore, I cannot use econf here
	# Also, make calls configure in maintainer mode in subdirs *by design*
	# The trunk sucks less => WONTFIX until the next release
	./configure --with-csl $(use_with X fox)
	# psl build requires Internet connection at build time
	# we cannot support it
}

src_compile() {
	emake STRIP=true || die "emake failed"

	pushd cslbuild/*/csl/reduce.doc > /dev/null
	rm -f *.txt *.tex
	popd > /dev/null

	if use emacs; then
		einfo "Compiling emacs lisp files"
		elisp-compile generic/emacs/*.el || die "elisp-compile failed"
	fi
}

src_test() {
	emake testall || die "emake testall failed"
}

src_install() {
	pushd cslbuild/*/csl > /dev/null
	exeinto /usr/lib/${PN}
	doexe reduce csl
	insinto /usr/lib/${PN}
	doins reduce.img csl.img
	doins -r reduce.doc
	if use X; then
		doins -r reduce.fonts
	fi
	popd > /dev/null
	exeinto /usr/bin
	doexe "${FILESDIR}/redcsl" "${FILESDIR}/csl"
	dodoc README BUILDING DEPENDENCY_TRACKING
	dosym /usr/lib/${PN}/${PN}.doc /usr/share/doc/${PF}/html

	if use doc; then
		insinto /usr/share/doc/${PF}
		doins -r doc/util/r38.pdf
	fi

	if use emacs; then
		pushd generic/emacs > /dev/null
		elisp-install ${PN} *.el *.elc || die "elisp-install failed"
		elisp-site-file-install "${FILESDIR}/64${PN}-gentoo.el"
		popd > /dev/null
	fi
}






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

only message in thread, other threads:[~2011-03-29 21:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-29 21:02 [gentoo-commits] gentoo-x86 commit in sci-mathematics/reduce: ChangeLog reduce-20101007-r1.ebuild reduce-20101007.ebuild Andrey Grozin (grozin)

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