Date: Sat, 2 May 2020 01:35:16 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r533604 - in head/devel: . py-pycadf2 Message-ID: <202005020135.0421ZGWG050965@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sat May 2 01:35:15 2020 New Revision: 533604 URL: https://svnweb.freebsd.org/changeset/ports/533604 Log: Add py-pycadf2 2.10.0 (copied from py-pycadf) - Add PORTSCOUT Added: head/devel/py-pycadf2/ - copied from r533551, head/devel/py-pycadf/ Modified: head/devel/Makefile head/devel/py-pycadf2/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sat May 2 01:35:10 2020 (r533603) +++ head/devel/Makefile Sat May 2 01:35:15 2020 (r533604) @@ -4852,6 +4852,7 @@ SUBDIR += py-pybix SUBDIR += py-pybloomfiltermmap SUBDIR += py-pycadf + SUBDIR += py-pycadf2 SUBDIR += py-pycalendar SUBDIR += py-pycallgraph SUBDIR += py-pycapsicum Modified: head/devel/py-pycadf2/Makefile ============================================================================== --- head/devel/py-pycadf/Makefile Fri May 1 14:45:05 2020 (r533551) +++ head/devel/py-pycadf2/Makefile Sat May 2 01:35:15 2020 (r533604) @@ -3,10 +3,10 @@ PORTNAME= pycadf PORTVERSION= 2.10.0 -PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PKGNAMESUFFIX= 2 MAINTAINER= sunpoet@FreeBSD.org COMMENT= CADF Library @@ -26,15 +26,9 @@ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes -post-patch: - @${REINPLACE_CMD} -e 's|^data_files|no_&|' ${WRKSRC}/setup.cfg +# pycadf 3.0.0+ requires Python 3.6+ +PORTSCOUT= limit:^2\. -post-install: - ${MKDIR} ${STAGEDIR}${ETCDIR} -.for service in ceilometer cinder glance neutron nova trove - ${INSTALL_DATA} ${WRKSRC}/etc/pycadf/${service}_api_audit_map.conf ${STAGEDIR}${ETCDIR}/${service}_api_audit_map.conf.sample -.endfor - .include <bsd.port.pre.mk> .if ${PYTHON_REL} < 3600 @@ -42,5 +36,14 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}oslo.config7>=5.2 .else RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}oslo.config>=5.2.0:devel/py-oslo.config@${PY_FLAVOR} .endif + +post-patch: + @${REINPLACE_CMD} -e 's|^data_files|no_&|' ${WRKSRC}/setup.cfg + +post-install: + ${MKDIR} ${STAGEDIR}${ETCDIR} +.for service in ceilometer cinder glance neutron nova trove + ${INSTALL_DATA} ${WRKSRC}/etc/pycadf/${service}_api_audit_map.conf ${STAGEDIR}${ETCDIR}/${service}_api_audit_map.conf.sample +.endfor .include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005020135.0421ZGWG050965>