Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 174722 Details for
Bug 250401
[science overlay] sci-chemistry/rosetta (new package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
rosetta++ ebuild as a plain text file
rosetta-2.3.0.ebuild (text/plain), 4.95 KB, created by
Hugo Mildenberger
on 2008-12-09 15:25:33 UTC
(
hide
)
Description:
rosetta++ ebuild as a plain text file
Filename:
MIME Type:
Creator:
Hugo Mildenberger
Created:
2008-12-09 15:25:33 UTC
Size:
4.95 KB
patch
obsolete
># Copyright 1999-2008 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils > >EAPI="2" >DESCRIPTION="Prediction and design of protein structures, folding mechanisms, and protein-protein interactions" >HOMEPAGE="http://www.rosettacommons.org/" >SRC_URI="rosetta++_srouce-${PV}.tgz" >RESTRICT="fetch test" >LICENSE="rosetta" >SLOT="0" >KEYWORDS="~x86" >IUSE="boinc opengl mpi debug doc icc profile test" >RDEPEND=" mpi? ( virtual/mpi ) > boinc? ( sci-misc/boinc ) " >DEPEND="${RDEPEND} > >=dev-util/scons-0.96.1 > doc? ( app-doc/doxygen ) > icc? ( dev-lang/icc ) > test? ( dev-libs/boost )" >S="${WORKDIR}/rosetta++" >MYCONF="" > >pkg_nofetch() { > einfo "Please fill out the registration form at " > einfo " 'http://www.uwopendoor.org/LicenseSoftware.asp?softwareid=17'," > einfo "download the file ${A} manually and place it into ${DISTDIR}" >} > >src_prepare() { > > epatch "${FILESDIR}/rosetta-elliptic-msd.patch" > epatch "${FILESDIR}/rosetta-gl-graphics.patch" > epatch "${FILESDIR}/rosetta-setup-platforms.patch" > epatch "${FILESDIR}/rosetta-options-settings.patch" > epatch "${FILESDIR}/rosetta-FileName-cc-ostream.patch" > epatch "${FILESDIR}/rosetta-PathName-cc-ostream.patch" > epatch "${FILESDIR}/rosetta-basic-settings-nostdc99.patch" > epatch "${FILESDIR}/rosetta-SConscript-src-use-clone.patch" > epatch "${FILESDIR}/rosetta-SConscript-src-2-use-clone.patch" > epatch "${FILESDIR}/rosetta-string-functions-cc.patch" > epatch "${FILESDIR}/rosetta-zipstream-ipp.patch" > epatch "${FILESDIR}/rosetta-DirectedSimAnnealer-cc.patch" > epatch "${FILESDIR}/rosetta-dna-cc.patch" > epatch "${FILESDIR}/rosetta-kin_id-h.patch" > epatch "${FILESDIR}/rosetta-dna_classes-h.patch" > epatch "${FILESDIR}/rosetta-loop_class-h.patch" > epatch "${FILESDIR}/rosetta-barcode_classes-h.patch" > epatch "${FILESDIR}/rosetta-packing_measures-cc.patch" > epatch "${FILESDIR}/rosetta-XUtilities-cc.patch" > epatch "${FILESDIR}/rosetta-basic-settings-nostrip.patch" > epatch "${FILESDIR}/rosetta-basic-settings-gcc43.patch" > epatch "${FILESDIR}/rosetta-barcode_classes-h-unitialized.patch" > epatch "${FILESDIR}/rosetta-marchingCubes-cc-missing-braces.patch" > > #UPSTREAM: source archive contains headers and sourcefiles marked as executable > # (don't want to install executable headers by stripdebug feature) > find "${S}" -name '*.h' -exec chmod a-x {} ';' > find "${S}" -name '*.hh' -exec chmod a-x {} ';' > find "${S}" -name '*.cc' -exec chmod a-x {} ';' > > > #UPSTREAM: "README" was obviously renamed to "README.rosetta++", but is > # still referenced as "README" > # -> create a symlink, because else scons cat=doc fails > if use doc; then > ln -s "${S}/README.rosetta++" "${S}/README" > fi >} > >src_unpack() { > unpack ${A} >} > >src_configure() { > local myextras="" > local mymode="" > local mycxx="" > local myfiles="" > > if use test; then > einfo "using test feature ..." > fi > > if use boinc; then > myextras="boinc" > fi > > if use opengl; then > test -n "${myextras}" && myextras="${myextras}," > myextras="${myextras}graphics" > fi > > if use mpi; then > test -n "${myextras}" && myextras="${myextras}," > myextras="${myextras}mpi" > fi > > > #UPSTREAM:dynamic linking is only performed if "valgrind" > # was specified: see tools/build/setup*.py > test -n "${myextras}" && myextras="${myextras}," > myextras="${myextras}valgrind" > > if use icc; then > mycxx="cxx=icc" > fi > > if use debug; then > mymode="debug" > elif use profile; then > mymode="profile" > else > mymode="release" > fi > > MYCONF="${MAKEOPTS} mode=${mymode} extras=${myextras} ${mycxx}" >} > >src_compile() { > if use doc; then > scons ${MYCONF} cat=doc || die "scons failed to build documentation" > #UPSTREAM: rosetta doxygen documentation makefile is broken > #scons doc || die "scons failed to build documentation" > fi > > #UPSTREAM: scons script returns ok even after a RuntimeError was raised > # exception handler in toplevel SConstruct file probably incomplete > scons ${MYCONF} || die "scons ${MYCONF} failed" > > #Workaround: see if at least one rosetta executable exists > # problem: executable name is rosetta.release||rosetta.debug ... > local myfiles=`ls -l "${S}"/bin/rosetta* 2>/dev/null | wc -l`; > if test ${myfiles} -eq 0; then > die "scons ${MYCONF} failed" > fi >} > >src_test() { > #UPSTREAM: 1. multiple library issues (libutil_release.a vs libutil.a) > # 2. undefined symbol main, if these naming issues are fixed > # manually > # 3. boost dependency for testing only ... > #scons testing > #scons ${MYCONF} cat=test || die "scons ${MYCONF} cat=test failed" > elog "The rosetta test target is still completely broken" >} > >src_install() { > local myfiles > > #install executable(s) > dobin bin/* > > #UPSTREAM: there is a complete doxy-generated source documentation, > # but not yet compilable via scons > if use doc; then > dohtml build/doc/rosetta++/docs/* > fi > > #UPSTREAM: license should be part of archive > #install rosetta license as obtained from www.rosettacommons.org > insinto /usr/portage/licenses > doins "${FILESDIR}"/static/rosetta >}
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 250401
:
174720
|
174722
|
174723
|
174724
|
174726
|
174727
|
174862
|
174863
|
174864
|
175093
|
175095
|
175098
|
175103