[Bug 229437] [NEW PORT] devel/py-boolean.py: Create and parse boolean expressions and create custom boolean DSL

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jun 30 21:55:01 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229437

            Bug ID: 229437
           Summary: [NEW PORT] devel/py-boolean.py: Create and parse
                    boolean expressions and create custom boolean DSL
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://pypi.org/project/boolean.py/
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: freebsd_ports at k-worx.org
                CC: python at FreeBSD.org

Created attachment 194800
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=194800&action=edit
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)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-python mailing list