maintainer-feedback requested: [Bug 262602] math/py-pandas lists py-matplotlib unconditionally

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 16 Mar 2022 21:25:11 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-python (Nobody)
<python@FreeBSD.org> for maintainer-feedback:
Bug 262602: math/py-pandas lists py-matplotlib unconditionally
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262602



--- Description ---
I'm trying to build py-pandas to run on a production server and don't to deploy
an entire desktop environment to use it. The py-pandas port lists the
matplotlib as both an unconditional dependancy and a conditional dependency.
Even if the MPL option is disabled, a build tries to build py-matplotlib, which
depends on py-pillow, which depends on libraqm, which depends on harfbuzz,
which depends on ... You get the idea.

# cat Makefile.diff
--- Makefile	2022-03-16 16:16:52.998937000 -0500
+++ Makefile	2022-03-16 16:16:59.497658000 -0500
@@ -16,8 +16,7 @@
	       
${PYTHON_PKGNAMEPREFIX}numpy>=1.16.5,1:math/py-numpy@${PY_FLAVOR} \
	       
${PYTHON_PKGNAMEPREFIX}dateutil>=2.7.3:devel/py-dateutil@${PY_FLAVOR} \
	       
${PYTHON_PKGNAMEPREFIX}pytz>=2017.3,1:devel/py-pytz@${PY_FLAVOR} \
-	       
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
-	       
${PYTHON_PKGNAMEPREFIX}matplotlib>=2.1.2:math/py-matplotlib@${PY_FLAVOR}
+	       
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}arrow>=0:devel/py-arrow@${PY_FLAVOR}

 USES=		cpe python:3.7+