Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Apr 2020 11:19:47 +0000 (UTC)
From:      Dima Panov <fluffy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r533125 - head/net-mgmt/observium
Message-ID:  <202004271119.03RBJlnI002604@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fluffy
Date: Mon Apr 27 11:19:47 2020
New Revision: 533125
URL: https://svnweb.freebsd.org/changeset/ports/533125

Log:
  net-mgmt/observium: drop python27 support
  
  - drop python27 support, use python35+
  - switch to py-mysqlclient instead of outdated pyMySQLdb
  - flavorize php dependency, set PKGNAMESUFFIX
  
  PR:		245397
  Submitted by:	fluffy
  Approved by:	maintainer (timeout, 21d)

Modified:
  head/net-mgmt/observium/Makefile

Modified: head/net-mgmt/observium/Makefile
==============================================================================
--- head/net-mgmt/observium/Makefile	Mon Apr 27 11:15:53 2020	(r533124)
+++ head/net-mgmt/observium/Makefile	Mon Apr 27 11:19:47 2020	(r533125)
@@ -4,11 +4,12 @@
 
 PORTNAME=	observium
 PORTVERSION=	0.19.8
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	http://www.observium.org/
 DISTNAME=	${PORTNAME}-community-latest
 DIST_SUBDIR=	${PORTNAME}-${PORTVERSION}
+PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}
 
 MAINTAINER=	feld@FreeBSD.org
 COMMENT=	Autodiscovering PHP/MySQL/SNMP based network monitoring
@@ -20,7 +21,7 @@ LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-se
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
-USES=		php:cli python${PY_MYSQL} shebangfix
+USES=		php:cli,flavors python:3.5+ shebangfix
 SHEBANG_FILES=	\
 		poller-wrapper.py \
 		poller.php \
@@ -54,8 +55,7 @@ IPMITOOL_RUN_DEPENDS=	ipmitool:sysutils/ipmitool
 LIBVIRT_RUN_DEPENDS=	virsh:devel/libvirt
 NAGPLUGINS_RUN_DEPENDS=	${LOCALBASE}/libexec/nagios/check_nagios:net-mgmt/nagios-plugins
 NMAP_RUN_DEPENDS=	nmap:security/nmap
-PYPOLLER_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}MySQLdb>0:databases/py-MySQLdb@${PY_FLAVOR}
-PYPOLLER_VARS=	PY_MYSQL=:2.7
+PYPOLLER_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mysqlclient>=1.3.13:databases/py-mysqlclient@${PY_FLAVOR}
 SVN_RUN_DEPENDS=	svn:devel/subversion
 WMIC_RUN_DEPENDS=	wmic:net-mgmt/wmi-client
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004271119.03RBJlnI002604>