pkgsrc/devel/py-setuptools_scm/Makefile
adam 53a9241b25 py-setuptools_scm: updated to 5.0.2
v5.0.2
* fix: use git for matching prefixes to support the windows situation
2021-03-05 07:55:44 +00:00

26 lines
784 B
Makefile

# $NetBSD: Makefile,v 1.25 2021/03/05 07:55:44 adam Exp $
DISTNAME= setuptools_scm-5.0.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=s/setuptools_scm/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/pypa/setuptools_scm
COMMENT= Manage your versions by scm tags
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-toml-[0-9]*:../../textproc/py-toml
TEST_DEPENDS+= ${PYPKGPREFIX}-pip-[0-9]*:../../devel/py-pip
TEST_DEPENDS+= ${PYPKGPREFIX}-mercurial-[0-9]*:../../devel/py-mercurial
PYTHON_VERSIONED_DEPENDENCIES= test:test
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"