head	1.17;
access;
symbols
	pkgsrc-2026Q1:1.17.0.2
	pkgsrc-2026Q1-base:1.17
	pkgsrc-2025Q4:1.14.0.2
	pkgsrc-2025Q4-base:1.14
	pkgsrc-2025Q3:1.13.0.2
	pkgsrc-2025Q3-base:1.13
	pkgsrc-2025Q2:1.12.0.2
	pkgsrc-2025Q2-base:1.12
	pkgsrc-2025Q1:1.11.0.2
	pkgsrc-2025Q1-base:1.11
	pkgsrc-2024Q4:1.9.0.4
	pkgsrc-2024Q4-base:1.9
	pkgsrc-2024Q3:1.9.0.2
	pkgsrc-2024Q3-base:1.9
	pkgsrc-2024Q2:1.8.0.6
	pkgsrc-2024Q2-base:1.8
	pkgsrc-2024Q1:1.8.0.4
	pkgsrc-2024Q1-base:1.8
	pkgsrc-2023Q4:1.8.0.2
	pkgsrc-2023Q4-base:1.8
	pkgsrc-2023Q3:1.7.0.14
	pkgsrc-2023Q3-base:1.7
	pkgsrc-2023Q2:1.7.0.12
	pkgsrc-2023Q2-base:1.7
	pkgsrc-2023Q1:1.7.0.10
	pkgsrc-2023Q1-base:1.7
	pkgsrc-2022Q4:1.7.0.8
	pkgsrc-2022Q4-base:1.7
	pkgsrc-2022Q3:1.7.0.6
	pkgsrc-2022Q3-base:1.7
	pkgsrc-2022Q2:1.7.0.4
	pkgsrc-2022Q2-base:1.7
	pkgsrc-2022Q1:1.7.0.2
	pkgsrc-2022Q1-base:1.7
	pkgsrc-2021Q4:1.5.0.2
	pkgsrc-2021Q4-base:1.5
	pkgsrc-2021Q3:1.4.0.2
	pkgsrc-2021Q3-base:1.4
	pkgsrc-2021Q2:1.2.0.2
	pkgsrc-2021Q2-base:1.2
	pkgsrc-2021Q1:1.1.0.2
	pkgsrc-2021Q1-base:1.1;
locks; strict;
comment	@# @;


1.17
date	2026.02.26.11.25.09;	author adam;	state Exp;
branches;
next	1.16;
commitid	52f1feXXtiiswSvG;

1.16
date	2026.02.16.09.16.43;	author adam;	state Exp;
branches;
next	1.15;
commitid	qWXNBpIaCtOh8AuG;

1.15
date	2026.01.11.09.36.20;	author adam;	state Exp;
branches;
next	1.14;
commitid	HCuN2JME2SgUoXpG;

1.14
date	2025.10.09.07.57.54;	author wiz;	state Exp;
branches;
next	1.13;
commitid	t4nMY0Dt3rBjSRdG;

1.13
date	2025.07.05.11.44.12;	author wiz;	state Exp;
branches;
next	1.12;
commitid	B2KLCDAZOmgedy1G;

1.12
date	2025.04.15.05.04.20;	author adam;	state Exp;
branches;
next	1.11;
commitid	8c3RWE1Io7vMB6RF;

1.11
date	2025.03.08.13.04.33;	author wiz;	state Exp;
branches;
next	1.10;
commitid	YqsYwYowYrvfugMF;

1.10
date	2025.01.19.16.13.21;	author adam;	state Exp;
branches;
next	1.9;
commitid	WZOEmMvicQqg47GF;

1.9
date	2024.09.18.08.12.19;	author adam;	state Exp;
branches;
next	1.8;
commitid	bL4KIU3mb1PBmgqF;

1.8
date	2023.11.05.22.34.51;	author wiz;	state Exp;
branches;
next	1.7;
commitid	vH4OQCyDtr8nmtLE;

1.7
date	2022.01.05.15.41.19;	author wiz;	state Exp;
branches;
next	1.6;
commitid	FQ77UruBIUsgzsnD;

1.6
date	2022.01.04.20.54.35;	author wiz;	state Exp;
branches;
next	1.5;
commitid	CYyhdK9qtoffkmnD;

1.5
date	2021.12.07.10.51.22;	author khorben;	state Exp;
branches;
next	1.4;
commitid	ZsNSGkXsmfgQTHjD;

1.4
date	2021.08.29.20.00.43;	author khorben;	state Exp;
branches;
next	1.3;
commitid	WIyDebtI6l4N9U6D;

1.3
date	2021.08.05.13.08.08;	author adam;	state Exp;
branches;
next	1.2;
commitid	Oj76u9b6kbzaEM3D;

1.2
date	2021.05.30.21.53.10;	author khorben;	state Exp;
branches;
next	1.1;
commitid	OJThHFnFyMdCGdVC;

1.1
date	2021.02.25.16.35.23;	author khorben;	state Exp;
branches;
next	;
commitid	bZKTEtR4ZdI1Y6JC;


desc
@@


1.17
log
@py-octoprint: updated to 1.11.7

1.11.7

Bug fixes

Core

* Add custom parser for User Agent under Prusa Slicer's webview, fixing an UI loading error
* Use the right capability for registering active position autoreporting
* Fix checkboxes not showing for unrendered timelapses
* Fix response behaviour on missing subgroups on access management API
* Don't send session cookies if login mechanism is apikey
* Correctly convert timezone in Last-Modified

CLI

* Fix help & generated output for octoprint user {activate|deactivate}

Plugin Manager

* Fix cleanup tab always staying empty
@
text
@# $NetBSD: Makefile,v 1.16 2026/02/16 09:16:43 adam Exp $

DISTNAME=	octoprint-1.11.7
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=	print python
MASTER_SITES=	${MASTER_SITE_PYPI:=O/OctoPrint/}

MAINTAINER=	khorben@@defora.org
HOMEPAGE=	https://github.com/OctoPrint/OctoPrint
COMMENT=	Snappy web interface for 3D printers
LICENSE=	gnu-agpl-v3

RCD_SCRIPTS=	octoprint

DEPENDS+=	${PYPKGPREFIX}-octoprint-filecheck>=2024.11.12:../../print/py-octoprint-filecheck
DEPENDS+=	${PYPKGPREFIX}-octoprint-firmwarecheck>=2025.5.14:../../print/py-octoprint-firmwarecheck
DEPENDS+=	${PYPKGPREFIX}-octoprint-pisupport>=2023.10.10:../../print/py-octoprint-pisupport

DEPENDS+=	${PYPKGPREFIX}-Unidecode>0:../../textproc/py-Unidecode
DEPENDS+=	${PYPKGPREFIX}-argon2-cffi>=23.1.0:../../security/py-argon2-cffi
DEPENDS+=	${PYPKGPREFIX}-click>=8.1.8:../../devel/py-click
DEPENDS+=	${PYPKGPREFIX}-colorlog>=6.9.0:../../devel/py-colorlog
DEPENDS+=	${PYPKGPREFIX}-emoji>=2.14.1:../../converters/py-emoji
DEPENDS+=	${PYPKGPREFIX}-feedparser>=6.0.11:../../textproc/py-feedparser
DEPENDS+=	${PYPKGPREFIX}-filetype>=1.2.0:../../sysutils/py-filetype
DEPENDS+=	${PYPKGPREFIX}-flask-assets>=2.1.0:../../www/py-flask-assets
DEPENDS+=	${PYPKGPREFIX}-flask-login>=0.6.3:../../www/py-flask-login
DEPENDS+=	${PYPKGPREFIX}-frozendict>=2.4.6:../../devel/py-frozendict
DEPENDS+=	${PYPKGPREFIX}-future>=0.18.3:../../devel/py-future
DEPENDS+=	${PYPKGPREFIX}-limits>0:../../devel/py-limits
DEPENDS+=	${PYPKGPREFIX}-netaddr>=1.3.0:../../net/py-netaddr
DEPENDS+=	${PYPKGPREFIX}-netifaces>=0.11.0:../../net/py-netifaces
DEPENDS+=	${PYPKGPREFIX}-packaging>0:../../devel/py-packaging
DEPENDS+=	${PYPKGPREFIX}-pathvalidate>=3.2.1:../../devel/py-pathvalidate
DEPENDS+=	${PYPKGPREFIX}-psutil>=6.1.1:../../sysutils/py-psutil
DEPENDS+=	${PYPKGPREFIX}-pylru>=1.2.1:../../devel/py-pylru
DEPENDS+=	${PYPKGPREFIX}-pytz>0:../../time/py-pytz
DEPENDS+=	${PYPKGPREFIX}-regex>0:../../textproc/py-regex
DEPENDS+=	${PYPKGPREFIX}-sarge>=0.1.7.post1:../../devel/py-sarge
DEPENDS+=	${PYPKGPREFIX}-serial>=3.5:../../comms/py-serial
DEPENDS+=	${PYPKGPREFIX}-semantic_version>=2.10.0:../../devel/py-semantic_version
DEPENDS+=	${PYPKGPREFIX}-sentry-sdk>=2.20.0:../../devel/py-sentry-sdk
DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
DEPENDS+=	${PYPKGPREFIX}-wheel>0:../../devel/py-wheel
DEPENDS+=	${PYPKGPREFIX}-zipstream-ng>=1.8.0:../../archivers/py-zipstream-ng
# python_version >= "3.8"
DEPENDS+=	${PYPKGPREFIX}-babel>=2.16:../../devel/py-babel
DEPENDS+=	${PYPKGPREFIX}-blinker>=1.8.0:../../devel/py-blinker
DEPENDS+=	${PYPKGPREFIX}-cachelib>=0.13.0:../../devel/py-cachelib
DEPENDS+=	${PYPKGPREFIX}-flask>=3.0.3:../../www/py-flask
DEPENDS+=	${PYPKGPREFIX}-flask-babel>=4.0.0:../../www/py-flask-babel
DEPENDS+=	${PYPKGPREFIX}-flask-limiter>=3.8:../../www/py-flask-limiter
DEPENDS+=	${PYPKGPREFIX}-markdown>=3.7:../../textproc/py-markdown
DEPENDS+=	${PYPKGPREFIX}-more-itertools>=10.5.0:../../devel/py-more-itertools
DEPENDS+=	${PYPKGPREFIX}-pydantic>=2.10.6:../../devel/py-pydantic
DEPENDS+=	${PYPKGPREFIX}-requests>=2.32.3:../../devel/py-requests
DEPENDS+=	${PYPKGPREFIX}-watchdog>=4.0.2:../../sysutils/py-watchdog
DEPENDS+=	${PYPKGPREFIX}-websocket-client>=1.8.0:../../www/py-websocket-client
DEPENDS+=	${PYPKGPREFIX}-werkzeug>=3.0.6:../../www/py-werkzeug
DEPENDS+=	${PYPKGPREFIX}-wrapt>=1.17.2:../../devel/py-wrapt
DEPENDS+=	${PYPKGPREFIX}-yaml>=6.0.2:../../textproc/py-yaml
DEPENDS+=	${PYPKGPREFIX}-zeroconf>=0.136.2:../../net/py-zeroconf
# python_version >= "3.9"
DEPENDS+=	${PYPKGPREFIX}-passlib>=1.8.1:../../security/py-passlib
DEPENDS+=	${PYPKGPREFIX}-tornado>=6.5.1:../../www/py-tornado

TEST_DEPENDS+=	${PYPKGPREFIX}-ddt-[0-9]*:../../devel/py-ddt
TEST_DEPENDS+=	${PYPKGPREFIX}-mock>=5.1.0:../../devel/py-mock

.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin"
DEPENDS+=	${PYPKGPREFIX}-appdirs>=1.4.4:../../devel/py-appdirs
.endif

USE_LANGUAGES=	# none

PYTHON_VERSIONS_INCOMPATIBLE=	310

post-install:
	cd ${DESTDIR}${PREFIX}/bin && \
	${MV} octoprint octoprint-${PYVERSSUFFIX} || ${TRUE}

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


1.16
log
@py-octoprint: updated to 1.11.6

1.11.6

Security fixes

Timing Side-Channel in API Key Authentication, severity Moderate (6.0): OctoPrint versions up to and including 1.11.5 are affected by a (theoretical) timing attack vulnerability that allows API key extraction over the network.

Due to using character based comparison that short-circuits on the first mismatched character during API key validation, rather than a cryptographical method with static runtime regardless of the point of mismatch, an attacker with network based access to an affected OctoPrint could extract API keys valid on the instance by measuring the response times of the denied access responses and guess an API key character by character.

The likelihood of this attack actually working is highly dependent on the network's latency, noise and similar parameters. An actual proof of concept was not achieved so far. Still, as always administrators are advised to not expose their OctoPrint instance on hostile networks, especially not on the public internet!

See also the GitHub Security Advisory and CVE-2026-23892

Features & improvements

Achievements Plugin

Support resetting the yearly stats & display the status of the current year.

Bug fixes

Core

Correctly apply preprocessors on settings get & set when handling nested values.

Achievements Plugin

Properly handle year changes during runtime in stats collection, which is also used for the Wrapped Plugin. Auto fix stats affected by the underlying issue.

Upload Manager Plugin

Fix multi select on MacOS, now uses Cmd+Click.
Fix shift select logic to be more inline with common operating system file explorers.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2026/01/11 09:36:20 adam Exp $
d3 1
a3 1
DISTNAME=	octoprint-1.11.6
@


1.15
log
@py-octoprint: updated to 1.11.5

1.11.5

Bug fixes

Core

Workaround for a regression in Tornado 6.5.x, causing file uploads with non-latin-1 characters in the name to fail.
Fixed logic error in pure-python fallback of search_through_file helper

Backup Plugin

Apply --no-build-isolation during installation of plugins with legacy packaging
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2025/10/09 07:57:54 wiz Exp $
d3 1
a3 1
DISTNAME=	octoprint-1.11.5
@


1.14
log
@*: remove reference to (removed) Python 3.9
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2025/07/05 11:44:12 wiz Exp $
d3 1
a3 1
DISTNAME=	octoprint-1.10.3
a4 1
PKGREVISION=	2
d15 2
a16 3
# bundled_plugins
DEPENDS+=	${PYPKGPREFIX}-octoprint-filecheck>=2021.2.23:../../print/py-octoprint-filecheck
DEPENDS+=	${PYPKGPREFIX}-octoprint-firmwarecheck>=2021.10.11:../../print/py-octoprint-firmwarecheck
d18 2
a19 1
# core_deps
d21 3
a23 5
DEPENDS+=	${PYPKGPREFIX}-babel>=2.12.1:../../devel/py-babel
DEPENDS+=	${PYPKGPREFIX}-cachelib>=0.10.2:../../devel/py-cachelib
DEPENDS+=	${PYPKGPREFIX}-click>=8.1.7:../../devel/py-click
DEPENDS+=	${PYPKGPREFIX}-colorlog>=6.7.0:../../devel/py-colorlog
DEPENDS+=	${PYPKGPREFIX}-emoji>=2.10.1:../../converters/py-emoji
a25 1
DEPENDS+=	${PYPKGPREFIX}-flask>=2.2.3:../../www/py-flask
a26 2
DEPENDS+=	${PYPKGPREFIX}-flask-babel>=3.1.0:../../www/py-flask-babel
DEPENDS+=	${PYPKGPREFIX}-flask-limiter>=3.5.0:../../www/py-flask-limiter
d28 1
a28 1
DEPENDS+=	${PYPKGPREFIX}-frozendict>=2.4.0:../../devel/py-frozendict
d30 2
a31 2
DEPENDS+=	${PYPKGPREFIX}-markdown>=3.4.4:../../textproc/py-markdown
DEPENDS+=	${PYPKGPREFIX}-netaddr>=0.8:../../net/py-netaddr
d33 3
a35 5
DEPENDS+=	${PYPKGPREFIX}-passlib>=1.7.4:../../security/py-passlib
DEPENDS+=	${PYPKGPREFIX}-pathvalidate>=2.5.2:../../devel/py-pathvalidate
DEPENDS+=	${PYPKGPREFIX}-pkginfo>=1.9.6:../../devel/py-pkginfo
DEPENDS+=	${PYPKGPREFIX}-psutil>=5.9.8:../../sysutils/py-psutil
DEPENDS+=	${PYPKGPREFIX}-pydantic>=1.10.16:../../devel/py-pydantic
d37 4
a40 3
DEPENDS+=	${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
DEPENDS+=	${PYPKGPREFIX}-requests>=2.31.0:../../devel/py-requests
DEPENDS+=	${PYPKGPREFIX}-sarge>=0.1.7:../../devel/py-sarge
d42 1
a42 2
DEPENDS+=	${PYPKGPREFIX}-sentry-sdk>=1.40.0:../../devel/py-sentry-sdk
DEPENDS+=	${PYPKGPREFIX}-serial>=3.5:../../comms/py-serial
d44 23
a66 15
DEPENDS+=	${PYPKGPREFIX}-tornado>=6.2:../../www/py-tornado
DEPENDS+=	${PYPKGPREFIX}-watchdog>=2.3.1:../../sysutils/py-watchdog
DEPENDS+=	${PYPKGPREFIX}-websocket-client>=1.6.1:../../www/py-websocket-client
DEPENDS+=	${PYPKGPREFIX}-werkzeug>=2.2.3:../../www/py-werkzeug
DEPENDS+=	${PYPKGPREFIX}-wrapt>=1.15:../../devel/py-wrapt
DEPENDS+=	${PYPKGPREFIX}-yaml>=6.0.1:../../textproc/py-yaml
DEPENDS+=	${PYPKGPREFIX}-zeroconf>=0.127:../../net/py-zeroconf
DEPENDS+=	${PYPKGPREFIX}-zipstream-ng>=1.7.1:../../archivers/py-zipstream-ng
# vendored_deps
DEPENDS+=	${PYPKGPREFIX}-Unidecode-[0-9]*:../../textproc/py-Unidecode
DEPENDS+=	${PYPKGPREFIX}-blinker>=1.6.3:../../devel/py-blinker
DEPENDS+=	${PYPKGPREFIX}-class-doc>=0.2.6:../../textproc/py-class-doc
DEPENDS+=	${PYPKGPREFIX}-regex-[0-9]*:../../textproc/py-regex
# plugin_deps
DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
d70 5
@


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

Reported in SmartOS bulk build
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2025/04/15 05:04:20 adam Exp $
d72 1
a72 1
PYTHON_VERSIONS_INCOMPATIBLE=	39 310
@


1.12
log
@Fix PLIST after py-setuptools update; bump depends and revision
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2025/03/08 13:04:33 wiz Exp $
d72 1
a72 1
PYTHON_VERSIONS_INCOMPATIBLE=	39 # py-flask-limiter
@


1.11
log
@py-octoprint: fix wheel name for latest setuptools and depend on it

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2025/01/19 16:13:21 adam Exp $
d5 1
a5 1
PKGREVISION=	1
d51 1
a51 1
DEPENDS+=	${PYPKGPREFIX}-setuptools>=75.8.2:../../devel/py-setuptools
d72 2
@


1.10
log
@py-octoprint: updated to 1.10.3

1.10.3

Changes

Security fixes

Severity Moderate (5.5): OctoPrint versions up until and including 1.10.2 are vulnerable to reflected XSS vulnerabilities through its Jinja2 template system, as this is not configured to enforce automatic escaping. This affects, among other places, the login dialog and the standalone application key confirmation dialog.

An attacker who successfully talked a victim into clicking on or through a malicious third party app successfully redirected a victim to a specially crafted link could use this to retrieve or modify sensitive configuration settings, interrupt prints or otherwise interact with the OctoPrint instance in a malicious way.

The above mentioned specific vulnerabilities of the login dialog and the standalone application key confirmation dialog have been fixed in 1.10.3 by individual escaping of the detected locations. A global change throughout all of OctoPrint's templating system with the upcoming 1.11.0 release will handle this further, switching to globally enforced automatic escaping and thus reducing the attack surface in general.

The latter will also improve the security of third party plugins. During a transition period, third party plugins will be able to opt into the automatic escaping. With OctoPrint 1.13.0, automatic escaping will be switched over to be enforced even for third party plugins, unless they explicitly opt-out.

See also the GitHub Security Advisory and CVE-2024-49377.

Severity Moderate (5.3): OctoPrint versions up until and including 1.10.2 contain a vulnerability that allows an attacker that has gained temporary control over an authenticated victim's OctoPrint browser session to retrieve/recreate/delete the user's or - if the victim has admin permissions - the global API key without having to reauthenticate by re-entering the user account's password.

An attacker could use a stolen API key to access OctoPrint through its API, or disrupt workflows depending on the API key they deleted.

See also the GitHub Security Advisory and CVE-2024-51493.

Minor Security fixes

Core,: Use secrets lib to generate Flask secret key, API keys and user session IDs.

Discovery Plugin: Removed version number from discovery.xml of SSDP discovery. Combats information leakage.

GCODE Viewer Plugin: Limited access to skip_until check API to available GCODE_VIEWER and FILES_DOWNLOAD permissions. Combats information leakage.

Bug fixes

Core

Fixed a typo where the config setting server.reverseProxy.trustedUpstream was used instead of server.reverseProxy.trustedDownstream. Also made the SockJS trusted proxy check align with that of Flask & Tornado.
Fixed file list cache being created before all extension tree providing plugins have had a chance to act.

Plugin Manager

Fixed dequeuing of plugin installs.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2024/09/18 08:12:19 adam Exp $
d5 1
a13 2
WHEEL_NAME=	OctoPrint-${PKGVERSION_NOREV}

d51 1
a51 1
DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
@


1.9
log
@py-octoprint: updated to 1.10.2

1.10.2

Core

Fix a translation string in the german translation.
Fix/workaround for a third party dependency change, breaking the octoprint dev plugin:new command.
Fix behaviour of "Hide successful prints" filter in the file list. Folders will be shown as long as they have at least one file in them that has not been printed successfully yet, and they will also be shown if they contain the currently selected file, regardless of the amount of successful prints.
Fix an import to be compatible to Jinja2>=3.1.3.
Pin pydantic to 1.10.16 to work around an issue with Python 3.12.4.

Achievements Plugin

Fix a string in the german translation that caused the Achievements overview to not correctly render if german language was selected.
Fix description of the Adventurer achievement
Fix event processing if the backup or plugin manager plugins are disabled.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2023/11/05 22:34:51 wiz Exp $
d3 1
a3 1
DISTNAME=	octoprint-1.10.2
d74 2
a75 2
	${MV} ${DESTDIR}${PREFIX}/bin/octoprint \
		${DESTDIR}${PREFIX}/bin/octoprint-${PYVERSSUFFIX} || ${TRUE}
@


1.8
log
@py-octoprint: not for Python 3.12
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2022/01/05 15:41:19 wiz Exp $
d3 4
a6 7
DISTNAME=	${GITHUB_PROJECT}-${PKGVERSION_NOREV}
PKGNAME=	${PYPKGPREFIX}-octoprint-1.6.1
PKGREVISION=	4
CATEGORIES=	print
MASTER_SITES=	${MASTER_SITE_GITHUB:=OctoPrint/}
GITHUB_PROJECT=	OctoPrint
GITHUB_TAG=	${PKGVERSION_NOREV}
d9 1
a9 1
HOMEPAGE=	https://github.com/OctoPrint/OctoPrint/
d13 2
d17 1
a17 18
PYTHON_VERSIONS_INCOMPATIBLE=	27 312

DEPENDS+=	${PYPKGPREFIX}-blinker>=1.4:../../devel/py-blinker
DEPENDS+=	${PYPKGPREFIX}-cachelib>=0.1:../../devel/py-cachelib
DEPENDS+=	${PYPKGPREFIX}-click>=7.1.2:../../devel/py-click
DEPENDS+=	${PYPKGPREFIX}-emoji>=0.5.4:../../converters/py-emoji
DEPENDS+=	${PYPKGPREFIX}-feedparser>=6.0.2:../../textproc/py-feedparser
DEPENDS+=	${PYPKGPREFIX}-filetype>=1.0.7:../../sysutils/py-filetype
DEPENDS+=	${PYPKGPREFIX}-flask>=1.1.2:../../www/py-flask
DEPENDS+=	${PYPKGPREFIX}-flask-assets>=2.0:../../www/py-flask-assets
DEPENDS+=	${PYPKGPREFIX}-flask-babel>=1.0:../../www/py-flask-babel
DEPENDS+=	${PYPKGPREFIX}-flask-login>=0.5:../../www/py-flask-login
DEPENDS+=	${PYPKGPREFIX}-future>=0.18.2:../../devel/py-future
DEPENDS+=	${PYPKGPREFIX}-immutabledict>=2.0.0:../../devel/py-immutabledict
DEPENDS+=	${PYPKGPREFIX}-jinja2>=2.11.2:../../textproc/py-jinja2
DEPENDS+=	${PYPKGPREFIX}-markdown>=3.1:../../textproc/py-markdown
DEPENDS+=	${PYPKGPREFIX}-netaddr>=0.7.19:../../net/py-netaddr
DEPENDS+=	${PYPKGPREFIX}-netifaces>=0.10.9:../../net/py-netifaces
d19 51
a69 20
DEPENDS+=	${PYPKGPREFIX}-octoprint-firmwarecheck>=2021.2.4:../../print/py-octoprint-firmwarecheck
DEPENDS+=	${PYPKGPREFIX}-octoprint-pisupport>=2021.3.26:../../print/py-octoprint-pisupport
DEPENDS+=	${PYPKGPREFIX}-pkginfo>=1.5.0.1:../../devel/py-pkginfo
DEPENDS+=	${PYPKGPREFIX}-psutil>=5.7:../../sysutils/py-psutil
DEPENDS+=	${PYPKGPREFIX}-pylru>=1.2:../../devel/py-pylru
DEPENDS+=	${PYPKGPREFIX}-regex>2018.11.6:../../textproc/py-regex
DEPENDS+=	${PYPKGPREFIX}-requests>=2.23.0:../../devel/py-requests
DEPENDS+=	${PYPKGPREFIX}-sarge>=0.1.5:../../devel/py-sarge
DEPENDS+=	${PYPKGPREFIX}-semantic_version>=2.8.5:../../devel/py-semantic_version
DEPENDS+=	${PYPKGPREFIX}-serial>=3.4:../../comms/py-serial
DEPENDS+=	${PYPKGPREFIX}-sentry-sdk>=0.15.1:../../devel/py-sentry-sdk
DEPENDS+=	${PYPKGPREFIX}-tornado>=5.1.1:../../www/py-tornado
DEPENDS+=	${PYPKGPREFIX}-Unidecode>=0.04.14:../../textproc/py-Unidecode
DEPENDS+=	${PYPKGPREFIX}-watchdog>=0.10.4:../../sysutils/py-watchdog
DEPENDS+=	${PYPKGPREFIX}-websocket-client>=0.57:../../www/py-websocket-client
DEPENDS+=	${PYPKGPREFIX}-werkzeug>=1.0.1:../../www/py-werkzeug
DEPENDS+=	${PYPKGPREFIX}-wrapt>=1.12.1:../../devel/py-wrapt
DEPENDS+=	${PYPKGPREFIX}-yaml>=5.3.1:../../textproc/py-yaml
DEPENDS+=	${PYPKGPREFIX}-zeroconf>=0.24:../../net/py-zeroconf
DEPENDS+=	${PYPKGPREFIX}-zipstream>=1.1.8:../../archivers/py-zipstream
d71 1
a71 1
USE_PKG_RESOURCES=	yes
d77 1
a77 1
.include "../../lang/python/egg.mk"
@


1.7
log
@python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2022/01/04 20:54:35 wiz Exp $
d18 1
a18 1
PYTHON_VERSIONS_INCOMPATIBLE=	27
@


1.6
log
@*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2021/12/07 10:51:22 khorben Exp $
d5 1
a5 1
PKGREVISION=	3
d58 2
@


1.5
log
@py-octoprint: fix dependencies

Bumps PKGREVISION.

Thanks wiz@@ for the heads up!
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2021/08/29 20:00:43 khorben Exp $
d5 1
a5 1
PKGREVISION=	2
@


1.4
log
@py-octoprint: let the RC script work unprivileged

This takes advantage of the introduction of the SYSCONFBASE variable.
Tested on NetBSD/amd64.

Bumps PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2021/08/05 13:08:08 adam Exp $
d5 1
a5 1
PKGREVISION=	1
a31 1
DEPENDS+=	${PYPKGPREFIX}-importlib-metadata>=0.18.2:../../devel/py-importlib-metadata
@


1.3
log
@py-octoprint: prefer PYTHON_VERSIONS_INCOMPATIBLE
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2021/05/30 21:53:10 khorben Exp $
d5 1
@


1.2
log
@py-octoprint: update to version 1.6.1

This is a bugfix release to fix two bugs in 1.6.0.

The full list of changes from version 1.5.3 to 1.6.0 can be found at
https://github.com/OctoPrint/OctoPrint/releases/tag/1.6.0.

This also improves the RC script provided to not longer assume Python 3.8
specifically.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2021/02/25 16:35:23 khorben Exp $
d17 1
a17 1
PYTHON_VERSIONS_ACCEPTED=	39 38 37 36
@


1.1
log
@py-octoprint: import version 1.5.3

OctoPrint provides a snappy web interface for controlling consumer 3D printers.
It is Free Software and released under the GNU Affero General Public License
V3.
@
text
@d1 1
a1 1
# $NetBSD$
d4 1
a4 1
PKGNAME=	${PYPKGPREFIX}-octoprint-1.5.3
d17 1
a17 1
PYTHON_VERSIONS_ACCEPTED=	38 37 36
a28 1
DEPENDS+=	${PYPKGPREFIX}-frozendict>=1.2:../../devel/py-frozendict
d30 1
d36 3
a38 2
DEPENDS+=	${PYPKGPREFIX}-octoprint-filecheck>=2020.8.7:../../print/py-octoprint-filecheck
DEPENDS+=	${PYPKGPREFIX}-octoprint-firmwarecheck>=2020.9.23:../../print/py-octoprint-firmwarecheck
a43 1
DEPENDS+=	${PYPKGPREFIX}-rsa>=4.0:../../security/py-rsa
d50 1
a50 1
DEPENDS+=	${PYPKGPREFIX}-watchdog>=0.10.2:../../sysutils/py-watchdog
d56 1
@

