ports/devel/py-gitpython/Makefile
Po-Chuan Hsieh 579c74c9bf
devel/py-gitpython: Update to 3.1.43
- Update WWW
- Update TEST_DEPENDS
- Convert to USE_PYTHON=pep517
- Convert to USE_PYTHON=pytest
- Update pkg-descr

Changes:	https://github.com/gitpython-developers/GitPython/releases
		https://gitpython.readthedocs.io/en/stable/changes.html
2024-09-18 14:13:14 +08:00

39 lines
1.5 KiB
Makefile

PORTNAME= gitpython
PORTVERSION= 3.1.43
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= GitPython-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
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}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 pep517 pytest
NO_ARCH= yes
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 31100
TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
.endif
.include <bsd.port.post.mk>