head	1.21;
access;
symbols
	pkgsrc-2026Q1:1.21.0.2
	pkgsrc-2026Q1-base:1.21
	pkgsrc-2025Q4:1.20.0.2
	pkgsrc-2025Q4-base:1.20
	pkgsrc-2025Q3:1.19.0.2
	pkgsrc-2025Q3-base:1.19
	pkgsrc-2025Q2:1.17.0.2
	pkgsrc-2025Q2-base:1.17
	pkgsrc-2025Q1:1.15.0.2
	pkgsrc-2025Q1-base:1.15
	pkgsrc-2024Q4:1.13.0.2
	pkgsrc-2024Q4-base:1.13
	pkgsrc-2024Q3:1.12.0.8
	pkgsrc-2024Q3-base:1.12
	pkgsrc-2024Q2:1.12.0.6
	pkgsrc-2024Q2-base:1.12
	pkgsrc-2024Q1:1.12.0.4
	pkgsrc-2024Q1-base:1.12
	pkgsrc-2023Q4:1.12.0.2
	pkgsrc-2023Q4-base:1.12
	pkgsrc-2023Q3:1.11.0.4
	pkgsrc-2023Q3-base:1.11
	pkgsrc-2023Q2:1.11.0.2
	pkgsrc-2023Q2-base:1.11
	pkgsrc-2023Q1:1.10.0.6
	pkgsrc-2023Q1-base:1.10
	pkgsrc-2022Q4:1.10.0.4
	pkgsrc-2022Q4-base:1.10
	pkgsrc-2022Q3:1.10.0.2
	pkgsrc-2022Q3-base:1.10
	pkgsrc-2022Q2:1.9.0.4
	pkgsrc-2022Q2-base:1.9
	pkgsrc-2022Q1:1.9.0.2
	pkgsrc-2022Q1-base:1.9
	pkgsrc-2021Q4:1.8.0.14
	pkgsrc-2021Q4-base:1.8
	pkgsrc-2021Q3:1.8.0.12
	pkgsrc-2021Q3-base:1.8
	pkgsrc-2021Q2:1.8.0.10
	pkgsrc-2021Q2-base:1.8
	pkgsrc-2021Q1:1.8.0.8
	pkgsrc-2021Q1-base:1.8
	pkgsrc-2020Q4:1.8.0.6
	pkgsrc-2020Q4-base:1.8
	pkgsrc-2020Q3:1.8.0.4
	pkgsrc-2020Q3-base:1.8
	pkgsrc-2020Q2:1.8.0.2
	pkgsrc-2020Q2-base:1.8
	pkgsrc-2020Q1:1.7.0.2
	pkgsrc-2020Q1-base:1.7
	pkgsrc-2019Q4:1.6.0.6
	pkgsrc-2019Q4-base:1.6
	pkgsrc-2019Q3:1.6.0.2
	pkgsrc-2019Q3-base:1.6
	pkgsrc-2019Q2:1.4.0.4
	pkgsrc-2019Q2-base:1.4
	pkgsrc-2019Q1:1.4.0.2
	pkgsrc-2019Q1-base:1.4
	pkgsrc-2018Q4:1.3.0.2
	pkgsrc-2018Q4-base:1.3
	pkgsrc-2018Q3:1.2.0.4
	pkgsrc-2018Q3-base:1.2
	pkgsrc-2018Q2:1.2.0.2
	pkgsrc-2018Q2-base:1.2
	pkgsrc-2018Q1:1.1.0.4
	pkgsrc-2018Q1-base:1.1
	pkgsrc-2017Q4:1.1.0.2
	pkgsrc-2017Q4-base:1.1;
locks; strict;
comment	@# @;


1.21
date	2026.01.12.17.09.58;	author adam;	state Exp;
branches;
next	1.20;
commitid	lb8B7a0GZqUtS7qG;

1.20
date	2025.10.09.07.57.33;	author wiz;	state Exp;
branches;
next	1.19;
commitid	t4nMY0Dt3rBjSRdG;

1.19
date	2025.08.05.07.19.41;	author adam;	state Exp;
branches;
next	1.18;
commitid	9pyHtLRa6OFWKv5G;

1.18
date	2025.07.04.09.08.36;	author wiz;	state Exp;
branches;
next	1.17;
commitid	Zxt9De0pbTy2op1G;

1.17
date	2025.04.18.10.01.18;	author adam;	state Exp;
branches;
next	1.16;
commitid	2KK71j0mNcHC9wRF;

1.16
date	2025.04.12.11.55.00;	author adam;	state Exp;
branches;
next	1.15;
commitid	0tTzNdP5pJGDYKQF;

1.15
date	2025.03.05.09.51.21;	author wiz;	state Exp;
branches;
next	1.14;
commitid	JQZQlVngsypWvRLF;

1.14
date	2025.01.08.20.35.32;	author adam;	state Exp;
branches;
next	1.13;
commitid	ffsyWAWNMjArSIEF;

1.13
date	2024.11.11.07.28.15;	author wiz;	state Exp;
branches;
next	1.12;
commitid	1fBDq3LwS98NncxF;

1.12
date	2023.10.29.18.26.36;	author wiz;	state Exp;
branches;
next	1.11;
commitid	fclugRlTSXX9dyKE;

1.11
date	2023.05.02.17.18.05;	author wiz;	state Exp;
branches;
next	1.10;
commitid	u9dRdLkWX8JqCpnE;

1.10
date	2022.08.24.08.41.08;	author wiz;	state Exp;
branches;
next	1.9;
commitid	EM4lXKDNnqIgP6RD;

1.9
date	2022.01.04.20.53.15;	author wiz;	state Exp;
branches;
next	1.8;
commitid	CYyhdK9qtoffkmnD;

1.8
date	2020.05.16.17.27.42;	author adam;	state Exp;
branches;
next	1.7;
commitid	A5B0HfEAXRa3qu8C;

1.7
date	2020.01.03.11.49.58;	author adam;	state Exp;
branches;
next	1.6;
commitid	Mj6v7os9PA7bReRB;

1.6
date	2019.08.21.08.58.23;	author adam;	state Exp;
branches;
next	1.5;
commitid	6ewWWS0Lu7zcfSzB;

1.5
date	2019.07.09.11.35.14;	author nia;	state Exp;
branches;
next	1.4;
commitid	Vdt6OsIXLcYRumuB;

1.4
date	2019.01.22.10.36.24;	author adam;	state Exp;
branches;
next	1.3;
commitid	IqSxVVDPBaAmzL8B;

1.3
date	2018.10.15.08.59.11;	author adam;	state Exp;
branches;
next	1.2;
commitid	Mt5MMknoHy7od2WA;

1.2
date	2018.05.16.10.17.08;	author adam;	state Exp;
branches;
next	1.1;
commitid	ZEk367olXJoYwvCA;

1.1
date	2017.10.25.22.16.31;	author minskim;	state Exp;
branches;
next	;
commitid	varzU9YNTcz02ucA;


desc
@@


1.21
log
@py-logbook: updated to 1.9.2

Version 1.9.2

Fixed

- When used as a context manager, handlers, flags, and processors would swallow
  a raised ``BaseException`` and raise a ``TypeError``


Version 1.9.1

Fixed

- Required files were missing from the source distribution (sdist).


Version 1.9.0

Added

- Python 3.14 support
- Python 3.14 free-threading support (beta). This does not extend to all optional
  dependencies. At the time of writing, the following extras are not supported due
  to their dependencies pulling in C extensions which do not support free-threading:

  - ``brotli``
  - ``nteventlog``
  - ``sqlalchemy``
- Wheels are built for Windows ARM64

Changed

- The way handlers, flags, and processors are activated is now based on
  :mod:`contextvars`, and has been completely rewritten. See deprecations since
  many methods have been deprecated and are mere aliases to the new defaults.
- Cython has been replaced with Rust for the speedups module.
- ``Logbook[brotli]`` depends on ``brotlicffi`` on non-CPython implementations.

Deprecated

- ``logbook.__version__``. Use :mod:`importlib.metadata` instead.
- There are now only two ways to activate :class:`~logbook.Handler`,
  :class:`~logbook.Flags`, and :class:`~logbook.Processor` instances.
@
text
@# $NetBSD: Makefile,v 1.20 2025/10/09 07:57:33 wiz Exp $

DISTNAME=	logbook-1.9.2
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=	devel python
MASTER_SITES=	${MASTER_SITE_PYPI:=L/Logbook/}

MAINTAINER=	kamelderouiche@@yahoo.com
HOMEPAGE=	https://logbook.readthedocs.io/
COMMENT=	Logging replacement for Python
LICENSE=	modified-bsd

TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools-rust>=1.11.1:../../devel/py-setuptools-rust
DEPENDS+=	${PYPKGPREFIX}-typing-extensions>=4.14.0:../../devel/py-typing-extensions
# compression
DEPENDS+=	${PYPKGPREFIX}-brotli>=1.1.0:../../archivers/py-brotli
TEST_DEPENDS+=	${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov

MAKE_ENV+=	CARGO_BUILD_JOBS=${_MAKE_JOBS_N:U1}

PYTHON_VERSIONS_INCOMPATIBLE=	310

.include "cargo-depends.mk"

.include "../../devel/py-cython/buildlink3.mk"
.include "../../lang/python/wheel.mk"
.include "../../lang/rust/cargo.mk"
.include "../../mk/bsd.pkg.mk"
@


1.20
log
@*: remove reference to (removed) Python 3.9
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2025/08/05 07:19:41 adam Exp $
d3 1
a3 1
DISTNAME=	logbook-1.8.2
d14 2
d17 1
a17 1
DEPENDS+=	${PYPKGPREFIX}-brotli-[0-9]*:../../archivers/py-brotli
d20 2
d24 2
d28 1
@


1.19
log
@py-logbook: updated to 1.8.2

Version 1.8.2
- TimedRotatingFileHandler was sensitive to changes in the current work
  directory if ``filename`` was a relative path.
- Wheels are built for Linux arm64
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2025/07/04 09:08:36 wiz Exp $
d18 1
a18 1
PYTHON_VERSIONS_INCOMPATIBLE=	39 310
@


1.18
log
@*: mark more py-cython dependencies as needing Python>=3.11
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2025/04/18 10:01:18 adam Exp $
d3 1
a3 1
DISTNAME=	logbook-1.8.1
@


1.17
log
@py-logbook: updated to 1.8.1

Version 1.8.1
- Fixed crash on Python 3.12+ in speedups extension module.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2025/04/12 11:55:00 adam Exp $
d18 2
@


1.16
log
@Fix PLIST after py-setuptools update; bump depends and revision
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2025/03/05 09:51:21 wiz Exp $
d3 1
a3 1
DISTNAME=	logbook-1.8.0
a4 1
PKGREVISION=	2
@


1.15
log
@py-logbook: fix wheel name for latest setuptools and depend on it

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2025/01/08 20:35:32 adam Exp $
d5 1
a5 1
PKGREVISION=	1
d14 1
a14 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=75.8.2:../../devel/py-setuptools
@


1.14
log
@py-logbook: updated to 1.8.0

Version 1.8.0

- Python 3.13 support
- Fixed deprecation warnings on Python 3.12
- Dropped support for Python 3.8
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2024/11/11 07:28:15 wiz Exp $
d5 1
d14 1
a14 3
WHEEL_NAME=	${DISTNAME:S/l/L/}

TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
@


1.13
log
@py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2023/10/29 18:26:36 wiz Exp $
d3 2
a4 2
DISTNAME=	Logbook-1.7.0
PKGNAME=	${PYPKGPREFIX}-${DISTNAME:tl}
d13 4
a17 2
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
TEST_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
a19 6
PYTHON_VERSIONS_INCOMPATIBLE=	27

# needs 'make install'
do-test:
	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}

@


1.12
log
@py-logbook: update to 1.7.0.

Version 1.7.0
-------------

Released on October 3rd, 2023

- Dropped support for Python 3.7
- Passing (keyfile, certfile) to MailHandler's ``secure`` argument is deprecated
  in favour of passing an ``ssl.SSLContext``.
- Python 3.12 support

Version 1.6.0
-------------

Released on July 30th, 2023

- Dropped support for Python 2.7, 3.5, and 3.6.
- Uses pyproject.toml based build.
- Added nteventlog extra for NTEventLogHandler.
- Supports SQLAlchemy 1.4 and 2.0.
- Fix various deprecation warnings.
- exc_info arg may be a BaseException instance (thanks Mattijs Ugen)
- FileHandler supports path-like objects.
- Fixed bug which prevented compilation on Cython 3
- Wheels are generated for more platforms and architectures
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2023/05/02 17:18:05 wiz Exp $
a14 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
@


1.11
log
@py-logbook: not for Python 2
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2022/08/24 08:41:08 wiz Exp $
d3 1
a3 1
DISTNAME=	Logbook-1.5.3
a4 1
PKGREVISION=	1
d13 3
a15 1
DEPENDS+=	${PYPKGPREFIX}-brotlipy-[0-9]*:../../archivers/py-brotlipy
d21 3
a23 2
pre-build:
	cd ${WRKSRC} && cython-${PYVERSSUFFIX} logbook/_speedups.pyx
d26 1
a26 1
.include "../../lang/python/egg.mk"
@


1.10
log
@*: use py-test-cov from versioned_dependencies
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2022/01/04 20:53:15 wiz Exp $
d15 2
d18 1
a18 1
PYTHON_VERSIONED_DEPENDENCIES+=	test:test test-cov:test
a24 1
.include "../../lang/python/versioned_dependencies.mk"
@


1.9
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.8 2020/05/16 17:27:42 adam Exp $
a14 1
TEST_DEPENDS+=	${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
d16 1
a16 1
PYTHON_VERSIONED_DEPENDENCIES=	test:test
@


1.8
log
@pytest from versioned deps.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2020/01/03 11:49:58 adam Exp $
d5 1
@


1.7
log
@py-logbook: updated to 1.5.3

1.5.3:
Unknown changes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2019/08/21 08:58:23 adam Exp $
a13 1
TEST_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
d16 2
d23 1
@


1.6
log
@py-logbook: updated to 1.5.2

1.5.2:
Unknown changes

1.5.1:
Added support for asyncio and contextvars
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2019/07/09 11:35:14 nia Exp $
d3 1
a3 1
DISTNAME=	Logbook-1.5.2
@


1.5
log
@Use https for readthedocs.io.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2019/01/22 10:36:24 adam Exp $
d3 1
a3 1
DISTNAME=	Logbook-1.4.3
@


1.4
log
@py-logbook: updated to 1.4.3

Version 1.4.3
- Fixed Pypi release for 1.4.2

Version 1.4.2
- Use correct record delimiters (null for UNIX, newline for network) in SyslogHandler
- Try to reconnect to SyslogHandler TCP sockets when they are disconnected
- Use RFC 5424 format for networking logging in SyslogHandler
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2018/10/15 08:59:11 adam Exp $
d9 1
a9 1
HOMEPAGE=	http://logbook.readthedocs.io/
@


1.3
log
@py-logbook: updated to 1.4.1

Version 1.4.1
- Fixed deprecated regular expression pattern
- Fixed TimedRotatingFileHandler rotation
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2018/05/16 10:17:08 adam Exp $
d3 1
a3 1
DISTNAME=	Logbook-1.4.1
@


1.2
log
@py-logbook: updated to 1.4.0

Version 1.4.0
- Added support for checking if trace logs have been emitted in TestHandler

Version 1.3.0
- Added support for controlling rotating file names -- Logbook now allows users to customize the formatting of rollover/rotating files

Version 1.2.0
- Added support for compressed log files, supporting both gzip and brotli compression methods
- Fixed CPU usage for queuing handlers
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2017/10/25 22:16:31 minskim Exp $
d3 1
a3 1
DISTNAME=	Logbook-1.4.0
d18 1
a18 1
	cd ${WRKSRC} && cython${PYVERSSUFFIX} logbook/_speedups.pyx
@


1.1
log
@devel/py-logbook: Import version 1.1.0 from pkgsrc-wip

Logbook is a logging system for Python that replaces the standard
library's logging module. It was designed with both complex and simple
applications in mind and the idea to make logging fun.

Packaged by Kamel Derouiche and improved/updated by wiz@@ and me.
@
text
@d1 1
a1 1
# $NetBSD$
d3 1
a3 1
DISTNAME=	Logbook-1.1.0
d13 3
a15 1
USE_LANGUAGES=	c
d17 4
@

