aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEtienne Lorriaux <etienne.lorriaux@gmail.com>2010-04-05 01:03:18 +0200
committerEtienne Lorriaux <etienne.lorriaux@gmail.com>2010-04-05 01:03:18 +0200
commit4423c859702d6ae0ccb3140e3027979ba0430829 (patch)
treec23d071e80d3f0bf3c59ae217230d7c3b4ccb30e /sci-misc/salome-yacs
parentChanged DEPEND of media-libs/SoQt from 1.4.2_alpha4181 to 1.4.2_alpha1841 (diff)
downloadsci-4423c859702d6ae0ccb3140e3027979ba0430829.tar.gz
sci-4423c859702d6ae0ccb3140e3027979ba0430829.tar.bz2
sci-4423c859702d6ae0ccb3140e3027979ba0430829.zip
sci-misc/salome-*: changed fetch URL + cleaning (thanks Oliver), new
patch + modifs to (partially) solve med_int issues on amd64
Diffstat (limited to 'sci-misc/salome-yacs')
-rw-r--r--sci-misc/salome-yacs/ChangeLog4
-rw-r--r--sci-misc/salome-yacs/Manifest4
-rw-r--r--sci-misc/salome-yacs/salome-yacs-5.1.3.ebuild24
3 files changed, 11 insertions, 21 deletions
diff --git a/sci-misc/salome-yacs/ChangeLog b/sci-misc/salome-yacs/ChangeLog
index d1470415b..9da5d85c4 100644
--- a/sci-misc/salome-yacs/ChangeLog
+++ b/sci-misc/salome-yacs/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 04 Apr 2010; Etienne Lorriaux <etienne.lorriaux@gmail.com>
+ salome-yacs-5.1.3.ebuild:
+ changed fetch URL + cleaning
+
*salome-yacs-5.1.3 (14 Mar 2010)
14 Mar 2010; Etienne Lorriaux <etienne.lorriaux@gmail.com>
diff --git a/sci-misc/salome-yacs/Manifest b/sci-misc/salome-yacs/Manifest
index 1e21968dc..b8ff2c8b3 100644
--- a/sci-misc/salome-yacs/Manifest
+++ b/sci-misc/salome-yacs/Manifest
@@ -2,6 +2,6 @@ AUX salome-yacs-5.1.3-ac_python_devel.patch 1284 RMD160 e595a81ae436cdb03d86acad
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
DIST src5.1.3.tar.gz 106470135 RMD160 f46ac847ab57c76df524ddf358b887662fc862cf SHA1 643c775f90277314983747e002918ee5b826db90 SHA256 78ce2acc9cfa474e030723674f4420c420fd2de926b1939455c3716f1fd48a2b
-EBUILD salome-yacs-5.1.3.ebuild 2866 RMD160 c672a465726c8d359e9487f13b412e40cf9a95f5 SHA1 02b8d0d2224d8f3074dd740f1d807977a2e14f2c SHA256 b4bcd57ca62cd71e7a99c030ac70faae97d4fa7db39dcb3fa0edad9acdef3819
-MISC ChangeLog 440 RMD160 25bfd70c64d7166dbfb077b8f8aedebfd4ddc272 SHA1 3319b1130823de86b0327366f527dee29e6b9416 SHA256 18f099554946fd7a79880752820d808f97bd4f658be37b8936c9515adf170bd1
+EBUILD salome-yacs-5.1.3.ebuild 2736 RMD160 d795f6bd8a0d44624098c6dc93034d6532c1a726 SHA1 12c42fca1dbbfe078192673cb0ba8b8205f7efd4 SHA256 75a55e020697f36172a40f5faa61e74c40e8e3d4aa9c8c89aa77290f70f60a86
+MISC ChangeLog 561 RMD160 b9a41a9622dc89c4e090b34c859b3ae3f438e7e4 SHA1 afd0ee746811c951c5b93ae6e458f13baca41c19 SHA256 ab26c2ee982bc523c4a6f771cacc5e362cffcacc4dc5081a7fee87638f8e4a56
MISC metadata.xml 157 RMD160 ed43b99e7bf8bbf62cf4e46152138ab42d3a88c5 SHA1 2182a6de0b10959aad51af2990f1a6c69e34dd97 SHA256 750cb9e46ac2b77e1adf73de43c186a8c2d2234a9c6a89d9358d0969dc5cf8ac
diff --git a/sci-misc/salome-yacs/salome-yacs-5.1.3.ebuild b/sci-misc/salome-yacs/salome-yacs-5.1.3.ebuild
index 4081d6457..47ea1024b 100644
--- a/sci-misc/salome-yacs/salome-yacs-5.1.3.ebuild
+++ b/sci-misc/salome-yacs/salome-yacs-5.1.3.ebuild
@@ -5,12 +5,12 @@
EAPI=2
PYTHON_DEPEND="2:2.4"
-inherit distutils eutils
+inherit eutils python
DESCRIPTION="SALOME : The Open Source Integration Platform for Numerical
Simulation. YACS component"
HOMEPAGE="http://www.salome-platform.org"
-SRC_URI="http://www.stasyan.com/devel/distfiles/src${PV}.tar.gz"
+SRC_URI="http://files.opencascade.com/Salome/Salome${PV}/src${PV}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
@@ -43,19 +43,15 @@ DEPEND="${RDEPEND}
>=dev-python/elementtree-1.2.6"
MODULE_NAME="YACS"
-MY_S="${WORKDIR}/src${PV}/${MODULE_NAME}_SRC_${PV}"
+S="${WORKDIR}/src${PV}/${MODULE_NAME}_SRC_${PV}"
INSTALL_DIR="/opt/salome-${PV}/${MODULE_NAME}"
-export OPENPBS="/usr"
pkg_setup() {
- PYVER=$(python_get_version)
- [[ ${PYVER} > 2.4 ]] && \
+ [[ $(python_get_version) > 2.4 ]] && \
ewarn "Python 2.4 is highly recommended for Salome..."
}
src_prepare() {
- cd "${MY_S}"
-
epatch "${FILESDIR}"/"${P}"-ac_python_devel.patch
if use amd64; then
epatch "${FILESDIR}"/"${P}"-lib_location.patch
@@ -68,8 +64,6 @@ src_prepare() {
}
src_configure() {
- cd "${MY_S}"
-
econf --prefix=${INSTALL_DIR} \
--datadir=${INSTALL_DIR}/share/salome \
--docdir=${INSTALL_DIR}/doc/salome \
@@ -84,15 +78,7 @@ src_configure() {
|| die "econf failed"
}
-src_compile() {
- cd "${MY_S}"
-
- emake || die "emake failed"
-}
-
src_install() {
- cd "${MY_S}"
-
emake DESTDIR="${D}" install || die "emake install failed"
use amd64 && dosym ${INSTALL_DIR}/lib64 ${INSTALL_DIR}/lib
@@ -100,7 +86,7 @@ src_install() {
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${PYVER}/site-packages/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}"