Gentoo Archives: gentoo-commits

From: Aaron Swenson <titanofold@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/geos/
Date: Sun, 15 Oct 2017 06:23:23
Message-Id: 1508048588.f9c4785a2c90f6087bb5158f98409de89f411bcf.titanofold@gentoo
1 commit: f9c4785a2c90f6087bb5158f98409de89f411bcf
2 Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 15 06:23:08 2017 +0000
4 Commit: Aaron Swenson <titanofold <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 15 06:23:08 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9c4785a
7
8 sci-libs/geos: Version bump to 3.6.2
9
10 Also fixes test failure reported in bug 526516.
11
12 Gentoo-Bug: 526516
13 Package-Manager: Portage-2.3.8, Repoman-2.3.3
14
15 sci-libs/geos/Manifest | 1 +
16 sci-libs/geos/geos-3.6.2.ebuild | 59 +++++++++++++++++++++++++++++++++++++++++
17 2 files changed, 60 insertions(+)
18
19 diff --git a/sci-libs/geos/Manifest b/sci-libs/geos/Manifest
20 index 89ee96294a9..30d2b175271 100644
21 --- a/sci-libs/geos/Manifest
22 +++ b/sci-libs/geos/Manifest
23 @@ -1,2 +1,3 @@
24 DIST geos-3.5.0.tar.bz2 1949397 SHA256 49982b23bcfa64a53333dab136b82e25354edeb806e5a2e2f5b8aa98b1d0ae02 SHA512 cd9c008c19213eb90959f950b03958e6abd9c22d83e6eb5f5a9020263ad8b0045dd5c5af60417c548fc130a57756ae1ef706710086cc277498b9ba6a0a6256b7 WHIRLPOOL f7530e1dc6b99b4ad83d9a01c44b8e6256e118f7615a473d666b00549296df00ca3c86d7ab4d0ae717a3b329b3a9ecac587bc475ee51cbd7e436922860d00ab9
25 DIST geos-3.6.1.tar.bz2 1833434 SHA256 4a2e4e3a7a09a7cfda3211d0f4a235d9fd3176ddf64bd8db14b4ead266189fc5 SHA512 8b28e7706567375ca02ae5f5dbebf0870e8fed8ea430596a3637e5c975e72bc0f3c16c31b052f154042dd029c54130325a8d44de95c3458f5da024a97d3cfaf9 WHIRLPOOL bda0bb3b77c7c815e0be613f9af8f544fa4410029033851564bc83a912d5d7bfabaeb5d8d3dc61ebebfb482bdc64ea3cc09b395041b22cf419662beafdfec073
26 +DIST geos-3.6.2.tar.bz2 2030705 SHA256 045a13df84d605a866602f6020fc6cbf8bf4c42fb50de237a08926e1d7d7652a SHA512 515d8700b8a28282678e481faee355e3a43d7b70160472a63335b8d7225d9ba10437be782378f18f31a15288118126d411a2d862f01ce35d27c96f6bc0a73016 WHIRLPOOL 137061802daf29c94951ffe651e284064c66049fed02488720bb255094ab8ba8093fcf9fca568acada94714493cd9d740898ae2c4e5fe2610a9c88255e8c88f6
27
28 diff --git a/sci-libs/geos/geos-3.6.2.ebuild b/sci-libs/geos/geos-3.6.2.ebuild
29 new file mode 100644
30 index 00000000000..57fa6fac0d9
31 --- /dev/null
32 +++ b/sci-libs/geos/geos-3.6.2.ebuild
33 @@ -0,0 +1,59 @@
34 +# Copyright 1999-2017 Gentoo Foundation
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=6
38 +
39 +PYTHON_COMPAT=( python2_7 )
40 +
41 +inherit python-single-r1
42 +
43 +DESCRIPTION="Geometry engine library for Geographic Information Systems"
44 +HOMEPAGE="http://trac.osgeo.org/geos/"
45 +SRC_URI="http://download.osgeo.org/geos/${P}.tar.bz2"
46 +
47 +LICENSE="LGPL-2.1"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris"
50 +IUSE="doc python ruby static-libs"
51 +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
52 +
53 +RDEPEND="
54 + python? ( ${PYTHON_DEPS} )
55 + ruby? ( dev-lang/ruby:* )
56 +"
57 +DEPEND="${RDEPEND}
58 + doc? ( app-doc/doxygen )
59 + python? ( dev-lang/swig:0 )
60 + ruby? ( dev-lang/swig:0 )
61 +"
62 +
63 +PATCHES=( "${FILESDIR}"/3.4.2-solaris-isnan.patch )
64 +
65 +pkg_setup() {
66 + use python && python-single-r1_pkg_setup
67 +}
68 +
69 +src_prepare() {
70 + default
71 + echo "#!${EPREFIX}/bin/bash" > py-compile
72 +}
73 +
74 +src_configure() {
75 + econf \
76 + $(use_enable python) \
77 + $(use_enable ruby) \
78 + $(use_enable static-libs static)
79 +}
80 +
81 +src_compile() {
82 + default
83 + use doc && emake -C "${S}/doc" doxygen-html
84 +}
85 +
86 +src_install() {
87 + use doc && HTML_DOCS=( doc/doxygen_docs/html/. )
88 + default
89 + use python && python_optimize "${D}$(python_get_sitedir)"/geos/
90 +
91 + find "${D}" -name '*.la' -delete || die
92 +}