Gentoo Archives: gentoo-commits

From: "Julian Ospald (hasufell)" <hasufell@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/geos: geos-3.4.1-r1.ebuild ChangeLog geos-3.4.1.ebuild
Date: Fri, 22 Nov 2013 13:35:08
Message-Id: 20131122133502.D79432004B@flycatcher.gentoo.org
1 hasufell 13/11/22 13:35:02
2
3 Modified: ChangeLog
4 Added: geos-3.4.1-r1.ebuild
5 Removed: geos-3.4.1.ebuild
6 Log:
7 install missing headers wrt #487068
8
9 (Portage version: 2.2.7/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key E73C35B3)
10
11 Revision Changes Path
12 1.84 sci-libs/geos/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/geos/ChangeLog?rev=1.84&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/geos/ChangeLog?rev=1.84&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/geos/ChangeLog?r1=1.83&r2=1.84
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-libs/geos/ChangeLog,v
21 retrieving revision 1.83
22 retrieving revision 1.84
23 diff -u -r1.83 -r1.84
24 --- ChangeLog 21 Oct 2013 00:26:42 -0000 1.83
25 +++ ChangeLog 22 Nov 2013 13:35:02 -0000 1.84
26 @@ -1,6 +1,12 @@
27 # ChangeLog for sci-libs/geos
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/geos/ChangeLog,v 1.83 2013/10/21 00:26:42 titanofold Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/geos/ChangeLog,v 1.84 2013/11/22 13:35:02 hasufell Exp $
31 +
32 +*geos-3.4.1-r1 (22 Nov 2013)
33 +
34 + 22 Nov 2013; Julian Ospald <hasufell@g.o> +geos-3.4.1-r1.ebuild,
35 + -geos-3.4.1.ebuild:
36 + install missing headers wrt #487068
37
38 *geos-3.4.2 (21 Oct 2013)
39
40
41
42
43 1.1 sci-libs/geos/geos-3.4.1-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/geos/geos-3.4.1-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/geos/geos-3.4.1-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: geos-3.4.1-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2013 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sci-libs/geos/geos-3.4.1-r1.ebuild,v 1.1 2013/11/22 13:35:02 hasufell Exp $
53
54 EAPI="5"
55
56 PYTHON_COMPAT=( python2_{6,7} )
57 inherit autotools eutils python-single-r1 python-utils-r1
58
59 DESCRIPTION="Geometry engine library for Geographic Information Systems"
60 HOMEPAGE="http://trac.osgeo.org/geos/"
61 SRC_URI="http://download.osgeo.org/geos/${P}.tar.bz2"
62
63 LICENSE="LGPL-2.1"
64 SLOT="0"
65 KEYWORDS="amd64 arm ~ppc ~ppc64 x86 ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris"
66 IUSE="doc php python ruby static-libs"
67
68 RDEPEND="
69 php? ( >=dev-lang/php-5.3[-threads] )
70 ruby? ( dev-lang/ruby )
71 "
72 DEPEND="${RDEPEND}
73 doc? ( app-doc/doxygen )
74 php? ( dev-lang/swig )
75 python? ( dev-lang/swig ${PYTHON_DEPS} )
76 ruby? ( dev-lang/swig )
77 "
78
79 src_prepare() {
80 epatch "${FILESDIR}"/3.4.1-solaris-isnan.patch
81 eautoreconf
82 echo "#!${EPREFIX}/bin/bash" > py-compile
83 }
84
85 src_configure() {
86 econf \
87 $(use_enable python) \
88 $(use_enable ruby) \
89 $(use_enable php) \
90 $(use_enable static-libs static)
91 }
92
93 src_compile() {
94 emake
95
96 use doc && emake -C "${S}/doc" doxygen-html
97 }
98
99 src_install() {
100 emake DESTDIR="${D}" install
101
102 # https://bugs.gentoo.org/show_bug.cgi?id=487068
103 insinto /usr/include/geos
104 doins include/geos/platform.h
105
106 use doc && dohtml -r doc/doxygen_docs/html/*
107 use python && python_optimize "${D}$(python_get_sitedir)"/geos/
108
109 find "${ED}" -name '*.la' -exec rm -f {} +
110 }