summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2008-01-04 17:03:23 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2008-01-04 17:03:23 +0000
commit4d6218c141c0f1ddcfa3244dcf779d9a14fcc96c (patch)
tree5ea98a89e90cb888eee5c97fed2723de6df1cfb0 /sci-libs
parentVersion bump. (diff)
downloadhistorical-4d6218c141c0f1ddcfa3244dcf779d9a14fcc96c.tar.gz
historical-4d6218c141c0f1ddcfa3244dcf779d9a14fcc96c.tar.bz2
historical-4d6218c141c0f1ddcfa3244dcf779d9a14fcc96c.zip
Version bump
Package-Manager: portage-2.1.4_rc14
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/geos/ChangeLog10
-rw-r--r--sci-libs/geos/Manifest42
-rw-r--r--sci-libs/geos/files/digest-geos-3.0.03
-rw-r--r--sci-libs/geos/geos-2.2.3.ebuild83
-rw-r--r--sci-libs/geos/geos-3.0.0.ebuild50
-rw-r--r--sci-libs/geos/metadata.xml13
6 files changed, 143 insertions, 58 deletions
diff --git a/sci-libs/geos/ChangeLog b/sci-libs/geos/ChangeLog
index 87657dfa8755..648367805265 100644
--- a/sci-libs/geos/ChangeLog
+++ b/sci-libs/geos/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-libs/geos
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/geos/ChangeLog,v 1.24 2007/04/16 07:59:15 corsair Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/geos/ChangeLog,v 1.25 2008/01/04 17:03:22 bicatali Exp $
+
+*geos-3.0.0 (04 Jan 2008)
+
+ 04 Jan 2008; Sébastien Fabbro <bicatali@gentoo.org> metadata.xml,
+ geos-2.2.3.ebuild, +geos-3.0.0.ebuild:
+ Version bump. Closing bug #184391
16 Apr 2007; Markus Rothe <corsair@gentoo.org> geos-2.2.3.ebuild:
Stable on ppc64
diff --git a/sci-libs/geos/Manifest b/sci-libs/geos/Manifest
index 7d9af2d4b75e..b042cd6a206f 100644
--- a/sci-libs/geos/Manifest
+++ b/sci-libs/geos/Manifest
@@ -1,3 +1,6 @@
+-----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
@@ -16,33 +19,48 @@ RMD160 b64f637b8d475f94f1e1319c700d6571dea7d410 files/python.i 179
SHA256 ca71e5951088ffa7d571183eb0a9c0309b16305f451dc7a19fce91e91bca3a09 files/python.i 179
DIST geos-2.2.1.tar.bz2 533286 RMD160 f3ea1cbf3cf6c107acc9e0b43d77a0dbf0b65b25 SHA1 756aed7cb5b6b4e49e2d137e33d67637c4503ea5 SHA256 c6f3e555897457d9f7e8dc26535fabbf393777689e897b7e365d71f22ee8d378
DIST geos-2.2.3.tar.bz2 554802 RMD160 968de157f96f41aa71d5ef7c28c7186e8db0939e SHA1 c5da21829255e3625f7c2482c9220234cc5d9f90 SHA256 c781f0973dcfac7a4a3a4da1e7dbf49c5cd549f8841a3c4cd8f8feaa50b408a7
+DIST geos-3.0.0.tar.bz2 1091475 RMD160 195fb24de2f67d515f629f1dcb3dccec7711bdac SHA1 71090220351c8ae7bb147d74145fa5daf83e3c26 SHA256 baa86c5125a349504e3890312e68ab3bf3601489cefe9ceb9f659e34bbe5eb4f
DIST geos-3.0.0rc3.tar.bz2 1031379 RMD160 36a41024be00613be4e7fe336f715bb25b638197 SHA1 8bf9abf07cd4d0006e88725580de573046e0bbaa SHA256 8ec0a51c48d79dfe1a051bef80a6a8978205321906c5563a8dd85012f3044dd5
EBUILD geos-2.2.1.ebuild 1424 RMD160 f4710b62cd584037b6743d00fa60286b891f4c0a SHA1 e76cb6ac6222dc33876a975c59f46d3e96399991 SHA256 9bade20c7597d35ba802402c3ee33e216c2c928d7243234a55530dae62797e03
MD5 66a75a3d1824524775a1daf756fc272d geos-2.2.1.ebuild 1424
RMD160 f4710b62cd584037b6743d00fa60286b891f4c0a geos-2.2.1.ebuild 1424
SHA256 9bade20c7597d35ba802402c3ee33e216c2c928d7243234a55530dae62797e03 geos-2.2.1.ebuild 1424
-EBUILD geos-2.2.3.ebuild 2877 RMD160 f96306cec08a1157d0af306e2a9e71281657f945 SHA1 9477f74f4d7f44d5174b7f59cb110c2c637de937 SHA256 d5a57fa7e1db60ca0b81285c46141ba293067b2107b77143ccb5f3d2804dbd74
-MD5 137d4deceaf92b81fada69f9df86856e geos-2.2.3.ebuild 2877
-RMD160 f96306cec08a1157d0af306e2a9e71281657f945 geos-2.2.3.ebuild 2877
-SHA256 d5a57fa7e1db60ca0b81285c46141ba293067b2107b77143ccb5f3d2804dbd74 geos-2.2.3.ebuild 2877
+EBUILD geos-2.2.3.ebuild 2858 RMD160 cb911d0fa618a9b3db0045a7723bce624b26cb2f SHA1 ecb72e20dba55b019ab90ac87d284eafa4434c56 SHA256 864f6c8dcbade882e6ca3dc2db2e6f656c6844c32fc66e5ee9fd1ecc273bd4bd
+MD5 983b498d48fbbb99cbcc6d39e078d38e geos-2.2.3.ebuild 2858
+RMD160 cb911d0fa618a9b3db0045a7723bce624b26cb2f geos-2.2.3.ebuild 2858
+SHA256 864f6c8dcbade882e6ca3dc2db2e6f656c6844c32fc66e5ee9fd1ecc273bd4bd geos-2.2.3.ebuild 2858
+EBUILD geos-3.0.0.ebuild 1191 RMD160 b0d3e0c8bc72414c6ef63b51d17905f427101977 SHA1 c2cc4b0a28cbd942763fd040e46c8bbd0e80fabb SHA256 2ccecf4423894c6123c97ba537f1a55ab3425cf9c8e9ddacf1ba486bc7d27621
+MD5 4bf9eac5cc00ab7bfb2b0885601406d2 geos-3.0.0.ebuild 1191
+RMD160 b0d3e0c8bc72414c6ef63b51d17905f427101977 geos-3.0.0.ebuild 1191
+SHA256 2ccecf4423894c6123c97ba537f1a55ab3425cf9c8e9ddacf1ba486bc7d27621 geos-3.0.0.ebuild 1191
EBUILD geos-3.0.0_rc3.ebuild 1241 RMD160 b543946d0531ba801c6df14f1bd5daaf1d64ace1 SHA1 d6e3e58bb5854cc4ecb029d6ea61550e616f71d1 SHA256 93c393c75f9bfc0579c78278fc8a4a192e2cf41b8fa5368f47fd2dbb51578c67
MD5 55d52d3119582d53fc571aabb689b96e geos-3.0.0_rc3.ebuild 1241
RMD160 b543946d0531ba801c6df14f1bd5daaf1d64ace1 geos-3.0.0_rc3.ebuild 1241
SHA256 93c393c75f9bfc0579c78278fc8a4a192e2cf41b8fa5368f47fd2dbb51578c67 geos-3.0.0_rc3.ebuild 1241
-MISC ChangeLog 4463 RMD160 a77492d59317b98ae888d001c8922d4cc1ec0f1e SHA1 b29d1a861f045338de6c66a3253d5fa1ca6a51de SHA256 f1fbaa7da4933565675b9ec1ea7d076a65927928b767e364f99cc876d025fafb
-MD5 caadc62365c496019fc04e23f407ebbb ChangeLog 4463
-RMD160 a77492d59317b98ae888d001c8922d4cc1ec0f1e ChangeLog 4463
-SHA256 f1fbaa7da4933565675b9ec1ea7d076a65927928b767e364f99cc876d025fafb ChangeLog 4463
-MISC metadata.xml 194 RMD160 a1b6df5a20ae2243b77b55e1bee932444e7cc831 SHA1 e1706ace2fd6d1333bb1161ca94a707eb8228888 SHA256 c9f29cad442926cda16d53bb61d10ae0b81ea8434cd2822a933cc5e454ae5138
-MD5 aa1a2f0782e7b4f6f55168d080e76e38 metadata.xml 194
-RMD160 a1b6df5a20ae2243b77b55e1bee932444e7cc831 metadata.xml 194
-SHA256 c9f29cad442926cda16d53bb61d10ae0b81ea8434cd2822a933cc5e454ae5138 metadata.xml 194
+MISC ChangeLog 4638 RMD160 e9818296676144599c92a6f2c1c59f3e3d07b5dd SHA1 a41cdb399826018107efb7cfc98a30925af3d2d7 SHA256 2f279018d322fbbccf27970f312814d209582a9ad593efa0e90bcbce9a901f01
+MD5 d80150b85e6a425498cb1845e1421418 ChangeLog 4638
+RMD160 e9818296676144599c92a6f2c1c59f3e3d07b5dd ChangeLog 4638
+SHA256 2f279018d322fbbccf27970f312814d209582a9ad593efa0e90bcbce9a901f01 ChangeLog 4638
+MISC metadata.xml 715 RMD160 eda84d8b69d36778b897e2ca30b650b36982cc8e SHA1 bb28beda5dd745138094f4f1275734e12c4c9c03 SHA256 c3649dde498324e2f8b91160ff1729eeb00b5d7f422309643c7f41a81cee657d
+MD5 5408dd202c6dee9031110ed6440d01c2 metadata.xml 715
+RMD160 eda84d8b69d36778b897e2ca30b650b36982cc8e metadata.xml 715
+SHA256 c3649dde498324e2f8b91160ff1729eeb00b5d7f422309643c7f41a81cee657d metadata.xml 715
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 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 6625fd5755d2c126c1e038343c23d23e files/digest-geos-3.0.0 238
+RMD160 4a6ecebbdb436271b08d444f9a8be5983c86ba26 files/digest-geos-3.0.0 238
+SHA256 972c0f02ced98f9c71d25744848f45607875b2d7e52cdc389265a27f51ae0448 files/digest-geos-3.0.0 238
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
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFHfmbr1ycZbhPLE2ARAhuHAKCC4VM5XpYYcJV6q9lQuhDALVU4twCfayrp
+A65bcHz6KgpVfmvG2l9lgfM=
+=sSfm
+-----END PGP SIGNATURE-----
diff --git a/sci-libs/geos/files/digest-geos-3.0.0 b/sci-libs/geos/files/digest-geos-3.0.0
new file mode 100644
index 000000000000..bbc583df651f
--- /dev/null
+++ b/sci-libs/geos/files/digest-geos-3.0.0
@@ -0,0 +1,3 @@
+MD5 3f7940abee9fec69a9787878cd3ae771 geos-3.0.0.tar.bz2 1091475
+RMD160 195fb24de2f67d515f629f1dcb3dccec7711bdac geos-3.0.0.tar.bz2 1091475
+SHA256 baa86c5125a349504e3890312e68ab3bf3601489cefe9ceb9f659e34bbe5eb4f geos-3.0.0.tar.bz2 1091475
diff --git a/sci-libs/geos/geos-2.2.3.ebuild b/sci-libs/geos/geos-2.2.3.ebuild
index 1ae92dfa4fa3..5e3a0ab9e18d 100644
--- a/sci-libs/geos/geos-2.2.3.ebuild
+++ b/sci-libs/geos/geos-2.2.3.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/geos/geos-2.2.3.ebuild,v 1.3 2007/04/16 07:59:15 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/geos/geos-2.2.3.ebuild,v 1.4 2008/01/04 17:03:22 bicatali Exp $
USE_RUBY="ruby18"
RUBY_OPTIONAL="yes"
inherit eutils distutils ruby toolchain-funcs
-DESCRIPTION="Geometry Engine - Open Source"
+DESCRIPTION="Geometry engine library for Geographic Information Systems"
HOMEPAGE="http://geos.refractions.net"
SRC_URI="http://geos.refractions.net/${P}.tar.bz2"
@@ -30,38 +30,37 @@ src_unpack() {
}
src_compile() {
- econf --with-pic --enable-static || die "econf failed"
+ econf || die "econf failed"
emake || die "emake 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
+ 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} \
+ 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 \
+ ${CXX} ${CXXFLAGS} -shared -L"${S}"/source/geom/.libs -lgeos \
-lruby geos_wrap.o -o geos.so
fi
}
src_test() {
- cd "${S}"
emake check || die "Trying 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
+ cd "${S}"/swig/python
+ python tests/runtests.py -v
fi
}
@@ -69,39 +68,39 @@ src_install(){
emake install DESTDIR="${D}" || die "emake 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/*
+ einfo "Installing PyGEOS"
+ cd "${S}"/swig/python
+ distutils_src_install
+ insinto /usr/share/doc/${PF}/python
+ doins README.txt tests/*.py || die
+ insinto /usr/share/doc/${PF}/python/cases
+ doins tests/cases/* || die
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
+ 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 || die
+ insinto /usr/share/doc/${PF}/ruby
+ doins README.txt test/*.rb || die
+ if use doc; then
+ erubydoc
+ fi
fi
if use doc; then
- cd ${S}/doc
- make doxygen-html
- dohtml -r doxygen_docs/html/*
+ cd "${S}"/doc
+ emake doxygen-html || die "make doxygen docs failed"
+ dohtml -r doxygen_docs/html/* || die
fi
cd "${S}"
- dodoc AUTHORS NEWS README TODO
+ dodoc AUTHORS NEWS README TODO || die
}
pkg_postinst() {
if use python; then
python_version
- python_mod_optimize ${ROOT}usr/bin
+ python_mod_optimize "${ROOT}"usr/bin
fi
}
diff --git a/sci-libs/geos/geos-3.0.0.ebuild b/sci-libs/geos/geos-3.0.0.ebuild
new file mode 100644
index 000000000000..c6b22bd1115c
--- /dev/null
+++ b/sci-libs/geos/geos-3.0.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2008 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.ebuild,v 1.1 2008/01/04 17:03:22 bicatali Exp $
+
+inherit eutils
+
+MY_P=${PN}-${PV/_/}
+
+DESCRIPTION="Geometry engine library for Geographic Information Systems"
+HOMEPAGE="http://geos.refractions.net"
+SRC_URI="http://geos.refractions.net/downloads/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~ppc ~sparc"
+IUSE="doc python ruby"
+
+RDEPEND="ruby? ( virtual/ruby )
+ python? ( virtual/python )"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )\
+ ruby? ( >=dev-lang/swig-1.3.29 )
+ python? ( >=dev-lang/swig-1.3.29 )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+ local myconf
+
+ if ! use python && ! use ruby ; then
+ myconf="--disable-swig"
+ fi
+
+ econf ${myconf} \
+ $(use_enable python) \
+ $(use_enable ruby) \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ into /usr
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS NEWS README TODO || die
+ if use doc; then
+ cd "${S}/doc"
+ emake doxygen-html || die "doc generation failed"
+ dohtml -r doxygen_docs/html/*
+ fi
+}
diff --git a/sci-libs/geos/metadata.xml b/sci-libs/geos/metadata.xml
index 7b826278ad91..c39dbd31f58e 100644
--- a/sci-libs/geos/metadata.xml
+++ b/sci-libs/geos/metadata.xml
@@ -1,6 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>sci-geosciences</herd>
- <herd>postgresql</herd>
+ <herd>sci-geosciences</herd>
+ <herd>postgresql</herd>
+ <longdescription lang="en">
+ Geometric Engine Open Source provides a spatial object model and
+ fundamental geometric functions. It implements the geometry model
+ defined in the OpenGIS Consortium Simple Features Specification for
+ SQL. Functions provided include: spatial predicates (based on the
+ DE-9IM model), overlay functions (intersection, difference, union,
+ symmetric difference), buffer, convex hull, area and distance
+ functions, and topological validity checking.
+ </longdescription>
</pkgmetadata>