python-rrdtool: rename to python3-rrdtool

This commit is contained in:
Đoàn Trần Công Danh 2020-09-28 23:50:13 +07:00
parent 7c7b9d8d2f
commit 5cc368442a
2 changed files with 14 additions and 5 deletions

1
srcpkgs/python3-rrdtool Symbolic link
View File

@ -0,0 +1 @@
rrdtool

View File

@ -1,7 +1,7 @@
# Template file for 'rrdtool'
pkgname=rrdtool
version=1.7.2
revision=4
revision=5
build_style=gnu-configure
configure_args="--enable-perl --enable-perl-site-install
--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"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://oss.oetiker.ch/${pkgname}"
distfiles="http://oss.oetiker.ch/${pkgname}/pub/${pkgname}-${version}.tar.gz"
homepage="http://oss.oetiker.ch/rrdtool"
distfiles="http://oss.oetiker.ch/rrdtool/pub/${pkgname}-${version}.tar.gz"
checksum=a199faeb7eff7cafc46fac253e682d833d08932f3db93a550a4a5af180ca58db
python_version=2 #unverified
python_version=3
nocross=yes
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() {
vmove usr/lib/python3*
}