public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-chemistry/modeller/
@ 2013-06-18 12:46 Justin Lecher
  0 siblings, 0 replies; 9+ messages in thread
From: Justin Lecher @ 2013-06-18 12:46 UTC (permalink / raw
  To: gentoo-commits

commit:     fed9fc9877cf7fd5cb0f75c977a7f4297b4c31b5
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 18 12:46:32 2013 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Jun 18 12:46:32 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=fed9fc98

sci-chemistry/modeller: Fix broken symlink, #473680

Package-Manager: portage-2.2.0_alpha180

---
 sci-chemistry/modeller/ChangeLog                                    | 6 ++++++
 .../modeller/{modeller-9.12.ebuild => modeller-9.12-r1.ebuild}      | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/sci-chemistry/modeller/ChangeLog b/sci-chemistry/modeller/ChangeLog
index 198256b..2817f00 100644
--- a/sci-chemistry/modeller/ChangeLog
+++ b/sci-chemistry/modeller/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*modeller-9.12-r1 (18 Jun 2013)
+
+  18 Jun 2013; Justin Lecher <jlec@gentoo.org> -modeller-9.12.ebuild,
+  +modeller-9.12-r1.ebuild:
+  Fix broken symlink, #473680
+
   16 Jun 2013; Justin Lecher <jlec@gentoo.org> -modeller-9.8.ebuild,
   +modeller-9.12.ebuild, metadata.xml:
   Version BUmp; BUmp to EAPI5 and distutils-r1.eclass

diff --git a/sci-chemistry/modeller/modeller-9.12.ebuild b/sci-chemistry/modeller/modeller-9.12-r1.ebuild
similarity index 98%
rename from sci-chemistry/modeller/modeller-9.12.ebuild
rename to sci-chemistry/modeller/modeller-9.12-r1.ebuild
index 0cabf47..a25aa7f 100644
--- a/sci-chemistry/modeller/modeller-9.12.ebuild
+++ b/sci-chemistry/modeller/modeller-9.12-r1.ebuild
@@ -82,7 +82,7 @@ python_install_all(){
 
 	exeinto ${INPATH}/lib/${EXECTYPE}/
 	doexe lib/${EXECTYPE}/lib*
-	dosym libmodeller.so.5 ${INPATH}/lib/${EXECTYPE}/libmodeller.so
+	dosym libmodeller.so.8 ${INPATH}/lib/${EXECTYPE}/libmodeller.so
 
 	use doc && HTML_DOCS=( doc/. )
 	distutils-r1_python_install_all


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

* [gentoo-commits] proj/sci:master commit in: sci-chemistry/modeller/
@ 2013-06-26 14:45 Justin Lecher
  2013-06-26 14:55 ` Justin Lecher
  0 siblings, 1 reply; 9+ messages in thread
From: Justin Lecher @ 2013-06-26 14:45 UTC (permalink / raw
  To: gentoo-commits

commit:     f663beb2c46742be193d69ca3abefddd81b0ef2b
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 26 14:40:11 2013 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Jun 26 14:44:59 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=f663beb2

sci-chemistry/modeller: Fix lib position, #474696

Package-Manager: portage-2.2.0_alpha184

---
 sci-chemistry/modeller/ChangeLog                                      | 4 ++++
 .../modeller/{modeller-9.12-r1.ebuild => modeller-9.12-r2.ebuild}     | 3 ++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/sci-chemistry/modeller/ChangeLog b/sci-chemistry/modeller/ChangeLog
index 2817f00..cedd72b 100644
--- a/sci-chemistry/modeller/ChangeLog
+++ b/sci-chemistry/modeller/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  26 Jun 2013; Justin Lecher <jlec@gentoo.org> -modeller-9.12-r1.ebuild,
+  +modeller-9.12-r2.ebuild:
+  Fix lib position, #474696
+
 *modeller-9.12-r1 (18 Jun 2013)
 
   18 Jun 2013; Justin Lecher <jlec@gentoo.org> -modeller-9.12.ebuild,

diff --git a/sci-chemistry/modeller/modeller-9.12-r1.ebuild b/sci-chemistry/modeller/modeller-9.12-r2.ebuild
similarity index 96%
rename from sci-chemistry/modeller/modeller-9.12-r1.ebuild
rename to sci-chemistry/modeller/modeller-9.12-r2.ebuild
index a25aa7f..9cfd2e3 100644
--- a/sci-chemistry/modeller/modeller-9.12-r1.ebuild
+++ b/sci-chemistry/modeller/modeller-9.12-r2.ebuild
@@ -7,7 +7,7 @@ EAPI=5
 PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
 PYTHON_COMPAT=( python{2_6,2_7} )
 
-inherit distutils-r1 eutils versionator
+inherit distutils-r1 eutils multilib versionator
 
 DESCRIPTION="Homology or comparative modeling of protein three-dimensional structures"
 HOMEPAGE="http://salilab.org/modeller/"
@@ -83,6 +83,7 @@ python_install_all(){
 	exeinto ${INPATH}/lib/${EXECTYPE}/
 	doexe lib/${EXECTYPE}/lib*
 	dosym libmodeller.so.8 ${INPATH}/lib/${EXECTYPE}/libmodeller.so
+	dosym ../../${INPATH}/lib/${EXECTYPE}/libmodeller.so.8 /usr/$(get_libdir)/libmodeller.so.8
 
 	use doc && HTML_DOCS=( doc/. )
 	distutils-r1_python_install_all


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

* [gentoo-commits] proj/sci:master commit in: sci-chemistry/modeller/
@ 2013-06-26 14:53 Justin Lecher
  0 siblings, 0 replies; 9+ messages in thread
From: Justin Lecher @ 2013-06-26 14:53 UTC (permalink / raw
  To: gentoo-commits

commit:     4baaecc2af23ba92bed2d784e9bac7e837645f55
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 26 14:40:11 2013 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Jun 26 14:49:54 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=4baaecc2

sci-chemistry/modeller: Fix lib position, #474696

Package-Manager: portage-2.2.0_alpha184

---
 sci-chemistry/modeller/ChangeLog                                      | 4 ++++
 .../modeller/{modeller-9.12-r1.ebuild => modeller-9.12-r2.ebuild}     | 3 ++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/sci-chemistry/modeller/ChangeLog b/sci-chemistry/modeller/ChangeLog
index 2817f00..cedd72b 100644
--- a/sci-chemistry/modeller/ChangeLog
+++ b/sci-chemistry/modeller/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  26 Jun 2013; Justin Lecher <jlec@gentoo.org> -modeller-9.12-r1.ebuild,
+  +modeller-9.12-r2.ebuild:
+  Fix lib position, #474696
+
 *modeller-9.12-r1 (18 Jun 2013)
 
   18 Jun 2013; Justin Lecher <jlec@gentoo.org> -modeller-9.12.ebuild,

diff --git a/sci-chemistry/modeller/modeller-9.12-r1.ebuild b/sci-chemistry/modeller/modeller-9.12-r2.ebuild
similarity index 96%
rename from sci-chemistry/modeller/modeller-9.12-r1.ebuild
rename to sci-chemistry/modeller/modeller-9.12-r2.ebuild
index a25aa7f..9cfd2e3 100644
--- a/sci-chemistry/modeller/modeller-9.12-r1.ebuild
+++ b/sci-chemistry/modeller/modeller-9.12-r2.ebuild
@@ -7,7 +7,7 @@ EAPI=5
 PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
 PYTHON_COMPAT=( python{2_6,2_7} )
 
-inherit distutils-r1 eutils versionator
+inherit distutils-r1 eutils multilib versionator
 
 DESCRIPTION="Homology or comparative modeling of protein three-dimensional structures"
 HOMEPAGE="http://salilab.org/modeller/"
@@ -83,6 +83,7 @@ python_install_all(){
 	exeinto ${INPATH}/lib/${EXECTYPE}/
 	doexe lib/${EXECTYPE}/lib*
 	dosym libmodeller.so.8 ${INPATH}/lib/${EXECTYPE}/libmodeller.so
+	dosym ../../${INPATH}/lib/${EXECTYPE}/libmodeller.so.8 /usr/$(get_libdir)/libmodeller.so.8
 
 	use doc && HTML_DOCS=( doc/. )
 	distutils-r1_python_install_all


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

* [gentoo-commits] proj/sci:master commit in: sci-chemistry/modeller/
  2013-06-26 14:45 Justin Lecher
@ 2013-06-26 14:55 ` Justin Lecher
  0 siblings, 0 replies; 9+ messages in thread
From: Justin Lecher @ 2013-06-26 14:55 UTC (permalink / raw
  To: gentoo-commits

commit:     f663beb2c46742be193d69ca3abefddd81b0ef2b
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 26 14:40:11 2013 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Jun 26 14:44:59 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=f663beb2

sci-chemistry/modeller: Fix lib position, #474696

Package-Manager: portage-2.2.0_alpha184

---
 sci-chemistry/modeller/ChangeLog                                      | 4 ++++
 .../modeller/{modeller-9.12-r1.ebuild => modeller-9.12-r2.ebuild}     | 3 ++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/sci-chemistry/modeller/ChangeLog b/sci-chemistry/modeller/ChangeLog
index 2817f00..cedd72b 100644
--- a/sci-chemistry/modeller/ChangeLog
+++ b/sci-chemistry/modeller/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  26 Jun 2013; Justin Lecher <jlec@gentoo.org> -modeller-9.12-r1.ebuild,
+  +modeller-9.12-r2.ebuild:
+  Fix lib position, #474696
+
 *modeller-9.12-r1 (18 Jun 2013)
 
   18 Jun 2013; Justin Lecher <jlec@gentoo.org> -modeller-9.12.ebuild,

diff --git a/sci-chemistry/modeller/modeller-9.12-r1.ebuild b/sci-chemistry/modeller/modeller-9.12-r2.ebuild
similarity index 96%
rename from sci-chemistry/modeller/modeller-9.12-r1.ebuild
rename to sci-chemistry/modeller/modeller-9.12-r2.ebuild
index a25aa7f..9cfd2e3 100644
--- a/sci-chemistry/modeller/modeller-9.12-r1.ebuild
+++ b/sci-chemistry/modeller/modeller-9.12-r2.ebuild
@@ -7,7 +7,7 @@ EAPI=5
 PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
 PYTHON_COMPAT=( python{2_6,2_7} )
 
-inherit distutils-r1 eutils versionator
+inherit distutils-r1 eutils multilib versionator
 
 DESCRIPTION="Homology or comparative modeling of protein three-dimensional structures"
 HOMEPAGE="http://salilab.org/modeller/"
@@ -83,6 +83,7 @@ python_install_all(){
 	exeinto ${INPATH}/lib/${EXECTYPE}/
 	doexe lib/${EXECTYPE}/lib*
 	dosym libmodeller.so.8 ${INPATH}/lib/${EXECTYPE}/libmodeller.so
+	dosym ../../${INPATH}/lib/${EXECTYPE}/libmodeller.so.8 /usr/$(get_libdir)/libmodeller.so.8
 
 	use doc && HTML_DOCS=( doc/. )
 	distutils-r1_python_install_all


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

* [gentoo-commits] proj/sci:master commit in: sci-chemistry/modeller/
@ 2013-09-20 16:02 Justin Lecher
  0 siblings, 0 replies; 9+ messages in thread
From: Justin Lecher @ 2013-09-20 16:02 UTC (permalink / raw
  To: gentoo-commits

commit:     8225d6ca03cbdfdf4a9a46bbc6a91d99a47f3d2e
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 20 16:01:12 2013 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Sep 20 16:01:12 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=8225d6ca

sci-chemistry/modeller: Mask lib dir for revdep-rebuild, #474696

Package-Manager: portage-2.2.6

---
 sci-chemistry/modeller/ChangeLog                                   | 4 ++++
 .../modeller/{modeller-9.12-r2.ebuild => modeller-9.12-r3.ebuild}  | 7 +++++++
 2 files changed, 11 insertions(+)

diff --git a/sci-chemistry/modeller/ChangeLog b/sci-chemistry/modeller/ChangeLog
index cedd72b..01374fb 100644
--- a/sci-chemistry/modeller/ChangeLog
+++ b/sci-chemistry/modeller/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  20 Sep 2013; Justin Lecher <jlec@gentoo.org> -modeller-9.12-r2.ebuild,
+  +modeller-9.12-r3.ebuild:
+  Mask lib dir for revdep-rebuild, #474696
+
   26 Jun 2013; Justin Lecher <jlec@gentoo.org> -modeller-9.12-r1.ebuild,
   +modeller-9.12-r2.ebuild:
   Fix lib position, #474696

diff --git a/sci-chemistry/modeller/modeller-9.12-r2.ebuild b/sci-chemistry/modeller/modeller-9.12-r3.ebuild
similarity index 95%
rename from sci-chemistry/modeller/modeller-9.12-r2.ebuild
rename to sci-chemistry/modeller/modeller-9.12-r3.ebuild
index 9cfd2e3..a01b749 100644
--- a/sci-chemistry/modeller/modeller-9.12-r2.ebuild
+++ b/sci-chemistry/modeller/modeller-9.12-r3.ebuild
@@ -42,6 +42,7 @@ pkg_setup() {
 
 python_prepare_all(){
 	sed "s:i386-intel8:${EXECTYPE}:g" -i src/swig/setup.py || die
+	distutils-r1_python_prepare_all
 }
 
 python_compile(){
@@ -92,6 +93,12 @@ python_install_all(){
 		insinto /usr/share/${PN}/
 		doins -r examples
 	fi
+
+	insinto /etc/revdep-rebuild
+	cat >> "${T}"/40-${PN} <<- EOF
+	SEARCH_DIRS_MASK="${EPREFIX}/opt/modeller/lib/"
+	EOF
+	doins "${T}"/40-${PN}
 }
 
 pkg_postinst() {


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

* [gentoo-commits] proj/sci:master commit in: sci-chemistry/modeller/
@ 2015-12-25 21:00 Marius Brehler
  0 siblings, 0 replies; 9+ messages in thread
From: Marius Brehler @ 2015-12-25 21:00 UTC (permalink / raw
  To: gentoo-commits

commit:     6a4ee29993df09aac52f5bff1f0cbdb919956176
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Fri Dec 25 20:51:51 2015 +0000
Commit:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Fri Dec 25 20:51:51 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=6a4ee299

sci-chemistry/modeller: Fix minorsyn, add missing dies

Package-Manager: portage-2.2.24

 sci-chemistry/modeller/ChangeLog               | 7 +++++--
 sci-chemistry/modeller/modeller-9.12-r3.ebuild | 9 ++++-----
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/sci-chemistry/modeller/ChangeLog b/sci-chemistry/modeller/ChangeLog
index b7e8269..21f01f8 100644
--- a/sci-chemistry/modeller/ChangeLog
+++ b/sci-chemistry/modeller/ChangeLog
@@ -1,7 +1,11 @@
 # ChangeLog for sci-chemistry/modeller
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Id$
 
+  25 Dec 2015; Marius Brehler <marbre@linux.sungazer.de>
+  modeller-9.12-r3.ebuild:
+  sci-chemistry/modeller: Fix minorsyn, add missing dies
+
   20 Sep 2013; Justin Lecher <jlec@gentoo.org> -modeller-9.12-r2.ebuild,
   +modeller-9.12-r3.ebuild:
   Mask lib dir for revdep-rebuild, #474696
@@ -32,4 +36,3 @@
 
   09 Apr 2008; Jeff Gardner <je_fro@gentoo.org> +modeller-9.3.ebuild:
   Initial import, added MY_PV, thanks to the prolific Justin Schmitz
-

diff --git a/sci-chemistry/modeller/modeller-9.12-r3.ebuild b/sci-chemistry/modeller/modeller-9.12-r3.ebuild
index c1a5d81..79c68ad 100644
--- a/sci-chemistry/modeller/modeller-9.12-r3.ebuild
+++ b/sci-chemistry/modeller/modeller-9.12-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -27,7 +27,6 @@ INPATH="${EPREFIX}"/opt/modeller${ver}
 
 QA_PREBUILT="/opt/*"
 
-
 pkg_setup() {
 	case ${ARCH} in
 		x86)
@@ -45,18 +44,18 @@ python_prepare_all(){
 }
 
 python_compile(){
-	cd src/swig
+	cd src/swig || die
 	swig -python -keyword -nodefaultctor -nodefaultdtor -noproxy modeller.i || die
 	distutils-r1_python_compile
 }
 
 python_install() {
-	cd src/swig
+	cd src/swig || die
 	distutils-r1_python_install
 }
 
 python_install_all(){
-	cd "${S}"
+	cd "${S}" || die
 	sed \
 		-e "/^EXECUTABLE_TYPE/s:xxx:${EXECTYPE}:g" \
 		-e "/MODINSTALL/s:xxx:\"${INPATH}\":g" \


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

* [gentoo-commits] proj/sci:master commit in: sci-chemistry/modeller/
@ 2016-10-29  9:36 Justin Lecher
  0 siblings, 0 replies; 9+ messages in thread
From: Justin Lecher @ 2016-10-29  9:36 UTC (permalink / raw
  To: gentoo-commits

commit:     c62805bf0429d30a26d716c011f3450f7044fd93
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 29 09:36:39 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Oct 29 09:36:39 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=c62805bf

sci-chemistry/modeller: Drop obsolete Python impl

Bump EAPI

Package-Manager: portage-2.3.2
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 sci-chemistry/modeller/modeller-9.12-r3.ebuild | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/sci-chemistry/modeller/modeller-9.12-r3.ebuild b/sci-chemistry/modeller/modeller-9.12-r3.ebuild
index 79c68ad..6e8897d 100644
--- a/sci-chemistry/modeller/modeller-9.12-r3.ebuild
+++ b/sci-chemistry/modeller/modeller-9.12-r3.ebuild
@@ -1,11 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_3} )
-PYTHON_COMPAT=( python{2_6,2_7} )
+PYTHON_COMPAT=( python2_7 )
 
 inherit distutils-r1 eutils multilib versionator
 


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

* [gentoo-commits] proj/sci:master commit in: sci-chemistry/modeller/
@ 2018-04-06 13:29 Alexey Shvetsov
  0 siblings, 0 replies; 9+ messages in thread
From: Alexey Shvetsov @ 2018-04-06 13:29 UTC (permalink / raw
  To: gentoo-commits

commit:     3139caf52e0992237882384ac30c2e8ab7c5946d
Author:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  6 13:29:17 2018 +0000
Commit:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Fri Apr  6 13:29:17 2018 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=3139caf5

sci-chemistry/modeller: Version bump

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 sci-chemistry/modeller/modeller-9.19.ebuild | 145 ++++++++++++++++++++++++++++
 1 file changed, 145 insertions(+)

diff --git a/sci-chemistry/modeller/modeller-9.19.ebuild b/sci-chemistry/modeller/modeller-9.19.ebuild
new file mode 100644
index 000000000..0d29c3843
--- /dev/null
+++ b/sci-chemistry/modeller/modeller-9.19.ebuild
@@ -0,0 +1,145 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 eutils multilib versionator
+
+DESCRIPTION="Homology or comparative modeling of protein three-dimensional structures"
+HOMEPAGE="http://salilab.org/modeller/"
+SRC_URI="http://salilab.org/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="modeller"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples"
+SLOT="0"
+
+RESTRICT="mirror"
+
+DEPEND=">=dev-lang/swig-1.3"
+RDEPEND=""
+
+INPATH="${EPREFIX}"/opt/modeller${ver}
+
+QA_PREBUILT="/opt/*"
+
+pkg_setup() {
+	case ${ARCH} in
+		x86)
+			EXECTYPE="i386-intel8";;
+		amd64)
+			EXECTYPE="x86_64-intel8";;
+		*)
+			die "Your arch "${ARCH}" does not appear supported at this time.";;
+	esac
+}
+
+python_prepare_all(){
+	sed "s:i386-intel8:${EXECTYPE}:g" -i src/swig/setup.py || die
+	distutils-r1_python_prepare_all
+}
+
+python_compile(){
+	cd src/swig || die
+	swig -python -keyword -nodefaultctor -nodefaultdtor -noproxy modeller.i || die
+	distutils-r1_python_compile
+}
+
+python_install() {
+	cd src/swig || die
+	distutils-r1_python_install
+}
+
+python_install_all(){
+	cd "${S}" || die
+	sed \
+		-e "/^EXECUTABLE_TYPE/s:xxx:${EXECTYPE}:g" \
+		-e "/MODINSTALL/s:xxx:\"${INPATH}\":g" \
+		-i bin/modscript || die
+
+	sed -e "s;@TOPDIR\@;\"${INPATH}\";" \
+		-e "s;@EXETYPE\@;${EXECTYPE};" \
+		bin/modpy.sh.in > "${T}/modpy.sh"
+
+	insinto ${INPATH}
+	doins -r modlib
+	python_foreach_impl python_domodule modlib/modeller
+
+	insinto ${INPATH}/bin
+	doins -r bin/{lib,*top}
+
+	exeinto ${INPATH}/bin
+	doexe bin/{modscript,mod${PV}_${EXECTYPE}} "${T}"/modpy.sh
+
+	python_foreach_impl python_doscript bin/modslave.py
+	dosym ${INPATH}/bin/modscript /opt/bin/mod${PV}
+	dosym ${INPATH}/bin/modpy.sh /opt/bin/modpy.sh
+
+	exeinto ${INPATH}/lib/${EXECTYPE}/
+	doexe lib/${EXECTYPE}/lib*
+	dosym libmodeller.so.8 ${INPATH}/lib/${EXECTYPE}/libmodeller.so
+	dosym ../../${INPATH}/lib/${EXECTYPE}/libmodeller.so.8 /usr/$(get_libdir)/libmodeller.so.8
+
+	use doc && HTML_DOCS=( doc/. )
+	distutils-r1_python_install_all
+
+	if use examples; then
+		insinto /usr/share/${PN}/
+		doins -r examples
+	fi
+
+	insinto /etc/revdep-rebuild
+	cat >> "${T}"/40-${PN} <<- EOF
+	SEARCH_DIRS_MASK="${EPREFIX}/opt/modeller/lib/"
+	EOF
+	doins "${T}"/40-${PN}
+}
+
+pkg_postinst() {
+	if [[ ! -e "${INPATH}/modlib/modeller/config.py" ]]; then
+		echo install_dir = \"${INPATH}/\"> ${INPATH}/modlib/modeller/config.py
+	fi
+
+	if grep -q license ${INPATH}/modlib/modeller/config.py; then
+		einfo "A license key file is already present in ${IN_PATH}/modlib/modeller/config.py"
+	else
+		ewarn "Obtain a license Key from"
+		ewarn "http://salilab.org/modeller/registration.html"
+		ewarn "And run this before using modeller:"
+		ewarn "emerge --config =${CATEGORY}/${PF}"
+		ewarn "That way you can [re]enter your license key."
+	fi
+}
+
+pkg_postrm() {
+	ewarn "This package leaves a license Key file in ${INPATH}/modlib/modeller/config.py"
+	ewarn "that you need to remove to completely get rid of modeller."
+}
+
+pkg_config() {
+	ewarn "Your license key is NOT checked for validity here."
+	ewarn "  Make sure you type it in correctly."
+	eerror "If you CTRL+C out of this, modeller will not run!"
+	while true
+	do
+		einfo "Please enter your license key:"
+		read license_key1
+		einfo "Please re-enter your license key:"
+		read license_key2
+		if [[ "$license_key1" == "" ]]
+		then
+			echo "You entered a blank license key.  Try again."
+		else
+			if [[ "$license_key1" == "$license_key2" ]]
+			then
+				echo license = '"'$license_key1'"' >> "${INPATH}/modlib/modeller/config.py"
+				einfo "Thank you!"
+				break
+			else
+				eerror "Your license key entries do not match.  Try again."
+			fi
+		fi
+	done
+}


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

* [gentoo-commits] proj/sci:master commit in: sci-chemistry/modeller/
@ 2020-12-31 11:54 Aisha Tammy
  0 siblings, 0 replies; 9+ messages in thread
From: Aisha Tammy @ 2020-12-31 11:54 UTC (permalink / raw
  To: gentoo-commits

commit:     a68694f10db89263ecb947ed63382433da73dc84
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu Dec 31 11:46:01 2020 +0000
Commit:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Thu Dec 31 11:53:54 2020 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=a68694f1

sci-chemistry/modeller: make repoman happier

The patch is still too big, but at least now it
doesn't complain about missing deps

Package-Manager: Portage-3.0.12, Repoman-3.0.2
RepoMan-Options: --force
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
Closes: https://github.com/gentoo/sci/pull/1016
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>

 sci-chemistry/modeller/modeller-9.25.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/sci-chemistry/modeller/modeller-9.25.ebuild b/sci-chemistry/modeller/modeller-9.25.ebuild
index cf3af567e..8db00ea11 100644
--- a/sci-chemistry/modeller/modeller-9.25.ebuild
+++ b/sci-chemistry/modeller/modeller-9.25.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7,8,9} )
+PYTHON_COMPAT=( python3_{7,8,9} )
 
 inherit distutils-r1 eutils multilib
 
@@ -12,14 +12,13 @@ HOMEPAGE="https://salilab.org/modeller/"
 SRC_URI="https://salilab.org/${PN}/${PV}/${P}.tar.gz"
 
 LICENSE="modeller"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~x86"
 IUSE="doc examples"
 SLOT="0"
 
 RESTRICT="mirror"
 
 DEPEND=">=dev-lang/swig-1.3"
-RDEPEND=""
 
 INPATH="${EPREFIX}"/opt/modeller${ver}
 


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

end of thread, other threads:[~2020-12-31 11:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-25 21:00 [gentoo-commits] proj/sci:master commit in: sci-chemistry/modeller/ Marius Brehler
  -- strict thread matches above, loose matches on Subject: below --
2020-12-31 11:54 Aisha Tammy
2018-04-06 13:29 Alexey Shvetsov
2016-10-29  9:36 Justin Lecher
2013-09-20 16:02 Justin Lecher
2013-06-26 14:53 Justin Lecher
2013-06-26 14:45 Justin Lecher
2013-06-26 14:55 ` Justin Lecher
2013-06-18 12:46 Justin Lecher

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