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 DE133138334 for ; Sat, 17 Aug 2019 11:17:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 187F3E08B0; Sat, 17 Aug 2019 11:17:56 +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 EF713E08B0 for ; Sat, 17 Aug 2019 11:17:55 +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 952E3349CB4 for ; Sat, 17 Aug 2019 11:17:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 26945751 for ; Sat, 17 Aug 2019 11:17:52 +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: <1566040633.486e884611f9d08e3036474e4c032c9b4b830a41.titanofold@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/pgrouting/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-db/pgrouting/pgrouting-2.6.2-r1.ebuild X-VCS-Directories: dev-db/pgrouting/ X-VCS-Committer: titanofold X-VCS-Committer-Name: Aaron W. Swenson X-VCS-Revision: 486e884611f9d08e3036474e4c032c9b4b830a41 X-VCS-Branch: master Date: Sat, 17 Aug 2019 11:17:52 +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: b24babc8-aacd-4b3e-b326-12e81e5bcaee X-Archives-Hash: bf3fe3275c88606879bc68c5ed6d5a3c commit: 486e884611f9d08e3036474e4c032c9b4b830a41 Author: Aaron W. Swenson gentoo org> AuthorDate: Sat Aug 17 11:16:49 2019 +0000 Commit: Aaron W. Swenson gentoo org> CommitDate: Sat Aug 17 11:17:13 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=486e8846 dev-db/pgrouting: Fix manpage generation Bug: https://bugs.gentoo.org/625778 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Aaron W. Swenson gentoo.org> dev-db/pgrouting/pgrouting-2.6.2-r1.ebuild | 61 ++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/dev-db/pgrouting/pgrouting-2.6.2-r1.ebuild b/dev-db/pgrouting/pgrouting-2.6.2-r1.ebuild new file mode 100644 index 00000000000..db35bce832a --- /dev/null +++ b/dev-db/pgrouting/pgrouting-2.6.2-r1.ebuild @@ -0,0 +1,61 @@ +# 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="pdf html" + +RDEPEND="${POSTGRES_DEP} + >=dev-db/postgis-2.0 + dev-libs/boost + sci-mathematics/cgal +" + +# Sphinx is needed to build the man pages +DEPEND="${RDEPEND} + >=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=ON + ) + + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_make all doc +} + +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 +}