Files
gentoo/dev-libs/boost-numpy/boost-numpy-9999.ebuild
Justin Lecher eaaface92e Use https by default
Convert all URLs for sites supporting encrypted connections from http to https

Signed-off-by: Justin Lecher <jlec@gentoo.org>
2015-08-24 12:49:19 +02:00

35 lines
732 B
Bash

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit cmake-utils
DESCRIPTION="Boost.Python interface for NumPy"
HOMEPAGE="https://github.com/ndarray/Boost.NumPy"
if [ ${PV} == 9999 ]; then
inherit git-2
EGIT_REPO_URI="git://github.com/ndarray/Boost.NumPy.git \
https://github.com/ndarray/Boost.NumPy.git"
else
SRC_URI="https://dev.gentoo.org/~heroxbd/${P}.tar.xz"
fi
LICENSE="Boost-1.0"
SLOT=0
IUSE="doc examples"
KEYWORDS=""
CDEPEND="dev-python/numpy
dev-libs/boost[python]"
DEPEND="${CDEPEND}"
RDEPEND="${CDEPEND}"
src_install() {
cmake-utils_src_install
use doc && dodoc -r libs/numpy/doc/*
use examples && dodoc -r libs/numpy/example
}