From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D49D913829C for ; Wed, 8 Jun 2016 03:43:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2B00621C038; Wed, 8 Jun 2016 03:43:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 41AD921C038 for ; Wed, 8 Jun 2016 03:43:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 867AF340B6E for ; Wed, 8 Jun 2016 03:43:39 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0CBC9963 for ; Wed, 8 Jun 2016 03:43:37 +0000 (UTC) From: "Sam Jorna" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam Jorna" Message-ID: <1465357390.3755f809c5278e73f69dc4818b25d16695060446.wraeth@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/gdal-grass/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-geosciences/gdal-grass/Manifest sci-geosciences/gdal-grass/gdal-grass-2.1.0.ebuild X-VCS-Directories: sci-geosciences/gdal-grass/ X-VCS-Committer: wraeth X-VCS-Committer-Name: Sam Jorna X-VCS-Revision: 3755f809c5278e73f69dc4818b25d16695060446 X-VCS-Branch: master Date: Wed, 8 Jun 2016 03:43:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b129fcb5-c9a0-4e3f-b476-20b267be2a56 X-Archives-Hash: 78eeec7c3c4b757126a4d955b0aead63 commit: 3755f809c5278e73f69dc4818b25d16695060446 Author: Sam Jorna gentoo org> AuthorDate: Wed Jun 8 03:22:43 2016 +0000 Commit: Sam Jorna gentoo org> CommitDate: Wed Jun 8 03:43:10 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3755f809 sci-geosciences/gdal-grass: bump to 2.1.0 Version bump to 2.1.0, also replaces patch for one line with sed. Package-Manager: portage-2.3.0_rc1 sci-geosciences/gdal-grass/Manifest | 1 + sci-geosciences/gdal-grass/gdal-grass-2.1.0.ebuild | 54 ++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/sci-geosciences/gdal-grass/Manifest b/sci-geosciences/gdal-grass/Manifest index a6b2968..cf63bc3 100644 --- a/sci-geosciences/gdal-grass/Manifest +++ b/sci-geosciences/gdal-grass/Manifest @@ -1 +1,2 @@ DIST gdal-grass-2.0.0.tar.gz 56286 SHA256 e05b4bedb67d624b86b84fc23a680fc408c6c3444dc94555f6f6febc3c506e69 SHA512 cefa60773c2acd5c1627b896e3298d02f51979c12f70ce67b88c0b886a13de2f62821a3d3e50984f5c676ef37819c685795949b06db57004a0edf8039e898d7e WHIRLPOOL c6c0bf3a06388188a173c14f6f8f4cbe295f849c5950c68f413a357fb4efaf2ddb5a78ea4ced7bd4b6786c979299b7dc5754196ee68ee87a31962f578599a90a +DIST gdal-grass-2.1.0.tar.gz 54299 SHA256 1faa5d244ebcb5295cab7814c661ba1dee72b27c0e3848677e34b0c97c8111d0 SHA512 fb06b71839849de413f68beb8f2cd1c2273cc48b5205fe1b255ffc4976f8f913b4b226eba186a24f5b40fe5fbb1ceeab760d06915222e4a4b269a6fbc7bc9417 WHIRLPOOL 661b45ed7292a5d43bcf5b483c0d93edc42c7cd55281ef53331fc2690a36d527736c3fcf15a63b4e5f71e2987f9612ad70f2665650b67eff8e4316f39dfcaf7c diff --git a/sci-geosciences/gdal-grass/gdal-grass-2.1.0.ebuild b/sci-geosciences/gdal-grass/gdal-grass-2.1.0.ebuild new file mode 100644 index 0000000..50b440e --- /dev/null +++ b/sci-geosciences/gdal-grass/gdal-grass-2.1.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils + +DESCRIPTION="GDAL plugin to access GRASS data" +HOMEPAGE="http://www.gdal.org/" +SRC_URI="http://download.osgeo.org/gdal/${PV}/${P}.tar.gz" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64 ~x86" + +IUSE="postgres" +RDEPEND=" + >=sci-libs/gdal-2.0.0 + sci-geosciences/grass:0= +" +DEPEND="${RDEPEND} + dev-libs/expat + dev-libs/json-c + virtual/jpeg + media-libs/tiff + sci-libs/libgeotiff + sci-libs/proj + sys-libs/zlib + postgres? ( dev-db/postgresql )" + +# these drivers are copied at install from the already installed GRASS +QA_PREBUILT="/usr/share/gdal/grass/driver/db/*" + +src_prepare() { + sed -e 's:mkdir ${GRASSTABLES_DIR}$:mkdir -p ${GRASSTABLES_DIR}:' \ + -i Makefile.in || die + default +} + +src_configure() { + econf \ + --with-grass="/usr/$(get_libdir)/grass70" \ + --with-gdal="/usr/bin/gdal-config" \ + $(use_with postgres postgres-includes "/usr/include/postgresql") +} + +src_install() { + #pass the right variables to 'make install' to prevent a sandbox access violation + emake DESTDIR="${D}" \ + GRASSTABLES_DIR="${D}$(gdal-config --prefix)/share/gdal/grass" \ + AUTOLOAD_DIR="${D}/usr/$(get_libdir)/gdalplugins" \ + install +}