Gentoo Archives: gentoo-commits

From: "Aaron W. Swenson" <titanofold@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/geos/
Date: Fri, 05 Jul 2019 11:35:28
Message-Id: 1562326514.56f04b6061aeabed1d0459b74e474a00752b6172.titanofold@gentoo
1 commit: 56f04b6061aeabed1d0459b74e474a00752b6172
2 Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 5 11:35:10 2019 +0000
4 Commit: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 5 11:35:14 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56f04b60
7
8 sci-libs/geos: Bump to 3.7.2
9
10 Package-Manager: Portage-2.3.66, Repoman-2.3.11
11 Signed-off-by: Aaron W. Swenson <titanofold <AT> gentoo.org>
12
13 sci-libs/geos/Manifest | 1 +
14 sci-libs/geos/geos-3.7.2.ebuild | 61 +++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 62 insertions(+)
16
17 diff --git a/sci-libs/geos/Manifest b/sci-libs/geos/Manifest
18 index d10e26879ca..30e3b564963 100644
19 --- a/sci-libs/geos/Manifest
20 +++ b/sci-libs/geos/Manifest
21 @@ -1 +1,2 @@
22 DIST geos-3.7.0.tar.bz2 2028814 BLAKE2B 17385d9be831d4812391a30627e13989d3ca099ca9b0a719a92cdb2503dadff3693d4b3d320652764185db05782b33760ca14d155365d87167bb4ef6d6c2463c SHA512 fcca5e503efa32bb388376b2a06b9ca5c74fbcddba750cce6b3b4109eb2eb122058aead12b9462cdd881f425cd75d7241645ab344f25ce022bc0659954560742
23 +DIST geos-3.7.2.tar.bz2 2071465 BLAKE2B ba968488aa5d845e582d3771d8d2b1f67b0f301e73fad5834a0805a912c8f3b1200bba93d8758f43539ce269758de348d999db3db9738e7abf5c1a443f388d8c SHA512 ff0fde2e21ed9d2770c139aa50c6efd22d9cff3c6bfd8f1ef86b064efd1ad318b08dec66e34661bc1c7a341b0837978853494f27d63988be865a8ee4f7611d38
24
25 diff --git a/sci-libs/geos/geos-3.7.2.ebuild b/sci-libs/geos/geos-3.7.2.ebuild
26 new file mode 100644
27 index 00000000000..1acbe1537bf
28 --- /dev/null
29 +++ b/sci-libs/geos/geos-3.7.2.ebuild
30 @@ -0,0 +1,61 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +PYTHON_COMPAT=( python2_7 )
37 +
38 +inherit python-single-r1
39 +
40 +DESCRIPTION="Geometry engine library for Geographic Information Systems"
41 +HOMEPAGE="http://trac.osgeo.org/geos/"
42 +SRC_URI="http://download.osgeo.org/geos/${P}.tar.bz2"
43 +
44 +LICENSE="LGPL-2.1"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris"
47 +IUSE="doc python ruby static-libs"
48 +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
49 +
50 +RDEPEND="
51 + python? ( ${PYTHON_DEPS} )
52 + ruby? ( dev-lang/ruby:* )
53 +"
54 +DEPEND="${RDEPEND}
55 + doc? ( app-doc/doxygen )
56 + python? ( dev-lang/swig:0 )
57 + ruby? ( dev-lang/swig:0 )
58 +"
59 +
60 +PATCHES=( "${FILESDIR}"/3.4.2-solaris-isnan.patch )
61 +
62 +RESTRICT="test"
63 +
64 +pkg_setup() {
65 + use python && python-single-r1_pkg_setup
66 +}
67 +
68 +src_prepare() {
69 + default
70 + echo "#!${EPREFIX}/bin/bash" > py-compile
71 +}
72 +
73 +src_configure() {
74 + econf \
75 + $(use_enable python) \
76 + $(use_enable ruby) \
77 + $(use_enable static-libs static)
78 +}
79 +
80 +src_compile() {
81 + default
82 + use doc && emake -C "${S}/doc" doxygen-html
83 +}
84 +
85 +src_install() {
86 + use doc && HTML_DOCS=( doc/doxygen_docs/html/. )
87 + default
88 + use python && python_optimize "${D}$(python_get_sitedir)"/geos/
89 +
90 + find "${D}" -name '*.la' -delete || die
91 +}