| @@ -1,27 +1,28 @@ | | | @@ -1,27 +1,28 @@ |
1 | # $NetBSD: Makefile,v 1.1 2022/01/13 18:24:10 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.2 2022/07/17 09:55:35 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= setuptools_scm-5.0.2 | | 3 | DISTNAME= setuptools_scm-5.0.2 |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} |
5 | PKGREVISION= 1 | | 5 | PKGREVISION= 1 |
6 | CATEGORIES= devel python | | 6 | CATEGORIES= devel python |
7 | MASTER_SITES= ${MASTER_SITE_PYPI:=s/setuptools_scm/} | | 7 | MASTER_SITES= ${MASTER_SITE_PYPI:=s/setuptools_scm/} |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= https://github.com/pypa/setuptools_scm | | 10 | HOMEPAGE= https://github.com/pypa/setuptools_scm |
11 | COMMENT= Manage your versions by scm tags (python 2.7 version) | | 11 | COMMENT= Manage your versions by scm tags (python 2.7 version) |
12 | LICENSE= mit | | 12 | LICENSE= mit |
13 | | | 13 | |
14 | DEPENDS+= ${PYPKGPREFIX}-toml-[0-9]*:../../textproc/py-toml | | 14 | DEPENDS+= ${PYPKGPREFIX}-toml-[0-9]*:../../textproc/py-toml |
15 | TEST_DEPENDS+= ${PYPKGPREFIX}-mercurial-[0-9]*:../../devel/py-mercurial | | 15 | # does not support python 2.7 |
| | | 16 | #TEST_DEPENDS+= ${PYPKGPREFIX}-mercurial-[0-9]*:../../devel/py-mercurial |
16 | | | 17 | |
17 | PYTHON_VERSIONED_DEPENDENCIES= pip:test test:test | | 18 | PYTHON_VERSIONED_DEPENDENCIES= pip:test test:test |
18 | PYTHON_VERSIONS_ACCEPTED= 27 | | 19 | PYTHON_VERSIONS_ACCEPTED= 27 |
19 | | | 20 | |
20 | USE_LANGUAGES= # none | | 21 | USE_LANGUAGES= # none |
21 | | | 22 | |
22 | do-test: | | 23 | do-test: |
23 | cd ${WRKSRC} && pytest-${PYVERSSUFFIX} testing | | 24 | cd ${WRKSRC} && pytest-${PYVERSSUFFIX} testing |
24 | | | 25 | |
25 | .include "../../lang/python/egg.mk" | | 26 | .include "../../lang/python/egg.mk" |
26 | .include "../../lang/python/versioned_dependencies.mk" | | 27 | .include "../../lang/python/versioned_dependencies.mk" |
27 | .include "../../mk/bsd.pkg.mk" | | 28 | .include "../../mk/bsd.pkg.mk" |