devel/py-hamcrest - The NetBSD Packages Collection

Framework for writing matcher objects

PyHamcrest is a framework for writing matcher objects, allowing you to
declaratively define "match" rules. There are a number of situations where
matchers are invaluable, such as UI validation, or data filtering, but it is in
the area of writing flexible tests that matchers are most commonly used.

When writing tests it is sometimes difficult to get the balance right between
overspecifying the test (and making it brittle to changes), and not specifying
enough (making the test less valuable since it continues to pass even when the
thing being tested is broken). Having a tool that allows you to pick out
precisely the aspect under test and describe the values it should have, to a
controlled level of precision, helps greatly in writing tests that are "just
right." Such tests fail when the behavior of the aspect under test deviates
from the expected behavior, yet continue to pass when minor, unrelated changes
to the behaviour are made.

Build dependencies

devel/py-hatchling devel/py-hatch-vcs devel/py-setuptools_scm devel/py-build misc/py-installer pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

lang/python312 lang/python312

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64py310-hamcrest-2.1.0.tgz
NetBSD 10.0aarch64py311-hamcrest-2.1.0.tgz
NetBSD 10.0aarch64py312-hamcrest-2.1.0.tgz
NetBSD 10.0aarch64py310-hamcrest-2.1.0.tgz
NetBSD 10.0aarch64py311-hamcrest-2.1.0.tgz
NetBSD 10.0aarch64py312-hamcrest-2.1.0.tgz
NetBSD 10.0aarch64py38-hamcrest-2.1.0.tgz
NetBSD 10.0aarch64py39-hamcrest-2.1.0.tgz
NetBSD 10.0aarch64ebpy310-hamcrest-2.1.0.tgz
NetBSD 10.0aarch64ebpy311-hamcrest-2.1.0.tgz
NetBSD 10.0aarch64ebpy312-hamcrest-2.1.0.tgz
NetBSD 10.0aarch64ebpy38-hamcrest-2.1.0.tgz
NetBSD 10.0aarch64ebpy39-hamcrest-2.1.0.tgz
NetBSD 10.0aarch64ebpy310-hamcrest-2.1.0.tgz
NetBSD 10.0aarch64ebpy311-hamcrest-2.1.0.tgz
NetBSD 10.0aarch64ebpy312-hamcrest-2.1.0.tgz
NetBSD 10.0aarch64ebpy38-hamcrest-2.1.0.tgz
NetBSD 10.0aarch64ebpy39-hamcrest-2.1.0.tgz
NetBSD 10.0alphapy310-hamcrest-2.1.0.tgz
NetBSD 10.0alphapy311-hamcrest-2.1.0.tgz
NetBSD 10.0alphapy312-hamcrest-2.1.0.tgz
NetBSD 10.0alphapy38-hamcrest-2.1.0.tgz
NetBSD 10.0alphapy39-hamcrest-2.1.0.tgz
NetBSD 10.0alphapy310-hamcrest-2.1.0.tgz
NetBSD 10.0alphapy311-hamcrest-2.1.0.tgz
NetBSD 10.0alphapy312-hamcrest-2.1.0.tgz
NetBSD 10.0alphapy38-hamcrest-2.1.0.tgz
NetBSD 10.0alphapy39-hamcrest-2.1.0.tgz
NetBSD 10.0earmv6hfpy310-hamcrest-2.1.0.tgz
NetBSD 10.0earmv6hfpy311-hamcrest-2.1.0.tgz
NetBSD 10.0earmv6hfpy312-hamcrest-2.1.0.tgz
NetBSD 10.0earmv6hfpy310-hamcrest-2.1.0.tgz
NetBSD 10.0earmv6hfpy311-hamcrest-2.1.0.tgz
NetBSD 10.0earmv6hfpy312-hamcrest-2.1.0.tgz
NetBSD 10.0earmv6hfpy38-hamcrest-2.1.0.tgz
NetBSD 10.0earmv6hfpy39-hamcrest-2.1.0.tgz
NetBSD 10.0earmv6hfpy310-hamcrest-2.1.0.tgz
NetBSD 10.0earmv6hfpy311-hamcrest-2.1.0.tgz
NetBSD 10.0earmv6hfpy312-hamcrest-2.1.0.tgz
NetBSD 10.0earmv6hfpy38-hamcrest-2.1.0.tgz
NetBSD 10.0earmv6hfpy39-hamcrest-2.1.0.tgz
NetBSD 10.0earmv7hfpy310-hamcrest-2.1.0.tgz
NetBSD 10.0earmv7hfpy311-hamcrest-2.1.0.tgz
NetBSD 10.0earmv7hfpy312-hamcrest-2.1.0.tgz
NetBSD 10.0earmv7hfpy310-hamcrest-2.1.0.tgz
NetBSD 10.0earmv7hfpy311-hamcrest-2.1.0.tgz
NetBSD 10.0earmv7hfpy312-hamcrest-2.1.0.tgz
NetBSD 10.0earmv7hfpy38-hamcrest-2.1.0.tgz
NetBSD 10.0earmv7hfpy39-hamcrest-2.1.0.tgz
NetBSD 10.0earmv7hfpy310-hamcrest-2.1.0.tgz
NetBSD 10.0earmv7hfpy311-hamcrest-2.1.0.tgz
NetBSD 10.0earmv7hfpy312-hamcrest-2.1.0.tgz
NetBSD 10.0earmv7hfpy38-hamcrest-2.1.0.tgz
NetBSD 10.0earmv7hfpy39-hamcrest-2.1.0.tgz
NetBSD 10.0i386py310-hamcrest-2.1.0.tgz
NetBSD 10.0i386py311-hamcrest-2.1.0.tgz
NetBSD 10.0i386py312-hamcrest-2.1.0.tgz
NetBSD 10.0i386py310-hamcrest-2.1.0.tgz
NetBSD 10.0i386py311-hamcrest-2.1.0.tgz
NetBSD 10.0i386py312-hamcrest-2.1.0.tgz
NetBSD 10.0i386py38-hamcrest-2.1.0.tgz
NetBSD 10.0i386py39-hamcrest-2.1.0.tgz
NetBSD 10.0powerpcpy310-hamcrest-2.0.4.tgz
NetBSD 10.0powerpcpy311-hamcrest-2.0.4.tgz
NetBSD 10.0powerpcpy38-hamcrest-2.0.4.tgz
NetBSD 10.0powerpcpy39-hamcrest-2.0.4.tgz
NetBSD 10.0powerpcpy310-hamcrest-2.1.0.tgz
NetBSD 10.0powerpcpy311-hamcrest-2.1.0.tgz
NetBSD 10.0powerpcpy312-hamcrest-2.1.0.tgz
NetBSD 10.0powerpcpy38-hamcrest-2.1.0.tgz
NetBSD 10.0powerpcpy39-hamcrest-2.1.0.tgz
NetBSD 10.0powerpcpy310-hamcrest-2.1.0.tgz
NetBSD 10.0powerpcpy311-hamcrest-2.1.0.tgz
NetBSD 10.0powerpcpy312-hamcrest-2.1.0.tgz
NetBSD 10.0powerpcpy38-hamcrest-2.1.0.tgz
NetBSD 10.0powerpcpy39-hamcrest-2.1.0.tgz
NetBSD 10.0sh3elpy311-hamcrest-2.1.0.tgz
NetBSD 10.0sparc64py310-hamcrest-2.1.0.tgz
NetBSD 10.0sparc64py311-hamcrest-2.1.0.tgz
NetBSD 10.0sparc64py312-hamcrest-2.1.0.tgz
NetBSD 10.0sparc64py38-hamcrest-2.1.0.tgz
NetBSD 10.0sparc64py39-hamcrest-2.1.0.tgz
NetBSD 10.0sparc64py310-hamcrest-2.1.0.tgz
NetBSD 10.0sparc64py311-hamcrest-2.1.0.tgz
NetBSD 10.0sparc64py312-hamcrest-2.1.0.tgz
NetBSD 10.0sparc64py38-hamcrest-2.1.0.tgz
NetBSD 10.0sparc64py39-hamcrest-2.1.0.tgz
NetBSD 10.0sparcpy310-hamcrest-2.1.0.tgz
NetBSD 10.0sparcpy311-hamcrest-2.1.0.tgz
NetBSD 10.0sparcpy312-hamcrest-2.1.0.tgz
NetBSD 10.0sparcpy38-hamcrest-2.1.0.tgz
NetBSD 10.0sparcpy39-hamcrest-2.1.0.tgz
NetBSD 10.0sparcpy310-hamcrest-2.1.0.tgz
NetBSD 10.0sparcpy311-hamcrest-2.1.0.tgz
NetBSD 10.0sparcpy312-hamcrest-2.1.0.tgz
NetBSD 10.0sparcpy38-hamcrest-2.1.0.tgz
NetBSD 10.0sparcpy39-hamcrest-2.1.0.tgz
NetBSD 10.0x86_64py310-hamcrest-2.1.0.tgz
NetBSD 10.0x86_64py311-hamcrest-2.1.0.tgz
NetBSD 10.0x86_64py312-hamcrest-2.1.0.tgz
NetBSD 10.0x86_64py310-hamcrest-2.1.0.tgz
NetBSD 10.0x86_64py311-hamcrest-2.1.0.tgz
NetBSD 10.0x86_64py312-hamcrest-2.1.0.tgz
NetBSD 10.0x86_64py38-hamcrest-2.1.0.tgz
NetBSD 10.0x86_64py39-hamcrest-2.1.0.tgz
NetBSD 9.0aarch64py310-hamcrest-2.1.0.tgz
NetBSD 9.0aarch64py311-hamcrest-2.1.0.tgz
NetBSD 9.0aarch64py312-hamcrest-2.1.0.tgz
NetBSD 9.0aarch64py310-hamcrest-2.1.0.tgz
NetBSD 9.0aarch64py311-hamcrest-2.1.0.tgz
NetBSD 9.0aarch64py312-hamcrest-2.1.0.tgz
NetBSD 9.0aarch64py38-hamcrest-2.1.0.tgz
NetBSD 9.0aarch64py39-hamcrest-2.1.0.tgz
NetBSD 9.0alphapy310-hamcrest-2.1.0.tgz
NetBSD 9.0alphapy311-hamcrest-2.1.0.tgz
NetBSD 9.0alphapy310-hamcrest-2.1.0.tgz
NetBSD 9.0alphapy311-hamcrest-2.1.0.tgz
NetBSD 9.0earmv6hfpy310-hamcrest-2.1.0.tgz
NetBSD 9.0earmv6hfpy311-hamcrest-2.1.0.tgz
NetBSD 9.0earmv6hfpy312-hamcrest-2.1.0.tgz
NetBSD 9.0earmv6hfpy310-hamcrest-2.1.0.tgz
NetBSD 9.0earmv6hfpy311-hamcrest-2.1.0.tgz
NetBSD 9.0earmv6hfpy38-hamcrest-2.1.0.tgz
NetBSD 9.0earmv6hfpy39-hamcrest-2.1.0.tgz
NetBSD 9.0earmv6hfpy310-hamcrest-2.1.0.tgz
NetBSD 9.0earmv6hfpy311-hamcrest-2.1.0.tgz
NetBSD 9.0earmv6hfpy38-hamcrest-2.1.0.tgz
NetBSD 9.0earmv6hfpy39-hamcrest-2.1.0.tgz
NetBSD 9.0earmv7hfpy310-hamcrest-2.1.0.tgz
NetBSD 9.0earmv7hfpy311-hamcrest-2.1.0.tgz
NetBSD 9.0earmv7hfpy312-hamcrest-2.1.0.tgz
NetBSD 9.0earmv7hfpy310-hamcrest-2.1.0.tgz
NetBSD 9.0earmv7hfpy311-hamcrest-2.1.0.tgz
NetBSD 9.0earmv7hfpy38-hamcrest-2.1.0.tgz
NetBSD 9.0earmv7hfpy39-hamcrest-2.1.0.tgz
NetBSD 9.0earmv7hfpy310-hamcrest-2.1.0.tgz
NetBSD 9.0earmv7hfpy311-hamcrest-2.1.0.tgz
NetBSD 9.0earmv7hfpy38-hamcrest-2.1.0.tgz
NetBSD 9.0earmv7hfpy39-hamcrest-2.1.0.tgz
NetBSD 9.0i386py310-hamcrest-2.1.0.tgz
NetBSD 9.0i386py311-hamcrest-2.1.0.tgz
NetBSD 9.0i386py312-hamcrest-2.1.0.tgz
NetBSD 9.0i386py310-hamcrest-2.1.0.tgz
NetBSD 9.0i386py311-hamcrest-2.1.0.tgz
NetBSD 9.0i386py312-hamcrest-2.1.0.tgz
NetBSD 9.0i386py38-hamcrest-2.1.0.tgz
NetBSD 9.0i386py39-hamcrest-2.1.0.tgz
NetBSD 9.0powerpcpy310-hamcrest-2.1.0.tgz
NetBSD 9.0powerpcpy311-hamcrest-2.1.0.tgz
NetBSD 9.0powerpcpy312-hamcrest-2.1.0.tgz
NetBSD 9.0powerpcpy38-hamcrest-2.1.0.tgz
NetBSD 9.0powerpcpy39-hamcrest-2.1.0.tgz
NetBSD 9.0powerpcpy310-hamcrest-2.0.4.tgz
NetBSD 9.0powerpcpy311-hamcrest-2.0.4.tgz
NetBSD 9.0powerpcpy38-hamcrest-2.0.4.tgz
NetBSD 9.0powerpcpy39-hamcrest-2.0.4.tgz
NetBSD 9.0powerpcpy310-hamcrest-2.1.0.tgz
NetBSD 9.0powerpcpy311-hamcrest-2.1.0.tgz
NetBSD 9.0powerpcpy312-hamcrest-2.1.0.tgz
NetBSD 9.0powerpcpy38-hamcrest-2.1.0.tgz
NetBSD 9.0powerpcpy39-hamcrest-2.1.0.tgz
NetBSD 9.0sparc64py310-hamcrest-2.1.0.tgz
NetBSD 9.0sparc64py312-hamcrest-2.1.0.tgz
NetBSD 9.0sparc64py38-hamcrest-2.1.0.tgz
NetBSD 9.0sparc64py39-hamcrest-2.1.0.tgz
NetBSD 9.0sparc64py310-hamcrest-2.1.0.tgz
NetBSD 9.0sparc64py312-hamcrest-2.1.0.tgz
NetBSD 9.0x86_64py310-hamcrest-2.1.0.tgz
NetBSD 9.0x86_64py311-hamcrest-2.1.0.tgz
NetBSD 9.0x86_64py312-hamcrest-2.1.0.tgz
NetBSD 9.0x86_64py310-hamcrest-2.1.0.tgz
NetBSD 9.0x86_64py311-hamcrest-2.1.0.tgz
NetBSD 9.0x86_64py312-hamcrest-2.1.0.tgz
NetBSD 9.0x86_64py38-hamcrest-2.1.0.tgz
NetBSD 9.0x86_64py39-hamcrest-2.1.0.tgz
NetBSD 9.3x86_64py310-hamcrest-2.1.0.tgz
NetBSD 9.3x86_64py311-hamcrest-2.1.0.tgz
NetBSD 9.3x86_64py312-hamcrest-2.1.0.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.