From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-850155-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 663271384B4 for <garchives@archives.gentoo.org>; Sun, 6 Dec 2015 04:16:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5F67021C01A; Sun, 6 Dec 2015 04:16:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D1B8E21C01A for <gentoo-commits@lists.gentoo.org>; Sun, 6 Dec 2015 04:16:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6517334096F for <gentoo-commits@lists.gentoo.org>; Sun, 6 Dec 2015 04:16:53 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 46EE7ABD for <gentoo-commits@lists.gentoo.org>; Sun, 6 Dec 2015 04:16:48 +0000 (UTC) From: "Aaron Swenson" <titanofold@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aaron Swenson" <titanofold@gentoo.org> Message-ID: <1449375393.a4952c16e644ae9e7b8be6c3a402cad6eaed8150.titanofold@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/geos/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/geos/Manifest sci-libs/geos/geos-3.5.0.ebuild X-VCS-Directories: sci-libs/geos/ X-VCS-Committer: titanofold X-VCS-Committer-Name: Aaron Swenson X-VCS-Revision: a4952c16e644ae9e7b8be6c3a402cad6eaed8150 X-VCS-Branch: master Date: Sun, 6 Dec 2015 04:16:48 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a2b3dedd-7896-4c93-90f6-f96194314110 X-Archives-Hash: 8687905e35ca23b941413211bb5ed0ac commit: a4952c16e644ae9e7b8be6c3a402cad6eaed8150 Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> AuthorDate: Sun Dec 6 04:16:33 2015 +0000 Commit: Aaron Swenson <titanofold <AT> gentoo <DOT> org> CommitDate: Sun Dec 6 04:16:33 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4952c16 Version Bump Package-Manager: portage-2.2.20.1 sci-libs/geos/Manifest | 1 + sci-libs/geos/geos-3.5.0.ebuild | 57 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/sci-libs/geos/Manifest b/sci-libs/geos/Manifest index b0d0b45..830e082 100644 --- a/sci-libs/geos/Manifest +++ b/sci-libs/geos/Manifest @@ -1,2 +1,3 @@ DIST geos-3.4.1.tar.bz2 1813303 SHA256 d07ac375f3edd12425d6ce5a96db9739d5ff358cbdf60c6804f7a9e565af8ff2 SHA512 69d02630856f63bd0617db383b9936ad07e94d2b2fda4a3865657057626887439b52fd7b74602d529aff5cf8c7fbfea72672ccde807395b2dc1cc73c93c2567b WHIRLPOOL 35a6673a98d1fa1f10113c8cfef4dc32ba9b68dcc23e5522252870c2591537f80841913105425bd23ebecaa63d520ceccbfe7824a00e70e9c1461aa919bf2469 DIST geos-3.4.2.tar.bz2 1813726 SHA256 15e8bfdf7e29087a957b56ac543ea9a80321481cef4d4f63a7b268953ad26c53 SHA512 c335608ff5e719ec6f3a6edc157c11fe5aaf9a813bf3c4b1e8a05de7a52584f6f64d5c42e646410c09a2e3cdfd3f8f994bedba37fc60454bbaa7c25ba1d36c9b WHIRLPOOL 5090bb4a4413b4c6fa00651058acfd5cb98bb8a2e68b1175baaf4ade6c737792239a08a6f9f3831c963e896469f9e9a4c1410bdddfb152638f1e72cbdb7c05e0 +DIST geos-3.5.0.tar.bz2 1949397 SHA256 49982b23bcfa64a53333dab136b82e25354edeb806e5a2e2f5b8aa98b1d0ae02 SHA512 cd9c008c19213eb90959f950b03958e6abd9c22d83e6eb5f5a9020263ad8b0045dd5c5af60417c548fc130a57756ae1ef706710086cc277498b9ba6a0a6256b7 WHIRLPOOL f7530e1dc6b99b4ad83d9a01c44b8e6256e118f7615a473d666b00549296df00ca3c86d7ab4d0ae717a3b329b3a9ecac587bc475ee51cbd7e436922860d00ab9 diff --git a/sci-libs/geos/geos-3.5.0.ebuild b/sci-libs/geos/geos-3.5.0.ebuild new file mode 100644 index 0000000..212c82f --- /dev/null +++ b/sci-libs/geos/geos-3.5.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +PYTHON_COMPAT=( python2_{6,7} ) +inherit autotools eutils python-single-r1 python-utils-r1 + +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 ~arm ~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-5.3:* ) + ruby? ( dev-lang/ruby:* ) +" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen ) + php? ( dev-lang/swig ) + python? ( dev-lang/swig ${PYTHON_DEPS} ) + ruby? ( dev-lang/swig ) +" + +src_prepare() { + epatch "${FILESDIR}"/3.4.2-solaris-isnan.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 + + use doc && emake -C "${S}/doc" doxygen-html +} + +src_install() { + emake DESTDIR="${D}" install + + use doc && dohtml -r doc/doxygen_docs/html/* + use python && python_optimize "${D}$(python_get_sitedir)"/geos/ + + find "${ED}" -name '*.la' -exec rm -f {} + +}