From: | "Patrick Lauer (patrick)" <patrick@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-libs/geos: ChangeLog geos-3.2.2.ebuild |
Date: | Wed, 29 Sep 2010 20:58:29 |
Message-Id: | 20100929205823.23D9820051@flycatcher.gentoo.org |
1 | patrick 10/09/29 20:58:23 |
2 | |
3 | Modified: ChangeLog |
4 | Added: geos-3.2.2.ebuild |
5 | Log: |
6 | Bump |
7 | |
8 | (Portage version: 2.2_rc88/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.48 sci-libs/geos/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/geos/ChangeLog?rev=1.48&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/geos/ChangeLog?rev=1.48&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/geos/ChangeLog?r1=1.47&r2=1.48 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sci-libs/geos/ChangeLog,v |
20 | retrieving revision 1.47 |
21 | retrieving revision 1.48 |
22 | diff -u -r1.47 -r1.48 |
23 | --- ChangeLog 3 Sep 2010 18:03:12 -0000 1.47 |
24 | +++ ChangeLog 29 Sep 2010 20:58:23 -0000 1.48 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for sci-libs/geos |
27 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sci-libs/geos/ChangeLog,v 1.47 2010/09/03 18:03:12 grobian Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/sci-libs/geos/ChangeLog,v 1.48 2010/09/29 20:58:23 patrick Exp $ |
30 | + |
31 | +*geos-3.2.2 (29 Sep 2010) |
32 | + |
33 | + 29 Sep 2010; Patrick Lauer <patrick@g.o> +geos-3.2.2.ebuild: |
34 | + Bump |
35 | |
36 | 03 Sep 2010; Fabian Groffen <grobian@g.o> |
37 | +files/3.2.0-darwin.patch, geos-3.2.0-r1.ebuild: |
38 | |
39 | |
40 | |
41 | 1.1 sci-libs/geos/geos-3.2.2.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/geos/geos-3.2.2.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/geos/geos-3.2.2.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: geos-3.2.2.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2010 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.2.2.ebuild,v 1.1 2010/09/29 20:58:23 patrick Exp $ |
51 | |
52 | EAPI=3 |
53 | |
54 | PYTHON_DEPEND="python? 2" |
55 | SUPPORT_PYTHON_ABIS="1" |
56 | RESTRICT_PYTHON_ABIS="3.*" |
57 | |
58 | inherit autotools eutils python |
59 | |
60 | DESCRIPTION="Geometry engine library for Geographic Information Systems" |
61 | HOMEPAGE="http://trac.osgeo.org/geos/" |
62 | SRC_URI="http://download.osgeo.org/geos/${P}.tar.bz2" |
63 | |
64 | LICENSE="LGPL-2.1" |
65 | SLOT="0" |
66 | KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris" |
67 | IUSE="doc python ruby" |
68 | |
69 | RDEPEND="ruby? ( virtual/ruby )" |
70 | DEPEND="${RDEPEND} |
71 | doc? ( app-doc/doxygen ) |
72 | ruby? ( dev-lang/swig ) |
73 | python? ( dev-lang/swig )" |
74 | |
75 | pkg_setup() { |
76 | if use python; then |
77 | python_pkg_setup |
78 | fi |
79 | } |
80 | |
81 | src_prepare() { |
82 | epatch "${FILESDIR}"/3.2.0-multipy.patch \ |
83 | "${FILESDIR}"/3.2.0-swig2.0.patch \ |
84 | "${FILESDIR}"/3.2.0-python.patch \ |
85 | "${FILESDIR}"/3.2.0-darwin.patch |
86 | eautoreconf |
87 | echo "#!${EPREFIX}/bin/bash" > py-compile |
88 | } |
89 | |
90 | src_configure() { |
91 | econf $(use_enable python) $(use_enable ruby) |
92 | } |
93 | |
94 | src_compile() { |
95 | emake || die "emake failed" |
96 | if use python; then |
97 | python_copy_sources swig/python |
98 | building() { |
99 | emake \ |
100 | PYTHON_CPPFLAGS="-I${EPREFIX}$(python_get_includedir)" \ |
101 | PYTHON_LDFLAGS="$(python_get_library -l)" \ |
102 | SWIG_PYTHON_CPPFLAGS="-I${EPREFIX}$(python_get_includedir)" \ |
103 | pyexecdir="${EPREFIX}$(python_get_sitedir)" \ |
104 | pythondir="${EPREFIX}$(python_get_sitedir)" |
105 | } |
106 | python_execute_function -s --source-dir swig/python building |
107 | fi |
108 | if use doc; then |
109 | cd "${S}/doc" |
110 | emake doxygen-html || die "doc generation failed" |
111 | fi |
112 | } |
113 | |
114 | src_install() { |
115 | emake DESTDIR="${D}" install || die "emake install failed" |
116 | if use python; then |
117 | python_copy_sources swig/python |
118 | installation() { |
119 | emake \ |
120 | DESTDIR="${D}" \ |
121 | pythondir="${EPREFIX}$(python_get_sitedir)" \ |
122 | pyexecdir="${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 | dodoc AUTHORS NEWS README TODO || die |
129 | if use doc; then |
130 | cd "${S}/doc" |
131 | dohtml -r doxygen_docs/html/* || die |
132 | fi |
133 | } |