Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-astronomy/wcslib/
Date: Sat, 09 Jan 2021 04:21:59
Message-Id: 1610166107.f4daf935ceba2dd5d17ead1cbf9b39dab76d1969.sam@gentoo
1 commit: f4daf935ceba2dd5d17ead1cbf9b39dab76d1969
2 Author: David Roman <davidroman96 <AT> gmail <DOT> com>
3 AuthorDate: Tue Jan 5 20:27:39 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 9 04:21:47 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4daf935
7
8 sci-astronomy/wcslib: remove 5.16
9
10 Closes: https://bugs.gentoo.org/730000
11 Package-Manager: Portage-3.0.12, Repoman-3.0.2
12 Signed-off-by: David Roman <davidroman96 <AT> gmail.com>
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 sci-astronomy/wcslib/Manifest | 1 -
16 sci-astronomy/wcslib/wcslib-5.16.ebuild | 70 ---------------------------------
17 2 files changed, 71 deletions(-)
18
19 diff --git a/sci-astronomy/wcslib/Manifest b/sci-astronomy/wcslib/Manifest
20 index 1b39294abf0..5216dd92ca3 100644
21 --- a/sci-astronomy/wcslib/Manifest
22 +++ b/sci-astronomy/wcslib/Manifest
23 @@ -1,2 +1 @@
24 -DIST wcslib-5.16.tar.bz2 2222111 BLAKE2B e11da145db6366804321cf415bdac621a930418f09d788c8b94413980710bb43357129a830462339127398082700a9f44f56dc0b8c96ef923d41ea0174dfd07f SHA512 bf7ab586995bdade8b96c77dee891c7d7ab6de82a7e2f94a09d89643e93658063f832efdb66e0bba11ad114b6e0ca555cba9308a84f0f22fb833e3a6303cefe6
25 DIST wcslib-7.3.tar.bz2 2435669 BLAKE2B c0f641b4c2fdd9d332816195f399eb2ab3c5aa585f08c4857af77bd5ed4074e653663f7cbddc6d7678cd85bed2c0bd95719cd83a5138d21ad24841396d4c11b9 SHA512 8c98c4b575056e2d966b77a4bc951256d02ecee3a11847e140fd38d93afd0f76b3e906d590c952dc9fc58ceeb1ba062b19d8e1e676ee0032f5b7ed13a9dfa892
26
27 diff --git a/sci-astronomy/wcslib/wcslib-5.16.ebuild b/sci-astronomy/wcslib/wcslib-5.16.ebuild
28 deleted file mode 100644
29 index a82492d1c42..00000000000
30 --- a/sci-astronomy/wcslib/wcslib-5.16.ebuild
31 +++ /dev/null
32 @@ -1,70 +0,0 @@
33 -# Copyright 1999-2020 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -FORTRAN_NEEDED=fortran
39 -
40 -inherit fortran-2
41 -
42 -DESCRIPTION="Astronomical World Coordinate System transformations library"
43 -HOMEPAGE="https://www.atnf.csiro.au/people/mcalabre/WCS/"
44 -SRC_URI="ftp://ftp.atnf.csiro.au/pub/software/${PN}/${P}.tar.bz2"
45 -
46 -SLOT="0/5"
47 -LICENSE="LGPL-3"
48 -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
49 -IUSE="doc fortran fits pgplot static-libs +tools"
50 -
51 -RDEPEND="
52 - fits? ( sci-libs/cfitsio:0= )
53 - pgplot? ( sci-libs/pgplot:0= )"
54 -DEPEND="${RDEPEND}
55 - sys-devel/flex
56 - virtual/pkgconfig"
57 -
58 -src_configure() {
59 - local myconf=(
60 - --htmldir="${EPREFIX}"/usr/share/doc/${PF}
61 - $(use_enable fortran)
62 - $(use_enable tools utils)
63 - )
64 - # hacks because cfitsio and pgplot directories are hard-coded
65 - if use fits; then
66 - myconf+=(
67 - --with-cfitsioinc="${EPREFIX}/usr/include"
68 - --with-cfitsiolib="${EPREFIX}/usr/$(get_libdir)"
69 - )
70 - else
71 - myconf+=( --without-cfitsio )
72 - fi
73 - if use pgplot; then
74 - myconf+=(
75 - --with-pgplotinc="${EPREFIX}/usr/include"
76 - --with-pgplotlib="${EPREFIX}/usr/$(get_libdir)"
77 - )
78 - else
79 - myconf+=( --without-pgplot )
80 - fi
81 - econf ${myconf[@]}
82 - sed -i -e 's/COPYING\*//' GNUmakefile || die
83 -}
84 -
85 -src_compile() {
86 - # nasty makefile, debugging means probably full rewrite
87 - emake -j1
88 -}
89 -
90 -src_test() {
91 - emake -j1 check
92 -}
93 -
94 -src_install() {
95 - default
96 - # static libs share the same symbols as shared (i.e. compiled with PIC)
97 - # so they are not compiled twice
98 - use static-libs || rm "${ED}"/usr/$(get_libdir)/lib*.a
99 - use doc || rm -r \
100 - "${ED}"/usr/share/doc/${PF}/html \
101 - "${ED}"/usr/share/doc/${PF}/*.pdf
102 -}