Gentoo Archives: gentoo-commits

From: Matthias Maier <tamiko@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/p4est/
Date: Thu, 23 Apr 2020 21:41:10
Message-Id: 1587678035.4d2017b744ac6616611e83a592aaa0f1d298c085.tamiko@gentoo
1 commit: 4d2017b744ac6616611e83a592aaa0f1d298c085
2 Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 23 21:39:12 2020 +0000
4 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 23 21:40:35 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d2017b7
7
8 sci-libs/p4est: drop old
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
12
13 sci-libs/p4est/Manifest | 4 --
14 sci-libs/p4est/p4est-1.0.ebuild | 99 -----------------------------------------
15 sci-libs/p4est/p4est-1.1.ebuild | 99 -----------------------------------------
16 3 files changed, 202 deletions(-)
17
18 diff --git a/sci-libs/p4est/Manifest b/sci-libs/p4est/Manifest
19 index d8b401c2633..09c06d0c267 100644
20 --- a/sci-libs/p4est/Manifest
21 +++ b/sci-libs/p4est/Manifest
22 @@ -1,8 +1,4 @@
23 -DIST libsc-1.0.tar.gz 257930 BLAKE2B b67ee98d8a31dcd09af70783a253b7289657c51e345c59b6551ab8be3a2067ce20d75c3f6323f4113501d57baf31d95c5a40b025c77f37a693616ae2bb118266 SHA512 bf5af600e9cbd4038b1bd40c88776b21be5d474e34f9aacf287b890d262a22dc50ca27982c2eb9adba9735c8d9bb1fc31de2a27b24cdab534e3b2f610d76db7d
24 -DIST libsc-1.1.tar.gz 263643 BLAKE2B 827c0e01154983dd309301c6ecfa380d3489b5b764f131c2df2554b002a6c726a44272963cef4b4a853af5fb4c9ba98c77b01e107fc555432317662d985de2a9 SHA512 a3d8bea406a1987e68e88dd587aebe28c796f2a5bddfc381b34b5eb1448e0ac23889cc6f97fc1e4010289f83996180db42cbb001d0518360349b993dd37d4579
25 DIST libsc-2.0.tar.gz 296392 BLAKE2B b5e1ca5cf6802ed38c32db5e7a77aec2fc636d88f2562314088dc16d13a0dccd24706276b05f8ddd70bc3769270a378c0089873fb2a21ebc93d6ca2622d7a58e SHA512 e4cfe42a1c1fe17412e1ffb6ebebe1f760861a7fb707a6f8fd01cdebda96b166ee05e7ff034f3b9e30de5e9baa82c9a2cebe93d40772dbd206603321de40559c
26 DIST libsc-2.2.tar.gz 311542 BLAKE2B 0879be69208f0964d73cc297a64b158ad88344e876a90dd4bd39c80fc0cf8237f4551cb684dee36e08068fa04644b887ec56230335a9984363055c1248aa6185 SHA512 97953794fdeb985bedb1dc9378f10ed4824446c63762d7813aced3309c2d6b27368c91fecb22587dccdf8b3b42aaaba9e782b739086cf542570360795897ac14
27 -DIST p4est-1.0.tar.gz 695027 BLAKE2B 1b4c21e0ada4928da4fbf94e80e123ad39a1b4701f6019d0e49073b68c90662a277302a07cad22bb1d71a72a47cde8e1cbbfd4475dd7542bcee1c0474bb4addf SHA512 781240bbca2779f4076c310575ad99e8b526ecf6a3da8b7b5f096615bbfb570dd0556e607797715b69c95c6dd73baf837f1c632be763efae835941107f1fe3df
28 -DIST p4est-1.1.tar.gz 1241423 BLAKE2B 3bb767f062a204abee4af64351981609c818c9b1f6bc5fa738161f706e5c9aebe208a4fc76010a2a05d6936070952e938b6ee632bd3ccc6676776fd60d451ef8 SHA512 11eb576a16a4cc959eff8894d6cb11d8bae092951be9cf9d71b538825bdf675af7fd77d79505b9e896ec1810c1f8e9391447a79263c6d2e33fef780e97d07f29
29 DIST p4est-2.0.tar.gz 1296762 BLAKE2B 1d755ec72905da069b9c91182a437c59107189402eb26444cf7fc1755b81bdbfad9aa25802720df401e8d434e5ac67e68b1d7dd5bf312f881017925498ad7514 SHA512 05f8a95ad431bd36fd3e48ca9360de0f90d1af7dfc77601cd46766898a9bc82b9157e22bdb6135e7003f59c7ecc4cd9ad34b89de25ba3c6f11a86d46cac8592c
30 DIST p4est-2.2.tar.gz 1323529 BLAKE2B 262cb8d1ceff1329a71fd302b12c1650e9c099e72a9a93b4abef5822b16a28af0ee1ce9a338c524c2077d4bff83e607e9346f5bb1c660aa9afa8241bb631a637 SHA512 8475e0b6ab1225b22e7538c9c9b227f9aef86f78adf0706065a05f4682618f8f5d3878c18c11b8b13b3912e1de95f40b0ef5f5f5d217c02196993ac07f085299
31
32 diff --git a/sci-libs/p4est/p4est-1.0.ebuild b/sci-libs/p4est/p4est-1.0.ebuild
33 deleted file mode 100644
34 index 266da27018f..00000000000
35 --- a/sci-libs/p4est/p4est-1.0.ebuild
36 +++ /dev/null
37 @@ -1,99 +0,0 @@
38 -# Copyright 1999-2020 Gentoo Authors
39 -# Distributed under the terms of the GNU General Public License v2
40 -
41 -EAPI=6
42 -
43 -# The build system currently fails with everything newer than 1.11.
44 -WANT_AUTOMAKE=1.11
45 -
46 -inherit autotools eutils toolchain-funcs
47 -
48 -DESCRIPTION="Scalable Algorithms for Parallel Adaptive Mesh Refinement on Forests of Octrees"
49 -HOMEPAGE="http://www.p4est.org/"
50 -SRC_URI="
51 - https://github.com/cburstedde/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
52 - https://github.com/cburstedde/libsc/archive/v${PV}.tar.gz -> libsc-${PV}.tar.gz"
53 -
54 -KEYWORDS="~amd64 ~x86"
55 -
56 -LICENSE="GPL-2+"
57 -SLOT="0"
58 -
59 -IUSE="debug doc examples mpi romio static-libs +vtk-binary"
60 -REQUIRED_USE="romio? ( mpi )"
61 -
62 -RDEPEND="
63 - ~sci-libs/libsc-${PV}[mpi=,romio=,static-libs=]
64 - dev-lang/lua:*
65 - sys-apps/util-linux
66 - virtual/blas
67 - virtual/lapack
68 - mpi? ( virtual/mpi[romio=] )"
69 -
70 -DEPEND="
71 - ${RDEPEND}
72 - sys-devel/automake:1.11
73 - virtual/pkgconfig"
74 -
75 -DOCS=( AUTHORS NEWS README )
76 -
77 -src_prepare() {
78 - default
79 -
80 - # Inject libsc to get all parts of the build system...
81 - rmdir "${S}/sc" || die "rmdir failed"
82 - mv "${WORKDIR}/libsc-${PV}" "${S}/sc" || die "mv failed"
83 -
84 - # Inject a version number into the build system
85 - echo "${PV}" > ${S}/.tarball-version
86 -
87 - AT_M4DIR="${WORKDIR}/${P}/config ${WORKDIR}/${P}/sc/config"
88 - eautoreconf
89 -
90 - sed -i \
91 - "s/P4EST_SC_DIR\/etc/P4EST_SC_DIR\/share\/libsc/" \
92 - "${S}"/configure || die "sed failed"
93 -
94 - sed -i \
95 - "s/libsc\.la/libsc\.so/" \
96 - "${S}"/configure || die "sed failed"
97 -}
98 -
99 -src_configure() {
100 - # avoid underlinkage
101 - LDFLAGS="${LDFLAGS} -lsc"
102 -
103 - local myeconfargs=(
104 - $(use_enable debug)
105 - $(use_enable mpi)
106 - $(use_enable romio mpiio)
107 - $(use_enable static-libs static)
108 - $(use_enable vtk-binary)
109 - --with-blas="$($(tc-getPKG_CONFIG) --libs blas)"
110 - --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)"
111 - --with-sc="${EPREFIX}/usr"
112 - )
113 - econf "${myeconfargs[@]}"
114 -}
115 -
116 -src_install() {
117 - default
118 -
119 - use doc && dodoc -r doc/*
120 -
121 - if use examples
122 - then
123 - docinto examples
124 - dodoc -r example/*
125 - docompress -x /usr/share/doc/${PF}/examples
126 - else
127 - # Remove compiled example binaries in case of -examples:
128 - rm -r "${ED}"/usr/bin || die "rm failed"
129 - fi
130 -
131 - # Fix wrong installation paths:
132 - dodir /usr/share/p4est
133 - mv "${ED}"/usr/share/data "${ED}"/usr/share/p4est/data || die "mv failed"
134 - mv "${ED}"/etc/* "${ED}"/usr/share/p4est || die "mv failed"
135 - rmdir "${ED}"/etc/ || die "rmdir failed"
136 -}
137
138 diff --git a/sci-libs/p4est/p4est-1.1.ebuild b/sci-libs/p4est/p4est-1.1.ebuild
139 deleted file mode 100644
140 index 266da27018f..00000000000
141 --- a/sci-libs/p4est/p4est-1.1.ebuild
142 +++ /dev/null
143 @@ -1,99 +0,0 @@
144 -# Copyright 1999-2020 Gentoo Authors
145 -# Distributed under the terms of the GNU General Public License v2
146 -
147 -EAPI=6
148 -
149 -# The build system currently fails with everything newer than 1.11.
150 -WANT_AUTOMAKE=1.11
151 -
152 -inherit autotools eutils toolchain-funcs
153 -
154 -DESCRIPTION="Scalable Algorithms for Parallel Adaptive Mesh Refinement on Forests of Octrees"
155 -HOMEPAGE="http://www.p4est.org/"
156 -SRC_URI="
157 - https://github.com/cburstedde/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
158 - https://github.com/cburstedde/libsc/archive/v${PV}.tar.gz -> libsc-${PV}.tar.gz"
159 -
160 -KEYWORDS="~amd64 ~x86"
161 -
162 -LICENSE="GPL-2+"
163 -SLOT="0"
164 -
165 -IUSE="debug doc examples mpi romio static-libs +vtk-binary"
166 -REQUIRED_USE="romio? ( mpi )"
167 -
168 -RDEPEND="
169 - ~sci-libs/libsc-${PV}[mpi=,romio=,static-libs=]
170 - dev-lang/lua:*
171 - sys-apps/util-linux
172 - virtual/blas
173 - virtual/lapack
174 - mpi? ( virtual/mpi[romio=] )"
175 -
176 -DEPEND="
177 - ${RDEPEND}
178 - sys-devel/automake:1.11
179 - virtual/pkgconfig"
180 -
181 -DOCS=( AUTHORS NEWS README )
182 -
183 -src_prepare() {
184 - default
185 -
186 - # Inject libsc to get all parts of the build system...
187 - rmdir "${S}/sc" || die "rmdir failed"
188 - mv "${WORKDIR}/libsc-${PV}" "${S}/sc" || die "mv failed"
189 -
190 - # Inject a version number into the build system
191 - echo "${PV}" > ${S}/.tarball-version
192 -
193 - AT_M4DIR="${WORKDIR}/${P}/config ${WORKDIR}/${P}/sc/config"
194 - eautoreconf
195 -
196 - sed -i \
197 - "s/P4EST_SC_DIR\/etc/P4EST_SC_DIR\/share\/libsc/" \
198 - "${S}"/configure || die "sed failed"
199 -
200 - sed -i \
201 - "s/libsc\.la/libsc\.so/" \
202 - "${S}"/configure || die "sed failed"
203 -}
204 -
205 -src_configure() {
206 - # avoid underlinkage
207 - LDFLAGS="${LDFLAGS} -lsc"
208 -
209 - local myeconfargs=(
210 - $(use_enable debug)
211 - $(use_enable mpi)
212 - $(use_enable romio mpiio)
213 - $(use_enable static-libs static)
214 - $(use_enable vtk-binary)
215 - --with-blas="$($(tc-getPKG_CONFIG) --libs blas)"
216 - --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)"
217 - --with-sc="${EPREFIX}/usr"
218 - )
219 - econf "${myeconfargs[@]}"
220 -}
221 -
222 -src_install() {
223 - default
224 -
225 - use doc && dodoc -r doc/*
226 -
227 - if use examples
228 - then
229 - docinto examples
230 - dodoc -r example/*
231 - docompress -x /usr/share/doc/${PF}/examples
232 - else
233 - # Remove compiled example binaries in case of -examples:
234 - rm -r "${ED}"/usr/bin || die "rm failed"
235 - fi
236 -
237 - # Fix wrong installation paths:
238 - dodir /usr/share/p4est
239 - mv "${ED}"/usr/share/data "${ED}"/usr/share/p4est/data || die "mv failed"
240 - mv "${ED}"/etc/* "${ED}"/usr/share/p4est || die "mv failed"
241 - rmdir "${ED}"/etc/ || die "rmdir failed"
242 -}