From owner-svn-ports-head@freebsd.org Fri Jul 6 17:47:36 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 252CE103F73C; Fri, 6 Jul 2018 17:47:36 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CD9E78DD4B; Fri, 6 Jul 2018 17:47:35 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AA2334079; Fri, 6 Jul 2018 17:47:35 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w66HlZVQ018223; Fri, 6 Jul 2018 17:47:35 GMT (envelope-from miwi@FreeBSD.org) Received: (from miwi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w66HlZN7018221; Fri, 6 Jul 2018 17:47:35 GMT (envelope-from miwi@FreeBSD.org) Message-Id: <201807061747.w66HlZN7018221@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: miwi set sender to miwi@FreeBSD.org using -f From: Martin Wilke Date: Fri, 6 Jul 2018 17:47:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r474024 - head/devel/py-pycadf X-SVN-Group: ports-head X-SVN-Commit-Author: miwi X-SVN-Commit-Paths: head/devel/py-pycadf X-SVN-Commit-Revision: 474024 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jul 2018 17:47:36 -0000 Author: miwi Date: Fri Jul 6 17:47:34 2018 New Revision: 474024 URL: https://svnweb.freebsd.org/changeset/ports/474024 Log: - Update to 2.7.0 - Added LICENSE and LICENSE_FILE - Sorted variables a bit - Added DOCS option with appropriate dependencies - Added CONFLICTS_INSTALL - Added workaround to install *.conf files manually into ${ETCDIR} - Updated WWW and improved formatting of pkg-descr PR: 228698 Submitted by: freebsd_ports@k-worx.org Approved by: maintainer Modified: head/devel/py-pycadf/Makefile head/devel/py-pycadf/distinfo head/devel/py-pycadf/pkg-descr Modified: head/devel/py-pycadf/Makefile ============================================================================== --- head/devel/py-pycadf/Makefile Fri Jul 6 17:43:22 2018 (r474023) +++ head/devel/py-pycadf/Makefile Fri Jul 6 17:47:34 2018 (r474024) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= pycadf -PORTVERSION= 2.5.0 +PORTVERSION= 2.7.0 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,16 +10,63 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= alexander.nusov@nfvexpress.com COMMENT= CADF Library -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=1.8:devel/py-pbr@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytz>=0:devel/py-pytz@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}oslo.serialization>=1.10.0:devel/py-oslo.serialization@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}oslo.config>=3.14.0:devel/py-oslo.config@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}debtcollector>=1.2.0:devel/py-debtcollector@${PY_FLAVOR} +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE -NO_ARCH= yes +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}oslo.config>=4.6.0:devel/py-oslo.config@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytz>=2013.6:devel/py-pytz@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}debtcollector>=1.2.0:devel/py-debtcollector@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}oslo.serialization>=2.18.0:devel/py-oslo.serialization@${PY_FLAVOR} USES= python USE_PYTHON= autoplist distutils + +NO_ARCH= yes +PORTDOCS= * +CONFLICTS_INSTALL= py??-pycadf-* + +OPTIONS_DEFINE= DOCS +DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.6.2:textproc/py-sphinx@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}openstackdocstheme>=1.18.1:textproc/py-openstackdocstheme@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}oslo.serialization>=2.18.0:devel/py-oslo.serialization@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}oslo.config>=4.6.0:devel/py-oslo.config@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}fixtures>=3.0.0:devel/py-fixtures@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}oslotest>=1.10.0:devel/py-oslotest@${PY_FLAVOR} +DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E" + +# Note: When updating this port please check setup.cfg if the list of *.conf +# files has been changed in some way. Sometimes there are more files in +# ${WRKSRC}/etc/pycadf but only a few of them are installed as listed in +# setup.cfg. +CONF_FILES= ceilometer_api_audit_map.conf \ + cinder_api_audit_map.conf \ + glance_api_audit_map.conf \ + neutron_api_audit_map.conf \ + nova_api_audit_map.conf \ + trove_api_audit_map.conf \ + +post-patch: + # Rename *.conf by adding a ".sample" extension to them + @(cd ${WRKSRC}/etc/pycadf && \ + for f in *.conf; do ${MV} $${f} $${f}.sample; done) + # Comment out *.conf files from setup.py to process them manually + @${REINPLACE_CMD} -Ee \ + 's|^(data_files)|# \1|; \ + s|(etc/)|# \1|' \ + ${WRKSRC}/setup.cfg + +post-install: + @${MKDIR} ${STAGEDIR}${ETCDIR} + (cd ${WRKSRC}/etc/pycadf && for f in ${CONF_FILES:C/(\.conf)$/\1.sample/g}; \ + do ${INSTALL_DATA} $${f} ${STAGEDIR}${ETCDIR}; done) + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/doc/build/html && \ + ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ + "! -name .buildinfo -and ! -name objects.inv") .include Modified: head/devel/py-pycadf/distinfo ============================================================================== --- head/devel/py-pycadf/distinfo Fri Jul 6 17:43:22 2018 (r474023) +++ head/devel/py-pycadf/distinfo Fri Jul 6 17:47:34 2018 (r474024) @@ -1,3 +1,3 @@ -TIMESTAMP = 1485277836 -SHA256 (pycadf-2.5.0.tar.gz) = a5cbf899266ea25e62e927a31dbf13607f9ebfe1525b4ec95256afc42f43be70 -SIZE (pycadf-2.5.0.tar.gz) = 247779 +TIMESTAMP = 1527692762 +SHA256 (pycadf-2.7.0.tar.gz) = 2235829835cebf73f94d42ac4d1b0fa2f1bb49dd1476d82466c28fd1789f0d22 +SIZE (pycadf-2.7.0.tar.gz) = 248233 Modified: head/devel/py-pycadf/pkg-descr ============================================================================== --- head/devel/py-pycadf/pkg-descr Fri Jul 6 17:43:22 2018 (r474023) +++ head/devel/py-pycadf/pkg-descr Fri Jul 6 17:47:34 2018 (r474024) @@ -1,6 +1,5 @@ -This library provides an auditing data model based on the Cloud Auditing Data -Federation specification, primarily for use by OpenStack. The goal is to -establish strict expectations about what auditors can expect from audit -notifications. +Provides an auditing data model based on the Cloud Auditing Data Federation +specification, primarily for use by OpenStack. The goal is to establish strict +expectations about what auditors can expect from audit notifications. -WWW: https://launchpad.net/pycadf +WWW: https://docs.openstack.org/pycadf/