pkgsrc/graphics/py-matplotlib/Makefile

37 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.75 2022/06/18 21:07:14 wiz Exp $
DISTNAME= matplotlib-3.5.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= graphics python
MASTER_SITES= ${MASTER_SITE_PYPI:=m/matplotlib/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://matplotlib.org/
COMMENT= Matlab-style plotting package for Python
# LICENSE= see ${WRKSRC}/LICENSE/LICENSE
DEPENDS+= ${PYPKGPREFIX}-Pillow>=6.2.0:../../graphics/py-Pillow
DEPENDS+= ${PYPKGPREFIX}-cairo-[0-9]*:../../graphics/py-cairo
DEPENDS+= ${PYPKGPREFIX}-cycler>=0.10:../../graphics/py-cycler
DEPENDS+= ${PYPKGPREFIX}-dateutil>=2.7:../../time/py-dateutil
DEPENDS+= ${PYPKGPREFIX}-kiwisolver>=1.0.1:../../math/py-kiwisolver
DEPENDS+= ${PYPKGPREFIX}-pyparsing>=2.2.1:../../devel/py-pyparsing
BUILD_DEPENDS+= ${PYPKGPREFIX}-certifi>=2020.06.20:../../security/py-certifi
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=4:../../devel/py-setuptools_scm
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm_git_archive-[0-9]*:../../devel/py-setuptools_scm_git_archive
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
USE_LANGUAGES= c c++
USE_TOOLS+= pkg-config
PYSETUPTESTTARGET= pytest
PYTHON_VERSIONS_INCOMPATIBLE= 27 37 # py-numpy
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../lang/python/egg.mk"
.include "../../math/py-numpy/buildlink3.mk"
.include "../../math/qhull/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"