aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-misc/salome-yacs')
-rw-r--r--sci-misc/salome-yacs/ChangeLog6
-rw-r--r--sci-misc/salome-yacs/Manifest15
-rw-r--r--sci-misc/salome-yacs/files/salome-yacs-5.1.4-ac_python_devel.patch12
-rw-r--r--sci-misc/salome-yacs/salome-yacs-5.1.4.ebuild103
4 files changed, 125 insertions, 11 deletions
diff --git a/sci-misc/salome-yacs/ChangeLog b/sci-misc/salome-yacs/ChangeLog
index c0180a5ad..e6ba78cec 100644
--- a/sci-misc/salome-yacs/ChangeLog
+++ b/sci-misc/salome-yacs/ChangeLog
@@ -2,6 +2,12 @@
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*salome-yacs-5.1.4 (27 Oct 2010)
+
+ 27 Oct 2010; Thomas Kahle <tomka@gentoo.org> +salome-yacs-5.1.4.ebuild,
+ +files/salome-yacs-5.1.4-ac_python_devel.patch:
+ Bump to 5.1.4, ebuild by Michael Riss in bug 330303
+
29 Jun 2010; Justin Lecher <jlec@gentoo.org> salome-yacs-5.1.3.ebuild:
Python ABI fixes
diff --git a/sci-misc/salome-yacs/Manifest b/sci-misc/salome-yacs/Manifest
index 8043890f4..fda7d4605 100644
--- a/sci-misc/salome-yacs/Manifest
+++ b/sci-misc/salome-yacs/Manifest
@@ -1,17 +1,10 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX salome-yacs-5.1.3-ac_python_devel.patch 1284 RMD160 e595a81ae436cdb03d86acad61a0ab8087712836 SHA1 c8eb83c06ed7c185645aaa256fe6324ab75bf5d7 SHA256 26b49bb12a41174851f4179b9cba4341c7b5d52bda446c0b17eed527cbb2a52b
AUX salome-yacs-5.1.3-lib_location.patch 663 RMD160 6e02098839ad76c09adb995bd71567b7dbe9a770 SHA1 54a16203762e03ad1d96bd4f67cc33c7d66dfd71 SHA256 a21deface225771ce0210506e190b82d69a486e41a417743d82794988188d5d4
AUX salome-yacs-5.1.3-libdir.patch 988 RMD160 db03b310f8ab1a45586fc3a0d597147e359258fe SHA1 0073bba897ff0b59f5d768504432788fc7b5ab59 SHA256 080e5d8b945f275927db499d199b7bd7f3c5fcce28a4878b9f840e26dc745bba
+AUX salome-yacs-5.1.4-ac_python_devel.patch 1122 RMD160 2f2ac878640aa587e709f23c2af98c04a2554a37 SHA1 da8202f19002795765bbff9bf4df8c5f12ec4f54 SHA256 a94f6beef2ae894fa74ef9ce07209860ff242360760aa5d049e56160d087a97d
DIST src5.1.3.tar.gz 106470135 RMD160 f46ac847ab57c76df524ddf358b887662fc862cf SHA1 643c775f90277314983747e002918ee5b826db90 SHA256 78ce2acc9cfa474e030723674f4420c420fd2de926b1939455c3716f1fd48a2b
+DIST src5.1.4.tar.gz 120063320 RMD160 c309cebcc4808071d72b5a335185002d69d1420f SHA1 a8b922424af634bda35269e6049a1262e27fc260 SHA256 dd59384ad4fbbbe49c72e946eed9e0f6144a01c799efab62033113a3db46eeae
EBUILD salome-yacs-5.1.3.ebuild 2765 RMD160 9f1f1949c189915f77b23379822fd2ccb22ec6d3 SHA1 62e71401f9f4a692374d277f4c3cc9ee5a57a694 SHA256 9444dd08b619964938f57adc1b22b9f32c405bcc12da6a7eaea8b67026cb965c
-MISC ChangeLog 654 RMD160 78b2861d4b2075fe367a41efe353f37b5f2389ee SHA1 8094a70d6ae6c2d9c0430ab4ccc49327a1c8ddf4 SHA256 5c738e84b2b0fa77bc4878f07d8852d9e227586361c5b4d3a8f3e57f2b670e06
+EBUILD salome-yacs-5.1.4.ebuild 2765 RMD160 9f1f1949c189915f77b23379822fd2ccb22ec6d3 SHA1 62e71401f9f4a692374d277f4c3cc9ee5a57a694 SHA256 9444dd08b619964938f57adc1b22b9f32c405bcc12da6a7eaea8b67026cb965c
+MISC ChangeLog 867 RMD160 f7c39acb16f5bae1758cd03004df27346c8f21c5 SHA1 ee9f2e3c1fb5c856f8b43162600f67728d7316b1 SHA256 25405070d0822b9b7520e1b79c0891d2139646ab9b11af931ddbc81d5b19a7fa
MISC metadata.xml 157 RMD160 ed43b99e7bf8bbf62cf4e46152138ab42d3a88c5 SHA1 2182a6de0b10959aad51af2990f1a6c69e34dd97 SHA256 750cb9e46ac2b77e1adf73de43c186a8c2d2234a9c6a89d9358d0969dc5cf8ac
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.15 (GNU/Linux)
-
-iEYEARECAAYFAkwqWu0ACgkQgAnW8HDreRYBdQCgyvPykaKPh/9jAFMNmDOPC0Q0
-n8EAn09HQJ94OOs5HwqC37CR/eep+Nbx
-=UOU+
------END PGP SIGNATURE-----
diff --git a/sci-misc/salome-yacs/files/salome-yacs-5.1.4-ac_python_devel.patch b/sci-misc/salome-yacs/files/salome-yacs-5.1.4-ac_python_devel.patch
new file mode 100644
index 000000000..d6ed54d5a
--- /dev/null
+++ b/sci-misc/salome-yacs/files/salome-yacs-5.1.4-ac_python_devel.patch
@@ -0,0 +1,12 @@
+diff -ur src5.1.4.orig/YACS_SRC_5.1.4/adm/unix/config_files/ac_python_devel.m4 src5.1.3/YACS_SRC_5.1.3/adm/unix/config_files/ac_python_devel.m4
+--- src5.1.4.orig/YACS_SRC_5.1.4/adm/unix/config_files/ac_python_devel.m4 2010-03-08 20:51:25.810829226 +0100
++++ src5.1.4/YACS_SRC_5.1.4/adm/unix/config_files/ac_python_devel.m4 2010-03-08 20:53:41.330413913 +0100
+@@ -48,7 +48,7 @@
+ # Check for Python library path
+ AC_MSG_CHECKING([for Python library path])
+ python_path=`echo $PYTHON | sed "s,/bin.*$,,"`
+- for i in "$python_path/lib/python$PYTHON_VERSION/config/" "$python_path/lib/python$PYTHON_VERSION/" "$python_path/lib/python/config/" "$python_path/lib/python/" "$python_path/" ; do
++ for i in "$python_path/lib$LIB_LOCATION_SUFFIX" "$python_path/lib$LIB_LOCATION_SUFFIX/python$PYTHON_VERSION/config/" "$python_path/lib$LIB_LOCATION_SUFFIX/python$PYTHON_VERSION/" "$python_path/lib$LIB_LOCATION_SUFFIX/python/config/" "$python_path/lib$LIB_LOCATION_SUFFIX/python/" "$python_path/" ; do
+ python_path=`find $i -type f -name libpython$PYTHON_VERSION.* -print | sed "1q"`
+ if test -n "$python_path" ; then
+ break
diff --git a/sci-misc/salome-yacs/salome-yacs-5.1.4.ebuild b/sci-misc/salome-yacs/salome-yacs-5.1.4.ebuild
new file mode 100644
index 000000000..46578267f
--- /dev/null
+++ b/sci-misc/salome-yacs/salome-yacs-5.1.4.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+PYTHON_DEPEND="2:2.4"
+
+inherit eutils python
+
+DESCRIPTION="SALOME : The Open Source Integration Platform for Numerical
+Simulation. YACS component"
+HOMEPAGE="http://www.salome-platform.org"
+SRC_URI="http://files.opencascade.com/Salome/Salome${PV}/src${PV}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="debug doc opengl"
+
+RDEPEND="opengl? ( virtual/opengl )
+ debug? ( dev-util/cppunit )
+ >=sci-misc/salome-kernel-${PV}
+ >=sci-misc/salome-gui-${PV}
+ >=dev-python/omniorbpy-3.4
+ >=sci-libs/hdf5-1.6.4
+ >=dev-libs/boost-1.40.0
+ >=x11-libs/qt-core-4.5.2
+ >=x11-libs/qt-gui-4.5.2
+ >=x11-libs/qt-opengl-4.5.2
+ >=dev-python/PyQt4-4.5.4
+ >=x11-libs/qscintilla-2.4
+ >=net-misc/omniORB-4.1.3
+ dev-libs/expat"
+
+DEPEND="${RDEPEND}
+ doc? ( dev-python/sphinx )
+ >=app-doc/doxygen-1.5.6
+ media-gfx/graphviz
+ >=dev-python/docutils-0.4
+ dev-lang/swig
+ dev-libs/libxml2
+ >=dev-python/celementtree-1.0.5
+ >=dev-python/elementtree-1.2.6"
+
+MODULE_NAME="YACS"
+S="${WORKDIR}/src${PV}/${MODULE_NAME}_SRC_${PV}"
+INSTALL_DIR="/opt/salome-${PV}/${MODULE_NAME}"
+
+pkg_setup() {
+ [[ $(python_get_version) > 2.4 ]] && \
+ ewarn "Python 2.4 is highly recommended for Salome..."
+ python_set_active_version 2
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/"${P}"-ac_python_devel.patch
+ if use amd64; then
+ epatch "${FILESDIR}"/"${P}"-lib_location.patch
+ epatch "${FILESDIR}"/"${P}"-libdir.patch
+ fi
+
+ rm -r -f autom4te.cache
+ ./clean_configure
+ ./build_configure
+}
+
+src_configure() {
+ econf --prefix=${INSTALL_DIR} \
+ --datadir=${INSTALL_DIR}/share/salome \
+ --docdir=${INSTALL_DIR}/doc/salome \
+ --libdir=${INSTALL_DIR}/$(get_libdir)/salome \
+ --infodir=${INSTALL_DIR}/share/info \
+ --with-qt4=/usr \
+ --with-qt4-libraries=/usr/$(get_libdir)/qt4 \
+ --with-qsci4-includes=/usr/include/Qsci \
+ $(use_enable debug ) \
+ $(use_enable !debug production ) \
+ $(use_with debug cppunit /usr ) \
+ || die "econf failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ use amd64 && dosym ${INSTALL_DIR}/lib64 ${INSTALL_DIR}/lib
+
+ echo "${MODULE_NAME}_ROOT_DIR=${INSTALL_DIR}" > ./90${P}
+ echo "LDPATH=${INSTALL_DIR}/$(get_libdir)/salome" >> ./90${P}
+ echo "PATH=${INSTALL_DIR}/bin/salome" >> ./90${P}
+ echo "PYTHONPATH=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome" >> ./90${P}
+ doenvd 90${P}
+ rm adm/Makefile
+ insinto "${INSTALL_DIR}"
+ doins -r adm
+
+ use doc && dodoc AUTHORS INSTALL NEWS README
+}
+
+pkg_postinst() {
+ elog "Run \`env-update && source /etc/profile\`"
+ elog "now to set up the correct paths."
+ elog ""
+}