public inbox for gentoo-science@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-science] Modeller version bump
@ 2011-05-27 18:51 Bjoern Thorwirth
  2011-05-27 19:01 ` [gentoo-science] Modeller version bump decrufted Bjoern Thorwirth
  0 siblings, 1 reply; 2+ messages in thread
From: Bjoern Thorwirth @ 2011-05-27 18:51 UTC (permalink / raw
  To: gentoo-science

[-- Attachment #1: Type: text/plain, Size: 106 bytes --]

Hi all!

Here is an updated Modeller ebuild. I've tested it only on x86

Kind regards,

Björn



[-- Attachment #2: modeller-9.8--9.9.ebuild.patch --]
[-- Type: text/x-patch, Size: 1639 bytes --]

--- /var/lib/layman/science/sci-chemistry/modeller/modeller-9.8.ebuild	2011-05-08 00:54:20.932000010 +0200
+++ modeller-9.9.ebuild	2011-05-27 06:45:18.416000001 +0200
@@ -8,11 +8,11 @@
 
 inherit distutils eutils versionator
 
-MY_PV="$(replace_all_version_separators v)"
-MY_P="${PN}-${MY_PV}"
+#PV="$(replace_all_version_separators v)"
+MY_P="${PN}-${PV}"
 
 DESCRIPTION="Homology or comparative modeling of protein three-dimensional structures"
-SRC_URI="http://salilab.org/${PN}/${MY_PV}/${PN}-${MY_PV}.tar.gz"
+SRC_URI="http://salilab.org/${PN}/${PV}/${PN}-${PV}.tar.gz"
 HOMEPAGE="http://salilab.org/modeller/"
 
 LICENSE="modeller"
@@ -59,9 +59,9 @@
 
 src_install(){
 	sed \
-		-e "s:EXECUTABLE_TYPE${MY_PV}=xxx:EXECUTABLE_TYPE${MY_PV}=${EXECTYPE}:g" \
-		-e "s:MODINSTALL${MY_PV}=xxx:MODINSTALL${MY_PV}=\"${INPATH}\":g" \
-		bin/modscript > "${T}/mod${MY_PV}"
+		-e "s:EXECUTABLE_TYPE${PV}=xxx:EXECUTABLE_TYPE${PV}=${EXECTYPE}:g" \
+		-e "s:MODINSTALL${PV}=xxx:MODINSTALL${PV}=\"${INPATH}\":g" \
+		bin/modscript > "${T}/mod${PV}"
 
 	sed -e "s;@TOPDIR\@;\"${INPATH}\";" \
 		-e "s;@EXETYPE\@;${EXECTYPE};" \
@@ -73,10 +73,10 @@
 	insinto ${INPATH}/bin
 	doins -r bin/{lib,*top} || die
 	exeinto ${INPATH}/bin
-	doexe bin/{modslave.py,mod${MY_PV}_${EXECTYPE}} || die
-	doexe "${T}/mod${MY_PV}" || die
+	doexe bin/{modslave.py,mod${PV}_${EXECTYPE}} || die
+	doexe "${T}/mod${PV}" || die
 	doexe "${T}/modpy.sh" || die
-	dosym ${INPATH}/bin/mod${MY_PV} /opt/bin/mod${MY_PV} || die
+	dosym ${INPATH}/bin/mod${PV} /opt/bin/mod${PV} || die
 	dosym ${INPATH}/bin/modpy.sh /opt/bin/modpy.sh || die
 
 	exeinto ${INPATH}/lib/${EXECTYPE}/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-27 19:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-27 18:51 [gentoo-science] Modeller version bump Bjoern Thorwirth
2011-05-27 19:01 ` [gentoo-science] Modeller version bump decrufted Bjoern Thorwirth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox