1 |
bicatali 12/01/05 20:09:08 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: geos-3.3.1.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
|
8 |
(Portage version: 2.1.10.41/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.59 sci-libs/geos/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/geos/ChangeLog?rev=1.59&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/geos/ChangeLog?rev=1.59&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/geos/ChangeLog?r1=1.58&r2=1.59 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/geos/ChangeLog,v |
20 |
retrieving revision 1.58 |
21 |
retrieving revision 1.59 |
22 |
diff -u -r1.58 -r1.59 |
23 |
--- ChangeLog 3 May 2011 11:18:28 -0000 1.58 |
24 |
+++ ChangeLog 5 Jan 2012 20:09:08 -0000 1.59 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sci-libs/geos |
27 |
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/geos/ChangeLog,v 1.58 2011/05/03 11:18:28 grobian Exp $ |
29 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/geos/ChangeLog,v 1.59 2012/01/05 20:09:08 bicatali Exp $ |
31 |
+ |
32 |
+*geos-3.3.1 (05 Jan 2012) |
33 |
+ |
34 |
+ 05 Jan 2012; Sébastien Fabbro <bicatali@g.o> +geos-3.3.1.ebuild: |
35 |
+ Version bump |
36 |
|
37 |
03 May 2011; Fabian Groffen <grobian@g.o> geos-3.2.2.ebuild: |
38 |
Marked ~x64-freebsd |
39 |
|
40 |
|
41 |
|
42 |
1.1 sci-libs/geos/geos-3.3.1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/geos/geos-3.3.1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/geos/geos-3.3.1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: geos-3.3.1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2012 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/sci-libs/geos/geos-3.3.1.ebuild,v 1.1 2012/01/05 20:09:07 bicatali Exp $ |
52 |
|
53 |
EAPI=4 |
54 |
|
55 |
PYTHON_DEPEND="python? 2" |
56 |
SUPPORT_PYTHON_ABIS="1" |
57 |
RESTRICT_PYTHON_ABIS="3.* *-jython" |
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 ~x86 ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris" |
67 |
IUSE="doc php python ruby static-libs" |
68 |
|
69 |
RDEPEND="php? ( dev-lang/php ) |
70 |
ruby? ( dev-lang/ruby )" |
71 |
DEPEND="${RDEPEND} |
72 |
doc? ( app-doc/doxygen ) |
73 |
php? ( dev-lang/swig ) |
74 |
python? ( dev-lang/swig ) |
75 |
ruby? ( dev-lang/swig )" |
76 |
|
77 |
pkg_setup() { |
78 |
use python && python_pkg_setup |
79 |
} |
80 |
|
81 |
src_prepare() { |
82 |
epatch \ |
83 |
"${FILESDIR}"/3.2.0-python.patch \ |
84 |
"${FILESDIR}"/3.2.0-darwin.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 |
} |