Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 516344 Details for
Bug 597768
new package: sci-libs/libmed (3.3.1)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
libmed-3.2.1.ebuild
libmed-3.2.1.ebuild (text/plain), 2.16 KB, created by
Fabio Rossi
on 2018-01-24 13:27:10 UTC
(
hide
)
Description:
libmed-3.2.1.ebuild
Filename:
MIME Type:
Creator:
Fabio Rossi
Created:
2018-01-24 13:27:10 UTC
Size:
2.16 KB
patch
obsolete
># Copyright 1999-2017 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >EAPI=6 > >FORTRAN_NEEDED=fortran ># NOTE:The build for multiple python versions should be possible but complecated for the build system >PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) > >inherit eutils toolchain-funcs fortran-2 python-single-r1 cmake-utils > >MY_P="med-${PV}" > >DESCRIPTION="A library to store and exchange meshed data or computation results" >HOMEPAGE="http://www.salome-platform.org/" >SRC_URI="http://files.salome-platform.org/Salome/other/${MY_P}.tar.gz" > >LICENSE="GPL-3 LGPL-3" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="doc fortran python static-libs test" > >REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" >RDEPEND=" > =sci-libs/hdf5-1.8*[fortran=] > sys-cluster/openmpi[fortran=] > python? ( ${PYTHON_DEPS} ) >" >DEPEND="${RDEPEND} > python? ( >=dev-lang/swig-2.0.9:0 ) >" > >S=${WORKDIR}/${MY_P}_SRC > >PATCHES=( > "${FILESDIR}/${P}-cmake-fortran.patch" > "${FILESDIR}/${P}-disable-python-compile.patch" >) > >DOCS=( AUTHORS COPYING COPYING.LESSER ChangeLog NEWS README TODO ) > >pkg_setup() { > use python && python-single-r1_pkg_setup > use fortran && fortran-2_pkg_setup >} > >src_prepare() { > # fixes for correct libdir name > sed -i -e "s@SET(_install_dir lib/python@SET(_install_dir $(get_libdir)/python@" \ > ./python/CMakeLists.txt || die "sed failed" > for cm in ./src/CMakeLists.txt ./tools/medimport/CMakeLists.txt > do > sed -i -e "s@INSTALL(TARGETS \(.*\) DESTINATION lib)@INSTALL(TARGETS \1 DESTINATION $(get_libdir))@" \ > "${cm}" || die "sed on ${cm} failed" > done > > cmake-utils_src_prepare >} > >src_configure() { > local mycmakeargs=( > -DMEDFILE_BUILD_FORTRAN="$(usex fortran)" > -DMEDFILE_BUILD_STATIC_LIBS="$(usex static-libs)" > -DMEDFILE_INSTALL_DOC="$(usex doc)" > -DMEDFILE_BUILD_PYTHON="$(usex python)" > -DMEDFILE_BUILD_TESTS="$(usex test)" > ) > > cmake-utils_src_configure >} > >src_install() { > cmake-utils_src_install > > # the optimization done in CMakeLists.txt has been disabled so > # we need to do it manually > python_optimize > > # Remove documentation > ! use doc && rm -rf "${D}/usr/share/doc" > > # Prevent test executables being installed > use test && rm -rf "${D}/usr/bin/"{testc,testf,usescases} >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 597768
:
450984
|
450986
|
450988
|
450990
|
496624
|
496626
|
496628
|
516340
|
516342
|
516344
|
530768
|
530770
|
530772
|
541820
|
541822
|
541824
|
541826
|
541828
|
541830
|
541832
|
541834
|
541952
|
542064
|
562970
|
562972
|
562974
|
562976