py-setuptools_scm: add missing dependencies
Add test status in comment. Bump PKGREVISION.
This commit is contained in:
parent
1f25135d3b
commit
879160123d
1 changed files with 15 additions and 3 deletions
|
@ -1,7 +1,8 @@
|
|||
# $NetBSD: Makefile,v 1.32 2022/10/13 12:11:12 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.33 2022/10/14 14:03:01 wiz Exp $
|
||||
|
||||
DISTNAME= setuptools_scm-7.0.5
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
PKGREVISION= 1
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= ${MASTER_SITE_PYPI:=s/setuptools_scm/}
|
||||
|
||||
|
@ -11,8 +12,9 @@ COMMENT= Manage your versions by scm tags
|
|||
LICENSE= mit
|
||||
|
||||
DEPENDS+= ${PYPKGPREFIX}-packaging>=20.0:../../devel/py-packaging
|
||||
DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
|
||||
DEPENDS+= ${PYPKGPREFIX}-setuptools>=45:../../devel/py-setuptools
|
||||
DEPENDS+= ${PYPKGPREFIX}-tomli>=1.0.0:../../textproc/py-tomli
|
||||
DEPENDS+= ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-mercurial-[0-9]*:../../devel/py-mercurial
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-pip-[0-9]*:../../devel/py-pip
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-test>=6.2:../../devel/py-test
|
||||
|
@ -20,9 +22,19 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-virtualenv-[0-9]*:../../devel/py-virtualenv
|
|||
|
||||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
|
||||
.if ${_PYTHON_VERSION} == 37
|
||||
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
|
||||
.endif
|
||||
|
||||
USE_LANGUAGES= # none
|
||||
|
||||
# needs to be installed for testing
|
||||
TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib
|
||||
# needs to be installed for testing, otherwise you'll see
|
||||
# INTERNALERROR> importlib.metadata.PackageNotFoundError: No package metadata was found for setuptools_scm
|
||||
# as of 7.0.5:
|
||||
# 140 passed, 93 skipped, 1 xfailed, 16 errors
|
||||
do-test:
|
||||
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
|
||||
|
||||
|
|
Loading…
Reference in a new issue