* [gentoo-commits] gentoo-x86 commit in sci-visualization/mayavi: ChangeLog mayavi-4.1.0-r1.ebuild mayavi-4.2.0.ebuild mayavi-4.1.0.ebuild
@ 2012-12-06 15:45 Justin Lecher (jlec)
0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2012-12-06 15:45 UTC (permalink / raw
To: gentoo-commits
jlec 12/12/06 15:45:21
Modified: ChangeLog mayavi-4.1.0-r1.ebuild
Added: mayavi-4.2.0.ebuild
Removed: mayavi-4.1.0.ebuild
Log:
sci-visualization/mayavi: Drop old; restrict tests as they are broken, #422951; only build docs with USE=doc and only once, #445782; Version Bump; Add missing Deps
(Portage version: 2.2.0_alpha144/cvs/Linux x86_64, signed Manifest commit with key 70EB7916)
Revision Changes Path
1.29 sci-visualization/mayavi/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/mayavi/ChangeLog?rev=1.29&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/mayavi/ChangeLog?rev=1.29&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/mayavi/ChangeLog?r1=1.28&r2=1.29
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/ChangeLog,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- ChangeLog 5 Mar 2012 10:53:03 -0000 1.28
+++ ChangeLog 6 Dec 2012 15:45:21 -0000 1.29
@@ -1,6 +1,13 @@
# ChangeLog for sci-visualization/mayavi
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/ChangeLog,v 1.28 2012/03/05 10:53:03 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/ChangeLog,v 1.29 2012/12/06 15:45:21 jlec Exp $
+
+*mayavi-4.2.0 (06 Dec 2012)
+
+ 06 Dec 2012; Justin Lecher <jlec@gentoo.org> -mayavi-4.1.0.ebuild,
+ mayavi-4.1.0-r1.ebuild, +mayavi-4.2.0.ebuild, +files/mayavi-4.2.0-doc.patch:
+ Drop old; restrict tests as they are broken, #422951; only build docs with
+ USE=doc and only once, #445782; Version Bump; Add missing Deps
05 Mar 2012; Justin Lecher <jlec@gentoo.org> mayavi-4.1.0.ebuild,
mayavi-4.1.0-r1.ebuild:
1.4 sci-visualization/mayavi/mayavi-4.1.0-r1.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/mayavi/mayavi-4.1.0-r1.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/mayavi/mayavi-4.1.0-r1.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/mayavi/mayavi-4.1.0-r1.ebuild?r1=1.3&r2=1.4
Index: mayavi-4.1.0-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/mayavi-4.1.0-r1.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- mayavi-4.1.0-r1.ebuild 5 Mar 2012 10:53:03 -0000 1.3
+++ mayavi-4.1.0-r1.ebuild 6 Dec 2012 15:45:21 -0000 1.4
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/mayavi-4.1.0-r1.ebuild,v 1.3 2012/03/05 10:53:03 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/mayavi-4.1.0-r1.ebuild,v 1.4 2012/12/06 15:45:21 jlec Exp $
EAPI=4
@@ -31,8 +31,10 @@
DEPEND="
${CDEPEND}
dev-python/setuptools
+ doc? ( dev-python/sphinx )
test? (
${RDEPEND}
+ dev-python/nose
dev-python/wxpython[opengl]
media-fonts/font-cursor-misc
media-fonts/font-misc-misc
@@ -40,6 +42,11 @@
DOCS="docs/*.txt"
+# Its broken, run
+# mayavi2 --test
+# instead
+RESTRICT="test"
+
pkg_setup() {
python_set_active_version 2
python_pkg_setup
@@ -56,10 +63,6 @@
use doc && virtualmake -C docs html
}
-src_test() {
- VIRTUALX_COMMAND="distutils_src_test" virtualmake
-}
-
src_install() {
find -name "*LICENSE*.txt" -delete
distutils_src_install
@@ -72,5 +75,6 @@
fi
newicon mayavi/core/ui/images/m2.png mayavi2.png
- make_desktop_entry mayavi2 "Mayavi2 2D/3D Scientific Visualization" mayavi2
+ make_desktop_entry ${PN}2 \
+ "Mayavi2 2D/3D Scientific Visualization" ${PN}2
}
1.1 sci-visualization/mayavi/mayavi-4.2.0.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/mayavi/mayavi-4.2.0.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/mayavi/mayavi-4.2.0.ebuild?rev=1.1&content-type=text/plain
Index: mayavi-4.2.0.ebuild
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/mayavi-4.2.0.ebuild,v 1.1 2012/12/06 15:45:21 jlec Exp $
EAPI=4
RESTRICT_PYTHON_ABIS="3.* *-jython"
DISTUTILS_SRC_TEST="nosetests"
inherit distutils eutils virtualx
DESCRIPTION="Enthought Tool Suite: Scientific data 3-dimensional visualizer"
HOMEPAGE="
http://code.enthought.com/projects/mayavi/
http://pypi.python.org/pypi/mayavi/"
SRC_URI="http://www.enthought.com/repo/ets/${P}.tar.gz"
LICENSE="BSD"
SLOT="2"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples test"
RDEPEND="
dev-python/apptools
dev-python/configobj
dev-python/envisage
dev-python/ipython
dev-python/numpy
dev-python/pyface
dev-python/traitsui
dev-python/wxpython"
CDEPEND="sci-libs/vtk[python]"
DEPEND="
${CDEPEND}
dev-python/setuptools
doc? ( dev-python/sphinx )
test? (
${RDEPEND}
dev-python/nose
dev-python/wxpython[opengl]
media-fonts/font-cursor-misc
media-fonts/font-misc-misc
)"
DOCS="docs/*.txt"
# Its broken, run
# mayavi2 --test
# instead
RESTRICT="test"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
epatch "${FILESDIR}"/${P}-doc.patch
distutils_src_prepare
}
src_compile() {
distutils_src_compile
if use doc; then
$(PYTHON) setup.py gen_docs || die
$(PYTHON) setup.py build_docs || die
fi
}
src_install() {
find . -name "*LICENSE*.txt" -delete || die
distutils_src_install
use doc && dohtml -r docs/build/mayavi/html/*
if use examples; then
insinto /usr/share/doc/${PF}
doins -r examples
fi
newicon mayavi/core/ui/images/m2.png mayavi2.png
make_desktop_entry ${PN}2 \
"Mayavi2 2D/3D Scientific Visualization" ${PN}2
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-12-06 15:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-06 15:45 [gentoo-commits] gentoo-x86 commit in sci-visualization/mayavi: ChangeLog mayavi-4.1.0-r1.ebuild mayavi-4.2.0.ebuild mayavi-4.1.0.ebuild Justin Lecher (jlec)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox