aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-10-23 04:56:26 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-11-12 15:04:35 +0000
commita42217d3c29c40cd979f3d6f0e5a6aa7fba8860c (patch)
treea2c3abf4c9763979a21bb3b6545d07e7ef250915
parentf2f7901cf87b16cf3c678aa241d7faffa9b25ced (diff)
downloadaports-a42217d3c29c40cd979f3d6f0e5a6aa7fba8860c.tar.bz2
aports-a42217d3c29c40cd979f3d6f0e5a6aa7fba8860c.tar.xz
main/rrdtool: drop py-rrd that is python2 only
-rw-r--r--main/rrdtool/APKBUILD18
1 files changed, 6 insertions, 12 deletions
diff --git a/main/rrdtool/APKBUILD b/main/rrdtool/APKBUILD
index 6375215383..d4ce2204a3 100644
--- a/main/rrdtool/APKBUILD
+++ b/main/rrdtool/APKBUILD
@@ -2,19 +2,18 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=rrdtool
pkgver=1.7.2
-pkgrel=2
+pkgrel=3
pkgdesc="Data logging and graphing application"
url="http://www.rrdtool.org"
arch="all"
license="GPL-2.0-or-later"
depends="font-sony-misc"
makedepends="libart-lgpl-dev libpng-dev freetype-dev perl-dev cairo-dev libxml2-dev
- pango-dev lua lua-dev python2-dev py-setuptools groff
- autoconf automake libtool"
+ pango-dev lua lua-dev groff autoconf automake libtool"
checkdepends="diffutils"
-subpackages="$pkgname-dev $pkgname-doc perl-rrd:perl_rrd lua-rrd:lua_rrd py-rrd:py_rrd
+subpackages="$pkgname-dev $pkgname-doc perl-rrd:perl_rrd lua-rrd:lua_rrd
$pkgname-cached $pkgname-cgi $pkgname-utils librrd:libs"
-source="http://oss.oetiker.ch/$pkgname/pub/$pkgname-$pkgver.tar.gz
+source="http://oss.oetiker.ch/rrdtool/pub/rrdtool-$pkgver.tar.gz
lua-install-cmod.patch
libm-underlinking.patch
no-posix-fallocate.patch
@@ -23,6 +22,8 @@ source="http://oss.oetiker.ch/$pkgname/pub/$pkgname-$pkgver.tar.gz
"
options="!check" # As of 1.7.2 1/22 tests fails.
+replaces="py-rrd" # Removed due to depending on EOL python 2
+
prepare() {
cd "$builddir"
default_prepare
@@ -80,13 +81,6 @@ lua_rrd() {
mv "$pkgdir"/usr/lib/lua "$subpkgdir"/usr/lib/
}
-py_rrd() {
- depends=
- pkgdesc="Python interface for rrdtool"
- mkdir -p "$subpkgdir"/usr/lib/
- mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/
-}
-
cached() {
depends=
pkgdesc="RRDtool data caching daemon"