svn commit: r475527 - in head/devel: . py-boolean.py

Martin Wilke miwi at FreeBSD.org
Sat Jul 28 12:00:36 UTC 2018


Author: miwi
Date: Sat Jul 28 12:00:34 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 at k-worx.org
  Sponsored by:	iXsystems Inc.

Added:
  head/devel/py-boolean.py/
  head/devel/py-boolean.py/Makefile   (contents, props changed)
  head/devel/py-boolean.py/distinfo   (contents, props changed)
  head/devel/py-boolean.py/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sat Jul 28 11:59:35 2018	(r475526)
+++ head/devel/Makefile	Sat Jul 28 12:00:34 2018	(r475527)
@@ -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

Added: head/devel/py-boolean.py/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-boolean.py/Makefile	Sat Jul 28 12:00:34 2018	(r475527)
@@ -0,0 +1,34 @@
+# $FreeBSD$
+
+PORTNAME=	boolean.py
+DISTVERSION=	3.5
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	freebsd_ports at 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>

Added: head/devel/py-boolean.py/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-boolean.py/distinfo	Sat Jul 28 12:00:34 2018	(r475527)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1530189387
+SHA256 (boolean.py-3.5.tar.gz) = fba0dff8a3ab5a129640c0d6adcf0595ed352d92aab1e1947a6ded4d8cfe4c33
+SIZE (boolean.py-3.5.tar.gz) = 29907

Added: head/devel/py-boolean.py/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-boolean.py/pkg-descr	Sat Jul 28 12:00:34 2018	(r475527)
@@ -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


More information about the svn-ports-all mailing list