From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 76875138334 for ; Fri, 21 Jun 2019 10:08:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A4586E08F4; Fri, 21 Jun 2019 10:08:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 74700E08F4 for ; Fri, 21 Jun 2019 10:08:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EB86E346661 for ; Fri, 21 Jun 2019 10:08:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 42806326 for ; Fri, 21 Jun 2019 10:08:08 +0000 (UTC) From: "Aaron W. Swenson" 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 W. Swenson" Message-ID: <1561111675.95d44e303a459e9de6025f87156b58ecc6a0bc5d.titanofold@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/pgrouting/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-db/pgrouting/Manifest dev-db/pgrouting/pgrouting-2.6.2.ebuild X-VCS-Directories: dev-db/pgrouting/ X-VCS-Committer: titanofold X-VCS-Committer-Name: Aaron W. Swenson X-VCS-Revision: 95d44e303a459e9de6025f87156b58ecc6a0bc5d X-VCS-Branch: master Date: Fri, 21 Jun 2019 10:08:08 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0f40dc31-b098-46b4-9996-9aee40fac169 X-Archives-Hash: c2967c41df11ceba0ee905b27560c12a commit: 95d44e303a459e9de6025f87156b58ecc6a0bc5d Author: Aaron W. Swenson gentoo org> AuthorDate: Fri Jun 21 10:05:40 2019 +0000 Commit: Aaron W. Swenson gentoo org> CommitDate: Fri Jun 21 10:07:55 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95d44e30 dev-db/pgrouting: Bump to 2.6.2 Fixes doc installation. Bug: https://bugs.gentoo.org/625778 Package-Manager: Portage-2.3.62, Repoman-2.3.11 Signed-off-by: Aaron W. Swenson gentoo.org> dev-db/pgrouting/Manifest | 1 + dev-db/pgrouting/pgrouting-2.6.2.ebuild | 64 +++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/dev-db/pgrouting/Manifest b/dev-db/pgrouting/Manifest index 40ae7848e25..8c026319d9c 100644 --- a/dev-db/pgrouting/Manifest +++ b/dev-db/pgrouting/Manifest @@ -1 +1,2 @@ DIST pgrouting-2.5.2.tar.gz 7221479 BLAKE2B afbf29b7cbd52df526203198fb76d9e9e37e88a4b92d2139975238a14fe5a30c8102449d157e391913e690129a1ca8ac718763d9242193cac4080bc7347e1553 SHA512 9d9d9ebbcbc003f62bf1f0d548363e756012cdce55a9c3ef56ae9a5a510f25337898becf42f3e04bf10e8d3672ebf698def03833bba33410b65e0d2bdd42aecd +DIST pgrouting-2.6.2.tar.gz 6065517 BLAKE2B e27e28cf988040de1e894a857e3d210bc7676271f69d898afc2d6116d5b88d87404723b2cb1283ef77b4449b4aa62a03e2dbcd489ac641a4721a596d29f8fecd SHA512 6e37f66e631d0cc87e135be7d095822aae21656bb56b3d18afa5bececaad8cee6324d37e8e152bbf69e3374ded1f10aa4b9a4c52b873e3a4c43e73cd877fddcb diff --git a/dev-db/pgrouting/pgrouting-2.6.2.ebuild b/dev-db/pgrouting/pgrouting-2.6.2.ebuild new file mode 100644 index 00000000000..7690a22ce13 --- /dev/null +++ b/dev-db/pgrouting/pgrouting-2.6.2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +POSTGRES_COMPAT=( 9.{4..6} 10 11 ) +POSTGRES_USEDEP="server" + +inherit postgres cmake-utils + +DESCRIPTION="pgRouting extends PostGIS and PostgreSQL with geospatial routing functionality." +HOMEPAGE="http://pgrouting.org/" +LICENSE="GPL-2 MIT Boost-1.0" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +SRC_URI="https://github.com/pgRouting/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +IUSE="doc pdf html" + +REQUIRED_USE="html? ( doc ) pdf? ( doc )" + +RDEPEND="${POSTGRES_DEP} + >=dev-db/postgis-2.0 + dev-libs/boost + sci-mathematics/cgal +" + +DEPEND=" + doc? ( >=dev-python/sphinx-1.2 ) + pdf? ( >=dev-python/sphinx-1.2[latex] ) +" + +# Needs a running psql instance, doesn't work out of the box +RESTRICT="test" + +pkg_setup() { + postgres_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DBUILD_HTML=$(usex html) + -DBUILD_LATEX=$(usex pdf) + -DBUILD_MAN=ON + -DWITH_DOC=$(usex doc) + ) + + cmake-utils_src_configure +} + +src_compile() { + local make_opts + use doc && make_opts="all doc" + cmake-utils_src_make ${make_opts} +} + +src_install() { + cmake-utils_src_install + + doman "${BUILD_DIR}"/doc/man/en/pgrouting.7 + + use html && dodoc -r "${BUILD_DIR}"/doc/html + use pdf && dodoc "${BUILD_DIR}"/doc/latex/en/*.pdf +}