public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: profiles/, sci-chemistry/mopac7/, sci-chemistry/mopac7/files/
@ 2024-10-18 15:35 Arthur Zamarin
  0 siblings, 0 replies; only message in thread
From: Arthur Zamarin @ 2024-10-18 15:35 UTC (permalink / raw
  To: gentoo-commits

commit:     0dcdf91d6716dda656803882b890a37b2204157a
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 18 15:28:32 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 18 15:34:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dcdf91d

sci-chemistry/mopac7: treeclean

Closes: https://bugs.gentoo.org/877105 (pkgremoved)
Closes: https://bugs.gentoo.org/927389 (pkgremoved)
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 profiles/package.mask                      |  5 --
 sci-chemistry/mopac7/Manifest              |  3 --
 sci-chemistry/mopac7/files/Makefile        | 18 -------
 sci-chemistry/mopac7/metadata.xml          | 14 ------
 sci-chemistry/mopac7/mopac7-1.15-r1.ebuild | 78 ------------------------------
 5 files changed, 118 deletions(-)

diff --git a/profiles/package.mask b/profiles/package.mask
index e6e4b94d8cdf..5d9fca847fb7 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -265,11 +265,6 @@ dev-util/aruba:0
 # Removal on 2024-10-09.  Bug #932568.
 mate-extra/mate-netbook
 
-# Eli Schwartz <eschwartz@gentoo.org> (2024-09-09)
-# Fails to build with modern C. Unmaintained for 20 years.
-# Removal on 2024-10-09.  Bug #877105, #927389.
-sci-chemistry/mopac7
-
 # Sam James <sam@gentoo.org> (2024-09-10)
 # Breaks libstdc++ with a casing issue: https://gcc.gnu.org/PR116657
 =sys-libs/timezone-data-2024b

diff --git a/sci-chemistry/mopac7/Manifest b/sci-chemistry/mopac7/Manifest
deleted file mode 100644
index e40b01f2ae36..000000000000
--- a/sci-chemistry/mopac7/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST dcart.f 11044 BLAKE2B 7414804ecfab9a7cbddee664b85e6e2e8c1d8fe1e1f73d480dd1a387c5e349d26ec4ae1a37f27e38b7c051fcce2c1bdf77de12ec628298fd3edf79040a8a0c5a SHA512 788a184fd8419ff742e49c1a652d5ea093f9114dbe4f272665b8fb9eeac2afb7f7042628c288f2b81d0f54d8a7ef2f400490cd3aff39dda59a6d70a0deab5b80
-DIST gmxmop.f 38956 BLAKE2B e411feca5104e91ae8fd2008de61d18cc214beb3b2a7aa09a80269fb935e27ba1b1cb89fa30eedbfc4f6c4734c22d932e57d5905c175ae9f56c4affee7b0ca04 SHA512 38bb2e5749c4d3c8c24f15682f72e40cb4edb6517c7916cecee1d21675b1870c0fe331ba2ec40312408dec473141e7742d1e155d4b64f1c2a25bfa4e11885194
-DIST mopac7-1.15.tar.gz 764547 BLAKE2B 6e037862007221955d0ad65f3c002a3d2e461950a2bc0efac9d195cf1d9d856842d02bc380ce236c3d48f863a144875950f5c86f8f3ac936b8b098472f7f7a0d SHA512 e0ccd643caa6dbd7e156867530d79e50e10243f5e3b5f8bc57781e68e1daf26f2a0e6987fff00afe07eb0fcb98cbd9f01e4cfa5d20acc0d8ab3cca632968636e

diff --git a/sci-chemistry/mopac7/files/Makefile b/sci-chemistry/mopac7/files/Makefile
deleted file mode 100644
index bcada8b0a889..000000000000
--- a/sci-chemistry/mopac7/files/Makefile
+++ /dev/null
@@ -1,18 +0,0 @@
-VERSION = GENTOOVERSION
-MAJOR = 1
-
-LIBS = -lgfortran -lf2c
-
-objects := $(patsubst %.f,%.o,$(wildcard *.f))
-
-all: libgmxmopac7
-
-clean:
-	 rm -f moldat.*f deriv.* mopac7*.* compfg.* dcart.*
-
-%.o: %.f
-	$(FC) $(FFLAGS) -fPIC -c $<
-
-libgmxmopac7: $(objects)
-	$(FC) -shared $(LDFLAGS) -Wl,-soname,libgmxmopac7.so.$(MAJOR) -o $@.so.$(VERSION) $^ $(LIBS)
-	ln -sf $@.so.$(VERSION) libgmxmopac7.so

diff --git a/sci-chemistry/mopac7/metadata.xml b/sci-chemistry/mopac7/metadata.xml
deleted file mode 100644
index cd1cacd0abf9..000000000000
--- a/sci-chemistry/mopac7/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-  <maintainer type="project">
-    <email>sci-chemistry@gentoo.org</email>
-    <name>Gentoo Chemistry Project</name>
-  </maintainer>
-  <use>
-    <flag name="gmxmopac7">Add support library for gromacs</flag>
-  </use>
-  <upstream>
-    <remote-id type="sourceforge">mopac7</remote-id>
-  </upstream>
-</pkgmetadata>

diff --git a/sci-chemistry/mopac7/mopac7-1.15-r1.ebuild b/sci-chemistry/mopac7/mopac7-1.15-r1.ebuild
deleted file mode 100644
index c536575112e8..000000000000
--- a/sci-chemistry/mopac7/mopac7-1.15-r1.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools fortran-2 flag-o-matic toolchain-funcs
-
-DESCRIPTION="Autotooled, updated version of a powerful, fast semi-empirical package"
-HOMEPAGE="https://sourceforge.net/projects/mopac7/"
-SRC_URI="
-	http://www.bioinformatics.org/ghemical/download/current/${P}.tar.gz
-	http://wwwuser.gwdg.de/~ggroenh/qmmm/mopac/dcart.f
-	http://wwwuser.gwdg.de/~ggroenh/qmmm/mopac/gmxmop.f"
-
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux"
-IUSE="gmxmopac7"
-
-DEPEND="dev-libs/libf2c"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-	default
-
-	# Install the executable
-	sed -i \
-		-e "s:noinst_PROGRAMS = mopac7:bin_PROGRAMS = mopac7:g" \
-		fortran/Makefile.am \
-		|| die "sed failed: install mopac7"
-	# Install the script to run the executable
-	sed -i \
-		-e "s:EXTRA_DIST = autogen.sh run_mopac7:bin_SCRIPTS = run_mopac7:g" \
-		Makefile.am \
-		|| die "sed failed: install run_mopac7"
-
-	eautoreconf
-	append-fflags -std=legacy -fno-automatic
-}
-
-src_configure() {
-	# -Werror=lto-type-mismatch
-	# https://bugs.gentoo.org/927389
-	#
-	# Unmaintained fortran code, no bug report.
-	filter-lto
-
-	econf --disable-static
-}
-
-src_compile() {
-	emake
-	if use gmxmopac7; then
-		einfo "Making mopac7 lib for gromacs"
-		mkdir "${S}"/fortran/libgmxmopac7 || die
-		cd "${S}"/fortran/libgmxmopac7 || die
-		cp -n ../SIZES ../*.f "${FILESDIR}"/Makefile . || die
-		emake clean
-		cp -n "${DISTDIR}"/gmxmop.f "${DISTDIR}"/dcart.f . || die
-		sed "s:GENTOOVERSION:${PV}:g" -i Makefile || die
-		emake FC="$(tc-getFC)"
-	fi
-}
-
-src_install() {
-	# A correct fix would have a run_mopac7.in with @bindir@ that gets
-	# replaced by configure, and run_mopac7 added to AC_OUTPUT in configure.ac
-	sed -i "s:./fortran/mopac7:mopac7:g" run_mopac7 || die
-
-	default
-
-	if use gmxmopac7; then
-		cd "${S}"/fortran/libgmxmopac7 || die
-		dolib.so libgmxmopac7.so*
-	fi
-
-	find "${ED}" -name '*.la' -delete || die
-}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-10-18 15:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-18 15:35 [gentoo-commits] repo/gentoo:master commit in: profiles/, sci-chemistry/mopac7/, sci-chemistry/mopac7/files/ Arthur Zamarin

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