head	1.9;
access;
symbols
	pkgsrc-2026Q2:1.8.0.6
	pkgsrc-2026Q2-base:1.8
	pkgsrc-2026Q1:1.8.0.4
	pkgsrc-2026Q1-base:1.8
	pkgsrc-2025Q4:1.8.0.2
	pkgsrc-2025Q4-base:1.8
	pkgsrc-2025Q3:1.6.0.2
	pkgsrc-2025Q3-base:1.6
	pkgsrc-2025Q2:1.5.0.4
	pkgsrc-2025Q2-base:1.5
	pkgsrc-2025Q1:1.5.0.2
	pkgsrc-2025Q1-base:1.5
	pkgsrc-2024Q4:1.4.0.2
	pkgsrc-2024Q4-base:1.4
	pkgsrc-2024Q3:1.3.0.8
	pkgsrc-2024Q3-base:1.3
	pkgsrc-2024Q2:1.3.0.6
	pkgsrc-2024Q2-base:1.3
	pkgsrc-2024Q1:1.3.0.4
	pkgsrc-2024Q1-base:1.3
	pkgsrc-2023Q4:1.3.0.2
	pkgsrc-2023Q4-base:1.3;
locks; strict;
comment	@# @;


1.9
date	2026.06.28.15.41.38;	author wiz;	state Exp;
branches;
next	1.8;
commitid	hjtQh9zHnnKc1ALG;

1.8
date	2025.10.09.07.57.57;	author wiz;	state Exp;
branches;
next	1.7;
commitid	t4nMY0Dt3rBjSRdG;

1.7
date	2025.09.28.19.49.05;	author wiz;	state Exp;
branches;
next	1.6;
commitid	DFVIQJuJtPrsawcG;

1.6
date	2025.07.05.11.44.07;	author wiz;	state Exp;
branches;
next	1.5;
commitid	B2KLCDAZOmgedy1G;

1.5
date	2025.01.14.09.35.09;	author wiz;	state Exp;
branches;
next	1.4;
commitid	aTiyFtIRlAhZ1rFF;

1.4
date	2024.10.14.06.45.59;	author wiz;	state Exp;
branches;
next	1.3;
commitid	ynDJEEQamKd33BtF;

1.3
date	2023.12.16.08.53.58;	author wiz;	state Exp;
branches;
next	1.2;
commitid	KcJx1tFWATi4vFQE;

1.2
date	2023.12.16.08.00.50;	author wiz;	state Exp;
branches;
next	1.1;
commitid	s9JyOvrhM8ZEcFQE;

1.1
date	2023.12.15.19.04.40;	author wiz;	state Exp;
branches;
next	;
commitid	2ussMU6tNQFBUAQE;


desc
@@


1.9
log
@*: limit Python versions due to py-numpy dropping Python 3.11 support
@
text
@# $NetBSD: Makefile,v 1.8 2025/10/09 07:57:57 wiz Exp $

DISTNAME=	fritz_exporter-2.3.1
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
PKGREVISION=	2
CATEGORIES=	sysutils
MASTER_SITES=	${MASTER_SITE_GITHUB:=pdreker/}
# latest pypi distfile is older
GITHUB_TAG=	fritzexporter-v${PKGVERSION_NOREV}
GITHUB_PROJECT=	fritz_exporter

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://github.com/pdreker/fritz_exporter/
COMMENT=	Prometheus exporter for Fritz!Box home routers
LICENSE=	apache-2.0

TOOL_DEPENDS+=	${PYPKGPREFIX}-poetry-core>=2.2.1:../../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}/fritz_exporter-${GITHUB_TAG}

USE_LANGUAGES=	# none

PYTHON_VERSIONS_INCOMPATIBLE=	310 311

.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
@


1.8
log
@*: remove reference to (removed) Python 3.9
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2025/09/28 19:49:05 wiz Exp $
d29 1
a29 1
PYTHON_VERSIONS_INCOMPATIBLE=	310
@


1.7
log
@py-fritz_exporter: fix for latest poetry-core

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2025/07/05 11:44:07 wiz Exp $
d29 1
a29 1
PYTHON_VERSIONS_INCOMPATIBLE=	39 310
@


1.6
log
@*: some more recursive Python restrictions on Python 3.11+

Reported in SmartOS bulk build
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2025/01/14 09:35:09 wiz Exp $
d5 1
a5 1
PKGREVISION=	1
d17 1
a17 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-poetry-core>=2.0.1:../../devel/py-poetry-core
@


1.5
log
@py-fritz_exporter: update for poetry-core 2.0.1.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2024/10/14 06:45:59 wiz Exp $
d29 1
a29 1
PYTHON_VERSIONS_INCOMPATIBLE=	39
@


1.4
log
@*: clean-up after python38 removal
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2023/12/16 08:53:58 wiz Exp $
d5 1
d17 1
a17 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-poetry-core-[0-9]*:../../devel/py-poetry-core
@


1.3
log
@py-fritz_exporter: update to 2.3.1.

### Bug Fixes

* add type hints to data_donation.py


### Documentation

* **homeauto:** explicitly mention missing metrics
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2023/12/16 08:00:50 wiz Exp $
d28 1
a28 1
PYTHON_VERSIONS_INCOMPATIBLE=	27 38 39
@


1.2
log
@py-fritz_exporter: Remove broken script.

This change will be part of the next upstream release.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2023/12/15 19:04:40 wiz Exp $
d3 1
a3 1
DISTNAME=	fritz_exporter-2.3.0
a4 1
PKGREVISION=	1
d8 1
a8 1
GITHUB_TAG=	v${PKGVERSION_NOREV}
d24 1
a24 1
WRKSRC=		${WRKDIR}/${DISTNAME}
@


1.1
log
@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.)
@
text
@d1 1
a1 1
# $NetBSD$
d5 1
a30 3
post-install:
	cd ${DESTDIR}${PREFIX}/bin && ${MV} fritzexporter fritzexporter-${PYVERSSUFFIX} || ${TRUE}

@

