Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/raster3d/
Date: Wed, 16 Sep 2020 21:39:19
Message-Id: 1600292338.46f00c831a439138c778020ac39892e3cde78f89.soap@gentoo
1 commit: 46f00c831a439138c778020ac39892e3cde78f89
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 16 21:38:58 2020 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 16 21:38:58 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46f00c83
7
8 sci-chemistry/raster3d: Remove old 3.0.2, 3.0.3
9
10 Closes: https://bugs.gentoo.org/722872
11 Closes: https://bugs.gentoo.org/740978
12 Closes: https://bugs.gentoo.org/741370
13 Package-Manager: Portage-3.0.7, Repoman-3.0.1
14 Signed-off-by: David Seifert <soap <AT> gentoo.org>
15
16 sci-chemistry/raster3d/Manifest | 2 -
17 sci-chemistry/raster3d/raster3d-3.0.2.ebuild | 106 ---------------------------
18 sci-chemistry/raster3d/raster3d-3.0.3.ebuild | 106 ---------------------------
19 3 files changed, 214 deletions(-)
20
21 diff --git a/sci-chemistry/raster3d/Manifest b/sci-chemistry/raster3d/Manifest
22 index e3f4d06cf38..fe0765d711a 100644
23 --- a/sci-chemistry/raster3d/Manifest
24 +++ b/sci-chemistry/raster3d/Manifest
25 @@ -1,3 +1 @@
26 -DIST Raster3D_3.0-2.tar 1743034 BLAKE2B 3331d971696f2d95d1b2afe09995a8b5ce5ce7041725f1dd8a5ea27645d1e824956019a1466b60395ac0406d8c055a5052e0a483564777435d7fafda15cad6bb SHA512 f8f73cc91eae521839a9db8ee1a7a9d8727ed510cb574116d89e918480700d844691a6fc3c4a28cb54312b0133cc610422e55d99716803cf3e8bb5d9d934e37f
27 -DIST Raster3D_3.0-3.tar 1729356 BLAKE2B be933cfb2c4bdc500d2cd221b8d71a01f1f4fab9cc0c70e0f5538363fa53714b6198a78e7cf7dd111dd0242e8537f2fcc38e54a12fc71588250e6ecfc561c0bc SHA512 bd372c4ba8d40db38e19f520883ca71ab7c5ef7a451b67150894e229b45167dfe00b77c19e118afc6abdb9ac07800cc16de5d2dc82c3ef9baa751200490e40fa
28 DIST Raster3D_3.0-6.tar 1729698 BLAKE2B d51b752c189ef720306e78a97e75a8b30c4286b1e75bfa20dd6d8c6e02e3a57d49508faaa1324d8b1f8311049ab3a9b18847bdcb73e7237e3bc91c34fb1ea55b SHA512 656bc19fdef882713c540598173e7f46246b4245f7983edc906fe9fdab7393c47c1687c6e9366987e8af7627d4bfe56a996ff0003aa19872d79724b3e555fdda
29
30 diff --git a/sci-chemistry/raster3d/raster3d-3.0.2.ebuild b/sci-chemistry/raster3d/raster3d-3.0.2.ebuild
31 deleted file mode 100644
32 index a83e43ba57c..00000000000
33 --- a/sci-chemistry/raster3d/raster3d-3.0.2.ebuild
34 +++ /dev/null
35 @@ -1,106 +0,0 @@
36 -# Copyright 1999-2012 Gentoo Foundation
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=4
40 -
41 -inherit eutils fortran-2 flag-o-matic multilib toolchain-funcs versionator prefix
42 -
43 -MY_PN="Raster3D"
44 -MY_PV=$(replace_version_separator 2 -)
45 -MY_P="${MY_PN}_${MY_PV}"
46 -
47 -DESCRIPTION="Generation high quality raster images of proteins or other molecules"
48 -HOMEPAGE="http://www.bmsc.washington.edu/raster3d/raster3d.html"
49 -SRC_URI="http://www.bmsc.washington.edu/${PN}/${MY_P}.tar.gz -> ${MY_P}.tar"
50 -
51 -LICENSE="Artistic-2"
52 -SLOT="0"
53 -KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
54 -IUSE="gd tiff"
55 -
56 -RDEPEND="
57 - tiff? ( media-libs/tiff:0 )
58 - gd? ( media-libs/gd[jpeg,png] )"
59 -DEPEND="${RDEPEND}"
60 -
61 -S="${WORKDIR}/${MY_P}"
62 -
63 -src_prepare() {
64 - epatch \
65 - "${FILESDIR}"/${PV}-as-needed.patch \
66 - "${FILESDIR}"/${PV}-gentoo-prefix.patch
67 -
68 - sed \
69 - -e "s:MYPF:${PF}:" \
70 - -e "s:MYLIB:$(get_libdir):g" \
71 - -i Makefile.template || \
72 - die "Failed to patch makefile.template"
73 -
74 - if ! use gd; then
75 - sed \
76 - -e "/GDLIBS/s:^:#:g" \
77 - -e "/GDDEFS/s:^:#:g" \
78 - -i Makefile.template || die
79 - fi
80 -
81 - if ! use tiff; then
82 - sed \
83 - -e "/TLIBS/s:^:#:g" \
84 - -e "/TDEFS/s:^:#:g" \
85 - -i Makefile.template || die
86 - fi
87 -
88 - if [[ $(tc-getFC) =~ gfortran ]]; then
89 - append-cflags -Dgfortran
90 - fi
91 -
92 - append-fflags -ffixed-line-length-132
93 -
94 - eprefixify Makefile.template
95 - cp Makefile.template Makefile.incl || die
96 -}
97 -
98 -src_compile() {
99 - local target
100 - local i
101 -
102 - if [[ $(tc-getFC) =~ gfortran ]]; then
103 - target="linux"
104 - else
105 - target="linux-$(tc-getFC)"
106 - fi
107 -
108 - for i in render.o ${target} all; do
109 - emake \
110 - CFLAGS="${CFLAGS}" \
111 - LDFLAGS="${LDFLAGS}" \
112 - FFLAGS="${FFLAGS}" \
113 - CC="$(tc-getCC)"\
114 - FC="$(tc-getFC)" \
115 - INCDIRS="-I${EPREFIX}/usr/include" \
116 - LIBDIRS="-L${EPREFIX}/usr/$(get_libdir)" \
117 - ${i}
118 - done
119 -}
120 -
121 -src_install() {
122 - emake prefix="${ED}"/usr \
123 - bindir="${ED}"/usr/bin \
124 - datadir="${ED}"/usr/share/Raster3D/materials \
125 - mandir="${ED}"/usr/share/man/man1 \
126 - htmldir="${ED}"/usr/share/doc/${PF}/html \
127 - examdir="${ED}"/usr/share/Raster3D/examples \
128 - install
129 -
130 - dodir /etc/env.d
131 - echo -e "R3D_LIB=${EPREFIX}/usr/share/${NAME}/materials" > \
132 - "${ED}"/etc/env.d/10raster3d || \
133 - die "Failed to install env file."
134 -}
135 -
136 -pkg_postinst() {
137 - elog "Add following line:"
138 - elog "<delegate decode=\"r3d\" command='\"render\" < \"%i\" > \"%o\"' />"
139 - elog "to ${EPREFIX}/usr/$(get_libdir)/ImageMagick-6.5.8/config/delegates.xml"
140 - elog "to make imagemagick use raster3d for .r3d files"
141 -}
142
143 diff --git a/sci-chemistry/raster3d/raster3d-3.0.3.ebuild b/sci-chemistry/raster3d/raster3d-3.0.3.ebuild
144 deleted file mode 100644
145 index 309e0dfc1ba..00000000000
146 --- a/sci-chemistry/raster3d/raster3d-3.0.3.ebuild
147 +++ /dev/null
148 @@ -1,106 +0,0 @@
149 -# Copyright 1999-2014 Gentoo Foundation
150 -# Distributed under the terms of the GNU General Public License v2
151 -
152 -EAPI=5
153 -
154 -inherit eutils fortran-2 flag-o-matic multilib toolchain-funcs versionator prefix
155 -
156 -MY_PN="Raster3D"
157 -MY_PV=$(replace_version_separator 2 -)
158 -MY_P="${MY_PN}_${MY_PV}"
159 -
160 -DESCRIPTION="Generation high quality raster images of proteins or other molecules"
161 -HOMEPAGE="http://www.bmsc.washington.edu/raster3d/raster3d.html"
162 -SRC_URI="http://www.bmsc.washington.edu/${PN}/${MY_P}.tar.gz -> ${MY_P}.tar"
163 -
164 -LICENSE="Artistic-2"
165 -SLOT="0"
166 -KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
167 -IUSE="gd tiff"
168 -
169 -RDEPEND="
170 - tiff? ( media-libs/tiff:0 )
171 - gd? ( media-libs/gd[jpeg,png] )"
172 -DEPEND="${RDEPEND}"
173 -
174 -S="${WORKDIR}/${MY_P}"
175 -
176 -src_prepare() {
177 - epatch \
178 - "${FILESDIR}"/3.0.2-as-needed.patch \
179 - "${FILESDIR}"/3.0.2-gentoo-prefix.patch
180 -
181 - sed \
182 - -e "s:MYPF:${PF}:" \
183 - -e "s:MYLIB:$(get_libdir):g" \
184 - -i Makefile.template || \
185 - die "Failed to patch makefile.template"
186 -
187 - if ! use gd; then
188 - sed \
189 - -e "/GDLIBS/s:^:#:g" \
190 - -e "/GDDEFS/s:^:#:g" \
191 - -i Makefile.template || die
192 - fi
193 -
194 - if ! use tiff; then
195 - sed \
196 - -e "/TLIBS/s:^:#:g" \
197 - -e "/TDEFS/s:^:#:g" \
198 - -i Makefile.template || die
199 - fi
200 -
201 - if [[ $(tc-getFC) =~ gfortran ]]; then
202 - append-cflags -Dgfortran
203 - fi
204 -
205 - append-fflags -ffixed-line-length-132
206 -
207 - eprefixify Makefile.template
208 - cp Makefile.template Makefile.incl || die
209 -}
210 -
211 -src_compile() {
212 - local target
213 - local i
214 -
215 - if [[ $(tc-getFC) =~ gfortran ]]; then
216 - target="linux"
217 - else
218 - target="linux-$(tc-getFC)"
219 - fi
220 -
221 - for i in render.o ${target} all; do
222 - emake \
223 - CFLAGS="${CFLAGS}" \
224 - LDFLAGS="${LDFLAGS}" \
225 - FFLAGS="${FFLAGS}" \
226 - CC="$(tc-getCC)"\
227 - FC="$(tc-getFC)" \
228 - INCDIRS="-I${EPREFIX}/usr/include" \
229 - LIBDIRS="-L${EPREFIX}/usr/$(get_libdir)" \
230 - ${i}
231 - done
232 -}
233 -
234 -src_install() {
235 - emake prefix="${ED}"/usr \
236 - bindir="${ED}"/usr/bin \
237 - datadir="${ED}"/usr/share/Raster3D/materials \
238 - mandir="${ED}"/usr/share/man/man1 \
239 - htmldir="${ED}"/usr/share/doc/${PF}/html \
240 - examdir="${ED}"/usr/share/Raster3D/examples \
241 - install
242 -
243 - dodir /etc/env.d
244 - echo -e "R3D_LIB=${EPREFIX}/usr/share/${NAME}/materials" > \
245 - "${ED}"/etc/env.d/10raster3d || \
246 - die "Failed to install env file."
247 -}
248 -
249 -pkg_postinst() {
250 - elog "Add following line:"
251 - elog "<delegate decode=\"r3d\" command='\"render\" < \"%i\" > \"%o\"' />"
252 - elog "to ${EPREFIX}/usr/$(get_libdir)/ImageMagick-6.5.8/config/delegates.xml"
253 - elog "to make imagemagick use raster3d for .r3d files"
254 -}