git: 59cb7c1ce02c - main - devel/py-pastel: Do not install tests module

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=59cb7c1ce02c746c2afc3526aca9ba6375d092a1

commit 59cb7c1ce02c746c2afc3526aca9ba6375d092a1
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 12:59:50 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:36:58 +0000

    devel/py-pastel: Do not install tests module
    
    - Bump PORTREVISION for package change
    
    PR:             262759
    Reported by:    se
---
 devel/py-pastel/Makefile             |  1 +
 devel/py-pastel/files/patch-setup.py | 11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/devel/py-pastel/Makefile b/devel/py-pastel/Makefile
index 1ab6e5c846b7..3441c60cbef3 100644
--- a/devel/py-pastel/Makefile
+++ b/devel/py-pastel/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	pastel
 PORTVERSION=	0.2.1
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/py-pastel/files/patch-setup.py b/devel/py-pastel/files/patch-setup.py
new file mode 100644
index 000000000000..88a2a4ab102e
--- /dev/null
+++ b/devel/py-pastel/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2020-09-16 19:19:42 UTC
++++ setup.py
+@@ -2,7 +2,7 @@
+ from setuptools import setup
+ 
+ packages = \
+-['pastel', 'tests']
++['pastel']
+ 
+ package_data = \
+ {'': ['*']}