Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-biology/psipred/files/, sci-biology/psipred/, profiles/
Date: Mon, 30 Aug 2021 17:39:29
Message-Id: 1630345128.5781aaa8b6bccd389d6520199e68819a84969412.jsmolic@gentoo
1 commit: 5781aaa8b6bccd389d6520199e68819a84969412
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 30 17:15:43 2021 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 30 17:38:48 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5781aaa8
7
8 sci-biology/psipred: Remove last-rited package
9
10 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
11
12 profiles/package.mask | 1 -
13 sci-biology/psipred/Manifest | 2 -
14 sci-biology/psipred/files/3.1-Makefile.patch | 38 -------------------
15 sci-biology/psipred/files/3.1-path.patch | 38 -------------------
16 sci-biology/psipred/files/3.2-fgets.patch | 13 -------
17 sci-biology/psipred/metadata.xml | 8 ----
18 sci-biology/psipred/psipred-3.5.ebuild | 56 ----------------------------
19 7 files changed, 156 deletions(-)
20
21 diff --git a/profiles/package.mask b/profiles/package.mask
22 index 9a9c7dde826..484e5b1182a 100644
23 --- a/profiles/package.mask
24 +++ b/profiles/package.mask
25 @@ -286,7 +286,6 @@ sci-libs/sktime
26 # Bug #798015, removal in 30 days.
27 sci-biology/ncbi-tools
28 sci-biology/njplot
29 -sci-biology/psipred
30
31 # Andreas K. Hüttel <dilfridge@g.o> (2021-07-31)
32 # Obsolete; all versions in current Perl core distributions
33
34 diff --git a/sci-biology/psipred/Manifest b/sci-biology/psipred/Manifest
35 deleted file mode 100644
36 index e1674978231..00000000000
37 --- a/sci-biology/psipred/Manifest
38 +++ /dev/null
39 @@ -1,2 +0,0 @@
40 -DIST psipred3.5.tar.gz 1101579 BLAKE2B 2fd86841cbc4bb86045b51f8283550832df8356ee88a6ef2c85281b5810debb23ac53652ddc5ffc9bd6f8e9e7248ce39ccee23400ff8fb49cd05b877d730b553 SHA512 a7b3f7d149f6a29cf0b48bdb900f6983d42af01132d8b54a7be88994d09fcf27dbe57115d41ec9654da6daf6898d5986d08fbdcefa3a4c81af0d358500cd40c2
41 -DIST tdbdata.tar.gz 40241247 BLAKE2B c85a2fde9b29a14e1da27be1a7ea5fe1704f72b66cd79514dd50a3a0d2d8aab9341f7d5075f6d1896cefa54ca83948387b902b38780181777dc505a9a15b4aab SHA512 f96d7ffbb77e129251e27f62b7f099d944bacd14935e03fc52c9f0b262cce1ad477ad43520a93b407951fb8f5dd3ba2e27ff6b5ae8a637ec03bc02f8c7c3990c
42
43 diff --git a/sci-biology/psipred/files/3.1-Makefile.patch b/sci-biology/psipred/files/3.1-Makefile.patch
44 deleted file mode 100644
45 index 0c70b686856..00000000000
46 --- a/sci-biology/psipred/files/3.1-Makefile.patch
47 +++ /dev/null
48 @@ -1,38 +0,0 @@
49 -diff --git a/src/Makefile b/src/Makefile
50 -index abed8af..26061fa 100644
51 ---- a/src/Makefile
52 -+++ b/src/Makefile
53 -@@ -6,9 +6,9 @@
54 - #### CFLAGS Flags to pass to C compiler.
55 -
56 - INCDIR = .
57 --CC = cc
58 -+CC ?= gcc
59 -
60 --CFLAGS = -O
61 -+CFLAGS ?= -O2
62 - LIBS = -lm
63 -
64 - all: psipred psipass2 chkparse seq2mtx pfilt
65 -@@ -20,16 +20,16 @@ clean:
66 - /bin/rm -f psipred psipass2 chkparse seq2mtx pfilt
67 -
68 - psipred: sspred_avpred.c ssdefs.h sspred_net.h
69 -- $(CC) $(CFLAGS) sspred_avpred.c $(LIBS) -o psipred
70 -+ $(CC) $(CFLAGS) $(LDFLAGS) sspred_avpred.c $(LIBS) -o psipred
71 -
72 - psipass2: sspred_hmulti.c ssdefs.h sspred_net2.h
73 -- $(CC) $(CFLAGS) sspred_hmulti.c $(LIBS) -o psipass2
74 -+ $(CC) $(CFLAGS) $(LDFLAGS) sspred_hmulti.c $(LIBS) -o psipass2
75 -
76 - chkparse: chkparse.c
77 -- $(CC) $(CFLAGS) chkparse.c $(LIBS) -o chkparse
78 -+ $(CC) $(CFLAGS) $(LDFLAGS) chkparse.c $(LIBS) -o chkparse
79 -
80 - seq2mtx: seq2mtx.c
81 -- $(CC) $(CFLAGS) seq2mtx.c $(LIBS) -o seq2mtx
82 -+ $(CC) $(CFLAGS) $(LDFLAGS) seq2mtx.c $(LIBS) -o seq2mtx
83 -
84 - pfilt: pfilt.c
85 -- $(CC) $(CFLAGS) pfilt.c $(LIBS) -o pfilt
86 -+ $(CC) $(CFLAGS) $(LDFLAGS) pfilt.c $(LIBS) -o pfilt
87
88 diff --git a/sci-biology/psipred/files/3.1-path.patch b/sci-biology/psipred/files/3.1-path.patch
89 deleted file mode 100644
90 index 564e9c8a1ef..00000000000
91 --- a/sci-biology/psipred/files/3.1-path.patch
92 +++ /dev/null
93 @@ -1,38 +0,0 @@
94 -diff --git a/runpsipred b/runpsipred
95 -index 4ccf44e..34dee99 100755
96 ---- a/runpsipred
97 -+++ b/runpsipred
98 -@@ -14,13 +14,13 @@
99 - set dbname = uniref90filt
100 -
101 - # Where the NCBI programs have been installed
102 --set ncbidir = /usr/local/bin
103 -+set ncbidir = @GENTOO_PORTAGE_EPREFIX@/usr/bin
104 -
105 - # Where the PSIPRED V2 programs have been installed
106 --set execdir = ./bin
107 -+set execdir = @GENTOO_PORTAGE_EPREFIX@/usr/bin
108 -
109 - # Where the PSIPRED V2 data files have been installed
110 --set datadir = ./data
111 -+set datadir = @GENTOO_PORTAGE_EPREFIX@/usr/share/psipred/data
112 -
113 - set basename = $1:r
114 - set rootname = $basename:t
115 -diff --git a/runpsipred_single b/runpsipred_single
116 -index 1f7680b..7bd5bc3 100755
117 ---- a/runpsipred_single
118 -+++ b/runpsipred_single
119 -@@ -10,10 +10,10 @@
120 - # NOTE: Script modified to be more cluster friendly (DTJ April 2008)
121 -
122 - # Where the PSIPRED V3 programs have been installed
123 --set execdir = ./bin
124 -+set execdir = @GENTOO_PORTAGE_EPREFIX@/usr/bin
125 -
126 - # Where the PSIPRED V3 data files have been installed
127 --set datadir = ./data
128 -+set datadir = @GENTOO_PORTAGE_EPREFIX@/usr/share/psipred/data
129 -
130 - set basename = $1:r
131 - set rootname = $basename:t
132
133 diff --git a/sci-biology/psipred/files/3.2-fgets.patch b/sci-biology/psipred/files/3.2-fgets.patch
134 deleted file mode 100644
135 index ec06d141ee3..00000000000
136 --- a/sci-biology/psipred/files/3.2-fgets.patch
137 +++ /dev/null
138 @@ -1,13 +0,0 @@
139 -diff --git a/src/sspred_avpred.c b/src/sspred_avpred.c
140 -index 37b1332..4f04ab6 100644
141 ---- a/src/sspred_avpred.c
142 -+++ b/src/sspred_avpred.c
143 -@@ -223,7 +223,7 @@ predict(int argc, char **argv)
144 - int getmtx(FILE *lfil)
145 - {
146 - int aa, i, j, naa;
147 -- char buf[256], *p;
148 -+ char buf[65536], *p;
149 -
150 - if (fscanf(lfil, "%d", &naa) != 1)
151 - fail("Bad mtx file - no sequence length!");
152
153 diff --git a/sci-biology/psipred/metadata.xml b/sci-biology/psipred/metadata.xml
154 deleted file mode 100644
155 index 959160fe46b..00000000000
156 --- a/sci-biology/psipred/metadata.xml
157 +++ /dev/null
158 @@ -1,8 +0,0 @@
159 -<?xml version="1.0" encoding="UTF-8"?>
160 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
161 -<pkgmetadata>
162 - <maintainer type="project">
163 - <email>sci-biology@g.o</email>
164 - <name>Gentoo Biology Project</name>
165 - </maintainer>
166 -</pkgmetadata>
167
168 diff --git a/sci-biology/psipred/psipred-3.5.ebuild b/sci-biology/psipred/psipred-3.5.ebuild
169 deleted file mode 100644
170 index f5619ef4b54..00000000000
171 --- a/sci-biology/psipred/psipred-3.5.ebuild
172 +++ /dev/null
173 @@ -1,56 +0,0 @@
174 -# Copyright 1999-2021 Gentoo Authors
175 -# Distributed under the terms of the GNU General Public License v2
176 -
177 -EAPI=5
178 -
179 -inherit epatch prefix toolchain-funcs versionator
180 -
181 -#MY_P="${PN}$(delete_all_version_separators)"
182 -MY_P="${PN}${PV}"
183 -
184 -DESCRIPTION="Protein Secondary Structure Prediction"
185 -HOMEPAGE="http://bioinf.cs.ucl.ac.uk/psipred/"
186 -SRC_URI="
187 - http://bioinf.cs.ucl.ac.uk/downloads/${PN}/${MY_P}.tar.gz
188 - test? ( http://bioinfadmin.cs.ucl.ac.uk/downloads/psipred/old/data/tdbdata.tar.gz )"
189 -
190 -LICENSE="psipred"
191 -SLOT="0"
192 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
193 -IUSE="test"
194 -RESTRICT="!test? ( test )"
195 -
196 -RDEPEND="
197 - app-shells/tcsh
198 - sci-biology/ncbi-tools
199 - sci-biology/update-blastdb"
200 -DEPEND=""
201 -
202 -S="${WORKDIR}"/${PN}
203 -
204 -src_prepare() {
205 - rm -f bin/*
206 - epatch \
207 - "${FILESDIR}"/3.1-Makefile.patch \
208 - "${FILESDIR}"/3.1-path.patch \
209 - "${FILESDIR}"/3.2-fgets.patch
210 - eprefixify runpsipred*
211 - emake -C src clean
212 -}
213 -
214 -src_compile() {
215 - emake -C src CC=$(tc-getCC)
216 -}
217 -
218 -src_install() {
219 - emake -C src DESTDIR="${D}" install
220 - dobin runpsipred* bin/* BLAST+/runpsipred*
221 - insinto /usr/share/${PN}
222 - doins -r data
223 - dodoc README
224 -}
225 -
226 -pkg_postinst() {
227 - elog "Please use the update_blastdb.pl in order to"
228 - elog "maintain your own local blastdb"
229 -}