public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/moldy/
@ 2020-09-16 20:17 David Seifert
  0 siblings, 0 replies; 3+ messages in thread
From: David Seifert @ 2020-09-16 20:17 UTC (permalink / raw
  To: gentoo-commits

commit:     84e724fb340c02ae318e047889a44fb7cd797317
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 16 20:16:37 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Sep 16 20:16:37 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84e724fb

sci-chemistry/moldy: Port to EAPI 7

Closes: https://bugs.gentoo.org/742002
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-chemistry/moldy/moldy-2.16e-r2.ebuild | 29 +++++++++++++++--------------
 1 file changed, 15 insertions(+), 14 deletions(-)

diff --git a/sci-chemistry/moldy/moldy-2.16e-r2.ebuild b/sci-chemistry/moldy/moldy-2.16e-r2.ebuild
index 0d339986030..81b2d5bf314 100644
--- a/sci-chemistry/moldy/moldy-2.16e-r2.ebuild
+++ b/sci-chemistry/moldy/moldy-2.16e-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=7
 
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
 
 DESCRIPTION="Molecular dynamics simulations platform"
 HOMEPAGE="http://www.ccp5.ac.uk/moldy/moldy.html"
@@ -12,15 +12,16 @@ SRC_URI="ftp://ftp.earth.ox.ac.uk/pub/keith/${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="doc examples"
+IUSE="doc"
 
-DEPEND="doc? ( virtual/latex-base )"
-RDEPEND=""
+BDEPEND="doc? ( virtual/latex-base )"
 
 S="${WORKDIR}"
 
+PATCHES=( "${FILESDIR}"/${PV}-as-needed.patch )
+
 src_prepare() {
-	epatch "${FILESDIR}"/${PV}-as-needed.patch
+	default
 	sed \
 		-e 's:-O2::g' \
 		-e 's:-ffast-math::g' \
@@ -47,6 +48,7 @@ src_configure() {
 
 src_compile() {
 	emake
+
 	# To prevent sandbox violations by metafont
 	if use doc; then
 		VARTEXFONTS="${T}"/fonts emake moldy.pdf
@@ -58,13 +60,12 @@ src_install() {
 	emake prefix="${ED}"/usr install
 	dodoc BENCHMARK READ.ME RELNOTES
 
-	if use examples; then
-		rm Makefile.in configure.in config.h.in
-		insinto /usr/share/${PN}/examples/
-		doins *.in *.out control.*
-	fi
+	rm Makefile.in configure.in config.h.in || die
+	insinto /usr/share/${PN}/examples/
+	doins *.in *.out control.*
+
 	if use doc; then
-		insinto /usr/share/doc/${PF}/pdf
-		newins moldy.pdf moldy-manual.pdf
+		docinto pdf
+		newdoc moldy.pdf moldy-manual.pdf
 	fi
 }


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

* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/moldy/
@ 2021-11-18 23:50 Georgy Yakovlev
  0 siblings, 0 replies; 3+ messages in thread
From: Georgy Yakovlev @ 2021-11-18 23:50 UTC (permalink / raw
  To: gentoo-commits

commit:     3df60d6bac70711fe0935ab95203f551c43ffb95
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 18 23:44:57 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Thu Nov 18 23:50:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3df60d6b

sci-chemistry/moldy: de-stabilize for ~ppc, bug #823768

Bug: https://bugs.gentoo.org/823768
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 sci-chemistry/moldy/moldy-2.16e-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-chemistry/moldy/moldy-2.16e-r2.ebuild b/sci-chemistry/moldy/moldy-2.16e-r2.ebuild
index 81b2d5bf314b..2d49fa32d42e 100644
--- a/sci-chemistry/moldy/moldy-2.16e-r2.ebuild
+++ b/sci-chemistry/moldy/moldy-2.16e-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ SRC_URI="ftp://ftp.earth.ox.ac.uk/pub/keith/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="doc"
 
 BDEPEND="doc? ( virtual/latex-base )"


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

* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/moldy/
@ 2022-03-20 18:51 Sam James
  0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2022-03-20 18:51 UTC (permalink / raw
  To: gentoo-commits

commit:     d6f8919b817dee2b8cd5485525a81eb7e11267a9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 20 18:49:47 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 20 18:51:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6f8919b

sci-chemistry/moldy: [QA] fix tc-get* quoting

This can cause build problems for e.g. 32-bit (gcc -m32 ...)

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-chemistry/moldy/moldy-2.16e-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-chemistry/moldy/moldy-2.16e-r2.ebuild b/sci-chemistry/moldy/moldy-2.16e-r2.ebuild
index 2d49fa32d42e..e0c114cdbb87 100644
--- a/sci-chemistry/moldy/moldy-2.16e-r2.ebuild
+++ b/sci-chemistry/moldy/moldy-2.16e-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -42,7 +42,7 @@ src_configure() {
 
 	OPT="${CFLAGS}" \
 	OPT2="${CFLAGS} ${CFLAGS_OPT}" \
-	CC=$(tc-getCC) \
+	CC="$(tc-getCC)" \
 	econf
 }
 


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

end of thread, other threads:[~2022-03-20 18:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-20 18:51 [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/moldy/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2021-11-18 23:50 Georgy Yakovlev
2020-09-16 20:17 David Seifert

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