From: Bjoern Thorwirth <bjoern.thorwirth@uni-due.de>
To: gentoo-science <gentoo-science@lists.gentoo.org>
Subject: [gentoo-science] Modeller version bump
Date: Fri, 27 May 2011 20:51:06 +0200 [thread overview]
Message-ID: <1306522266.7476.3.camel@sabayon> (raw)
[-- 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}/
next reply other threads:[~2011-05-27 18:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-27 18:51 Bjoern Thorwirth [this message]
2011-05-27 19:01 ` [gentoo-science] Modeller version bump decrufted Bjoern Thorwirth
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=1306522266.7476.3.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