public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/chimera-bin/
Date: Fri, 29 Jan 2021 11:40:19 +0000 (UTC)	[thread overview]
Message-ID: <1611920395.a26637ce3fd8098a5c4b842d1eeb250129aefb59.andrewammerlaan@gentoo> (raw)

commit:     a26637ce3fd8098a5c4b842d1eeb250129aefb59
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Fri Jan 29 11:39:55 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Jan 29 11:39:55 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=a26637ce

sci-chemistry/chimera-bin: add version 1.15

also fix the symlink to freetype and add dependency on python2_7

Closes: https://github.com/gentoo/sci/issues/1046
Closes: https://github.com/gentoo/sci/issues/1045
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sci-chemistry/chimera-bin/chimera-bin-1.14.ebuild  | 22 +++++++++++++++-------
 ...era-bin-1.14.ebuild => chimera-bin-1.15.ebuild} | 22 +++++++++++++++-------
 2 files changed, 30 insertions(+), 14 deletions(-)

diff --git a/sci-chemistry/chimera-bin/chimera-bin-1.14.ebuild b/sci-chemistry/chimera-bin/chimera-bin-1.14.ebuild
index 7b00f46d5..4b277862d 100644
--- a/sci-chemistry/chimera-bin/chimera-bin-1.14.ebuild
+++ b/sci-chemistry/chimera-bin/chimera-bin-1.14.ebuild
@@ -1,12 +1,14 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit eutils
+PYTHON_COMPAT=( python2_7 )
+
+inherit desktop xdg python-any-r1
 
 DESCRIPTION="An extensible Molecular Modelling System"
-HOMEPAGE="http://www.cgl.ucsf.edu/chimera"
+HOMEPAGE="https://www.cgl.ucsf.edu/chimera/"
 SRC_URI="chimera-${PV}-linux_x86_64.bin"
 
 SLOT="0"
@@ -42,19 +44,21 @@ RDEPEND="
 	x11-libs/libXrender
 	x11-libs/libSM
 	x11-libs/libXt
-	x11-libs/libGLw"
+	x11-libs/libGLw
+	${PYTHON_DEPS}
+"
 
 S="${WORKDIR}"
 
-RESTRICT="fetch strip"
+RESTRICT="fetch mirror strip"
 
 QA_PREBUILT="opt/.*"
 
 pkg_nofetch() {
 	elog "Please visit"
-	elog "http://www.cgl.ucsf.edu/chimera/download.html"
+	elog "https://www.cgl.ucsf.edu/chimera/download.html"
 	elog "or"
-	elog "http://www.cgl.ucsf.edu/chimera/olddownload.html"
+	elog "https://www.cgl.ucsf.edu/chimera/olddownload.html"
 	elog "and download ${A} into your DISTDIR"
 }
 
@@ -80,6 +84,10 @@ src_install() {
 	exeinto /opt/bin/
 	doexe "${T}"/chimera
 
+	# point the symlink to the correct location
+	rm "${ED}/opt/chimera-bin/include/ft2build.h"
+	dosym ../../../usr/include/freetype2/ft2build.h opt/chimera-bin/include/ft2build.h
+
 	make_desktop_entry "${EPREFIX}/opt/bin/chimera" Chimera chimeraIcon
 
 	if use prefix; then

diff --git a/sci-chemistry/chimera-bin/chimera-bin-1.14.ebuild b/sci-chemistry/chimera-bin/chimera-bin-1.15.ebuild
similarity index 75%
copy from sci-chemistry/chimera-bin/chimera-bin-1.14.ebuild
copy to sci-chemistry/chimera-bin/chimera-bin-1.15.ebuild
index 7b00f46d5..4b277862d 100644
--- a/sci-chemistry/chimera-bin/chimera-bin-1.14.ebuild
+++ b/sci-chemistry/chimera-bin/chimera-bin-1.15.ebuild
@@ -1,12 +1,14 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit eutils
+PYTHON_COMPAT=( python2_7 )
+
+inherit desktop xdg python-any-r1
 
 DESCRIPTION="An extensible Molecular Modelling System"
-HOMEPAGE="http://www.cgl.ucsf.edu/chimera"
+HOMEPAGE="https://www.cgl.ucsf.edu/chimera/"
 SRC_URI="chimera-${PV}-linux_x86_64.bin"
 
 SLOT="0"
@@ -42,19 +44,21 @@ RDEPEND="
 	x11-libs/libXrender
 	x11-libs/libSM
 	x11-libs/libXt
-	x11-libs/libGLw"
+	x11-libs/libGLw
+	${PYTHON_DEPS}
+"
 
 S="${WORKDIR}"
 
-RESTRICT="fetch strip"
+RESTRICT="fetch mirror strip"
 
 QA_PREBUILT="opt/.*"
 
 pkg_nofetch() {
 	elog "Please visit"
-	elog "http://www.cgl.ucsf.edu/chimera/download.html"
+	elog "https://www.cgl.ucsf.edu/chimera/download.html"
 	elog "or"
-	elog "http://www.cgl.ucsf.edu/chimera/olddownload.html"
+	elog "https://www.cgl.ucsf.edu/chimera/olddownload.html"
 	elog "and download ${A} into your DISTDIR"
 }
 
@@ -80,6 +84,10 @@ src_install() {
 	exeinto /opt/bin/
 	doexe "${T}"/chimera
 
+	# point the symlink to the correct location
+	rm "${ED}/opt/chimera-bin/include/ft2build.h"
+	dosym ../../../usr/include/freetype2/ft2build.h opt/chimera-bin/include/ft2build.h
+
 	make_desktop_entry "${EPREFIX}/opt/bin/chimera" Chimera chimeraIcon
 
 	if use prefix; then


             reply	other threads:[~2021-01-29 11:40 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-29 11:40 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-04-25 11:18 [gentoo-commits] proj/sci:master commit in: sci-chemistry/chimera-bin/ Andrew Ammerlaan
2021-02-01  5:37 Andrew Ammerlaan
2021-01-29 11:49 Andrew Ammerlaan
2021-01-29 11:46 Andrew Ammerlaan
2021-01-29 11:40 Andrew Ammerlaan
2020-12-31 11:59 Aisha Tammy
2020-09-28  8:13 Horea Christian
2020-09-28  8:13 Horea Christian
2016-11-11 19:13 Alexey Shvetsov
2015-11-03 14:49 Justin Lecher
2015-10-10 14:11 Justin Lecher
2014-09-15  6:32 Justin Lecher
2014-06-27  9:53 Alexey Shvetsov
2014-01-18  7:39 Justin Lecher
2014-01-18  7:38 Justin Lecher
2013-08-19 23:33 Sebastien Fabbro
2012-11-14 14:41 Justin Lecher
2012-11-14 14:09 Justin Lecher
2012-09-21  6:03 Justin Lecher
2012-09-21  6:00 Justin Lecher
2012-09-20 12:39 Justin Lecher

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=1611920395.a26637ce3fd8098a5c4b842d1eeb250129aefb59.andrewammerlaan@gentoo \
    --to=andrewammerlaan@riseup.net \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@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