pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/py-fritz_exporter
Module Name: pkgsrc
Committed By: wiz
Date: Fri Dec 15 19:04:40 UTC 2023
Added Files:
pkgsrc/sysutils/py-fritz_exporter: ALTERNATIVES DESCR Makefile PLIST
distinfo
Log Message:
sysutils/py-fritz_exporter: import py-fritz_exporter-2.3.0
This is a prometheus exporter for AVM Fritz! home network devices
commonly found in Europe. This exporter uses the devices builtin
TR-064 API via the fritzconnection python module.
The exporter should work with Fritz!Box and Fritz!Repeater Devices
(and maybe others). It actively checks for supported metrics and
queries the for all devices configured (Yes, it has multi-device
support for all you Mesh users out there.)
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/py-fritz_exporter/ALTERNATIVES \
pkgsrc/sysutils/py-fritz_exporter/DESCR \
pkgsrc/sysutils/py-fritz_exporter/Makefile \
pkgsrc/sysutils/py-fritz_exporter/PLIST \
pkgsrc/sysutils/py-fritz_exporter/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/sysutils/py-fritz_exporter/ALTERNATIVES
diff -u /dev/null pkgsrc/sysutils/py-fritz_exporter/ALTERNATIVES:1.1
--- /dev/null Fri Dec 15 19:04:40 2023
+++ pkgsrc/sysutils/py-fritz_exporter/ALTERNATIVES Fri Dec 15 19:04:40 2023
@@ -0,0 +1 @@
+bin/fritzexporter @PREFIX@/bin/fritzexporter-@PYVERSSUFFIX@
Index: pkgsrc/sysutils/py-fritz_exporter/DESCR
diff -u /dev/null pkgsrc/sysutils/py-fritz_exporter/DESCR:1.1
--- /dev/null Fri Dec 15 19:04:40 2023
+++ pkgsrc/sysutils/py-fritz_exporter/DESCR Fri Dec 15 19:04:40 2023
@@ -0,0 +1,8 @@
+This is a prometheus exporter for AVM Fritz! home network devices
+commonly found in Europe. This exporter uses the devices builtin
+TR-064 API via the fritzconnection python module.
+
+The exporter should work with Fritz!Box and Fritz!Repeater Devices
+(and maybe others). It actively checks for supported metrics and
+queries the for all devices configured (Yes, it has multi-device
+support for all you Mesh users out there.)
Index: pkgsrc/sysutils/py-fritz_exporter/Makefile
diff -u /dev/null pkgsrc/sysutils/py-fritz_exporter/Makefile:1.1
--- /dev/null Fri Dec 15 19:04:40 2023
+++ pkgsrc/sysutils/py-fritz_exporter/Makefile Fri Dec 15 19:04:40 2023
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1 2023/12/15 19:04:40 wiz Exp $
+
+DISTNAME= fritz_exporter-2.3.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_GITHUB:=pdreker/}
+# latest pypi distfile is older
+GITHUB_TAG= v${PKGVERSION_NOREV}
+GITHUB_PROJECT= fritz_exporter
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/pdreker/fritz_exporter/
+COMMENT= Prometheus exporter for Fritz!Box home routers
+LICENSE= apache-2.0
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry-core-[0-9]*:../../devel/py-poetry-core
+DEPENDS+= ${PYPKGPREFIX}-attrs-[0-9]*:../../devel/py-attrs
+DEPENDS+= ${PYPKGPREFIX}-fritzconnection-[0-9]*:../../net/py-fritzconnection
+DEPENDS+= ${PYPKGPREFIX}-prometheus_client-[0-9]*:../../net/py-prometheus_client
+DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
+DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+
+WRKSRC= ${WRKDIR}/${DISTNAME}
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27 38 39
+
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && ${MV} fritzexporter fritzexporter-${PYVERSSUFFIX} || ${TRUE}
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/sysutils/py-fritz_exporter/PLIST
diff -u /dev/null pkgsrc/sysutils/py-fritz_exporter/PLIST:1.1
--- /dev/null Fri Dec 15 19:04:40 2023
+++ pkgsrc/sysutils/py-fritz_exporter/PLIST Fri Dec 15 19:04:40 2023
@@ -0,0 +1,35 @@
+@comment $NetBSD: PLIST,v 1.1 2023/12/15 19:04:40 wiz Exp $
+bin/fritzexporter-${PYVERSSUFFIX}
+${PYSITELIB}/LICENSE.md
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.md
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/fritzexporter/__init__.py
+${PYSITELIB}/fritzexporter/__init__.pyc
+${PYSITELIB}/fritzexporter/__init__.pyo
+${PYSITELIB}/fritzexporter/__main__.py
+${PYSITELIB}/fritzexporter/__main__.pyc
+${PYSITELIB}/fritzexporter/__main__.pyo
+${PYSITELIB}/fritzexporter/config/__init__.py
+${PYSITELIB}/fritzexporter/config/__init__.pyc
+${PYSITELIB}/fritzexporter/config/__init__.pyo
+${PYSITELIB}/fritzexporter/config/config.py
+${PYSITELIB}/fritzexporter/config/config.pyc
+${PYSITELIB}/fritzexporter/config/config.pyo
+${PYSITELIB}/fritzexporter/config/exceptions.py
+${PYSITELIB}/fritzexporter/config/exceptions.pyc
+${PYSITELIB}/fritzexporter/config/exceptions.pyo
+${PYSITELIB}/fritzexporter/data_donation.py
+${PYSITELIB}/fritzexporter/data_donation.pyc
+${PYSITELIB}/fritzexporter/data_donation.pyo
+${PYSITELIB}/fritzexporter/exceptions.py
+${PYSITELIB}/fritzexporter/exceptions.pyc
+${PYSITELIB}/fritzexporter/exceptions.pyo
+${PYSITELIB}/fritzexporter/fritzcapabilities.py
+${PYSITELIB}/fritzexporter/fritzcapabilities.pyc
+${PYSITELIB}/fritzexporter/fritzcapabilities.pyo
+${PYSITELIB}/fritzexporter/fritzdevice.py
+${PYSITELIB}/fritzexporter/fritzdevice.pyc
+${PYSITELIB}/fritzexporter/fritzdevice.pyo
Index: pkgsrc/sysutils/py-fritz_exporter/distinfo
diff -u /dev/null pkgsrc/sysutils/py-fritz_exporter/distinfo:1.1
--- /dev/null Fri Dec 15 19:04:40 2023
+++ pkgsrc/sysutils/py-fritz_exporter/distinfo Fri Dec 15 19:04:40 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/12/15 19:04:40 wiz Exp $
+
+BLAKE2s (fritz_exporter-2.3.0.tar.gz) = eb16915b268c5f23a919e63c73a39415af6ecf2075504aec9716d5bff8a19c3a
+SHA512 (fritz_exporter-2.3.0.tar.gz) = fa917e9a55bb44f13ca7a686b3bde1f97f2e14ce8b717623144f6917db3714a88c83c25e84f600f4dbe11582eeb8d125655ec3a8e3d722d9b8ceeb4f950f8023
+Size (fritz_exporter-2.3.0.tar.gz) = 843346 bytes
Home |
Main Index |
Thread Index |
Old Index