git: 4074909b340a - main - devel/py-oslo.metrics: Add py-oslo.metrics 0.3.0
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Tue Sep 21 03:48:40 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4074909b340a6e5e337de0584901378e341b0a2e
commit 4074909b340a6e5e337de0584901378e341b0a2e
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-09-21 03:06:01 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-09-21 03:35:07 +0000
devel/py-oslo.metrics: Add py-oslo.metrics 0.3.0
This Oslo metrics API supports collecting metrics data from other Oslo libraries
and exposing the metrics data to monitoring system.
WWW: https://docs.openstack.org/oslo.metrics/latest/
WWW: https://github.com/openstack/oslo.metrics
---
devel/Makefile | 1 +
devel/py-oslo.metrics/Makefile | 27 +++++++++++++++++++++++++++
devel/py-oslo.metrics/distinfo | 3 +++
devel/py-oslo.metrics/pkg-descr | 5 +++++
4 files changed, 36 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index b3d742cdcf54..dd048cefa355 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4799,6 +4799,7 @@
SUBDIR += py-oslo.limit
SUBDIR += py-oslo.log
SUBDIR += py-oslo.messaging
+ SUBDIR += py-oslo.metrics
SUBDIR += py-oslo.middleware
SUBDIR += py-oslo.policy
SUBDIR += py-oslo.privsep
diff --git a/devel/py-oslo.metrics/Makefile b/devel/py-oslo.metrics/Makefile
new file mode 100644
index 000000000000..8ed5de5ce12f
--- /dev/null
+++ b/devel/py-oslo.metrics/Makefile
@@ -0,0 +1,27 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+
+PORTNAME= oslo.metrics
+PORTVERSION= 0.3.0
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= Oslo Metrics API
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}oslo.config>=6.9.0:devel/py-oslo.config@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}oslo.log>=3.44.0:devel/py-oslo.log@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.41.0:devel/py-oslo.utils@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pbr>=3.1.1:devel/py-pbr@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}prometheus-client>=0.6.0:net-mgmt/py-prometheus-client@${PY_FLAVOR}
+
+USES= python:3.6+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-oslo.metrics/distinfo b/devel/py-oslo.metrics/distinfo
new file mode 100644
index 000000000000..33874b23b4d1
--- /dev/null
+++ b/devel/py-oslo.metrics/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1632036826
+SHA256 (oslo.metrics-0.3.0.tar.gz) = 9e25c21943e12df9b7390025b92b5112118d4b43bc96a5191eb0a112a0e4e84a
+SIZE (oslo.metrics-0.3.0.tar.gz) = 18637
diff --git a/devel/py-oslo.metrics/pkg-descr b/devel/py-oslo.metrics/pkg-descr
new file mode 100644
index 000000000000..b30a3f9d0217
--- /dev/null
+++ b/devel/py-oslo.metrics/pkg-descr
@@ -0,0 +1,5 @@
+This Oslo metrics API supports collecting metrics data from other Oslo libraries
+and exposing the metrics data to monitoring system.
+
+WWW: https://docs.openstack.org/oslo.metrics/latest/
+WWW: https://github.com/openstack/oslo.metrics
More information about the dev-commits-ports-all
mailing list