Bug 229437 - [NEW PORT] devel/py-boolean.py: Create and parse boolean expressions and create custom boolean DSL
Summary: [NEW PORT] devel/py-boolean.py: Create and parse boolean expressions and crea...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Martin Wilke
URL: https://pypi.org/project/boolean.py/
Keywords:
Depends on:
Blocks: 229449
  Show dependency treegraph
 
Reported: 2018-06-30 21:54 UTC by Kai Knoblich
Modified: 2018-07-28 12:01 UTC (History)
2 users (show)

See Also:


Attachments
py-boolean.py.patch (2.96 KB, patch)
2018-06-30 21:54 UTC, Kai Knoblich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Knoblich freebsd_committer freebsd_triage 2018-06-30 21:54:59 UTC
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)
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-07-28 12:01:02 UTC
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