From owner-svn-ports-all@freebsd.org Tue Jul 10 09:37:24 2018 Return-Path: Delivered-To: svn-ports-all@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 123C11037C21; Tue, 10 Jul 2018 09:37:24 +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 B3C728C542; Tue, 10 Jul 2018 09:37:23 +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 7852822390; Tue, 10 Jul 2018 09:37:23 +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 w6A9bNLp048633; Tue, 10 Jul 2018 09:37:23 GMT (envelope-from miwi@FreeBSD.org) Received: (from miwi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6A9bMZN048629; Tue, 10 Jul 2018 09:37:22 GMT (envelope-from miwi@FreeBSD.org) Message-Id: <201807100937.w6A9bMZN048629@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: miwi set sender to miwi@FreeBSD.org using -f From: Martin Wilke Date: Tue, 10 Jul 2018 09:37:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r474345 - in head/devel/py-osprofiler: . files X-SVN-Group: ports-head X-SVN-Commit-Author: miwi X-SVN-Commit-Paths: in head/devel/py-osprofiler: . files X-SVN-Commit-Revision: 474345 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2018 09:37:24 -0000 Author: miwi Date: Tue Jul 10 09:37:22 2018 New Revision: 474345 URL: https://svnweb.freebsd.org/changeset/ports/474345 Log: - Update to 1.15.2 - Added LICENSE and LICENSE_FILE - Added DOCS option with appropriate dependencies - Sorted variables a bit - Updated WWW and reformatted pkg-descr PR:` 228683 Submitted by: freebsd_ports@k-worx.org Approved by: maintainer Sponsored by: iXsystems Inc. Added: head/devel/py-osprofiler/files/ head/devel/py-osprofiler/files/patch-osprofiler_cmd_shell.py (contents, props changed) Modified: head/devel/py-osprofiler/Makefile head/devel/py-osprofiler/distinfo head/devel/py-osprofiler/pkg-descr Modified: head/devel/py-osprofiler/Makefile ============================================================================== --- head/devel/py-osprofiler/Makefile Tue Jul 10 09:34:57 2018 (r474344) +++ head/devel/py-osprofiler/Makefile Tue Jul 10 09:37:22 2018 (r474345) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= osprofiler -PORTVERSION= 1.5.0 +PORTVERSION= 1.15.2 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,19 +10,33 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= alexander.nusov@nfvexpress.com COMMENT= OpenStack Profiler Library -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=1.6:devel/py-pbr@${PY_FLAVOR} +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.16.0:devel/py-oslo.utils@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}oslo.log>=3.11.0:devel/py-oslo.log@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}oslo.concurrency>=3.8.0:devel/py-oslo.concurrency@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}oslo.messaging>=5.2.0:devel/py-oslo.messaging@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}netaddr>=0.7.13:net/py-netaddr@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}webob>=1.6.0:www/py-webob@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.10.0:www/py-requests@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}webob>=1.6.0:www/py-webob@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}netaddr>=0.7.13:net/py-netaddr@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}oslo.concurrency>=3.8.0:devel/py-oslo.concurrency@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}oslo.config>=3.2.0:devel/py-oslo.config@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}oslo.serialization>=0:devel/py-oslo.serialization@${PY_FLAVOR} -NO_ARCH= yes - USES= python USE_PYTHON= autoplist distutils + +NO_ARCH= yes +PORTDOCS= * + +OPTIONS_DEFINE= DOCS +DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}openstackdocstheme>=0:textproc/py-openstackdocstheme@${PY_FLAVOR} +DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E" + +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-osprofiler/distinfo ============================================================================== --- head/devel/py-osprofiler/distinfo Tue Jul 10 09:34:57 2018 (r474344) +++ head/devel/py-osprofiler/distinfo Tue Jul 10 09:37:22 2018 (r474345) @@ -1,3 +1,3 @@ -TIMESTAMP = 1485281715 -SHA256 (osprofiler-1.5.0.tar.gz) = aee63cfd888e6049ea82535ce458ce4844b4ac893dcb18060eda24192505627e -SIZE (osprofiler-1.5.0.tar.gz) = 72539 +TIMESTAMP = 1527876497 +SHA256 (osprofiler-1.15.2.tar.gz) = 7b5501af2027986cfa50ca4638a681f48425d72f231eea24ee7bfeccdb985f61 +SIZE (osprofiler-1.15.2.tar.gz) = 80503 Added: head/devel/py-osprofiler/files/patch-osprofiler_cmd_shell.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-osprofiler/files/patch-osprofiler_cmd_shell.py Tue Jul 10 09:37:22 2018 (r474345) @@ -0,0 +1,13 @@ +--- osprofiler/cmd/shell.py.orig 2018-03-14 17:31:26 UTC ++++ osprofiler/cmd/shell.py +@@ -54,7 +54,9 @@ class OSProfilerShell(object): + return parser + + def _append_subcommands(self, parent_parser): +- subcommands = parent_parser.add_subparsers(help="") ++ # Fix CLI for Python 3.x ++ subcommands = parent_parser.add_subparsers(help="", dest="too few arguments") ++ subcommands.required = True + for group_cls in commands.BaseCommand.__subclasses__(): + group_parser = subcommands.add_parser(group_cls.group_name) + subcommand_parser = group_parser.add_subparsers() Modified: head/devel/py-osprofiler/pkg-descr ============================================================================== --- head/devel/py-osprofiler/pkg-descr Tue Jul 10 09:34:57 2018 (r474344) +++ head/devel/py-osprofiler/pkg-descr Tue Jul 10 09:37:22 2018 (r474345) @@ -1,8 +1,9 @@ OSProfiler provides a tiny but powerful library that is used by most (soon to -be all) OpenStack projects and their python clients. It provides functionality -to be able to generate 1 trace per request, that goes through all involved -services. This trace can then be extracted and used to build a tree of calls -which can be quite handy for a variety of reasons (for example in isolating -cross-project performance issues). +be all) OpenStack projects and their python clients. -WWW: https://pypi.org/project/osprofiler/ +It provides functionality to be able to generate 1 trace per request, that goes +through all involved services. This trace can then be extracted and used to +build a tree of calls which can be quite handy for a variety of reasons (for +example in isolating cross-project performance issues). + +WWW: https://https://docs.openstack.org/osprofiler/