From 7fb4a9c5b103c39c868f5e24600859e72056329d Mon Sep 17 00:00:00 2001 From: "Justin Lecher (jlec)" Date: Tue, 4 Aug 2009 21:48:04 +0200 Subject: nmrpipe ver bump 5.0.2009.203.18.54 --- sci-chemistry/nmrpipe/ChangeLog | 6 + sci-chemistry/nmrpipe/Manifest | 12 +- .../nmrpipe/nmrpipe-5.0.2009.170.14.13.ebuild | 133 --------------------- .../nmrpipe/nmrpipe-5.0.2009.203.18.54.ebuild | 132 ++++++++++++++++++++ 4 files changed, 144 insertions(+), 139 deletions(-) delete mode 100644 sci-chemistry/nmrpipe/nmrpipe-5.0.2009.170.14.13.ebuild create mode 100644 sci-chemistry/nmrpipe/nmrpipe-5.0.2009.203.18.54.ebuild (limited to 'sci-chemistry/nmrpipe') diff --git a/sci-chemistry/nmrpipe/ChangeLog b/sci-chemistry/nmrpipe/ChangeLog index ec7193a38..2ced5ceba 100644 --- a/sci-chemistry/nmrpipe/ChangeLog +++ b/sci-chemistry/nmrpipe/ChangeLog @@ -2,6 +2,12 @@ # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*nmrpipe-5.0.2009.203.18.54 (04 Aug 2009) + + 04 Aug 2009; Justin Lecher (jlec) + -nmrpipe-5.0.2009.170.14.13.ebuild, +nmrpipe-5.0.2009.203.18.54.ebuild: + simple version bump + *nmrpipe-5.0.2009.170.14.13 (23 Jul 2009) 23 Jul 2009; Justin Lecher (jlec) diff --git a/sci-chemistry/nmrpipe/Manifest b/sci-chemistry/nmrpipe/Manifest index a3233efc5..88a27d0dc 100644 --- a/sci-chemistry/nmrpipe/Manifest +++ b/sci-chemistry/nmrpipe/Manifest @@ -1,12 +1,12 @@ AUX env-nmrpipe 499 RMD160 11ab9f42b03700caedfe344186c47fd4a6409758 SHA1 8431685d268b14d88dd31cb494f0d333fff225b9 SHA256 f16820dd88ae38c8db6ffed19a97aade62f0de4c3de692b7a2c3b89897d894e2 AUX env-nmrpipe-new 509 RMD160 04d883eeaa253e51869a611bcc23262d29c5ffc8 SHA1 ce0bf895714896942c6c705d3ece23ad639884eb SHA256 7f182cf74d058ad3f4d7cc94a0fcf16b7b97fe438c72f29b835cc968d4036726 -DIST NMRPipeX.tZ 122148057 RMD160 dcde1be2d3a7ca25b8f3e292443b3dcd671a11f6 SHA1 454e465a7c002a76578103a3c2228b00af37f704 SHA256 cd2ef992a853302a0579472fd224793655975057557c51fc656dd28f456beef0 +DIST NMRPipeX.tZ 122254605 RMD160 b451a515aa72793ed12d173d6126a48c91df5c07 SHA1 df76eb2b9700e008152cae1ec0fdad70f701f73f SHA256 d8040c5046207890030647ea2f23a6c90df8c82221c1335db782cbb79de8b916 DIST acme.tar.Z 11681951 RMD160 fdcf35fab1b63ddda55288b1b2ed0f82c8299bef SHA1 5093f92a4d7e4173bc056b6b1922a6da8e6bbf0c SHA256 5713452a1461e636f0de48e5ce3476fc0ae60b3f78a0288744f45e455f3445d9 DIST binval.com 3654 RMD160 60f7b8e13ef48dc22822beb2fd107beac25db300 SHA1 fdd8d2a2b9b6f57ad9d2ebac84b15e428478d261 SHA256 0ab49d267a3b947f31024e3eae281101b7002a64a801b36f1671bd79e8ef5a9d -DIST dyn.tZ 138677625 RMD160 60fc096e0fef1cd103f83028f6ab7a5b8177960f SHA1 5b7da11f314dab81d30e6ab71f69ac6743e205b9 SHA256 616e8890bb7af0351c8362304b7e99502cd5aeb15e864189d00761f0a35c2b09 -DIST install.com 36106 RMD160 d2e7b2497cf078546318471576b95f23fcad7c15 SHA1 87fed8c757426282c9dce04ea3b5a4994628c05a SHA256 0ef91eae8e19dc1d126c9e504dbf165679e16bbcd8e866cda6c7180c05a84a5d -DIST talos.tZ 25228990 RMD160 bab6db5dbdf9898ee3453f6756cac71b8bb207ed SHA1 c4e485f00bb3e92542e1a85f0d8f909c7781058b SHA256 d1a47b78a05a77bff9db9a24cae6bd9da70922364d4410b06c5120ffe0d34e11 +DIST dyn.tZ 138846249 RMD160 c377dad86fe52bdce36ad991cfac2047ce1da9f0 SHA1 3e1c373b59b9d1bd96346d356368e98ab1288c76 SHA256 d2e769cc3a8a23ec78f19c1156990043cb01054413a02962d02510c026145573 +DIST install.com 36106 RMD160 c7436388841d29d0ea2353e2807e132cfae13b85 SHA1 616ef70b4627eef29e61f66f3e2b5d398b101c50 SHA256 191283c60bb6abf00a65710199c4414432c83e094cca2a2381438ba3654440ec +DIST talos.tZ 25237315 RMD160 7c5dcf1e03d5f9f9838b35e4fb422f6cb85699a4 SHA1 3d411eb4eb9ddf3eba3e3d0d67ecccb11095e1c0 SHA256 28412a3749a2aa2bab2ca5523ed92bf6b715c9ea7f881b4b45ca5bd7646b496f DIST valpha_all.tar 724441088 RMD160 70ce860341b0817dbb058de6a228f2b776081b0b SHA1 f8aa75678833b3b2f46597bf0a4834d63104095a SHA256 6f68fcf4037328e3bae79fd11a2a10acc6a3ecd276857c0080d9f8b7ad3cfae1 -EBUILD nmrpipe-5.0.2009.170.14.13.ebuild 4751 RMD160 0fd1834beec0b3f0a861e91b88095cce69800495 SHA1 e9711654e6efa276812508b8847ef87f6d7febae SHA256 7a713ec9570f15e8d6cd8756a5fae669d3b9891e315a44cf9194b0a29a1da131 -MISC ChangeLog 3897 RMD160 70e774bdf0f16b7fbf3ed403608ed8985eeac506 SHA1 fd0bb2233c7dc8494591420a4d0fe804b82bd94e SHA256 e72cfe949d8c0d5a67d67abcd10636e7fc2ced08560e141f5d011735ab3cd955 +EBUILD nmrpipe-5.0.2009.203.18.54.ebuild 4750 RMD160 cd9b076dbfdd53afd63b4b9725d2fac6dc283817 SHA1 6d88f8e95abda9652fe78e494275b07fae679d98 SHA256 ec4337867d7632fee3aad90a009ab81fec16002f872e4b98ecc54a93bfe684a7 +MISC ChangeLog 4094 RMD160 b61a1d37262350d3f7de0c5e2ea23345fa9a8f31 SHA1 2764980a76df64d32a265733e2e0b70986aac6c5 SHA256 8427c8c35a067d9a2374a00dd76ae407cfe58494c16e53f3a66365c1ff6b552d MISC metadata.xml 273 RMD160 77dd0acbd8530bfceee840dfeccd1f4228e0460b SHA1 7c6794b74e4f357c0cd501266226eda09417d6ee SHA256 ed6f9e4b8aa59f68498bb75bf3be63a6de60feda167e4ceb12c7cb81bf8aac09 diff --git a/sci-chemistry/nmrpipe/nmrpipe-5.0.2009.170.14.13.ebuild b/sci-chemistry/nmrpipe/nmrpipe-5.0.2009.170.14.13.ebuild deleted file mode 100644 index d094445c2..000000000 --- a/sci-chemistry/nmrpipe/nmrpipe-5.0.2009.170.14.13.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -DESCRIPTION="Spectral visualisation, analysis and Fourier processing" -# The specific terms of this license are printed automatically on startup -# by some NMRPipe applications. The user also has to accept them before -# downloading the package. -LICENSE="as-is" -HOMEPAGE="http://spin.niddk.nih.gov/bax/software/NMRPipe/" -# The NMRPipe installation script which we are not allowed to modify -# requires all the following to be present for a complete installation. -# Many of the bundled applications and libraries are afterwards deleted -# (by this ebuild). The Gentoo provided applications and libraries are -# used instead. The notable exception is the Tcl/Tk libraries; NMRPipe -# requires a modified version of these. Unfortunately, this requires to -# redefine the location of the libraries, which is done by sourcing an -# initialisation script. NMRPipe users are used to this, and this ebuild -# also prints a notice to this effect. -SRC_URI="NMRPipeX.tZ - valpha_all.tar - talos.tZ - dyn.tZ - acme.tar.Z - binval.com - install.com" - -SLOT="0" -IUSE="" -# Right now, precompiled executables are only available for Linux on the -# x86 architecture. The maintainer chose to keep the sources closed, but -# says he will gladly provide precompiled executables for other platforms -# if there are such requests. -KEYWORDS="-* ~x86" - -# The maintainer absolutely wants to control redistribution. -RESTRICT="fetch" - -DEPEND="app-shells/tcsh" - -RDEPEND="${DEPEND} - dev-lang/tk - dev-tcltk/blt - sys-libs/libtermcap-compat - sys-libs/ncurses - x11-libs/xview - x11-libs/libX11 - app-editors/nedit" - -S="${WORKDIR}" -NMRBASE="/opt/${PN}" - -pkg_nofetch() { - einfo "Please visit:" - einfo "\t${HOMEPAGE}" - einfo - einfo "Contact the package maintainer, then download the following files:" - for i in ${A}; do - einfo "\t${i}" - done - einfo - einfo "Place the downloaded files in your distfiles directory:" - einfo "\t${DISTDIR}" - echo -} - -src_unpack() { - # The installation script will unpack the package. We just provide symlinks - # to the archive files, ... - for i in valpha_all.tar talos.tZ NMRPipeX.tZ dyn.tZ acme.tar.Z; do - ln -s "${DISTDIR}"/${i} ${i} - done - # ... copy the installation scripts ... - cp "${DISTDIR}"/{binval.com,install.com} . - # ... and make the installation scripts executable. - chmod +x binval.com install.com -} - -src_install() { - # Unset DISPLAY to avoid the interactive graphical test. - DISPLAY="" ./install.com +type linux9 +dest "${S}"/NMR || die - - - # Remove the symlinks for the archives and the installation scripts. - for i in ${A}; do - rm ${i} || die "Failed to remove archive symlinks." - done - # Remove some of the bundled applications and libraries; they are - # provided by Gentoo instead. -# rm -r nmrbin.linux9/{lib/{libBLT24.so,libolgx.so*,libxview.so*,*.timestamp},*timestamp,xv,gnuplot*,rasmol*,nc,nedit} \ - rm -r nmrbin.linux9/{lib/{libolgx.so*,libxview.so*,*.timestamp},*timestamp,xv,gnuplot*,rasmol*,nc,nedit} \ - nmrbin.{linux,mac,sgi6x,sol,winxp} nmruser format \ - || die "Failed to remove unnecessary libraries." - # Remove the initialisation script generated during the installation. - # It contains incorrect hardcoded paths; only the "nmrInit.com" script - # should be used. - rm com/nmrInit.linux9.com || die "Failed to remove broken init script." - # Remove installation log files. - rm README_NMRPIPE_USERS *.log || die "Failed to remove installation log." - # Remove unused binaries - rm talos/bin/TALOS.{linux,mac,sgi6x,winxp} pdb/misc/addSeg || die - - # Set the correct path to NMRPipe in the auxiliary scripts. - for i in $(find com/ dynamo/surface/misc/ nmrtxt/ talos/misc -type f); do - sed -e "s%/u/delaglio%${NMRBASE}%" -i ${i} || die \ - "Failed patching scripts." - done - sed -i "s:${WORKDIR}:${NMRBASE}:g" com/font.com - - newenvd "${FILESDIR}"/env-${PN}-new 40${PN} || die "Failed to install env file." - insinto ${NMRBASE} -# Which brainiack wrote this!? -# insopts -m0755 - doins -r * || die "Failed to install application." - dosym nmrbin.linux9 ${NMRBASE}/bin || die \ - "Failed to symlink binaries." - fperms 775 ${NMRBASE}/{talos/bin,nmrbin.linux9,com,dynamo/tcl}/* -} - -pkg_postinst() { - echo - ewarn "Before using NMRPipe applications, users must source the following" - ewarn "csh script, which will set the necessary environment variables:" - ewarn "\t${NMRBASE}/com/nmrInit.com" - ewarn - ewarn "Be aware that this script redefines the locations of the Tcl" - ewarn "libraries. This could break other non-NMRPipe Tcl applications" - ewarn "run in the same session." - ewarn - ewarn "Using Dynamo does not require running an additional initialisation" - ewarn "script. The necessary environment variables should already be set." - echo -} diff --git a/sci-chemistry/nmrpipe/nmrpipe-5.0.2009.203.18.54.ebuild b/sci-chemistry/nmrpipe/nmrpipe-5.0.2009.203.18.54.ebuild new file mode 100644 index 000000000..516a3cdc9 --- /dev/null +++ b/sci-chemistry/nmrpipe/nmrpipe-5.0.2009.203.18.54.ebuild @@ -0,0 +1,132 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Spectral visualisation, analysis and Fourier processing" +# The specific terms of this license are printed automatically on startup +# by some NMRPipe applications. The user also has to accept them before +# downloading the package. +LICENSE="as-is" +HOMEPAGE="http://spin.niddk.nih.gov/bax/software/NMRPipe/" +# The NMRPipe installation script which we are not allowed to modify +# requires all the following to be present for a complete installation. +# Many of the bundled applications and libraries are afterwards deleted +# (by this ebuild). The Gentoo provided applications and libraries are +# used instead. The notable exception is the Tcl/Tk libraries; NMRPipe +# requires a modified version of these. Unfortunately, this requires to +# redefine the location of the libraries, which is done by sourcing an +# initialisation script. NMRPipe users are used to this, and this ebuild +# also prints a notice to this effect. +SRC_URI="NMRPipeX.tZ + valpha_all.tar + talos.tZ + dyn.tZ + acme.tar.Z + binval.com + install.com" + +SLOT="0" +IUSE="" +# Right now, precompiled executables are only available for Linux on the +# x86 architecture. The maintainer chose to keep the sources closed, but +# says he will gladly provide precompiled executables for other platforms +# if there are such requests. +KEYWORDS="-* ~x86" + +# The maintainer absolutely wants to control redistribution. +RESTRICT="fetch" + +DEPEND="app-shells/tcsh" + +RDEPEND="${DEPEND} + dev-lang/tk + dev-tcltk/blt + sys-libs/libtermcap-compat + sys-libs/ncurses + x11-libs/xview + x11-libs/libX11 + app-editors/nedit" + +S="${WORKDIR}" +NMRBASE="/opt/${PN}" + +pkg_nofetch() { + einfo "Please visit:" + einfo "\t${HOMEPAGE}" + einfo + einfo "Contact the package maintainer, then download the following files:" + for i in ${A}; do + einfo "\t${i}" + done + einfo + einfo "Place the downloaded files in your distfiles directory:" + einfo "\t${DISTDIR}" + echo +} + +src_unpack() { + # The installation script will unpack the package. We just provide symlinks + # to the archive files, ... + for i in valpha_all.tar talos.tZ NMRPipeX.tZ dyn.tZ acme.tar.Z; do + ln -s "${DISTDIR}"/${i} ${i} + done + # ... copy the installation scripts ... + cp "${DISTDIR}"/{binval.com,install.com} . + # ... and make the installation scripts executable. + chmod +x binval.com install.com +} + +src_install() { + # Unset DISPLAY to avoid the interactive graphical test. + DISPLAY="" ./install.com +type linux9 +dest "${S}"/NMR || die + + # Remove the symlinks for the archives and the installation scripts. + for i in ${A}; do + rm ${i} || die "Failed to remove archive symlinks." + done + # Remove some of the bundled applications and libraries; they are + # provided by Gentoo instead. +# rm -r nmrbin.linux9/{lib/{libBLT24.so,libolgx.so*,libxview.so*,*.timestamp},*timestamp,xv,gnuplot*,rasmol*,nc,nedit} \ + rm -r nmrbin.linux9/{lib/{libolgx.so*,libxview.so*,*.timestamp},*timestamp,xv,gnuplot*,rasmol*,nc,nedit} \ + nmrbin.{linux,mac,sgi6x,sol,winxp} nmruser format \ + || die "Failed to remove unnecessary libraries." + # Remove the initialisation script generated during the installation. + # It contains incorrect hardcoded paths; only the "nmrInit.com" script + # should be used. + rm com/nmrInit.linux9.com || die "Failed to remove broken init script." + # Remove installation log files. + rm README_NMRPIPE_USERS *.log || die "Failed to remove installation log." + # Remove unused binaries + rm talos/bin/TALOS.{linux,mac,sgi6x,winxp} pdb/misc/addSeg || die + + # Set the correct path to NMRPipe in the auxiliary scripts. + for i in $(find com/ dynamo/surface/misc/ nmrtxt/ talos/misc -type f); do + sed -e "s%/u/delaglio%${NMRBASE}%" -i ${i} || die \ + "Failed patching scripts." + done + sed -i "s:${WORKDIR}:${NMRBASE}:g" com/font.com + + newenvd "${FILESDIR}"/env-${PN}-new 40${PN} || die "Failed to install env file." + insinto ${NMRBASE} +# Which brainiack wrote this!? +# insopts -m0755 + doins -r * || die "Failed to install application." + dosym nmrbin.linux9 ${NMRBASE}/bin || die \ + "Failed to symlink binaries." + fperms 775 ${NMRBASE}/{talos/bin,nmrbin.linux9,com,dynamo/tcl}/* +} + +pkg_postinst() { + echo + ewarn "Before using NMRPipe applications, users must source the following" + ewarn "csh script, which will set the necessary environment variables:" + ewarn "\t${NMRBASE}/com/nmrInit.com" + ewarn + ewarn "Be aware that this script redefines the locations of the Tcl" + ewarn "libraries. This could break other non-NMRPipe Tcl applications" + ewarn "run in the same session." + ewarn + ewarn "Using Dynamo does not require running an additional initialisation" + ewarn "script. The necessary environment variables should already be set." + echo +} -- cgit v1.2.3-65-gdbad