git: 066667e00dfb - 2022Q2 - graphics/py-mpl-interactions: do not install tests

From: Max Brazhnikov <makc_at_FreeBSD.org>
Date: Wed, 25 May 2022 08:33:51 UTC
The branch 2022Q2 has been updated by makc:

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

commit 066667e00dfb068f4c480f0b710f4ea838b530eb
Author:     Max Brazhnikov <makc@FreeBSD.org>
AuthorDate: 2022-05-24 16:24:45 +0000
Commit:     Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2022-05-25 08:32:31 +0000

    graphics/py-mpl-interactions: do not install tests
    
    PR:     262759
    (cherry picked from commit b1e7cba4f51fc1aaa1816d81e293016a600019dc)
---
 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