mirror of
https://github.com/openwrt/packages.git
synced 2025-12-19 17:11:21 +00:00
python-automat: new package
This is a new requirement for the Twisted package. From the readme: Automat is a library for concise, idiomatic Python expression of finite-state automata (particularly deterministic finite-state transducers). Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
19
lang/python/python-automat/patches/003-omit-tests.patch
Normal file
19
lang/python/python-automat/patches/003-omit-tests.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -21,7 +21,7 @@ setup(
|
||||
Self-service finite-state machines for the programmer on the go.
|
||||
""".strip(),
|
||||
long_description=long_description,
|
||||
- packages=find_packages(exclude=[]),
|
||||
+ packages=find_packages(exclude=["*._test", "*._test.*"]),
|
||||
package_dir={'automat': 'automat'},
|
||||
install_requires=[
|
||||
"attrs",
|
||||
@@ -30,6 +30,7 @@ setup(
|
||||
author='Glyph',
|
||||
author_email='glyph@twistedmatrix.com',
|
||||
include_package_data=True,
|
||||
+ exclude_package_data={'':['_test/*']},
|
||||
license="MIT",
|
||||
keywords='fsm finite state machine automata',
|
||||
)
|
||||
Reference in New Issue
Block a user