notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
py-pyhamcrest Hamcrest matchers for Python
1.9.0_1 textproc on this many watch lists=1 search for ports that depend on this port Find issues related to this port Report an issue related to this port 1.9.0Version of this port present on the latest quarterly branch.
Maintainer: search for ports maintained by this maintainer
Port Added: 2018-03-03 07:16:21
Last Update: 2019-02-14 19:45:33
SVN Revision: 492931
Also Listed In: python
SVNWeb : Homepage

There is no configure plist information for this port.

Dependency lines:
  • py27-PyHamcrest>0:textproc/py-pyhamcrest
To install the port: cd /usr/ports/textproc/py-pyhamcrest/ && make install clean
To add the package: pkg install py27-PyHamcrest
PKGNAME: py27-PyHamcrest
Package flavors (<flavor>: <package>)
  • py27: py27-PyHamcrest
  • py36: py36-PyHamcrest

NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py27-setuptools>0 : devel/py-setuptools@py27
  2. python2.7 : lang/python27
Runtime dependencies:
  1. py27-six>=1.4 : devel/py-six@py27
  2. py27-setuptools>0 : devel/py-setuptools@py27
  3. python2.7 : lang/python27
This port is required by:
for Build
  1. devel/py-twisted
for Run
  1. devel/py-twisted

Configuration Options


Master Sites:
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2017-11-30
    Affects: */py*
      Ports using Python via USES=python are now flavored.  All the py3-* ports
      have been removed and folded into their py-* master ports.
      People using Poudriere 3.2+ and binary packages do not have to do anything.
      For other people, to build the Python 3.6 version of, for example,
      databases/py-gdbm, you need to run:
        # make FLAVOR=py36 install

Number of commits found: 3

Commit History - (may be incomplete: see SVNWeb link above for full details)
14 Feb 2019 19:45:33
Original commit files touched by this commit  1.9.0_1
ultima search for other commits by this committer
* Revision bump for distfile change
* Changed MASTER_SITES to GitHub, GitHub includes test suite
* Added test target and depends, added for testing newer versions of python

PR:		235585
20 Jun 2018 17:05:44
Original commit files touched by this commit  1.9.0
mat search for other commits by this committer
Use PY_FLAVOR for dependencies.

FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
03 Mar 2018 07:16:13
Original commit files touched by this commit  1.9.0
ultima search for other commits by this committer
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. This tutorial shows you how to use
PyHamcrest for unit testing.

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.


Differential Revision:

Number of commits found: 3

User Login
Create account

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD

This site
What is FreshPorts?
About the authors
How big is it?
The latest upgrade!

Enter Keywords:

Latest Vulnerabilities
drm-current-kmodNov 20
drm-devel-kmodNov 20
drm-fbsd12.0-kmodNov 20
squidNov 19
libidn2Nov 18
gcpioNov 15
libmadNov 13
chromiumNov 12
wordpressNov 12
wordpressNov 12
wordpressNov 12
wordpressNov 12
wordpressNov 12
nexus2-ossNov 07
php71Nov 06

9 vulnerabilities affecting 115 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2019-11-20 10:58:20

Deleted ports
Sanity Test Failures

NEW Graphs (Javascript)

Calculated hourly:
Port count 38081
Broken 779
Deprecated 95
Ignore 1049
Forbidden 3
Restricted 157
Vulnerable 33
Expired 7
Set to expire 65
Interactive 0
new 24 hours 5
new 48 hours8
new 7 days35
new fortnight61
new month131

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2019 Dan Langille. All rights reserved.