Gentoo Archives: gentoo-commits

From: "Aaron Swenson (titanofold)" <titanofold@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/geos: ChangeLog geos-3.3.8-r1.ebuild geos-3.3.8.ebuild
Date: Sat, 02 Mar 2013 16:09:58
Message-Id: 20130302160954.CD65E2171D@flycatcher.gentoo.org
1 titanofold 13/03/02 16:09:54
2
3 Modified: ChangeLog
4 Added: geos-3.3.8-r1.ebuild
5 Removed: geos-3.3.8.ebuild
6 Log:
7 Fix bug 455118 by modifying PHP dependency. Fix bug 450998 by correcting dohtml command. Fix bug 423097 by virtue of being bumped.
8
9 (Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key D1BBFDA0)
10
11 Revision Changes Path
12 1.72 sci-libs/geos/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/geos/ChangeLog?rev=1.72&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/geos/ChangeLog?rev=1.72&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/geos/ChangeLog?r1=1.71&r2=1.72
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-libs/geos/ChangeLog,v
21 retrieving revision 1.71
22 retrieving revision 1.72
23 diff -u -r1.71 -r1.72
24 --- ChangeLog 2 Mar 2013 04:04:09 -0000 1.71
25 +++ ChangeLog 2 Mar 2013 16:09:54 -0000 1.72
26 @@ -1,6 +1,13 @@
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.71 2013/03/02 04:04:09 titanofold Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/geos/ChangeLog,v 1.72 2013/03/02 16:09:54 titanofold Exp $
31 +
32 +*geos-3.3.8-r1 (02 Mar 2013)
33 +
34 + 02 Mar 2013; Aaron W. Swenson <titanofold@g.o> -geos-3.3.8.ebuild,
35 + +geos-3.3.8-r1.ebuild:
36 + Fix bug 455118 by modifying PHP dependency. Fix bug 450998 by correcting
37 + dohtml command. Fix bug 423097 by virtue of being bumped.
38
39 *geos-3.3.8 (02 Mar 2013)
40
41
42
43
44 1.1 sci-libs/geos/geos-3.3.8-r1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/geos/geos-3.3.8-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/geos/geos-3.3.8-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: geos-3.3.8-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2013 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/sci-libs/geos/geos-3.3.8-r1.ebuild,v 1.1 2013/03/02 16:09:54 titanofold Exp $
54
55 EAPI=4
56
57 PYTHON_DEPEND="python? 2"
58 SUPPORT_PYTHON_ABIS="1"
59 RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
60 inherit autotools eutils python
61
62 DESCRIPTION="Geometry engine library for Geographic Information Systems"
63 HOMEPAGE="http://trac.osgeo.org/geos/"
64 SRC_URI="http://download.osgeo.org/geos/${P}.tar.bz2"
65
66 LICENSE="LGPL-2.1"
67 SLOT="0"
68 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris"
69 IUSE="doc php python ruby static-libs"
70
71 RDEPEND="
72 php? ( >=dev-lang/php-5.3[-threads] )
73 ruby? ( dev-lang/ruby )
74 "
75 DEPEND="${RDEPEND}
76 doc? ( app-doc/doxygen )
77 php? ( dev-lang/swig )
78 python? ( dev-lang/swig )
79 ruby? ( dev-lang/swig )
80 "
81
82 pkg_setup() {
83 use python && python_pkg_setup
84 }
85
86 src_prepare() {
87 epatch \
88 "${FILESDIR}"/3.2.0-python.patch \
89 "${FILESDIR}"/3.2.0-darwin.patch \
90 "${FILESDIR}"/3.3.2-solaris-isnan.patch
91 eautoreconf
92 echo "#!${EPREFIX}/bin/bash" > py-compile
93 }
94
95 src_configure() {
96 econf \
97 $(use_enable python) \
98 $(use_enable ruby) \
99 $(use_enable php) \
100 $(use_enable static-libs static)
101 }
102
103 src_compile() {
104 emake
105
106 if use python; then
107 emake -C swig/python clean
108 python_copy_sources swig/python
109 building() {
110 emake \
111 PYTHON_CPPFLAGS="-I${EPREFIX}$(python_get_includedir)" \
112 PYTHON_LDFLAGS="$(python_get_library -l)" \
113 SWIG_PYTHON_CPPFLAGS="-I${EPREFIX}$(python_get_includedir)" \
114 pyexecdir="${EPREFIX}$(python_get_sitedir)" \
115 pythondir="${EPREFIX}$(python_get_sitedir)"
116 }
117 python_execute_function -s --source-dir swig/python building
118 fi
119
120 use doc && emake -C "${S}/doc" doxygen-html
121 }
122
123 src_install() {
124 default
125
126 if use python; then
127 installation() {
128 emake \
129 DESTDIR="${D}" \
130 pyexecdir="${EPREFIX}$(python_get_sitedir)" \
131 pythondir="${EPREFIX}$(python_get_sitedir)" \
132 install
133 }
134 python_execute_function -s --source-dir swig/python installation
135 python_clean_installation_image
136 fi
137
138 use doc && dohtml -r doc/doxygen_docs/html/*
139
140 find "${ED}" -name '*.la' -exec rm -f {} +
141 }
142
143 pkg_postinst() {
144 use python && python_mod_optimize geos/geos.py
145 }
146
147 pkg_postrm() {
148 use python && python_mod_cleanup geos/geos.py
149 }