dev-db/pgrouting: Bump to 2.5.2

Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
Aaron W. Swenson
2018-02-28 08:10:52 -05:00
parent 8de6c3972a
commit ace027057c
2 changed files with 65 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST pgrouting-2.0.0.tar.gz 3765933 BLAKE2B 3bf574b79851e33bb9b5f99220757c02061ec052027940d73f7e8602e876644a0cb780fb3291c60a6e4fa54d886ed574d2a651971c01cd950778b561356c997f SHA512 4a74cc1ce1bbbb8d95ae2aabc712e30c97e0418b1e4f28a255ecd9e57577bd7081a52e6e64a63cb06c9ca659271273b37bdbefb94d49e69b9c2ce45e96911884
DIST pgrouting-2.5.0.tar.gz 7157856 BLAKE2B aa9c9afb982e367692aefc07583d0e362503d6c3d4b7d1ec17f6eee60848e8d01a54b520e7417cc92d6fb3f4b526da1826abc7d7e8db88126d8946ae6f699b0b SHA512 663dd5f5133d0bf1bbf7c35480c644ba848e65259023a0ef7f31b813b8ed99a4e2cfb813d870de7550e98ca1f8b0255aa28b2c948d13e8975af9f0d19f820784
DIST pgrouting-2.5.2.tar.gz 7221479 BLAKE2B afbf29b7cbd52df526203198fb76d9e9e37e88a4b92d2139975238a14fe5a30c8102449d157e391913e690129a1ca8ac718763d9242193cac4080bc7347e1553 SHA512 9d9d9ebbcbc003f62bf1f0d548363e756012cdce55a9c3ef56ae9a5a510f25337898becf42f3e04bf10e8d3672ebf698def03833bba33410b65e0d2bdd42aecd

View File

@@ -0,0 +1,64 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
POSTGRES_COMPAT=( 9.{4,5,6} 10 )
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="+drivingdistance doc pdf html"
REQUIRED_USE="html? ( doc ) pdf? ( doc )"
RDEPEND="${POSTGRES_DEP}
>=dev-db/postgis-2.0
dev-libs/boost
drivingdistance? ( sci-mathematics/cgal )
"
DEPEND="
doc? ( >=dev-python/sphinx-1.1 )
pdf? ( >=dev-python/sphinx-1.1[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=$(usex doc)
-DWITH_DD=$(usex drivingdistance)
-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
use doc && 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
}