67e1f1a6bf
This flag should be set for packages that import pkg_resources and thus need setuptools after the build step. Set this flag for packages that need it and bump PKGREVISION.
32 lines
913 B
Makefile
32 lines
913 B
Makefile
# $NetBSD: Makefile,v 1.30 2022/01/05 15:40:57 wiz Exp $
|
|
|
|
DISTNAME= mutagen-1.45.1
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
PKGREVISION= 2
|
|
CATEGORIES= audio python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=m/mutagen/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/quodlibet/mutagen
|
|
COMMENT= Audio metadata handling for Python
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-flake8-[0-9]*:../../devel/py-flake8
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
PYTHON_SELF_CONFLICT= yes
|
|
USE_PKG_RESOURCES= yes
|
|
|
|
SUBST_CLASSES+= manpath
|
|
SUBST_STAGE.manpath= pre-configure
|
|
SUBST_MESSAGE.manpath= Fixing man paths.
|
|
SUBST_FILES.manpath= setup.py
|
|
SUBST_SED.manpath= -e 's,share/man,${PKGMANDIR},'
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|