git: 14ee5be8126f - main - devel/py-simpleparse: Do not install examples and tests modules

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 25 Mar 2022 13:44:24 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=14ee5be8126f984c9f810c8f72df6ced0e38be36

commit 14ee5be8126f984c9f810c8f72df6ced0e38be36
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 13:00:04 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:37:01 +0000

    devel/py-simpleparse: Do not install examples and tests modules
    
    - Bump PORTREVISION for package change
    
    PR:             262759
    Reported by:    se
---
 devel/py-simpleparse/files/patch-setup.py | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/devel/py-simpleparse/files/patch-setup.py b/devel/py-simpleparse/files/patch-setup.py
new file mode 100644
index 000000000000..2d4d816a280e
--- /dev/null
+++ b/devel/py-simpleparse/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2020-03-07 01:30:49 UTC
++++ setup.py
+@@ -29,7 +29,7 @@ if sys.platform == 'win32':
+     )['define'] = 'BAD_STATIC_FORWARD'
+ 
+ if __name__ == "__main__":
+-    packages = find_packages(HERE)
++    packages = find_packages(exclude=['examples*', 'tests*'])
+     setup (
+         name = "SimpleParse",
+         version = findVersion(),