python-rrdtool: rename to python3-rrdtool
This commit is contained in:
parent
7c7b9d8d2f
commit
5cc368442a
|
@ -0,0 +1 @@
|
||||||
|
rrdtool
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'rrdtool'
|
# Template file for 'rrdtool'
|
||||||
pkgname=rrdtool
|
pkgname=rrdtool
|
||||||
version=1.7.2
|
version=1.7.2
|
||||||
revision=4
|
revision=5
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-perl --enable-perl-site-install
|
configure_args="--enable-perl --enable-perl-site-install
|
||||||
--with-perl-options=INSTALLDIRS=vendor --enable-ruby
|
--with-perl-options=INSTALLDIRS=vendor --enable-ruby
|
||||||
|
@ -13,14 +13,22 @@ depends="dejavu-fonts-ttf"
|
||||||
short_desc="Data logging and graphing system for time series data"
|
short_desc="Data logging and graphing system for time series data"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="http://oss.oetiker.ch/${pkgname}"
|
homepage="http://oss.oetiker.ch/rrdtool"
|
||||||
distfiles="http://oss.oetiker.ch/${pkgname}/pub/${pkgname}-${version}.tar.gz"
|
distfiles="http://oss.oetiker.ch/rrdtool/pub/${pkgname}-${version}.tar.gz"
|
||||||
checksum=a199faeb7eff7cafc46fac253e682d833d08932f3db93a550a4a5af180ca58db
|
checksum=a199faeb7eff7cafc46fac253e682d833d08932f3db93a550a4a5af180ca58db
|
||||||
python_version=2 #unverified
|
python_version=3
|
||||||
nocross=yes
|
nocross=yes
|
||||||
|
|
||||||
python-rrdtool_package() {
|
python-rrdtool_package() {
|
||||||
short_desc+=" - python bindings"
|
short_desc+=" - Python 3 bindings (old misnamed package)"
|
||||||
|
depends=python3-rrdtool
|
||||||
|
build_style=meta
|
||||||
|
}
|
||||||
|
|
||||||
|
python3-rrdtool_package() {
|
||||||
|
short_desc+=" - Python 3 bindings"
|
||||||
|
replaces="python-rrdtool>=0"
|
||||||
|
provides="python-rrdtool-${version}_$revision"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue