Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 147900 Details for
Bug 215638
[science overlay] sci-chemistry/mgltools
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
mgltools-1.5.1.ebuild
mgltools-1.5.1.ebuild (text/plain), 2.34 KB, created by
Bjoern Olausson
on 2008-03-31 20:24:04 UTC
(
hide
)
Description:
mgltools-1.5.1.ebuild
Filename:
MIME Type:
Creator:
Bjoern Olausson
Created:
2008-03-31 20:24:04 UTC
Size:
2.34 KB
patch
obsolete
># Copyright 1999-2008 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils python > >DESCRIPTION="AutoDockTools, Python Molecular Viewer, Vision" >SRC_URI="http://mgltools.scripps.edu/downloads/tars/releases/REL${PV}/${PN}_source_${PV}.tar.gz" > >HOMEPAGE="http://mgltools.scripps.edu/" >RESTRICT="primaryuri" >LICENSE="GPL-2 proprietary" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="" > >RDEPEND=" >=dev-lang/python-2.5 > sys-devel/gcc > >=dev-lang/swig-1.3.31 > >=dev-lang/tcl-8.4 > >=dev-lang/tk-8.4 > dev-python/numpy > dev-python/pmw > dev-python/imaging " >DEPEND="${RDEPEND}" > >S="${WORKDIR}/${PN}_source_${PV}" > >pkg_setup() { > einfo "" > einfo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" > einfo "~ The add-on packages MSLIB, STRIDE, UTPackages are only available ~" > einfo "~ if you plan to use this software NON COMMERCIAL ~" > einfo "~ The add-on packages will not be installed if you answer with NO ~" > einfo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" > einfo "Do you use this software NON COMMERCIAL? [y/n]" > read YN >} > >src_unpack(){ > unpack "${A}" > cd "${S}/MGLPACKS" > j=0 > for i in *.tar.gz ; do > X=${i/-${PV}.tar.gz/} > if [[ "${YN}" == "Y" || "${YN}" == "y" ]] ; then > PACKAGES="${PACKAGES[@]} ${X}" > else > if [[ "${X}" == "mslib" || "${X}" == "stride" || "${X}" == "UTpackages" ]] ; then > PACKAGES="${PACKAGES[@]}" > else > PACKAGES="${PACKAGES[@]} ${X}" > fi > fi > (( j++ )) > done > > for i in ${PACKAGES[@]} ; do > unpack ./"${i}-${PV}.tar.gz" > done >} > > >src_compile(){ > cd "${S}/MGLPACKS" > for j in ${PACKAGES[@]} ; do > cd "${j}-${PV}" > python setup.py build || die "Build for ${j} failed" > cd "${S}/MGLPACKS" > done >} > >src_install() { > python_version > MGLPATH="/usr/$(get_libdir)/python${PYVER}/site-packages/MGLToolsPckgs/" > D_MGLPATH="${D}/${MGLPATH}" > cd "${S}/MGLPACKS" > for j in ${PACKAGES[@]} ; do > cd "${j}-${PV}" > python setup.py install --install-purelib="${D_MGLPATH}" --install-platlib="${D_MGLPATH}" --install-scripts="${D_MGLPATH}" || die "Installation for ${j/.tar.gz/} failed" > cd "${S}/MGLPACKS" > done > for k in runAdt runPmv runVision ; do > dosym "${MGLPATH}/${k}" "/usr/bin/${k}" > done > > einfo "Installing sitecustomize.py to ${MGLPATH}" > >} > >pkg_postinst() { > python_mod_cleanup "${MGLPATH}" > python_mod_optimize "${MGLPATH}" >}
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 215638
:
147900
|
147902
|
147903
|
147904
|
147906
|
147909