Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Sep 2020 19:45:19 +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: r548546 - in head/devel/py-osprofiler: . files
Message-ID:  <202009131945.08DJjJxK088825@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Sep 13 19:45:18 2020
New Revision: 548546
URL: https://svnweb.freebsd.org/changeset/ports/548546

Log:
  Update to 3.4.0
  
  - Sort RUN_DEPENDS
  - Update pkg-descr
  - Update WWW
  - Take maintainership
  
  Changes:	https://docs.openstack.org/osprofiler/latest/user/history.html

Modified:
  head/devel/py-osprofiler/Makefile
  head/devel/py-osprofiler/distinfo   (contents, props changed)
  head/devel/py-osprofiler/files/patch-osprofiler_cmd_shell.py
  head/devel/py-osprofiler/pkg-descr

Modified: head/devel/py-osprofiler/Makefile
==============================================================================
--- head/devel/py-osprofiler/Makefile	Sun Sep 13 19:45:13 2020	(r548545)
+++ head/devel/py-osprofiler/Makefile	Sun Sep 13 19:45:18 2020	(r548546)
@@ -2,52 +2,36 @@
 # $FreeBSD$
 
 PORTNAME=	osprofiler
-PORTVERSION=	2.9.0
-PORTREVISION=	2
+PORTVERSION=	3.4.0
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	OpenStack Profiler Library
 
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pbr>=1.8:devel/py-pbr@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}webob>=1.7.1:www/py-webob@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pbr>=2.0:devel/py-pbr@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}netaddr>=0.7.18:net/py-netaddr@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}oslo.concurrency>=3.26.0:devel/py-oslo.concurrency@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}oslo.serialization>=2.18.0:devel/py-oslo.serialization@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.33.0:devel/py-oslo.utils@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}prettytable>=0.7.2<0.8:devel/py-prettytable@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=2.14.2:www/py-requests@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}netaddr>=0.7.18:net/py-netaddr@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}prettytable>=0.7.2<0.8:devel/py-prettytable@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}webob>=1.7.1:www/py-webob@${PY_FLAVOR}
 
-USES=		python
+USES=		python:3.6+
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
-PORTDOCS=	*
 
-OPTIONS_DEFINE=	DOCS
-DOCS_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx18>=0:textproc/py-sphinx18@${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 <bsd.port.pre.mk>
 
-.if ${PYTHON_REL} < 3600
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}oslo.concurrency3>=3.26.0:devel/py-oslo.concurrency3@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}oslo.serialization2>=2.18.0:devel/py-oslo.serialization2@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}oslo.utils3>=3.33.0:devel/py-oslo.utils3@${PY_FLAVOR}
-.else
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}oslo.concurrency>=3.26.0:devel/py-oslo.concurrency@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}oslo.serialization>=2.18.0:devel/py-oslo.serialization@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.33.0:devel/py-oslo.utils@${PY_FLAVOR}
+.if ${PYTHON_REL} < 3800
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-metadata>=1.7.0:devel/py-importlib-metadata@${PY_FLAVOR}
 .endif
 
 .include <bsd.port.post.mk>

Modified: head/devel/py-osprofiler/distinfo
==============================================================================
--- head/devel/py-osprofiler/distinfo	Sun Sep 13 19:45:13 2020	(r548545)
+++ head/devel/py-osprofiler/distinfo	Sun Sep 13 19:45:18 2020	(r548546)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1587534953
-SHA256 (osprofiler-2.9.0.tar.gz) = 6915cbf8ac390dc3e125340b0ff368dd53f5889e3d053f9122dd83ba0dd366f7
-SIZE (osprofiler-2.9.0.tar.gz) = 86726
+TIMESTAMP = 1599986404
+SHA256 (osprofiler-3.4.0.tar.gz) = f7fe387f4dd681bbf92b9fbe857cc90e89cfe96d44522a2727540902310a9ed6
+SIZE (osprofiler-3.4.0.tar.gz) = 86842

Modified: head/devel/py-osprofiler/files/patch-osprofiler_cmd_shell.py
==============================================================================
--- head/devel/py-osprofiler/files/patch-osprofiler_cmd_shell.py	Sun Sep 13 19:45:13 2020	(r548545)
+++ head/devel/py-osprofiler/files/patch-osprofiler_cmd_shell.py	Sun Sep 13 19:45:18 2020	(r548546)
@@ -5,7 +5,7 @@
  
      def _append_subcommands(self, parent_parser):
 -        subcommands = parent_parser.add_subparsers(help="<subcommands>")
-+	# Fix CLI for Python 3.x
++        # Fix CLI for Python 3.x
 +        subcommands = parent_parser.add_subparsers(help="<subcommands>", dest="too few arguments")
 +        subcommands.required = True
          for group_cls in commands.BaseCommand.__subclasses__():

Modified: head/devel/py-osprofiler/pkg-descr
==============================================================================
--- head/devel/py-osprofiler/pkg-descr	Sun Sep 13 19:45:13 2020	(r548545)
+++ head/devel/py-osprofiler/pkg-descr	Sun Sep 13 19:45:18 2020	(r548546)
@@ -1,9 +1,8 @@
-OSProfiler provides a tiny but powerful library that is used by most (soon to
-be all) OpenStack projects and their python clients.
+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
+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).
 
-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://docs.openstack.org/osprofiler/
+WWW: https://docs.openstack.org/osprofiler/latest/



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