Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/reduce/, sci-chemistry/reduce/files/
Date: Sat, 10 Aug 2019 04:07:30
Message-Id: 1565409935.a3ffd565b7bbfa3491aa1c554fa15c10ad23265d.mattst88@gentoo
1 commit: a3ffd565b7bbfa3491aa1c554fa15c10ad23265d
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 10 04:03:21 2019 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 10 04:05:35 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3ffd565
7
8 sci-chemistry/reduce: Remove
9
10 Closes: https://bugs.gentoo.org/639760
11 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
12
13 sci-chemistry/reduce/Manifest | 1 -
14 .../reduce/files/3.13.080428-LDFLAGS.patch | 11 -----
15 .../reduce/files/3.14.080821-CFLAGS.patch | 22 ----------
16 .../files/reduce-3.16.111118-fix-c++14.patch | 14 -------
17 sci-chemistry/reduce/metadata.xml | 8 ----
18 sci-chemistry/reduce/reduce-3.16.111118.ebuild | 49 ----------------------
19 6 files changed, 105 deletions(-)
20
21 diff --git a/sci-chemistry/reduce/Manifest b/sci-chemistry/reduce/Manifest
22 deleted file mode 100644
23 index 6f59e8193a4..00000000000
24 --- a/sci-chemistry/reduce/Manifest
25 +++ /dev/null
26 @@ -1 +0,0 @@
27 -DIST reduce.3.16.111118.src.zip 20342632 BLAKE2B 8c00e4ca881680404777cb788a0f6b4a5a0683ee33492c0050e503ce765d68117159bafded0f04c76f35ebd2f69fafbe471ff9798bea722be6d1585d128dae61 SHA512 f7b4d8d91f1f57e9e96c91139fa919c570aebd07f3a440faf3df54bf5deb3a05ad998996a24b5fe9aff6280e00329c9914e338cbfe802c047c055f52ce8312a9
28
29 diff --git a/sci-chemistry/reduce/files/3.13.080428-LDFLAGS.patch b/sci-chemistry/reduce/files/3.13.080428-LDFLAGS.patch
30 deleted file mode 100644
31 index a615be088b2..00000000000
32 --- a/sci-chemistry/reduce/files/3.13.080428-LDFLAGS.patch
33 +++ /dev/null
34 @@ -1,11 +0,0 @@
35 ---- a/reduce_src/Makefile
36 -+++ b/reduce_src/Makefile
37 -@@ -34,7 +34,7 @@
38 - all: reduce
39 -
40 - reduce: $(OBJLIST)
41 -- $(CXX) -o $@ $(OBJLIST) $(LFLAGS)
42 -+ $(CXX) $(LDFLAGS) -o $@ $(OBJLIST) $(LFLAGS)
43 -
44 - clean:
45 - @rm -rf *.o *.ckp ii_files
46
47 diff --git a/sci-chemistry/reduce/files/3.14.080821-CFLAGS.patch b/sci-chemistry/reduce/files/3.14.080821-CFLAGS.patch
48 deleted file mode 100644
49 index 8294c8ca385..00000000000
50 --- a/sci-chemistry/reduce/files/3.14.080821-CFLAGS.patch
51 +++ /dev/null
52 @@ -1,22 +0,0 @@
53 -diff --git a/reduce_src/Makefile b/reduce_src/Makefile
54 -index 598e367..067ace4 100644
55 ---- a/reduce_src/Makefile
56 -+++ b/reduce_src/Makefile
57 -@@ -12,7 +12,7 @@ PROG_FLGS = -DAROMATICS_ACCEPT_HBONDS \
58 - # -DDEBUGMOVABLENODE -DDEBUGDOTCOUNTS
59 - # -DMINPREDEFINED -DMAXPREDEFINED\
60 -
61 --CFLAGS = $(OPT) $(DEBUG) $(PROG_FLGS) $(DICT_LOC) $(DICT_LOCOLD)\
62 -+CXXFLAGS = $(OPT) $(DEBUG) $(PROG_FLGS) $(DICT_LOC) $(DICT_LOCOLD)\
63 - -I$(PDBHOME) -I$(TOOLHOME)
64 - # -Wall
65 -
66 -@@ -26,7 +26,7 @@ OBJLIST = GraphToHoldScores.o reduce.o CTab.o ElementInfo.o StdResH.o ResBlk.o A
67 - CXX = g++
68 -
69 - .cpp.o:
70 -- $(CXX) -c $*.cpp $(CFLAGS)
71 -+ $(CXX) -c $*.cpp $(CXXFLAGS)
72 -
73 - OPT = -O3
74 - DEBUG = $(CXXDEBUGFLAGS)
75
76 diff --git a/sci-chemistry/reduce/files/reduce-3.16.111118-fix-c++14.patch b/sci-chemistry/reduce/files/reduce-3.16.111118-fix-c++14.patch
77 deleted file mode 100644
78 index 5a45b7cef49..00000000000
79 --- a/sci-chemistry/reduce/files/reduce-3.16.111118-fix-c++14.patch
80 +++ /dev/null
81 @@ -1,14 +0,0 @@
82 -Fix building with C++14, which errors out due to an erroneous std::cerr.
83 -See also: https://bugs.gentoo.org/show_bug.cgi?id=594202
84 -
85 ---- a/reduce_src/GraphToHoldScores.cpp
86 -+++ b/reduce_src/GraphToHoldScores.cpp
87 -@@ -1150,7 +1150,7 @@
88 - }
89 - }
90 - std::cerr << "CRITICAL ERROR IN whichVertex(" << vertex_index << ") called on edge [" <<
91 -- std::cerr << vertex_indices_[ 0 ] << ", " << vertex_indices_[ 1 ] << "]" << std::endl;
92 -+ vertex_indices_[ 0 ] << ", " << vertex_indices_[ 1 ] << "]" << std::endl;
93 - assert(false);
94 - exit(1);
95 - return 0; // to avoid warnings
96
97 diff --git a/sci-chemistry/reduce/metadata.xml b/sci-chemistry/reduce/metadata.xml
98 deleted file mode 100644
99 index da36ecbfcd6..00000000000
100 --- a/sci-chemistry/reduce/metadata.xml
101 +++ /dev/null
102 @@ -1,8 +0,0 @@
103 -<?xml version="1.0" encoding="UTF-8"?>
104 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
105 -<pkgmetadata>
106 - <maintainer type="project">
107 - <email>sci-chemistry@g.o</email>
108 - <name>Gentoo Chemistry Project</name>
109 - </maintainer>
110 -</pkgmetadata>
111
112 diff --git a/sci-chemistry/reduce/reduce-3.16.111118.ebuild b/sci-chemistry/reduce/reduce-3.16.111118.ebuild
113 deleted file mode 100644
114 index ef1349e6ade..00000000000
115 --- a/sci-chemistry/reduce/reduce-3.16.111118.ebuild
116 +++ /dev/null
117 @@ -1,49 +0,0 @@
118 -# Copyright 1999-2017 Gentoo Foundation
119 -# Distributed under the terms of the GNU General Public License v2
120 -
121 -EAPI=6
122 -
123 -inherit toolchain-funcs
124 -
125 -MY_P="${PN}.${PV}.src"
126 -
127 -DESCRIPTION="Adds hydrogens to a Protein Data Bank (PDB) molecule structure file"
128 -HOMEPAGE="http://kinemage.biochem.duke.edu/software/reduce.php"
129 -SRC_URI="http://kinemage.biochem.duke.edu/downloads/software/reduce31/${MY_P}.zip"
130 -
131 -LICENSE="richardson"
132 -SLOT="0"
133 -KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
134 -IUSE=""
135 -
136 -RDEPEND=""
137 -DEPEND="${RDEPEND}
138 - app-arch/unzip"
139 -
140 -S="${WORKDIR}/"
141 -PATCHES=(
142 - "${FILESDIR}"/3.13.080428-LDFLAGS.patch
143 - "${FILESDIR}"/3.14.080821-CFLAGS.patch
144 - "${FILESDIR}"/${PN}-3.16.111118-fix-c++14.patch
145 -)
146 -
147 -src_compile() {
148 - DICT_DIR="/usr/share/reduce"
149 - DICT_FOLD="reduce_het_dict.txt"
150 - DICT_FNEW="reduce_wwPDB_het_dict.txt"
151 -
152 - emake clean
153 - emake \
154 - CC="$(tc-getCC)" \
155 - CXX="$(tc-getCXX)" \
156 - OPT="${CXXFLAGS}" \
157 - DICT_HOME="${EPREFIX}/${DICT_DIR}/${DICT_FNEW}" \
158 - DICT_OLD="${EPREFIX}/${DICT_DIR}/${DICT_FOLD}"
159 -}
160 -
161 -src_install() {
162 - dobin "${S}"/reduce_src/reduce
163 - insinto ${DICT_DIR}
164 - doins "${S}"/${DICT_FOLD} "${S}"/${DICT_FNEW}
165 - dodoc README.usingReduce.txt
166 -}