git: b1e7cba4f51f - main - graphics/py-mpl-interactions: do not install tests

From: Max Brazhnikov <makc_at_FreeBSD.org>
Date: Tue, 24 May 2022 16:25:13 UTC
The branch main has been updated by makc:

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

commit b1e7cba4f51fc1aaa1816d81e293016a600019dc
Author:     Max Brazhnikov <makc@FreeBSD.org>
AuthorDate: 2022-05-24 16:24:45 +0000
Commit:     Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2022-05-24 16:24:45 +0000

    graphics/py-mpl-interactions: do not install tests
    
    PR:     262759
---
 graphics/py-mpl-interactions/Makefile              |  1 +
 graphics/py-mpl-interactions/files/patch-setup.cfg | 13 +++++++++++++
 2 files changed, 14 insertions(+)

diff --git a/graphics/py-mpl-interactions/Makefile b/graphics/py-mpl-interactions/Makefile
index 441d8a42aab6..16c0eeb7a6be 100644
--- a/graphics/py-mpl-interactions/Makefile
+++ b/graphics/py-mpl-interactions/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	mpl-interactions
 DISTVERSION=	0.21.0
+PORTREVISION=	1
 CATEGORIES=	graphics python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/graphics/py-mpl-interactions/files/patch-setup.cfg b/graphics/py-mpl-interactions/files/patch-setup.cfg
new file mode 100644
index 000000000000..d66f9e9b06fa
--- /dev/null
+++ b/graphics/py-mpl-interactions/files/patch-setup.cfg
@@ -0,0 +1,13 @@
+--- setup.cfg.orig	2022-04-18 18:59:27 UTC
++++ setup.cfg
+@@ -38,6 +38,10 @@ install_requires = 
+ 	matplotlib >= 3.4
+ packages = find:
+ 
++[options.packages.find]
++exclude =
++	tests*
++
+ [options.extras_require]
+ jupyter = 
+ 	ipywidgets >= 7.5.0