diff --git a/devel/Makefile b/devel/Makefile index 7cec7b2157c4..5ffafad33fc4 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -3995,6 +3995,7 @@ SUBDIR += pwlib SUBDIR += py-Acquisition SUBDIR += py-AddOns + SUBDIR += py-Automat SUBDIR += py-Breve SUBDIR += py-BytecodeAssembler SUBDIR += py-DateTime diff --git a/devel/py-Automat/Makefile b/devel/py-Automat/Makefile new file mode 100644 index 000000000000..709e50d13c62 --- /dev/null +++ b/devel/py-Automat/Makefile @@ -0,0 +1,26 @@ +# Created by: John W. O'Brien +# $FreeBSD$ + +PORTNAME= Automat +PORTVERSION= 0.5.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= john@saltant.com +COMMENT= Finite-state machines in Python + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm \ + ${PYTHON_PKGNAMEPREFIX}m2r>0:textproc/py-m2r +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>0:devel/py-attrs \ + ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six + +USES= python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/devel/py-Automat/distinfo b/devel/py-Automat/distinfo new file mode 100644 index 000000000000..8790c94b0cb8 --- /dev/null +++ b/devel/py-Automat/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1487351142 +SHA256 (Automat-0.5.0.tar.gz) = 4889ec6763377432ec4db265ad552bbe956768ea3fff39014855308ba79dd7c2 +SIZE (Automat-0.5.0.tar.gz) = 32599 diff --git a/devel/py-Automat/files/patch-setup.py b/devel/py-Automat/files/patch-setup.py new file mode 100644 index 000000000000..60c6cef28a9f --- /dev/null +++ b/devel/py-Automat/files/patch-setup.py @@ -0,0 +1,13 @@ +--- setup.py.orig 2017-02-18 00:40:15 UTC ++++ setup.py +@@ -39,8 +39,8 @@ setup( + "automat-visualize = automat._visualize:tool" + ], + }, +- author_name='Glyph', +- author_mail='glyph@twistedmatrix.com', ++ author='Glyph', ++ author_email='glyph@twistedmatrix.com', + include_package_data=True, + license="MIT", + keywords='fsm finite state machine automata', diff --git a/devel/py-Automat/pkg-descr b/devel/py-Automat/pkg-descr new file mode 100644 index 000000000000..693193f93129 --- /dev/null +++ b/devel/py-Automat/pkg-descr @@ -0,0 +1,5 @@ +Automat is a library for concise, idiomatic Python expression of +finite-state automata (particularly deterministic finite-state +transducers). + +WWW: https://github.com/glyph/Automat