Created attachment 194800 [details] py-boolean.py.patch Hello, attached is the patch that adds the Python package devel/py-boolean.py, which helps one to deal with boolean expressions and algebra with variables and the boolean functions AND, OR, NOT. One can parse expressions from strings and simplify and compare expressions. One can also easily create your custom algreba and mini DSL and create custom tokenizers to handle custom expressions. QA: ~~~ - poudriere (11.2-RELEASE amd64 + i386) for each py27 + py36 flavor -> OK - portlint -> OK make test results: > Ran 69 tests in 0.174s > > OK (expected failures=4)
A commit references this bug: Author: miwi Date: Sat Jul 28 12:00:35 UTC 2018 New revision: 475527 URL: https://svnweb.freebsd.org/changeset/ports/475527 Log: 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. Changes: head/devel/Makefile head/devel/py-boolean.py/ head/devel/py-boolean.py/Makefile head/devel/py-boolean.py/distinfo head/devel/py-boolean.py/pkg-descr