diff options
| author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2022-01-29 07:23:45 +0800 |
|---|---|---|
| committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2022-01-29 07:27:01 +0800 |
| commit | 9962734ba8bafadd2a34751881b161e29c6fdbe6 (patch) | |
| tree | d892eb285252da5750c2c9f5699fc3af4f0c5d8d /devel/py-gitpython | |
| parent | 207c837e1bff322d5167743c8af75caeb0c16e09 (diff) | |
devel/py-gitpython: Fix dependencies
- Move py-ddt from RUN_DEPENDS to TEST_DEPENDS
- Update version requirement of RUN_DEPENDS
- Bump PORTREVISION for dependency change
Approved by: ygy (maintainer, via telegram)
Diffstat (limited to 'devel/py-gitpython')
| -rw-r--r-- | devel/py-gitpython/Makefile | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/devel/py-gitpython/Makefile b/devel/py-gitpython/Makefile index 21ddd6c67ad7..bccf3f02d63c 100644 --- a/devel/py-gitpython/Makefile +++ b/devel/py-gitpython/Makefile @@ -1,5 +1,6 @@ PORTNAME= gitpython DISTVERSION= 3.1.26 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,17 +12,23 @@ COMMENT= Python Git Library LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ddt>=1.1.1:devel/py-ddt@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}gitdb>=4.0.1:devel/py-gitdb@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.7.4.3:devel/py-typing-extensions@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gitdb>=4.0.1<5:devel/py-gitdb@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ddt>=1.1.1:devel/py-ddt@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} -NO_ARCH= yes USES= python USE_PYTHON= autoplist concurrent distutils +NO_ARCH= yes + +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 30800 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.7.4.3:devel/py-typing-extensions@${PY_FLAVOR} +.endif + do-test: cd ${WRKSRC} && ${PYTHON_CMD} -m nose -.include <bsd.port.mk> +.include <bsd.port.post.mk> |
