public inbox for gentoo-science@lists.gentoo.org
 help / color / mirror / Atom feed
From: Bjoern Thorwirth <bjoern.thorwirth@uni-due.de>
To: gentoo-science@lists.gentoo.org
Subject: Re: [gentoo-science] Modeller version bump decrufted
Date: Fri, 27 May 2011 21:01:41 +0200	[thread overview]
Message-ID: <1306522901.7476.5.camel@sabayon> (raw)
In-Reply-To: <1306522266.7476.3.camel@sabayon>

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

And sorry I just noticed, that the versionator dependency could have
been removed ..


Am Freitag, den 27.05.2011, 20:51 +0200 schrieb Bjoern Thorwirth:
> 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: 1648 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 20:59:12.687000078 +0200
@@ -6,13 +6,12 @@
 
 PYTHON_DEPEND="2:2.6"
 
-inherit distutils eutils versionator
+inherit distutils eutils 
 
-MY_PV="$(replace_all_version_separators v)"
-MY_P="${PN}-${MY_PV}"
+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 +58,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 +72,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}/

      reply	other threads:[~2011-05-27 19:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-27 18:51 [gentoo-science] Modeller version bump Bjoern Thorwirth
2011-05-27 19:01 ` Bjoern Thorwirth [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1306522901.7476.5.camel@sabayon \
    --to=bjoern.thorwirth@uni-due.de \
    --cc=gentoo-science@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox