$runtimeBitsarray(2) { [0]=> string(2) "py" [1]=> string(3) "311" } $runtimeBitsarray(2) { [0]=> string(2) "py" [1]=> string(2) "39" }
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/freshports/include/freshports.php:2821) in /usr/local/www/freshports/rewrite/missing-port.php on line 949

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/freshports/include/freshports.php:2821) in /usr/local/www/freshports/include/freshports.php on line 1022
FreshPorts -- devel/py-assertpy: Simple assertions library for unit testing in Python
notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it''''''''s already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details
py-assertpy Simple assertions library for unit testing in Python
1.1_1 devel on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.1Version of this port present on the latest quarterly branch.
Maintainer: matthew@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-09-22 18:30:13
Last Update: 2025-03-08 04:05:21
Commit Hash: 06a08e6
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
Also Listed In: python
License: BSD3CLAUSE
WWW:
https://github.com/assertpy/assertpy
Description:
Simple assertions library for unit testing in Python with a nice fluent API. Supports both Python 2 and 3. Just import the assert_that function, and away you go... Of course, assertpy works best with a python test runner like pytest (our favorite) or Nose.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}assertpy>0:devel/py-assertpy@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-assertpy/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-assertpy
  • pkg install py311-assertpy
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-assertpy listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-assertpy
Package flavors (<flavor>: <package>)
  • py311: py311-assertpy
distinfo:
TIMESTAMP = 1693728491 SHA256 (assertpy-1.1.tar.gz) = acc64329934ad71a3221de185517a43af33e373bb44dc05b5a9b174394ef4833 SIZE (assertpy-1.1.tar.gz) = 25421

Packages (timestamps in pop-ups are UTC):
py39-assertpy
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly-----1.11.11.1
FreeBSD:14:latest--------
FreeBSD:14:quarterly-----1.11.11.1
FreeBSD:15:latest--n/a-n/a1.11.11.1
 

py311-assertpy
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.1_11.1_1-1.1_11.1_1---
FreeBSD:13:quarterly1.1_11.1_1-1.1_11.1_1---
FreeBSD:14:latest1.1_11.1_1-1.1_11.1_1---
FreeBSD:14:quarterly1.11.1_1-1.11.1_1---
FreeBSD:15:latest1.1_11.1_1n/a1.1_1n/a---
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  2. python3.11 : lang/python311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. python3.11 : lang/python311
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_py-assertpy
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/a/assertpy/
  2. https://pypi.org/packages/source/a/assertpy/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.1_1
08 Mar 2025 04:05:21
commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal

Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
1.1
22 Sep 2023 18:29:28
commit hash: fe5230eba98968dab8737a7f159c9efd149ff014commit hash: fe5230eba98968dab8737a7f159c9efd149ff014commit hash: fe5230eba98968dab8737a7f159c9efd149ff014commit hash: fe5230eba98968dab8737a7f159c9efd149ff014 files touched by this commit
Matthew Seaman (matthew) search for other commits by this committer
devel/py-assertpy: New port

Simple assertions library for unit testing in Python

Number of commits found: 2