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.
This commit is contained in:
Martin Wilke 2018-07-28 12:00:34 +00:00
parent ec958f8108
commit 9af828f850
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=475527
4 changed files with 46 additions and 0 deletions

View file

@ -4380,6 +4380,7 @@
SUBDIR += py-blinker
SUBDIR += py-blist
SUBDIR += py-bluelet
SUBDIR += py-boolean.py
SUBDIR += py-boto
SUBDIR += py-botocore
SUBDIR += py-bsd

View file

@ -0,0 +1,34 @@
# $FreeBSD$
PORTNAME= boolean.py
DISTVERSION= 3.5
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= freebsd_ports@k-worx.org
COMMENT= Create and parse boolean expressions and create custom boolean DSL
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= python
USE_PYTHON= distutils concurrent autoplist
NO_ARCH= yes
PORTDOCS= *
OPTIONS_DEFINE= DOCS
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR}
DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E"
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/build/sphinx/html && \
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \
"! -name .buildinfo -and ! -name objects.inv")
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1530189387
SHA256 (boolean.py-3.5.tar.gz) = fba0dff8a3ab5a129640c0d6adcf0595ed352d92aab1e1947a6ded4d8cfe4c33
SIZE (boolean.py-3.5.tar.gz) = 29907

View file

@ -0,0 +1,8 @@
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