Gentoo Archives: gentoo-commits

From: "罗百科" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/geos/
Date: Tue, 02 Mar 2021 09:14:26
Message-Id: 1614676361.7ab752f72e5d193ae65128b46367f59b3fcc610a.patrick@gentoo
1 commit: 7ab752f72e5d193ae65128b46367f59b3fcc610a
2 Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 2 09:12:41 2021 +0000
4 Commit: 罗百科 <patrick <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 2 09:12:41 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ab752f7
7
8 sci-libs/geos: Bump
9
10 Package-Manager: Portage-3.0.16, Repoman-3.0.2
11 Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>
12
13 sci-libs/geos/Manifest | 1 +
14 sci-libs/geos/geos-3.9.1.ebuild | 40 ++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 41 insertions(+)
16
17 diff --git a/sci-libs/geos/Manifest b/sci-libs/geos/Manifest
18 index c486bce0963..2c13200ecfa 100644
19 --- a/sci-libs/geos/Manifest
20 +++ b/sci-libs/geos/Manifest
21 @@ -1,2 +1,3 @@
22 DIST geos-3.8.1.tar.bz2 2505407 BLAKE2B 43053ea9e29d190f41c37d5d382b689ef477e0256cfd5705f4f2f316cac21a1674660bcf0900c51db72909c41d46be7a41d297958de48e108ae6d6bd1ca9d247 SHA512 1d8d8b3ece70eb388ea128f4135c7455899f01828223b23890ad3a2401e27104efce03987676794273a9b9d4907c0add2be381ff14b8420aaa9a858cc5941056
23 DIST geos-3.9.0-r1.tar.bz2 4710957 BLAKE2B dab0f4e0bfb1bd244c2faf5ee6149b65d142eea78e87490025f90b672eee0d25d4ba9bc4c3b223e78ea0c9d34625b4750c7ba03852e5ea9540ad5c479d84b995 SHA512 1081f2aa20e671450953f7bb53b17c703804a1c9f4987c9da0987ff24339af5811b2c8b79c8e438d04ca38e4d06164dc5a4206f266f7efc19af3f9d9ea8f71f8
24 +DIST geos-3.9.1-r1.tar.bz2 4761372 BLAKE2B af1597d9372b18a2f280d82941949518cd8edb9296e9647aa3949c9e10fdd1b6ef500298471ec469d711ab0569eabd8fc3fb0a8f7e9bd48f91150cfdcaea65a8 SHA512 7ea131685cd110ec5e0cb7c214b52b75397371e75f011e1410b6770b6a48ca492a02337d86a7be35c852ef94604fe9d6f49634c79d4946df611aaa4f5cbaee28
25
26 diff --git a/sci-libs/geos/geos-3.9.1.ebuild b/sci-libs/geos/geos-3.9.1.ebuild
27 new file mode 100644
28 index 00000000000..69116e672af
29 --- /dev/null
30 +++ b/sci-libs/geos/geos-3.9.1.ebuild
31 @@ -0,0 +1,40 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +DESCRIPTION="Geometry engine library for Geographic Information Systems"
38 +HOMEPAGE="https://trac.osgeo.org/geos/"
39 +
40 +# Arrow can be removed at next version bump. Upstream mistakenly
41 +# released rc1 as 3.9.0. So, we need(ed) a new Manifest entry to get the
42 +# real 3.9.0
43 +SRC_URI="https://download.osgeo.org/geos/${PN}-${PV}.tar.bz2 -> ${PN}-${PV}-r1.tar.bz2"
44 +
45 +LICENSE="LGPL-2.1"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris"
48 +IUSE="doc static-libs"
49 +
50 +BDEPEND="doc? ( app-doc/doxygen )"
51 +
52 +RESTRICT="test"
53 +
54 +src_configure() {
55 + local myeconfargs=( $(use_enable static-libs static) )
56 + use arm && myeconfargs+=( --disable-inline ) # bug 709368
57 +
58 + econf "${myeconfargs[@]}"
59 +}
60 +
61 +src_compile() {
62 + default
63 + use doc && emake -C doc doxygen-html
64 +}
65 +
66 +src_install() {
67 + use doc && local HTML_DOCS=( doc/doxygen_docs/html/. )
68 + default
69 +
70 + find "${D}" -name '*.la' -type f -delete || die
71 +}