Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jan 2021 16:36:05 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r559850 - head/net-mgmt/flowd
Message-ID:  <202101011636.101Ga5rY040703@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rene
Date: Fri Jan  1 16:36:05 2021
New Revision: 559850
URL: https://svnweb.freebsd.org/changeset/ports/559850

Log:
  net-mgmt/flowd: remove optional support for expired Python2.7
  
  Also suggested by maintainer (bofh)
  
  PR:		249740
  Submitted by:	swills

Modified:
  head/net-mgmt/flowd/Makefile
  head/net-mgmt/flowd/pkg-descr
  head/net-mgmt/flowd/pkg-plist

Modified: head/net-mgmt/flowd/Makefile
==============================================================================
--- head/net-mgmt/flowd/Makefile	Fri Jan  1 16:33:21 2021	(r559849)
+++ head/net-mgmt/flowd/Makefile	Fri Jan  1 16:36:05 2021	(r559850)
@@ -26,15 +26,12 @@ FLOWD_USER=	_flowd
 USERS=		${FLOWD_USER}
 GROUPS=		${FLOWD_USER}
 
-OPTIONS_DEFINE=	PERL PYTHON DOCS EXAMPLES
+OPTIONS_DEFINE=	PERL DOCS EXAMPLES
 OPTIONS_DEFAULT=PERL
 OPTIONS_SUB=	yes
 
 PERL_DESC=		Install flowd perl module
 PERL_USES=		perl5
-PYTHON_DESC=		Install flowd Python support
-PYTHON_USES=		python:2.7
-PYTHON_PLIST_SUB=	PYTHON_VER=${PYTHON_VER}
 
 post-patch:
 	@${REINPLACE_CMD} -e "s;%%FLOWD_USER%%;${FLOWD_USER};g" \
@@ -46,9 +43,6 @@ post-build-PERL-on:
 		DESTDIR=${STAGEDIR} PREFIX=${PREFIX} && \
 		${MAKE_CMD})
 
-post-build-PYTHON-on:
-	( cd ${WRKSRC} && ${PYTHON_CMD} setup.py build )
-
 pre-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
@@ -60,9 +54,5 @@ pre-install-EXAMPLES-on:
 pre-install-PERL-on:
 	( cd ${WRKSRC}/Flowd-perl && ${MAKE_CMD} install )
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Flowd/Flowd.so
-
-pre-install-PYTHON-on:
-	( cd ${WRKSRC} && ${PYTHON_CMD} setup.py install --root "${STAGEDIR}" )
-	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/flowd.so
 
 .include <bsd.port.mk>

Modified: head/net-mgmt/flowd/pkg-descr
==============================================================================
--- head/net-mgmt/flowd/pkg-descr	Fri Jan  1 16:33:21 2021	(r559849)
+++ head/net-mgmt/flowd/pkg-descr	Fri Jan  1 16:36:05 2021	(r559850)
@@ -7,7 +7,7 @@ features:
     * Supports filtering and tagging of flows, using a packet filter-like syntax
     * Stores recorded flow data in a compact binary format which supports
       run-time choice over which flow fields are stored
-    * Ships with both Perl and Python interfaces for reading and parsing the
+    * Ships with Perl interface for reading and parsing the
       on-disk record format
     * Is licensed under a liberal BSD-like license
 

Modified: head/net-mgmt/flowd/pkg-plist
==============================================================================
--- head/net-mgmt/flowd/pkg-plist	Fri Jan  1 16:33:21 2021	(r559849)
+++ head/net-mgmt/flowd/pkg-plist	Fri Jan  1 16:36:05 2021	(r559850)
@@ -11,8 +11,6 @@ lib/libflowd.a
 %%PERL%%%%PERL5_MAN3%%/Flowd.3.gz
 %%PERL%%%%SITE_ARCH%%/Flowd.pm
 %%PERL%%%%SITE_ARCH%%/auto/Flowd/Flowd.so
-%%PYTHON%%%%PYTHON_SITELIBDIR%%/flowd-0.9.1-py%%PYTHON_VER%%.egg-info
-%%PYTHON%%%%PYTHON_SITELIBDIR%%/flowd.so
 man/man5/flowd.conf.5.gz
 man/man8/flowd-reader.8.gz
 man/man8/flowd.8.gz



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