PYTHON_COMPAT=( python2_7 )
inherit autotools eutils perl-module distutils-r1 flag-o-matic multilib
+MY_P=${P/_/-}
+
DESCRIPTION="A system to store and display time-series data"
-HOMEPAGE="http://oss.oetiker.ch/rrdtool/"
-SRC_URI="http://oss.oetiker.ch/rrdtool/pub/${P/_/-}.tar.gz"
+HOMEPAGE="https://oss.oetiker.ch/rrdtool/"
+SRC_URI="${HOMEPAGE}pub/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0/8.0.0"
PDEPEND="
ruby? ( ~dev-ruby/rrdtool-bindings-${PV} )
"
-
-S=${WORKDIR}/${P/_/-}
+S=${WORKDIR}/${MY_P}
python_compile() {
cd bindings/python || die
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
inherit autotools perl-module distutils-r1 flag-o-matic multilib
+MY_P=${P/_/-}
+
DESCRIPTION="A system to store and display time-series data"
-HOMEPAGE="http://oss.oetiker.ch/rrdtool/"
-SRC_URI="http://oss.oetiker.ch/rrdtool/pub/${P/_/-}.tar.gz"
+HOMEPAGE="https://oss.oetiker.ch/rrdtool/"
+SRC_URI="${HOMEPAGE}pub/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0/8.0.0"
"${FILESDIR}"/${PN}-1.7.0-disable-rrd_graph-cgi.patch
)
-
-S=${WORKDIR}/${P/_/-}
+S=${WORKDIR}/${MY_P}
python_compile() {
cd bindings/python || die