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.ebuild
Date: Sat, 02 Mar 2013 04:04:14
Message-Id: 20130302040409.565C92171D@flycatcher.gentoo.org
1 titanofold 13/03/02 04:04:09
2
3 Modified: ChangeLog
4 Added: geos-3.3.8.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.1.11.50/cvs/Linux x86_64, signed Manifest commit with key D1BBFDA0)
9
10 Revision Changes Path
11 1.71 sci-libs/geos/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/geos/ChangeLog?rev=1.71&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/geos/ChangeLog?rev=1.71&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/geos/ChangeLog?r1=1.70&r2=1.71
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-libs/geos/ChangeLog,v
20 retrieving revision 1.70
21 retrieving revision 1.71
22 diff -u -r1.70 -r1.71
23 --- ChangeLog 2 Feb 2013 06:04:19 -0000 1.70
24 +++ ChangeLog 2 Mar 2013 04:04:09 -0000 1.71
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sci-libs/geos
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/geos/ChangeLog,v 1.70 2013/02/02 06:04:19 patrick Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/geos/ChangeLog,v 1.71 2013/03/02 04:04:09 titanofold Exp $
30 +
31 +*geos-3.3.8 (02 Mar 2013)
32 +
33 + 02 Mar 2013; Aaron W. Swenson <titanofold@g.o> +geos-3.3.8.ebuild:
34 + version bump
35
36 *geos-3.3.7 (02 Feb 2013)
37
38
39
40
41 1.1 sci-libs/geos/geos-3.3.8.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/geos/geos-3.3.8.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/geos/geos-3.3.8.ebuild?rev=1.1&content-type=text/plain
45
46 Index: geos-3.3.8.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sci-libs/geos/geos-3.3.8.ebuild,v 1.1 2013/03/02 04:04:09 titanofold Exp $
51
52 EAPI=4
53
54 PYTHON_DEPEND="python? 2"
55 SUPPORT_PYTHON_ABIS="1"
56 RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
57 inherit autotools eutils python
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 ~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="php? ( dev-lang/php:5.3[-threads] )
69 ruby? ( dev-lang/ruby )"
70 DEPEND="${RDEPEND}
71 doc? ( app-doc/doxygen )
72 php? ( dev-lang/swig )
73 python? ( dev-lang/swig )
74 ruby? ( dev-lang/swig )"
75
76 pkg_setup() {
77 use python && python_pkg_setup
78 }
79
80 src_prepare() {
81 epatch \
82 "${FILESDIR}"/3.2.0-python.patch \
83 "${FILESDIR}"/3.2.0-darwin.patch \
84 "${FILESDIR}"/3.3.2-solaris-isnan.patch
85 eautoreconf
86 echo "#!${EPREFIX}/bin/bash" > py-compile
87 }
88
89 src_configure() {
90 econf \
91 $(use_enable python) \
92 $(use_enable ruby) \
93 $(use_enable php) \
94 $(use_enable static-libs static)
95 }
96
97 src_compile() {
98 emake
99 if use python; then
100 emake -C swig/python clean
101 python_copy_sources swig/python
102 building() {
103 emake \
104 PYTHON_CPPFLAGS="-I${EPREFIX}$(python_get_includedir)" \
105 PYTHON_LDFLAGS="$(python_get_library -l)" \
106 SWIG_PYTHON_CPPFLAGS="-I${EPREFIX}$(python_get_includedir)" \
107 pyexecdir="${EPREFIX}$(python_get_sitedir)" \
108 pythondir="${EPREFIX}$(python_get_sitedir)"
109 }
110 python_execute_function -s --source-dir swig/python building
111 fi
112 use doc && emake -C "${S}/doc" doxygen-html
113 }
114
115 src_install() {
116 default
117 if use python; then
118 installation() {
119 emake \
120 DESTDIR="${D}" \
121 pyexecdir="${EPREFIX}$(python_get_sitedir)" \
122 pythondir="${EPREFIX}$(python_get_sitedir)" \
123 install
124 }
125 python_execute_function -s --source-dir swig/python installation
126 python_clean_installation_image
127 fi
128 use doc && dohtml -r "${S}/doc" doxygen_docs/html/*
129 find "${ED}" -name '*.la' -exec rm -f {} +
130 }
131
132 pkg_postinst() {
133 use python && python_mod_optimize geos/geos.py
134 }
135
136 pkg_postrm() {
137 use python && python_mod_cleanup geos/geos.py
138 }