Port details
py-boolean.py Create and parse boolean expressions and create custom boolean DSL
5.0 devel Σ=0 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 5.0Version of this port present on the latest quarterly branch.
Maintainer: kai@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2018-07-28 12:02:50
Last Update: 2026-05-23 15:45:08
Commit Hash: 9323258
Also Listed In: python
License: BSD2CLAUSE
WWW:
https://github.com/bastikr/boolean.py
Description: #
This library helps you deal with boolean expressions and algebra with variables and the boolean functions AND, OR, NOT. You can parse expressions from strings and simplify and compare expressions. You can also easily create your custom algreba and mini DSL and create custom tokenizers to handle custom expressions.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
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.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}boolean.py>0:devel/py-boolean.py@${PY_FLAVOR}
To install the port: #
cd /usr/ports/devel/py-boolean.py/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-boolean.py
  • pkg install py311-boolean.py
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-boolean.py listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-boolean.py
Package flavors (<flavor>: <package>) #
  • py311: py311-boolean.py
distinfo: #
TIMESTAMP = 1779505187 SHA256 (boolean_py-5.0.tar.gz) = 60cbc4bad079753721d32649545505362c754e121570ada4658b852a3a318d95 SIZE (boolean_py-5.0.tar.gz) = 37047

Packages (timestamps in pop-ups are UTC): #
py39-boolean.py
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest--4.0--
FreeBSD:14:quarterly-----
FreeBSD:15:latest--n/a-n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest CURRENT--n/a-n/a
 
py311-boolean.py
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest---4.0_1-
FreeBSD:14:quarterly---4.0_1-
FreeBSD:15:latest--n/a4.0_1n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest CURRENT--n/a-n/a
 
py312-boolean.py
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest5.05.0--5.0
FreeBSD:14:quarterly5.05.0--5.0
FreeBSD:15:latest5.05.0n/a-n/a
FreeBSD:15:quarterly5.05.0n/a-n/a
FreeBSD:16:latest CURRENT5.05.0n/a-n/a
 
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. py311-setuptools>=0 : devel/py-setuptools@py311
  2. py311-wheel>=0 : devel/py-wheel@py311
  3. py311-sphinx>=0,1 : textproc/py-sphinx@py311
  4. py311-sphinxcontrib-apidoc>=0.3.0 : textproc/py-sphinxcontrib-apidoc@py311
  5. python3.11 : lang/python311
  6. gmake>=4.4.1 : devel/gmake
  7. py311-build>=0 : devel/py-build@py311
  8. py311-installer>=0 : devel/py-installer@py311
Test dependencies: #
  1. py311-pytest-xdist>=2 : devel/py-pytest-xdist@py311
  2. py311-pytest>=7,1 : devel/py-pytest@py311
  3. python3.11 : lang/python311
Runtime dependencies: #
  1. python3.11 : lang/python311
This port is required by: #
for Run #
  1. textproc/py-license-expression

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. textproc/scancode-toolkit*
  2. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options: #
===> The following configuration options are available for py311-boolean.py-5.0: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings
Options name: #
devel_py-boolean.py
USES: #
python gmake
pkg-message: #
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/b/boolean_py/
  2. https://pypi.org/packages/source/b/boolean_py/
Collapse this list.

Number of commits found: 16 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
5.0
23 May 2026 15:45:08
commit hash: 9323258151a86421dbb4718400f7b3a1a8861060commit hash: 9323258151a86421dbb4718400f7b3a1a8861060commit hash: 9323258151a86421dbb4718400f7b3a1a8861060commit hash: 9323258151a86421dbb4718400f7b3a1a8861060 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
devel/py-boolean.py: update to 5.0

Changelog: https://github.com/bastikr/boolean.py/blob/v5.0/CHANGELOG.rst

- switch to USE_PYTHON=pep517
- build docs with provided Makefile instead of through USE_PYTHON=distutils
- tests switched to pytest, hence USE_PYTHON=pytest

Approved by: kai (maintainer)
Differential Revision: https://reviews.freebsd.org/D57192
4.0_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.
4.0
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
4.0
11 Jan 2023 15:58:34
commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
4.0
20 Dec 2022 09:13:10
commit hash: 8f09d36a9ccf74b2231dd8e50ccf5f06bba1fb34commit hash: 8f09d36a9ccf74b2231dd8e50ccf5f06bba1fb34commit hash: 8f09d36a9ccf74b2231dd8e50ccf5f06bba1fb34commit hash: 8f09d36a9ccf74b2231dd8e50ccf5f06bba1fb34 files touched by this commit
Kai Knoblich (kai) search for other commits by this committer
devel/py-boolean.py: Update to 4.0

* Switch to USE_PYTHON=unittest while I'm here.

Changelog:

https://github.com/bastikr/boolean.py/blob/v4.0/CHANGELOG.rst
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
3.8
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
3.8
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
3.8
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
3.8
14 Jan 2021 14:34:38
Revision:561562commit hash: b53abbd83959f988ae99f8ae807bc05bb3ad1522commit hash: b53abbd83959f988ae99f8ae807bc05bb3ad1522commit hash: b53abbd83959f988ae99f8ae807bc05bb3ad1522commit hash: b53abbd83959f988ae99f8ae807bc05bb3ad1522Original commit files touched by this commit
dbaio search for other commits by this committer
Remove PY_SPHINX from ports using Python 3

Approved by:	 portmgr blanket
Differential Revision:	https://reviews.freebsd.org/D28093
3.8
28 Dec 2020 23:02:15
Revision:559531commit hash: aa7a6c429ea62d972467d6755fa7a6f52256b452commit hash: aa7a6c429ea62d972467d6755fa7a6f52256b452commit hash: aa7a6c429ea62d972467d6755fa7a6f52256b452commit hash: aa7a6c429ea62d972467d6755fa7a6f52256b452Original commit files touched by this commit
antoine search for other commits by this committer
Drop python 2.7 support from a few ports

With hat:	portmgr
3.8
10 Jul 2020 06:30:38
Revision:541844commit hash: 68783a07c8519b5915a16ee24ed249e16710d13bcommit hash: 68783a07c8519b5915a16ee24ed249e16710d13bcommit hash: 68783a07c8519b5915a16ee24ed249e16710d13bcommit hash: 68783a07c8519b5915a16ee24ed249e16710d13bOriginal commit files touched by this commit
kai search for other commits by this committer
devel/py-boolean.py: Update to 3.8

* Switch to PyPI as tarballs can be retrieved there now.

Changelog since 3.6:

https://github.com/bastikr/boolean.py/blob/v3.8/CHANGELOG.rst

MFH:		No (contains more API changes than bugfixes)
3.6
11 May 2020 23:51:58
Revision:534966commit hash: 75a5f7f0762c1039d83da77f699eed5f26998731commit hash: 75a5f7f0762c1039d83da77f699eed5f26998731commit hash: 75a5f7f0762c1039d83da77f699eed5f26998731commit hash: 75a5f7f0762c1039d83da77f699eed5f26998731Original commit files touched by this commit
dbaio search for other commits by this committer
Update Sphinx

- Repocopy textproc/py-sphinx to textproc/py-sphinx18

  Update it to 1.8.5 (latest version from 1.8.X).
  This version supports Python 2 and 3.
  Add test target.

- textproc/py-sphinx: Update to 3.0.2

  Python 3 only (3.5+).
  Add test target.

- Mk/Uses/python.mk: Add PY_SPHINX
(Only the first 15 lines of the commit message are shown above View all of this commit message)
3.6
01 Feb 2019 18:55:18
Revision:491837commit hash: 6a4a5116bfc57813eab3c6a44a6f3ebcc525cccdcommit hash: 6a4a5116bfc57813eab3c6a44a6f3ebcc525cccdcommit hash: 6a4a5116bfc57813eab3c6a44a6f3ebcc525cccdcommit hash: 6a4a5116bfc57813eab3c6a44a6f3ebcc525cccdOriginal commit files touched by this commit
kai search for other commits by this committer
Change my maintainer email address to my new one at the FreeBSD project.

Reviewed by:	miwi (mentor)
Approved by:	miwi (mentor)
Differential Revision: https://reviews.freebsd.org/D19050
3.6
05 Jan 2019 20:59:34
Revision:489381commit hash: a5fc4854ee44c214257f76744ec212463ce8eee8commit hash: a5fc4854ee44c214257f76744ec212463ce8eee8commit hash: a5fc4854ee44c214257f76744ec212463ce8eee8commit hash: a5fc4854ee44c214257f76744ec212463ce8eee8Original commit files touched by this commit
swills search for other commits by this committer
devel/py-boolean.py: Update to 3.6

PR:		232881
Submitted by:	Kai <freebsd_ports@k-worx.org> (maintainer)
3.5
28 Jul 2018 12:00:34
Revision:475527commit hash: 9af828f850106f04ada42a4a88f63aee5a13d8b2commit hash: 9af828f850106f04ada42a4a88f63aee5a13d8b2commit hash: 9af828f850106f04ada42a4a88f63aee5a13d8b2commit hash: 9af828f850106f04ada42a4a88f63aee5a13d8b2Original commit files touched by this commit
miwi search for other commits by this committer
This library helps you deal with boolean expressions and algebra with variables
and the boolean functions AND, OR, NOT.

You can parse expressions from strings and simplify and compare expressions. You
can also easily create your custom algreba and mini DSL and create custom
tokenizers to handle custom expressions.

WWW: https://github.com/bastikr/boolean.py

PR:		229437
Submitted by:	freebsd_ports@k-worx.org
Sponsored by:	iXsystems Inc.

Number of commits found: 16