1 |
commit: f17760b18083fbf752095da36056e4bf86d96d40 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 29 21:15:21 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 30 22:19:51 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f17760b1 |
7 |
|
8 |
sci-libs/geos: Drop USE python |
9 |
|
10 |
Long obsolete, use sci-libs/Shapely instead. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/704212 |
13 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
14 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
15 |
|
16 |
sci-libs/geos/geos-3.8.0-r1.ebuild | 52 ++++++++++++++++++++++++++++++++++++++ |
17 |
1 file changed, 52 insertions(+) |
18 |
|
19 |
diff --git a/sci-libs/geos/geos-3.8.0-r1.ebuild b/sci-libs/geos/geos-3.8.0-r1.ebuild |
20 |
new file mode 100644 |
21 |
index 00000000000..9e41eddd122 |
22 |
--- /dev/null |
23 |
+++ b/sci-libs/geos/geos-3.8.0-r1.ebuild |
24 |
@@ -0,0 +1,52 @@ |
25 |
+# Copyright 1999-2019 Gentoo Authors |
26 |
+# Distributed under the terms of the GNU General Public License v2 |
27 |
+ |
28 |
+EAPI=7 |
29 |
+ |
30 |
+MY_PV=${PV/_/} |
31 |
+ |
32 |
+DESCRIPTION="Geometry engine library for Geographic Information Systems" |
33 |
+HOMEPAGE="http://trac.osgeo.org/geos/" |
34 |
+SRC_URI="http://download.osgeo.org/geos/${PN}-${MY_PV}.tar.bz2" |
35 |
+ |
36 |
+LICENSE="LGPL-2.1" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris" |
39 |
+IUSE="doc python ruby static-libs" |
40 |
+ |
41 |
+BDEPEND=" |
42 |
+ doc? ( app-doc/doxygen ) |
43 |
+ ruby? ( dev-lang/swig:0 ) |
44 |
+" |
45 |
+RDEPEND=" |
46 |
+ ruby? ( dev-lang/ruby:* ) |
47 |
+" |
48 |
+DEPEND="${RDEPEND}" |
49 |
+ |
50 |
+RESTRICT="test" |
51 |
+ |
52 |
+S="${WORKDIR}"/${PN}-${MY_PV} |
53 |
+ |
54 |
+src_prepare() { |
55 |
+ default |
56 |
+ echo "#!${EPREFIX}/bin/bash" > py-compile |
57 |
+} |
58 |
+ |
59 |
+src_configure() { |
60 |
+ econf \ |
61 |
+ --disable-python \ |
62 |
+ $(use_enable ruby) \ |
63 |
+ $(use_enable static-libs static) |
64 |
+} |
65 |
+ |
66 |
+src_compile() { |
67 |
+ default |
68 |
+ use doc && emake -C doc doxygen-html |
69 |
+} |
70 |
+ |
71 |
+src_install() { |
72 |
+ use doc && HTML_DOCS=( doc/doxygen_docs/html/. ) |
73 |
+ default |
74 |
+ |
75 |
+ find "${D}" -name '*.la' -delete || die |
76 |
+} |