28 lines
752 B
Makefile
28 lines
752 B
Makefile
# $NetBSD: Makefile,v 1.19 2022/01/25 09:05:11 wiz Exp $
|
|
|
|
DISTNAME= pluggy-0.13.1
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
PKGREVISION= 2
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pluggy/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/pytest-dev/pluggy
|
|
COMMENT= Plugin and hook calling mechanisms for python
|
|
LICENSE= mit
|
|
|
|
.include "../../lang/python/pyversion.mk"
|
|
.if ${_PYTHON_VERSION} < 38
|
|
PYTHON_VERSIONED_DEPENDENCIES+= importlib-metadata
|
|
.endif
|
|
|
|
PYTHON_VERSIONED_DEPENDENCIES+= test:test setuptools_scm:build
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && pytest-${PYVERSSUFFIX} testing
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../lang/python/versioned_dependencies.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|