[gentoo-commits] repo/gentoo:master commit in: sci-chemistry/cluster/
commit: 6057e43d9d6ebf952530e8c19e7c996fece26327 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Dec 16 16:17:08 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Dec 16 16:17:08 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6057e43d sci-chemistry/cluster: Stabilize 1.3.081231-r2 amd64, #920145 Signed-off-by: Arthur Zamarin gentoo.org> sci-chemistry/cluster/cluster-1.3.081231-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-chemistry/cluster/cluster-1.3.081231-r2.ebuild b/sci-chemistry/cluster/cluster-1.3.081231-r2.ebuild index 63f38eed67d2..3064f911fd89 100644 --- a/sci-chemistry/cluster/cluster-1.3.081231-r2.ebuild +++ b/sci-chemistry/cluster/cluster-1.3.081231-r2.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}"/${PN}1.3src LICENSE="richardson" SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux" PATCHES=( "${FILESDIR}"/${PV}-ldflags.patch
[gentoo-commits] repo/gentoo:master commit in: sci-chemistry/cluster/, sci-chemistry/cluster/files/
commit: 67055ebbb2c4ef0b23687a3ee0c0769917e23bac Author: Brahmajit Das gmail com> AuthorDate: Fri Jun 16 18:16:49 2023 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Mon Sep 11 07:25:59 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67055ebb sci-chemistry/cluster: Fix error: ISO C++17 does not allow register storage class Closes: https://bugs.gentoo.org/898132 Signed-off-by: Brahmajit Das gmail.com> Closes: https://github.com/gentoo/gentoo/pull/31488 Signed-off-by: Andrew Ammerlaan gentoo.org> sci-chemistry/cluster/cluster-1.3.081231-r2.ebuild | 31 ++ .../cluster/files/1.3.081231-drop-registers.patch | 23 2 files changed, 54 insertions(+) diff --git a/sci-chemistry/cluster/cluster-1.3.081231-r2.ebuild b/sci-chemistry/cluster/cluster-1.3.081231-r2.ebuild new file mode 100644 index ..63f38eed67d2 --- /dev/null +++ b/sci-chemistry/cluster/cluster-1.3.081231-r2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Build lists of collections of interacting items" +HOMEPAGE="http://kinemage.biochem.duke.edu/software/index.php; +SRC_URI="http://kinemage.biochem.duke.edu/downloads/software/${PN}/${PN}.${PV}.src.tgz; +S="${WORKDIR}"/${PN}1.3src + +LICENSE="richardson" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +PATCHES=( + "${FILESDIR}"/${PV}-ldflags.patch + "${FILESDIR}"/${PV}-includes.patch + "${FILESDIR}"/${PV}-drop-registers.patch +) + +src_configure() { + tc-export CXX + default +} + +src_install() { + newbin ${PN} molprobity-${PN} + dodoc README.cluster +} diff --git a/sci-chemistry/cluster/files/1.3.081231-drop-registers.patch b/sci-chemistry/cluster/files/1.3.081231-drop-registers.patch new file mode 100644 index ..c00922591faa --- /dev/null +++ b/sci-chemistry/cluster/files/1.3.081231-drop-registers.patch @@ -0,0 +1,23 @@ +Bug: https://bugs.gentoo.org/898132 +--- a/utility.cpp b/utility.cpp +@@ -107,8 +107,8 @@ int compArgStr(const char *str, const char *arg, int min) { + } + + int parseInteger(const char *str, int start, int len) { +- register int value = 0; +- register char ch; ++ int value = 0; ++ char ch; + int neg = 0, inside = 0; + + if (!str || start < 0) { return 0; } +@@ -136,7 +136,7 @@ int parseInteger(const char *str, int start, int len) { + double parseReal(const char *str, int start, int len) { +double value = 0.0, scale = 1.0, expscale = 1.0, expfact = 10.0; +int expval = 0; +- register char ch; ++ char ch; +int inside = 0, infract = 0, inexp = 0, insn = 0, esn = 0; + +if (!str || start < 0) { return 0; }
[gentoo-commits] repo/gentoo:master commit in: sci-chemistry/cluster/
commit: 6e772d8e9d9e89b8349327e64a2eeac8aeff8626 Author: Jakov Smolić gentoo org> AuthorDate: Thu Oct 21 09:33:44 2021 + Commit: Jakov Smolić gentoo org> CommitDate: Thu Oct 21 09:55:25 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e772d8e sci-chemistry/cluster: Port to EAPI 8 Signed-off-by: Jakov Smolić gentoo.org> sci-chemistry/cluster/cluster-1.3.081231-r1.ebuild | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/sci-chemistry/cluster/cluster-1.3.081231-r1.ebuild b/sci-chemistry/cluster/cluster-1.3.081231-r1.ebuild index d274ed0d378..b5f0395734e 100644 --- a/sci-chemistry/cluster/cluster-1.3.081231-r1.ebuild +++ b/sci-chemistry/cluster/cluster-1.3.081231-r1.ebuild @@ -1,26 +1,27 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=8 -inherit epatch toolchain-funcs +inherit toolchain-funcs DESCRIPTION="Build lists of collections of interacting items" HOMEPAGE="http://kinemage.biochem.duke.edu/software/index.php; SRC_URI="http://kinemage.biochem.duke.edu/downloads/software/${PN}/${PN}.${PV}.src.tgz; +S="${WORKDIR}"/${PN}1.3src -SLOT="0" LICENSE="richardson" +SLOT="0" KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" -IUSE="" -S="${WORKDIR}"/${PN}1.3src +PATCHES=( + "${FILESDIR}"/${PV}-ldflags.patch + "${FILESDIR}"/${PV}-includes.patch +) -src_prepare() { - epatch \ - "${FILESDIR}"/${PV}-ldflags.patch \ - "${FILESDIR}"/${PV}-includes.patch +src_configure() { tc-export CXX + default } src_install() {
[gentoo-commits] repo/gentoo:master commit in: sci-chemistry/cluster/
commit: b2d96ed1d1279a92dd97b1258b2acdc448cfec0d Author: Aaron Bauman gentoo org> AuthorDate: Fri Dec 13 02:53:42 2019 + Commit: Aaron Bauman gentoo org> CommitDate: Fri Dec 13 03:25:07 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2d96ed1 sci-chemistry/cluster: drop old EAPI Signed-off-by: Aaron Bauman gentoo.org> sci-chemistry/cluster/cluster-1.3.081231.ebuild | 29 - 1 file changed, 29 deletions(-) diff --git a/sci-chemistry/cluster/cluster-1.3.081231.ebuild b/sci-chemistry/cluster/cluster-1.3.081231.ebuild deleted file mode 100644 index e9d3b8999e1..000 --- a/sci-chemistry/cluster/cluster-1.3.081231.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit eutils toolchain-funcs - -DESCRIPTION="Build lists of collections of interacting items" -HOMEPAGE="http://kinemage.biochem.duke.edu/software/index.php; -SRC_URI="http://kinemage.biochem.duke.edu/downloads/software/${PN}/${PN}.${PV}.src.tgz; - -SLOT="0" -LICENSE="richardson" -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" -IUSE="" - -S="${WORKDIR}"/${PN}1.3src - -src_prepare() { - epatch \ - "${FILESDIR}"/${PV}-ldflags.patch \ - "${FILESDIR}"/${PV}-includes.patch - tc-export CXX -} - -src_install() { - dobin ${PN} - dodoc README.cluster -}