summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/geos')
-rw-r--r--sci-libs/geos/ChangeLog9
-rw-r--r--sci-libs/geos/Manifest14
-rw-r--r--sci-libs/geos/geos-3.3.1.ebuild90
3 files changed, 110 insertions, 3 deletions
diff --git a/sci-libs/geos/ChangeLog b/sci-libs/geos/ChangeLog
index 74f33c94d94d..7ae3e8149bb0 100644
--- a/sci-libs/geos/ChangeLog
+++ b/sci-libs/geos/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-libs/geos
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/geos/ChangeLog,v 1.58 2011/05/03 11:18:28 grobian Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/geos/ChangeLog,v 1.59 2012/01/05 20:09:08 bicatali Exp $
+
+*geos-3.3.1 (05 Jan 2012)
+
+ 05 Jan 2012; SĂ©bastien Fabbro <bicatali@gentoo.org> +geos-3.3.1.ebuild:
+ Version bump
03 May 2011; Fabian Groffen <grobian@gentoo.org> geos-3.2.2.ebuild:
Marked ~x64-freebsd
diff --git a/sci-libs/geos/Manifest b/sci-libs/geos/Manifest
index aef031b023ff..0956cdec1719 100644
--- a/sci-libs/geos/Manifest
+++ b/sci-libs/geos/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX 3.2.0-darwin.patch 645 RMD160 71b22283eb9d95c41f2e05c9a390dbbca217d73d SHA1 5aca4d9caeb6e4927667b562c6d43a65ea79b977 SHA256 e8c48222af03a8e029ecfa8ceb4634c9baeee13a628d64ba7cb5dc7b1b1dfa9f
AUX 3.2.0-multipy.patch 276 RMD160 a0cff4e5b14c1ed84d70860fd1a7c41efeea6e72 SHA1 55e25a3a89bbbaf8eaf1814f10f13b36597e1d94 SHA256 b2f1d11f953c456cad975afcb78a27005eb025e1beae2621c92cb139b44fef8c
AUX 3.2.0-python.patch 2121 RMD160 30628f797473067ad5feb25bd6e603bc39675e94 SHA1 adf6a6ed4398925bbaf9c401f0941f4de6a6adb0 SHA256 f8f82605f85de7a189b2272db26c6b78d78eaafccb8a3ed2662d3dce922b1235
@@ -5,6 +8,15 @@ AUX 3.2.0-swig2.0.patch 1056 RMD160 40f4b89cec57d1db7907679ff28b967c5702b7c4 SHA
AUX 3.2.2-disable_static_modules.patch 1171 RMD160 96175e5f23e26b36c935ca6b64084012c4dbb162 SHA1 02f6c861f0cfe4765c8be890237cbf28fdbc18ee SHA256 06a05800709b1daf67952cbe7c69aaf67bb66199e2e08b11c9568b1b894f8acd
AUX 3.2.2-gcc46.patch 6922 RMD160 48a25930dc1745be106699c69868cec3204a700d SHA1 ca68cadc11397e74a5acd11ead28702e69f7e44a SHA256 ee2f1cc05f8c734f0dee64d0f36623be28ac39ac734914fc323b841c559387dd
DIST geos-3.2.2.tar.bz2 1664073 RMD160 95342be083175f38c8c87b5682271253320f3d60 SHA1 6917d6d1d4e79f58d9f931bf351024709fabbc5a SHA256 24df7c2119936fe0bcaa66e0b05aa28a875e373095cc05ee7eff404330e3211c
+DIST geos-3.3.1.tar.bz2 1791111 RMD160 cffb84f98b48330e93505c3f8cfcd090c33fb2e8 SHA1 4f89e62c636dbf3e5d7e1bfcd6d9a7bff1bcfa60 SHA256 3e0a158df06e8f3c6a23978feb62e5c91f2f8239b6ad9d9abc2bd2958abb94c2
EBUILD geos-3.2.2.ebuild 2606 RMD160 15b835cc72b565efdee7c84b0ef28d6da2b57007 SHA1 bf21afccd1fc392c456047f4597fff1a2ca8fbed SHA256 d9bbb1b712b2ac9d0c4adcc8eb133587cfeeefcc6e440aa939e3c00a999645dc
-MISC ChangeLog 9802 RMD160 bbb30056136be8420f8f3be512426319cee006da SHA1 64aa847dfe5803b7ab90d38978bf63a2d05b787f SHA256 84824482d72289f4442df1679fe3b7795544bfb0964fbf2c49ec011d03bd8a6f
+EBUILD geos-3.3.1.ebuild 2324 RMD160 981db0590822f614fe5195dac7600ea015665258 SHA1 b1ce89cff800bc7bac01b68c6ac5967139260b86 SHA256 56d8e1474df732a006103fe6d182d91ae29ab902a49b84072dbe5f284f4dae90
+MISC ChangeLog 9921 RMD160 ba359b9219e645cc5e6a8b1bae242c5e2dbc8e24 SHA1 5fb587c08886da387a2da17293fb568710411a56 SHA256 aca3b0f0c2da138ac3b02ca5f2ad178832ecb04f16bd171c69b23a57a524a4e7
MISC metadata.xml 715 RMD160 eda84d8b69d36778b897e2ca30b650b36982cc8e SHA1 bb28beda5dd745138094f4f1275734e12c4c9c03 SHA256 c3649dde498324e2f8b91160ff1729eeb00b5d7f422309643c7f41a81cee657d
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.18 (GNU/Linux)
+
+iEYEARECAAYFAk8GA3IACgkQ1ycZbhPLE2BaJACfTc/Mx8BoHa1niOk6+iWKqNL1
+++MAoIEoSNAhcl6vU1dhwGY4aUOPBQXb
+=tFGE
+-----END PGP SIGNATURE-----
diff --git a/sci-libs/geos/geos-3.3.1.ebuild b/sci-libs/geos/geos-3.3.1.ebuild
new file mode 100644
index 000000000000..af0c43db665f
--- /dev/null
+++ b/sci-libs/geos/geos-3.3.1.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/geos/geos-3.3.1.ebuild,v 1.1 2012/01/05 20:09:07 bicatali Exp $
+
+EAPI=4
+
+PYTHON_DEPEND="python? 2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython"
+inherit autotools eutils python
+
+DESCRIPTION="Geometry engine library for Geographic Information Systems"
+HOMEPAGE="http://trac.osgeo.org/geos/"
+SRC_URI="http://download.osgeo.org/geos/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris"
+IUSE="doc php python ruby static-libs"
+
+RDEPEND="php? ( dev-lang/php )
+ ruby? ( dev-lang/ruby )"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )
+ php? ( dev-lang/swig )
+ python? ( dev-lang/swig )
+ ruby? ( dev-lang/swig )"
+
+pkg_setup() {
+ use python && python_pkg_setup
+}
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/3.2.0-python.patch \
+ "${FILESDIR}"/3.2.0-darwin.patch
+ eautoreconf
+ echo "#!${EPREFIX}/bin/bash" > py-compile
+}
+
+src_configure() {
+ econf \
+ $(use_enable python) \
+ $(use_enable ruby) \
+ $(use_enable php) \
+ $(use_enable static-libs static)
+}
+
+src_compile() {
+ emake
+ if use python; then
+ emake -C swig/python clean
+ python_copy_sources swig/python
+ building() {
+ emake \
+ PYTHON_CPPFLAGS="-I${EPREFIX}$(python_get_includedir)" \
+ PYTHON_LDFLAGS="$(python_get_library -l)" \
+ SWIG_PYTHON_CPPFLAGS="-I${EPREFIX}$(python_get_includedir)" \
+ pyexecdir="${EPREFIX}$(python_get_sitedir)" \
+ pythondir="${EPREFIX}$(python_get_sitedir)"
+ }
+ python_execute_function -s --source-dir swig/python building
+ fi
+ use doc && emake -C "${S}/doc" doxygen-html
+}
+
+src_install() {
+ default
+ if use python; then
+ installation() {
+ emake \
+ DESTDIR="${D}" \
+ pyexecdir="${EPREFIX}$(python_get_sitedir)" \
+ pythondir="${EPREFIX}$(python_get_sitedir)" \
+ install
+ }
+ python_execute_function -s --source-dir swig/python installation
+ python_clean_installation_image
+ fi
+ use doc && dohtml -r "${S}/doc" doxygen_docs/html/*
+ find "${ED}" -name '*.la' -exec rm -f {} +
+}
+
+pkg_postinst() {
+ use python && python_mod_optimize geos/geos.py
+}
+
+pkg_postrm() {
+ use python && python_mod_cleanup geos/geos.py
+}