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