------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX geos-2.2.1-gcc-41.patch 2888 RMD160 579e1c58ed74c66c75fbb01de9e397d277804cd8 SHA1 9ccd6b1a5485ce710b499c4eb40c5a8e3c131001 SHA256 f43992b255f32ec816e84684cf4d9c0d1381dd51a4dee87b756fc2bca193c030
MD5 02aa9da6a542bbc1d1f69beee9fbd377 files/geos-2.2.1-gcc-41.patch 2888
RMD160 579e1c58ed74c66c75fbb01de9e397d277804cd8 files/geos-2.2.1-gcc-41.patch 2888
SHA256 f43992b255f32ec816e84684cf4d9c0d1381dd51a4dee87b756fc2bca193c030 files/geos-2.2.1-gcc-41.patch 2888
-AUX geos-2.2.2-swig.patch 1505 RMD160 56801a93aaf6ddedfd97efb2eeadb04361a5adfd SHA1 9138909c61943ac00a7c89ee2e999f544f137866 SHA256 871e86801a64bbb6b5fbafa8bed23e6f9fa513f0a5d88f919aaedb64219961ce
-MD5 70b92502580bd51021add3b462a19628 files/geos-2.2.2-swig.patch 1505
-RMD160 56801a93aaf6ddedfd97efb2eeadb04361a5adfd files/geos-2.2.2-swig.patch 1505
-SHA256 871e86801a64bbb6b5fbafa8bed23e6f9fa513f0a5d88f919aaedb64219961ce files/geos-2.2.2-swig.patch 1505
+AUX geos-2.2.3-swig.patch 1505 RMD160 56801a93aaf6ddedfd97efb2eeadb04361a5adfd SHA1 9138909c61943ac00a7c89ee2e999f544f137866 SHA256 871e86801a64bbb6b5fbafa8bed23e6f9fa513f0a5d88f919aaedb64219961ce
+MD5 70b92502580bd51021add3b462a19628 files/geos-2.2.3-swig.patch 1505
+RMD160 56801a93aaf6ddedfd97efb2eeadb04361a5adfd files/geos-2.2.3-swig.patch 1505
+SHA256 871e86801a64bbb6b5fbafa8bed23e6f9fa513f0a5d88f919aaedb64219961ce files/geos-2.2.3-swig.patch 1505
AUX python.i 179 RMD160 b64f637b8d475f94f1e1319c700d6571dea7d410 SHA1 d0a92c5cbd888da380d1db847aa0004e46bfebb1 SHA256 ca71e5951088ffa7d571183eb0a9c0309b16305f451dc7a19fce91e91bca3a09
MD5 fd33fc304cf7a479a5ea9c7362472489 files/python.i 179
RMD160 b64f637b8d475f94f1e1319c700d6571dea7d410 files/python.i 179
SHA256 ca71e5951088ffa7d571183eb0a9c0309b16305f451dc7a19fce91e91bca3a09 files/python.i 179
-DIST geos-2.1.4.tar.bz2 506683 RMD160 913f5ead995fd4daebf7be5bd71fbd7ddc8a5346 SHA1 9fe811851a57d3eeb3cc900b11f4f813e4680928 SHA256 887f504cccc321a56e3cbb380643755100ef5d7af629ea63aaa2964583842e88
DIST geos-2.2.1.tar.bz2 533286 RMD160 f3ea1cbf3cf6c107acc9e0b43d77a0dbf0b65b25 SHA1 756aed7cb5b6b4e49e2d137e33d67637c4503ea5 SHA256 c6f3e555897457d9f7e8dc26535fabbf393777689e897b7e365d71f22ee8d378
-DIST geos-2.2.2.tar.bz2 554476 RMD160 52ccecf31aacd7d7fe1522ad7a608e2580525c17 SHA1 e74144c046560ee345cab19825eec1c2fff94d7a SHA256 17a4cde96b159261cab40f25ee0215676ff98b48fd28a32e0663a07c4af0e69a
-DIST geos-3.0.0rc1.tar.bz2 895873 RMD160 96166cf8365a70558f60e5e5101a42902198abfd SHA1 8871f326500d594e762f92a0131d667d7d75784d SHA256 4668bb93e4c6db3563a8eb8b310f60f79d9e3e0545bac5f6852671677eb2d503
-EBUILD geos-2.1.4.ebuild 1593 RMD160 19c51f69a1886e1dd30cd608e4d816f0365aab54 SHA1 746508bb65d5ba7c1915e9a4be0318daca5b5dfb SHA256 71697cae01080775f4eac1a8b5bc7be18ba4385c5bb9da7e9c89ce0d9e9f2533
-MD5 62caddd7251a98d882dbc0e266cd7ab3 geos-2.1.4.ebuild 1593
-RMD160 19c51f69a1886e1dd30cd608e4d816f0365aab54 geos-2.1.4.ebuild 1593
-SHA256 71697cae01080775f4eac1a8b5bc7be18ba4385c5bb9da7e9c89ce0d9e9f2533 geos-2.1.4.ebuild 1593
+DIST geos-2.2.3.tar.bz2 554802 RMD160 968de157f96f41aa71d5ef7c28c7186e8db0939e SHA1 c5da21829255e3625f7c2482c9220234cc5d9f90 SHA256 c781f0973dcfac7a4a3a4da1e7dbf49c5cd549f8841a3c4cd8f8feaa50b408a7
+DIST geos-3.0.0rc3.tar.bz2 1031379 RMD160 36a41024be00613be4e7fe336f715bb25b638197 SHA1 8bf9abf07cd4d0006e88725580de573046e0bbaa SHA256 8ec0a51c48d79dfe1a051bef80a6a8978205321906c5563a8dd85012f3044dd5
EBUILD geos-2.2.1.ebuild 1651 RMD160 8c944d963c7962daf2c8a118fa6190e0135ae94b SHA1 c8e2947a507d369efa8dcd2cf6eb5ccf05e742ec SHA256 76c0bd60f9d459723b4bca523872c569e241e9981e88b4fb5c1eb2a92c5c3fff
MD5 11828de2bbd4ddbe1f9c1a4014ff5997 geos-2.2.1.ebuild 1651
RMD160 8c944d963c7962daf2c8a118fa6190e0135ae94b geos-2.2.1.ebuild 1651
SHA256 76c0bd60f9d459723b4bca523872c569e241e9981e88b4fb5c1eb2a92c5c3fff geos-2.2.1.ebuild 1651
-EBUILD geos-2.2.2-r1.ebuild 3174 RMD160 3e19d1e953819f764e9ce5e9db0406772372f342 SHA1 a8c8683b9370b0aefdc24d42db39157cb152d895 SHA256 abfa9de095eb5ef91b561fe02d77d6147669fca4345c746077e5b474ff22fb60
-MD5 97ec944ea09d87c52ddb2b22a022e97c geos-2.2.2-r1.ebuild 3174
-RMD160 3e19d1e953819f764e9ce5e9db0406772372f342 geos-2.2.2-r1.ebuild 3174
-SHA256 abfa9de095eb5ef91b561fe02d77d6147669fca4345c746077e5b474ff22fb60 geos-2.2.2-r1.ebuild 3174
-EBUILD geos-2.2.2.ebuild 2197 RMD160 5365654ab3cc635188f210b41cc019f625418e83 SHA1 9d2c7b1c0d97ec74fdd242402f4a55afbfa4a666 SHA256 d6010ba6e2be31e69ab119f3ef3560e5328157aae8083a0f656274cc1e5fa837
-MD5 d87aa103673bd3c10e670a1bb1ac1904 geos-2.2.2.ebuild 2197
-RMD160 5365654ab3cc635188f210b41cc019f625418e83 geos-2.2.2.ebuild 2197
-SHA256 d6010ba6e2be31e69ab119f3ef3560e5328157aae8083a0f656274cc1e5fa837 geos-2.2.2.ebuild 2197
-EBUILD geos-3.0.0_rc1.ebuild 1184 RMD160 98bf519515f5525fb89d30e4735bf422dad91495 SHA1 be07ababd18704f63e3c9e1593874ab04291db85 SHA256 d5f5f0c88ceae9ab8022f92ede3c1dbc58c5b21ba3c8f221b10130102c6840f6
-MD5 9d02513f0a8163e006a309897d211781 geos-3.0.0_rc1.ebuild 1184
-RMD160 98bf519515f5525fb89d30e4735bf422dad91495 geos-3.0.0_rc1.ebuild 1184
-SHA256 d5f5f0c88ceae9ab8022f92ede3c1dbc58c5b21ba3c8f221b10130102c6840f6 geos-3.0.0_rc1.ebuild 1184
-MISC ChangeLog 3877 RMD160 66df15775c6764095b973cb706414eaf3109bf13 SHA1 e5367b1e659c58c2ee81e8d83a056764331a87f8 SHA256 b44a99e5b96a803bf5435129e80668097a323f084d4f93d88e10dfea6451d25f
-MD5 87f66278544dcee85f40211d0d1f5b2c ChangeLog 3877
-RMD160 66df15775c6764095b973cb706414eaf3109bf13 ChangeLog 3877
-SHA256 b44a99e5b96a803bf5435129e80668097a323f084d4f93d88e10dfea6451d25f ChangeLog 3877
+EBUILD geos-2.2.3.ebuild 2880 RMD160 da6d59cbbc65cd2b9c67db95842eb6d0c1288220 SHA1 80c4676c3881cbfbf04fe1abdb768b44aeb1552e SHA256 2aeb9d2d0d9d30e5385c0a68dcc1a49c5fcdf0ac48dc3977a82f40059120a42e
+MD5 cef9a7107ca28f1fa8059e51ebad7fcd geos-2.2.3.ebuild 2880
+RMD160 da6d59cbbc65cd2b9c67db95842eb6d0c1288220 geos-2.2.3.ebuild 2880
+SHA256 2aeb9d2d0d9d30e5385c0a68dcc1a49c5fcdf0ac48dc3977a82f40059120a42e geos-2.2.3.ebuild 2880
+EBUILD geos-3.0.0_rc3.ebuild 1144 RMD160 5ecd07724c877cae45e8c1dcf8accc8eefc5ed08 SHA1 e49587fa94a4652c228f98cb16be9ccc5d8bd54a SHA256 58dbbb2a024e45b82c08b05fd6f0e2dc2f5046498cd1327b39bb5fe5f905ec0c
+MD5 104028e3ad88e93c38cb297b7333ae0d geos-3.0.0_rc3.ebuild 1144
+RMD160 5ecd07724c877cae45e8c1dcf8accc8eefc5ed08 geos-3.0.0_rc3.ebuild 1144
+SHA256 58dbbb2a024e45b82c08b05fd6f0e2dc2f5046498cd1327b39bb5fe5f905ec0c geos-3.0.0_rc3.ebuild 1144
+MISC ChangeLog 4234 RMD160 ec05794e4f57addda72169ce73fd959567bc8990 SHA1 1969dcf4b89141d563403cab153f950203eed3ec SHA256 ec154441a05fde64fd3b29a04019a32defc5e95432e4790213dc021c47b0eda0
+MD5 3e890cb465168fbf9c5333fc050e2249 ChangeLog 4234
+RMD160 ec05794e4f57addda72169ce73fd959567bc8990 ChangeLog 4234
+SHA256 ec154441a05fde64fd3b29a04019a32defc5e95432e4790213dc021c47b0eda0 ChangeLog 4234
MISC metadata.xml 194 RMD160 19177cc0060792a4212a48493143cc82f0302ef8 SHA1 4acac2c575abc8f6bfe00506117dc2f83a8355a2 SHA256 58a43dec1240568210b57a8396a5d317593309353f64e474c93d12a39a7bc071
MD5 b37bf0bf48388c9f32b981c5bb00468e metadata.xml 194
RMD160 19177cc0060792a4212a48493143cc82f0302ef8 metadata.xml 194
SHA256 58a43dec1240568210b57a8396a5d317593309353f64e474c93d12a39a7bc071 metadata.xml 194
-MD5 e9ff35c59adc84edaa9304825e7b5aff files/digest-geos-2.1.4 235
-RMD160 9ca4decc81afb8558968f0e8561209124d35c459 files/digest-geos-2.1.4 235
-SHA256 cbe457938061875efc932ea3a186bb3d174638d752c9f4e9ef33f4b8db67d48a files/digest-geos-2.1.4 235
MD5 faa7651b50a08cee639893e0c9c53450 files/digest-geos-2.2.1 235
RMD160 c6c20740bb2e6cb2f0d616ce84178add5344486e files/digest-geos-2.2.1 235
SHA256 ecf5ce26ed26092be852d3df9d20506f8481d776be4c1091dfd91fde39f6ecd4 files/digest-geos-2.2.1 235
-MD5 d94ba224bcca64c680c715d8331ba60e files/digest-geos-2.2.2 235
-RMD160 e7f9c746b2a048499c020ffffcf6a589979c6390 files/digest-geos-2.2.2 235
-SHA256 169cd35e4d9fe22be93802624d9744bc6e5e251f145ab3a1aa294fc3ccf99ed4 files/digest-geos-2.2.2 235
-MD5 d94ba224bcca64c680c715d8331ba60e files/digest-geos-2.2.2-r1 235
-RMD160 e7f9c746b2a048499c020ffffcf6a589979c6390 files/digest-geos-2.2.2-r1 235
-SHA256 169cd35e4d9fe22be93802624d9744bc6e5e251f145ab3a1aa294fc3ccf99ed4 files/digest-geos-2.2.2-r1 235
-MD5 f2d34def144e21ff98033094565aa7d0 files/digest-geos-3.0.0_rc1 244
-RMD160 f4aa8de2162118e118f735884a99d257fdc73936 files/digest-geos-3.0.0_rc1 244
-SHA256 99aa27d8bd75f4411868969e4af7dfc3e6e962b84a086c6ceaf4f05c4913d311 files/digest-geos-3.0.0_rc1 244
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5-ecc0.1.6 (GNU/Linux)
-
-iD8DBQFFUQkwKRy60XGEcJIRAr9EAJ40EcT1eY2uNHZ3qONgu7FinjDalwCfdZQP
-1L/RwZDoZgUtFgEROvqypoY=
-=O2O8
------END PGP SIGNATURE-----
+MD5 d96b43c211eb4d0752de37c4e1113b6f files/digest-geos-2.2.3 235
+RMD160 ef781aa8b5ce5c302756f0f836e6b00701d31d63 files/digest-geos-2.2.3 235
+SHA256 d7e796aa14b8d03e25f5b70aa4c5f918753c367ccff8a088207944e494c3b7f7 files/digest-geos-2.2.3 235
+MD5 22dd2125e793dbf5a762dcbb0ab0116c files/digest-geos-3.0.0_rc3 247
+RMD160 b35439acaf8a65cb7db1ba86da12bb8f62cc2824 files/digest-geos-3.0.0_rc3 247
+SHA256 2fb20f8b05a17114d4502cd7d15d54451c66e5e6e87716440f6fda609cd7519b files/digest-geos-3.0.0_rc3 247
+++ /dev/null
-MD5 e00524abc2cb26c8fb9173b8696be3b7 geos-2.1.4.tar.bz2 506683
-RMD160 913f5ead995fd4daebf7be5bd71fbd7ddc8a5346 geos-2.1.4.tar.bz2 506683
-SHA256 887f504cccc321a56e3cbb380643755100ef5d7af629ea63aaa2964583842e88 geos-2.1.4.tar.bz2 506683
+++ /dev/null
-MD5 daf1f2d863103cc08b17747590af2cef geos-2.2.2.tar.bz2 554476
-RMD160 52ccecf31aacd7d7fe1522ad7a608e2580525c17 geos-2.2.2.tar.bz2 554476
-SHA256 17a4cde96b159261cab40f25ee0215676ff98b48fd28a32e0663a07c4af0e69a geos-2.2.2.tar.bz2 554476
+++ /dev/null
-MD5 daf1f2d863103cc08b17747590af2cef geos-2.2.2.tar.bz2 554476
-RMD160 52ccecf31aacd7d7fe1522ad7a608e2580525c17 geos-2.2.2.tar.bz2 554476
-SHA256 17a4cde96b159261cab40f25ee0215676ff98b48fd28a32e0663a07c4af0e69a geos-2.2.2.tar.bz2 554476
+++ /dev/null
-MD5 977e1fef7c144385336b03e93519cfb7 geos-3.0.0rc1.tar.bz2 895873
-RMD160 96166cf8365a70558f60e5e5101a42902198abfd geos-3.0.0rc1.tar.bz2 895873
-SHA256 4668bb93e4c6db3563a8eb8b310f60f79d9e3e0545bac5f6852671677eb2d503 geos-3.0.0rc1.tar.bz2 895873
+++ /dev/null
---- swig/geos.i.orig 2006-07-03 14:06:23.000000000 -0700
-+++ swig/geos.i 2006-07-03 14:11:37.000000000 -0700
-@@ -163,7 +163,6 @@
- %newobject GeometricShapeFactory::getEnvelope;
-
- %newobject WKBReader::read;
--%newobject WKBReader::readHEX;
- %newobject WKTReader::read;
- }
-
-@@ -183,12 +182,6 @@
- geos::MultiPoint, geos::MultiLineString,
- geos::MultiPolygon, geos::GeometryCollection);
-
--%factory(geos::Geometry * geos::WKBReader::readHEX, geos::Point,
-- geos::LinearRing, geos::LineString,
-- geos::Polygon,
-- geos::MultiPoint, geos::MultiLineString,
-- geos::MultiPolygon, geos::GeometryCollection);
--
- %factory(geos::Geometry * geos::Geometry::downcast, geos::Point,
- geos::LinearRing, geos::LineString,
- geos::Polygon,
-@@ -294,32 +287,3 @@
- objects. So create a global factory.*/
-
- /* Add some helper methods to geometries */
--%extend geos::Geometry {
-- static geos::GeometryFactory& factory()
-- {
-- static geos::GeometryFactory factory;
-- return factory;
-- }
--
-- static geos::WKBReader& reader()
-- {
-- #if GEOS_VERSION_MAJOR == 2
-- static geos::WKBReader reader(geos_Geometry_factory());
-- #else
-- static geos::io::WKBReader reader(geos_Geometry_factory());
-- #endif
-- return reader;
-- }
--
-- static Geometry* fromWKT(std::string wkt)
-- {
-- std::stringstream in(wkt);
-- return geos_Geometry_reader().read(in);
-- }
--
-- static Geometry* fromHEX(std::string hex)
-- {
-- std::stringstream in(hex);
-- return geos_Geometry_reader().readHEX(in);
-- }
--};
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/geos/geos-2.1.4.ebuild,v 1.2 2006/05/25 19:18:46 nerdboy Exp $
-
-inherit eutils
-
-DESCRIPTION="Geometry Engine - Open Source"
-HOMEPAGE="http://geos.refractions.net"
-SRC_URI="http://geos.refractions.net/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc sparc x86"
-IUSE="static doc python"
-
-RDEPEND="virtual/libc"
-DEPEND="${RDEPEND}
- doc? ( app-doc/doxygen )\
- python? ( dev-lang/python dev-lang/swig )"
-
-src_compile(){
- cd ${S}
- libtoolize --force
- local myconf
- myconf=""
- if use static; then
- myconf="$(use_enable static)"
- fi
- econf \
- ${myconf} \
- || die "Error: econf failed"
- emake || die "Error: emake failed"
- if use python; then
- einfo "Compilling PyGEOS"
- cd ${S}/swig/python
- swig -c++ -python -modern -o geos_wrap.cxx ../geos.i
- python setup.py build
- fi
-}
-
-src_test() {
- cd ${S}
- make check || die "Tring make check without success."
-# I think this test must be made after the PyGEOS installation
-# if use python; then
-# cd ${S}/swig/python
-# python tests/runtests.py -v
-# fi
-}
-
-src_install(){
- into /usr
- einstall
- dodoc AUTHORS COPYING INSTALL NEWS README TODO
- if use doc; then
- cd ${S}/doc
- make doxygen-html
- dohtml -r doxygen_docs/html/*
- fi
- if use python; then
- einfo "Intalling PyGEOS"
- cd ${S}/swig/python
- python setup.py install --prefix="${D}/usr/"
- insinto /usr/share/doc/${PF}/python
- doins README.txt tests/*.py
- insinto /usr/share/doc/${PF}/python/cases
- doins tests/cases/*
- fi
-}
-
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/geos/geos-2.2.2-r1.ebuild,v 1.3 2006/09/24 10:48:51 chtekk Exp $
-
-USE_RUBY="ruby18"
-RUBY_OPTIONAL="yes"
-WANT_AUTOCONF="2.5"
-
-inherit eutils distutils autotools ruby toolchain-funcs
-
-DESCRIPTION="Geometry Engine - Open Source"
-HOMEPAGE="http://geos.refractions.net"
-SRC_URI="http://geos.refractions.net/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="static doc python ruby"
-
-RDEPEND="virtual/libc"
-DEPEND="${RDEPEND}
- doc? ( app-doc/doxygen )
- python? ( dev-lang/python
- >=dev-lang/swig-1.3.29 )
- ruby? ( virtual/ruby
- >=dev-lang/swig-1.3.29 )"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- elibtoolize
- epatch ${FILESDIR}/${P}-swig.patch
-
-}
-
-src_compile() {
- cd ${S}
- local myconf
- myconf=""
- if use static; then
- myconf="$(use_enable static)"
- elif use python || use ruby; then
- myconf="--with-pic"
- else
- myconf="--with-pic --disable-static"
- fi
-
- econf ${myconf} || die "Error: econf failed"
-
- # intermittent build failures with emake
- make || die "Error: make failed"
-
- if use python; then
- einfo "Compilling PyGEOS"
- cd ${S}/swig/python
- cp ${FILESDIR}/python.i ${S}/swig/python/
- rm -f geos_wrap.cxx
- swig -c++ -python -modern -o geos_wrap.cxx ../geos.i
- distutils_src_compile
- fi
- if use ruby; then
- einfo "Compilling Ruby bindings"
- cd ${S}/swig/ruby
- swig -c++ -ruby -autorename -o geos_wrap.cxx ../geos.i
- local CXX=$(tc-getCXX)
- local RUBY_ARCHDIR="$(ruby -r rbconfig -e 'print Config::CONFIG["archdir"]')"
- ${CXX} ${CXXFLAGS} -I../../source/headers -I${RUBY_ARCHDIR} \
- -fPIC -c geos_wrap.cxx
- ${CXX} ${CXXFLAGS} -shared -L${S}/source/geom/.libs -lgeos \
- -lruby geos_wrap.o -o geos.so
- fi
-}
-
-src_test() {
- cd ${S}
- make check || die "Tring make check without success."
- # I think this test must be made after the PyGEOS installation
- #export PYTHONPATH=${S}/swig/python
- if use python; then
- cd ${S}/swig/python
- python tests/runtests.py -v
- fi
-}
-
-src_install(){
- make install DESTDIR=${D} || die "make install failed"
-
- if use python; then
- einfo "Installing PyGEOS"
- cd ${S}/swig/python
- distutils_src_install
- insinto /usr/share/doc/${PF}/python
- doins README.txt tests/*.py
- insinto /usr/share/doc/${PF}/python/cases
- doins tests/cases/*
- fi
- if use ruby; then
- local RUBY_SITEARCHDIR="$(ruby -r rbconfig -e 'print Config::CONFIG["sitearchdir"]')"
- einfo "Installing Ruby bindings in ${RUBY_SITEARCHDIR}/${PN}"
- cd ${S}/swig/ruby
- insinto ${RUBY_SITEARCHDIR}/${PN}
- doins geos.so
- insinto /usr/share/doc/${PF}/ruby
- doins README.txt test/*.rb
- if use doc; then
- erubydoc
- fi
- fi
- if use doc; then
- cd ${S}/doc
- make doxygen-html
- dohtml -r doxygen_docs/html/*
- fi
- cd ${S}
- dodoc AUTHORS COPYING INSTALL NEWS README TODO
-}
-
-pkg_postinst() {
- if use python; then
- python_version
- python_mod_optimize ${ROOT}usr/bin
- fi
-}
-
-pkg_postrm() {
- if use python; then
- python_version
- python_mod_cleanup
- fi
-}
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/geos/geos-2.2.2.ebuild,v 1.4 2006/09/24 10:48:51 chtekk Exp $
-
-WANT_AUTOCONF="2.5"
-
-inherit eutils distutils autotools
-
-DESCRIPTION="Geometry Engine - Open Source"
-HOMEPAGE="http://geos.refractions.net"
-SRC_URI="http://geos.refractions.net/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="static doc python"
-
-RDEPEND="virtual/libc"
-DEPEND="${RDEPEND}
- doc? ( app-doc/doxygen )
- python? ( dev-lang/python
- >=dev-lang/swig-1.3.29 )"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- elibtoolize
- use python && epatch ${FILESDIR}/${P}-swig.patch
-}
-
-src_compile() {
- cd ${S}
- local myconf
- myconf=""
- if use static; then
- myconf="$(use_enable static)"
- elif use python || use ruby; then
- myconf="--with-pic"
- else
- myconf="--with-pic --enable-static=no"
- fi
-
- econf ${myconf} || die "Error: econf failed"
-
- # intermittent build failures with emake
- make || die "Error: make failed"
-
- if use python; then
- einfo "Compilling PyGEOS"
- cd ${S}/swig/python
- cp ${FILESDIR}/python.i ${S}/swig/python/
- rm -f geos_wrap.cxx
- swig -c++ -python -modern -o geos_wrap.cxx ../geos.i
- distutils_src_compile
- fi
-}
-
-src_test() {
- cd ${S}
- make check || die "Tring make check without success."
- # I think this test must be made after the PyGEOS installation
- #export PYTHONPATH=${S}/swig/python
- if use python; then
- cd ${S}/swig/python
- python tests/runtests.py -v
- fi
-}
-
-src_install(){
- make install DESTDIR=${D} || die "make install failed"
-
- if use python; then
- einfo "Intalling PyGEOS"
- cd ${S}/swig/python
- distutils_src_install
- insinto /usr/share/doc/${PF}/python
- doins README.txt tests/*.py
- insinto /usr/share/doc/${PF}/python/cases
- doins tests/cases/*
- fi
- if use doc; then
- cd ${S}/doc
- make doxygen-html
- dohtml -r doxygen_docs/html/*
- fi
- cd ${S}
- dodoc AUTHORS COPYING INSTALL NEWS README TODO
-}
-
-pkg_postinst() {
- if use python; then
- python_version
- python_mod_optimize ${ROOT}usr/bin
- fi
-}
-
-pkg_postrm() {
- if use python; then
- python_version
- python_mod_cleanup
- fi
-}
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/geos/geos-3.0.0_rc1.ebuild,v 1.1 2006/10/17 04:10:33 djay Exp $
-
-DESCRIPTION="Geometry Engine - Open Source"
-HOMEPAGE="http://geos.refractions.net"
-SRC_URI="http://geos.refractions.net/${PN}-${PV/_/}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~ppc ~sparc"
-IUSE="doc python ruby"
-
-RDEPEND="virtual/libc
- ruby? ( virtual/ruby )
- python? ( virtual/python )"
-DEPEND="${RDEPEND}
- doc? ( app-doc/doxygen )\
- ruby? ( virtual/ruby >=dev-lang/swig-1.3.29 )
- python? ( virtual/python >=dev-lang/swig-1.3.29 )"
-
-S="${WORKDIR}/${PN}-${PV/_/}"
-
-src_compile() {
- local myconf
- if use python || use ruby; then
- myconf="--with-pic"
- else
- myconf="--disable-swig"
- fi
- econf ${myconf} $(use_enable python) $(use_enable ruby) \
- || die "econf failed"
- emake || die "emake failed"
-}
-
-src_install() {
- into /usr
- make DESTDIR="${D}" install || die "Install failed"
- dodoc AUTHORS COPYING INSTALL NEWS README TODO
- if use doc; then
- cd ${S}/doc
- make doxygen-html || die "doc generation failed"
- dohtml -r doxygen_docs/html/*
- fi
-}