1 |
commit: 15d6361bccbb21e5544e9cb55b9578892693bebd |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 26 12:23:06 2017 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 26 12:57:05 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15d6361b |
7 |
|
8 |
sci-libs/geos: 3.6.1 version bump |
9 |
|
10 |
Package-Manager: portage-2.3.3 |
11 |
|
12 |
sci-libs/geos/Manifest | 1 + |
13 |
sci-libs/geos/geos-3.6.1.ebuild | 59 +++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 60 insertions(+) |
15 |
|
16 |
diff --git a/sci-libs/geos/Manifest b/sci-libs/geos/Manifest |
17 |
index 6996dd7..89ee962 100644 |
18 |
--- a/sci-libs/geos/Manifest |
19 |
+++ b/sci-libs/geos/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST geos-3.5.0.tar.bz2 1949397 SHA256 49982b23bcfa64a53333dab136b82e25354edeb806e5a2e2f5b8aa98b1d0ae02 SHA512 cd9c008c19213eb90959f950b03958e6abd9c22d83e6eb5f5a9020263ad8b0045dd5c5af60417c548fc130a57756ae1ef706710086cc277498b9ba6a0a6256b7 WHIRLPOOL f7530e1dc6b99b4ad83d9a01c44b8e6256e118f7615a473d666b00549296df00ca3c86d7ab4d0ae717a3b329b3a9ecac587bc475ee51cbd7e436922860d00ab9 |
22 |
+DIST geos-3.6.1.tar.bz2 1833434 SHA256 4a2e4e3a7a09a7cfda3211d0f4a235d9fd3176ddf64bd8db14b4ead266189fc5 SHA512 8b28e7706567375ca02ae5f5dbebf0870e8fed8ea430596a3637e5c975e72bc0f3c16c31b052f154042dd029c54130325a8d44de95c3458f5da024a97d3cfaf9 WHIRLPOOL bda0bb3b77c7c815e0be613f9af8f544fa4410029033851564bc83a912d5d7bfabaeb5d8d3dc61ebebfb482bdc64ea3cc09b395041b22cf419662beafdfec073 |
23 |
|
24 |
diff --git a/sci-libs/geos/geos-3.6.1.ebuild b/sci-libs/geos/geos-3.6.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000..feca237 |
27 |
--- /dev/null |
28 |
+++ b/sci-libs/geos/geos-3.6.1.ebuild |
29 |
@@ -0,0 +1,59 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
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 ~ppc ~ppc64 ~x86 ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris" |
47 |
+IUSE="doc python ruby static-libs" |
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 |
+pkg_setup() { |
62 |
+ use python && python-single-r1_pkg_setup |
63 |
+} |
64 |
+ |
65 |
+src_prepare() { |
66 |
+ default |
67 |
+ echo "#!${EPREFIX}/bin/bash" > py-compile |
68 |
+} |
69 |
+ |
70 |
+src_configure() { |
71 |
+ econf \ |
72 |
+ $(use_enable python) \ |
73 |
+ $(use_enable ruby) \ |
74 |
+ $(use_enable static-libs static) |
75 |
+} |
76 |
+ |
77 |
+src_compile() { |
78 |
+ default |
79 |
+ use doc && emake -C "${S}/doc" doxygen-html |
80 |
+} |
81 |
+ |
82 |
+src_install() { |
83 |
+ use doc && HTML_DOCS=( doc/doxygen_docs/html/. ) |
84 |
+ default |
85 |
+ use python && python_optimize "${D}$(python_get_sitedir)"/geos/ |
86 |
+ |
87 |
+ find "${D}" -name '*.la' -delete || die |
88 |
+} |