diff options
Diffstat (limited to 'devel/py-gitpython/Makefile')
| -rw-r--r-- | devel/py-gitpython/Makefile | 31 |
1 files changed, 21 insertions, 10 deletions
diff --git a/devel/py-gitpython/Makefile b/devel/py-gitpython/Makefile index 6e9c3356f40f..39d9edc4f38d 100644 --- a/devel/py-gitpython/Makefile +++ b/devel/py-gitpython/Makefile @@ -1,28 +1,39 @@ PORTNAME= gitpython -DISTVERSION= 3.1.30 +PORTVERSION= 3.1.43 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= GitPython-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org -COMMENT= Python Git Library -WWW= https://github.com/gitpython-developers/GitPython +COMMENT= Python library used to interact with Git repositories +WWW= https://gitpython.readthedocs.io/en/stable/ \ + https://github.com/gitpython-developers/GitPython LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${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} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ddt>=1.1.1:devel/py-ddt@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mypy>=0:devel/py-mypy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pre-commit>=0:devel/py-pre-commit@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-instafail>=0:devel/py-pytest-instafail@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-mock>=0:devel/py-pytest-mock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-sugar>=0:devel/py-pytest-sugar@${PY_FLAVOR} \ USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes -do-test: - cd ${WRKSRC} && ${PYTHON_CMD} -m nose +.include <bsd.port.pre.mk> -.include <bsd.port.mk> +.if ${PYTHON_REL} < 31100 +TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} +.endif + +.include <bsd.port.post.mk> |
