head	1.2;
access;
symbols
	pkgsrc-2026Q2:1.2.0.6
	pkgsrc-2026Q2-base:1.2
	pkgsrc-2026Q1:1.2.0.4
	pkgsrc-2026Q1-base:1.2
	pkgsrc-2025Q4:1.2.0.2
	pkgsrc-2025Q4-base:1.2
	pkgsrc-2025Q3:1.1.0.4
	pkgsrc-2025Q3-base:1.1
	pkgsrc-2025Q2:1.1.0.2
	pkgsrc-2025Q2-base:1.1;
locks; strict;
comment	@# @;


1.2
date	2025.12.15.09.05.02;	author adam;	state Exp;
branches;
next	1.1;
commitid	HzPamiZtOn226umG;

1.1
date	2025.04.23.14.53.30;	author wiz;	state Exp;
branches;
next	;
commitid	u7amaI5YuC2XBbSF;


desc
@@


1.2
log
@py-kgb: updated to 7.3

kgb 7.3 (9-December-2025)

* Added support for Python 3.14.

* Added ``SpyAgency.get_spy()``, a utility method which returns the
  ``FunctionSpy`` for a given function or method. This is particularly useful
  when using type checkers, which are unaware that the function itself has been
  replaced.

* Fixed a ``DeprecationWarning`` which would appear when spying on generator
  functions.
@
text
@$NetBSD: distinfo,v 1.1 2025/04/23 14:53:30 wiz Exp $

BLAKE2s (kgb-7.3.tar.gz) = bc351c465ebb4cf526c0d4afc99142013d0aa1dd89982fe415a1a3c5fcf149b3
SHA512 (kgb-7.3.tar.gz) = 1ed08fbafbf8b3880e01fbd37f12cca6d5ec4f1b1d6f429df1d1bd553683f3b294a3cf8a62df1857c5af51d6be37861893a00e6af89fe0d2af72796bb355fcc4
Size (kgb-7.3.tar.gz) = 62922 bytes
@


1.1
log
@devel/py-kgb: import py-kgb-7.2

Ever deal with a large test suite before, monkey patching functions
to figure out whether it was called as expected? It's a dirty job.
If you're not careful, you can make a mess of things. Leave behind
evidence.

kgb's spies will take care of that little problem for you.

What are spies?

Spies intercept and record calls to functions. They can report on
how many times a function was called and with what arguments. They
can allow the function call to go through as normal, to block it,
or to reroute it to another function.

Spies are like mocks, but better. You're not mocking the world.
You're replacing very specific function logic, or listening to
functions without altering them.
@
text
@d1 1
a1 1
$NetBSD$
d3 3
a5 3
BLAKE2s (kgb-7.2.tar.gz) = 9712003306549849023bba7055e7669bec1a9522a7ffe1e6ca250dd4f9c3a992
SHA512 (kgb-7.2.tar.gz) = 2311a524d4e5266399fddbf8c12644dd6d265b4a0538cd820421a7fb4f8d291f662209b6642daf3777bfca16b8eb976ead12e063dad1242f897619070e5cfd27
Size (kgb-7.2.tar.gz) = 61228 bytes
@

