Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/cyana/files/, sci-chemistry/cyana/
Date: Sat, 02 Jun 2018 07:13:03
Message-Id: 1527923557.d864323a41d729169523202a2d3bd1dd9c2e308f.zlogene@gentoo
1 commit: d864323a41d729169523202a2d3bd1dd9c2e308f
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 2 07:12:37 2018 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 2 07:12:37 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d864323a
7
8 sci-chemistry/cyana: remove last rited package
9
10 sci-chemistry/cyana/Manifest | 1 -
11 sci-chemistry/cyana/cyana-2.1.ebuild | 71 ---------------------------
12 sci-chemistry/cyana/files/2.1-exec.patch | 77 ------------------------------
13 sci-chemistry/cyana/files/2.1-expire.patch | 15 ------
14 sci-chemistry/cyana/files/2.1-typo.patch | 13 -----
15 sci-chemistry/cyana/files/2.1-xiar.patch | 16 -------
16 sci-chemistry/cyana/metadata.xml | 8 ----
17 7 files changed, 201 deletions(-)
18
19 diff --git a/sci-chemistry/cyana/Manifest b/sci-chemistry/cyana/Manifest
20 deleted file mode 100644
21 index c5e41a5130a..00000000000
22 --- a/sci-chemistry/cyana/Manifest
23 +++ /dev/null
24 @@ -1 +0,0 @@
25 -DIST cyana-2.1.tar.gz 2203650 BLAKE2B 0af9049b24674a43cfea44129c57a1dbf7c5b457f2f02272d89f60b21a7c6571884d36575cdb6f98b84a1490c318f6bb6b41fe66e417cd0bb371895479d9d372 SHA512 20f5369e47198000927ee9a60beda34d265fddcd6be59f0d5d81ac23691b7e870ca674bdd7215a13bc849586411a007ebb1ff46072b55f255a6d796359067be8
26
27 diff --git a/sci-chemistry/cyana/cyana-2.1.ebuild b/sci-chemistry/cyana/cyana-2.1.ebuild
28 deleted file mode 100644
29 index f017c9af247..00000000000
30 --- a/sci-chemistry/cyana/cyana-2.1.ebuild
31 +++ /dev/null
32 @@ -1,71 +0,0 @@
33 -# Copyright 1999-2015 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=5
37 -
38 -inherit eutils fortran-2 toolchain-funcs
39 -
40 -DESCRIPTION="Combined assignment and dynamics algorithm for NMR applications"
41 -HOMEPAGE="http://www.las.jp/english/products/cyana.html"
42 -SRC_URI="${P}.tar.gz"
43 -
44 -LICENSE="CYANA"
45 -SLOT="0"
46 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
47 -IUSE="examples"
48 -
49 -RESTRICT="fetch"
50 -
51 -# we need libg2c for gfortran # 136988
52 -DEPEND="dev-lang/ifc"
53 -RDEPEND="${DEPEND}"
54 -
55 -pkg_nofetch() {
56 - elog "Please visit"
57 - elog "http://www.las.jp/english/products/cyana.html"
58 - elog "and get a copy of ${A}."
59 - elog "Place it in ${DISTDIR}."
60 -}
61 -
62 -src_prepare() {
63 - epatch \
64 - "${FILESDIR}"/${PV}-typo.patch \
65 - "${FILESDIR}"/${PV}-exec.patch \
66 - "${FILESDIR}"/${PV}-expire.patch \
67 - "${FILESDIR}"/${PV}-xiar.patch
68 -
69 - cat >> etc/config <<- EOF
70 - VERSION=${PV}
71 - SHELL=${EPREFIX}/bin/sh
72 - FC=ifort
73 - FFLAGS=${FFLAGS} -openmp -threads
74 - FFLAGS2=${FFLAGS} -openmp -threads
75 - CC=$(tc-getCC)
76 - AR=xiar
77 - RANLIB=ranlib
78 - FORK=g77fork.o
79 - LDFLAGS=${LDFLAGS} -reentrancy threaded -openmp
80 - LIBS=
81 - DEFS=-Dintel
82 - SYSTEM=intel
83 - EOF
84 -}
85 -
86 -src_compile() {
87 - cd src || die
88 - emake
89 -}
90 -
91 -src_install() {
92 - dobin cyana{job,table,filter,clean}
93 - newbin src/${PN}/${PN}exe.* ${PN}
94 - insinto /usr/share/${PN}
95 - doins -r lib macro help
96 - use examples && doins -r demo
97 -
98 - cat >> "${T}"/20cyana <<- EOF
99 - CYANALIB="${EPREFIX}/usr/share/${PN}"
100 - EOF
101 -
102 - doenvd "${T}"/20cyana
103 -}
104
105 diff --git a/sci-chemistry/cyana/files/2.1-exec.patch b/sci-chemistry/cyana/files/2.1-exec.patch
106 deleted file mode 100644
107 index 28cd88d3eee..00000000000
108 --- a/sci-chemistry/cyana/files/2.1-exec.patch
109 +++ /dev/null
110 @@ -1,77 +0,0 @@
111 -diff --git a/cyana b/cyana
112 -index 4f746cf..a7ff060 100755
113 ---- a/cyana
114 -+++ b/cyana
115 -@@ -45,16 +45,13 @@ shift `expr $optind - 1`
116 -
117 - if [ "$h" ]; then usage=1; fi
118 - if [ "$usage" ]; then
119 -- echo "Usage: $prog -hctx parameters ..."
120 -+ echo "Usage: $prog -hS parameters ..."
121 - echo
122 - echo " -h help"
123 - echo " -c command command to start program (must contain \$exefile)"
124 - echo " -S run in safe mode, i.e. within one directory"
125 -- echo " -t system explicit system type"
126 -- echo " -x display name of executable without executing it"
127 - exit 2
128 - fi
129 --if [ "$c" ]; then cmd="$c"; fi
130 - sys=$t
131 - mode=$x
132 - safe=$S
133 -@@ -65,23 +62,6 @@ safe=$S
134 - eval ${PROG}ARG='$*'
135 - export ${PROG}ARG
136 -
137 --
138 --# ------ Set library name ------
139 --
140 --f=$0
141 --if [ `echo $f | sed 's,^/.*,+,'` != "+" ]; then f=`which $0`; fi
142 --odir=`pwd`
143 --while [ "`ls -l $f | awk '{ print substr($1,1,1) }'`" = "l" ]; do
144 -- l=`ls -l $f | awk '{ i = NF; print $i }'`
145 -- cd `dirname $f`; cd `dirname $l`; l=`pwd`/`basename $l`
146 -- f=$l
147 --done
148 --cd `dirname $f`
149 --libdir=`pwd | sed 's,/src/'${prog}'$,,'`
150 --cd $odir
151 --eval ${PROG}LIB=$libdir
152 --export ${PROG}LIB
153 --
154 - if [ "$safe" ]; then
155 - CYANAINIT=initsafe; export CYANAINIT
156 - fi
157 -@@ -89,29 +69,4 @@ fi
158 -
159 - # ------ Start the program ------
160 -
161 --if [ -d $libdir/src/$prog ]; then
162 -- exe=$libdir/src/$prog/$exe
163 --else
164 -- exe=$libdir/$exe
165 --fi
166 --if [ "$sys" = "" ]; then
167 -- sys=`$libdir/etc/identify`
168 -- files="$exe.$sys* $exe.gnu $exe.*"
169 --else
170 -- files=$exe.$sys
171 --fi
172 --for exefile in $files; do
173 -- if [ -x $exefile ]; then
174 -- if [ "$mode" ]; then
175 -- echo $exefile; exit 0
176 -- else
177 -- if [ "`echo $cmd | grep -c '\$exefile'`" -gt 0 ]; then
178 -- eval exec $cmd
179 -- else
180 -- eval exec $cmd $exefile
181 -- fi
182 -- fi
183 -- fi
184 --done
185 --echo "No executable found in \"`dirname $exe`\"."
186 --exit 1
187 -+exec cyana
188
189 diff --git a/sci-chemistry/cyana/files/2.1-expire.patch b/sci-chemistry/cyana/files/2.1-expire.patch
190 deleted file mode 100644
191 index e18008286f6..00000000000
192 --- a/sci-chemistry/cyana/files/2.1-expire.patch
193 +++ /dev/null
194 @@ -1,15 +0,0 @@
195 ---- src/inclan/unix.for.orig 2011-01-05 14:56:46.572193759 +0100
196 -+++ src/inclan/unix.for 2011-01-05 14:57:27.833627375 +0100
197 -@@ -206,11 +206,8 @@
198 - end if
199 - if (iwbeg.lt.0) then
200 - iwbeg=igttim
201 -- iexpir=(julday(12,31,2010)-julday(1,1,1970))*24*3600
202 -- if (iwbeg.gt.iexpir) call fatmsg ('License expired.')
203 -+ iexpir=iwbeg+100
204 - j=(iexpir-iwbeg)/(24*3600)
205 -- if (j.lt.1000)
206 -- * call wrnmsg ('License expires in '//plural(j,'day')//'.')
207 - end if
208 - iwall=igttim-iwbeg
209 - c print *,'iwall = ',iwall,iwbeg,idat,itim
210 \ No newline at end of file
211
212 diff --git a/sci-chemistry/cyana/files/2.1-typo.patch b/sci-chemistry/cyana/files/2.1-typo.patch
213 deleted file mode 100644
214 index 3f011a9b2c2..00000000000
215 --- a/sci-chemistry/cyana/files/2.1-typo.patch
216 +++ /dev/null
217 @@ -1,13 +0,0 @@
218 -diff --git a/src/cyana/putpro.f b/src/cyana/putpro.f
219 -index d4080f9..4490225 100644
220 ---- a/src/cyana/putpro.f
221 -+++ b/src/cyana/putpro.f
222 -@@ -66,7 +66,7 @@ c ------------------------------------------------------ BMRB header
223 - * ' _Mol_residue_sequence',
224 - * ';'
225 - do i=1,nr,20
226 -- write (iunit,'(20A1))') (rcode(rnam(j)),j=i,min(nr,i+19))
227 -+ write (iunit,'(20A1)') (rcode(rnam(j)),j=i,min(nr,i+19))
228 - end do
229 -
230 - write (iunit,'(A)')
231
232 diff --git a/sci-chemistry/cyana/files/2.1-xiar.patch b/sci-chemistry/cyana/files/2.1-xiar.patch
233 deleted file mode 100644
234 index e8393253d7f..00000000000
235 --- a/sci-chemistry/cyana/files/2.1-xiar.patch
236 +++ /dev/null
237 @@ -1,16 +0,0 @@
238 - src/inclan/Makefile | 2 +-
239 - 1 files changed, 1 insertions(+), 1 deletions(-)
240 -
241 -diff --git a/src/inclan/Makefile b/src/inclan/Makefile
242 -index fc5a8bf..482d48f 100644
243 ---- a/src/inclan/Makefile
244 -+++ b/src/inclan/Makefile
245 -@@ -35,7 +35,7 @@ clean:
246 -
247 - inclan.a: $(OBJS)
248 - rm -f $@
249 -- ar rc $@ $(OBJS)
250 -+ $(AR) rc $@ $(OBJS)
251 - if [ "$(RANLIB)" ]; then $(RANLIB) $@; fi
252 -
253 - inclan.o: inclan.for
254
255 diff --git a/sci-chemistry/cyana/metadata.xml b/sci-chemistry/cyana/metadata.xml
256 deleted file mode 100644
257 index 8937bad0b17..00000000000
258 --- a/sci-chemistry/cyana/metadata.xml
259 +++ /dev/null
260 @@ -1,8 +0,0 @@
261 -<?xml version="1.0" encoding="UTF-8"?>
262 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
263 -<pkgmetadata>
264 - <maintainer type="project">
265 - <email>sci-chemistry@g.o</email>
266 - <name>Gentoo Chemistry Project</name>
267 - </maintainer>
268 -</pkgmetadata>