# $NetBSD: Makefile,v 1.4 2022/04/27 10:33:41 adam Exp $ DISTNAME= zopfli-0.2.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= archivers python MASTER_SITES= ${MASTER_SITE_PYPI:=z/zopfli/} EXTRACT_SUFX= .zip MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://github.com/fonttools/py-zopfli COMMENT= Zopfli module for Python LICENSE= apache-2.0 BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>0:../../devel/py-setuptools_scm TEST_DEPENDS+= ${PYPKGPREFIX}-test>0:../../devel/py-test USE_LANGUAGES= c c++ PYTHON_VERSIONS_INCOMPATIBLE= 27 do-test: cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk"