Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 May 2021 12:44:21 GMT
From:      Adriaan de Groot <adridg@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 3aa0db157a0f - main - devel/py-gitpython: use the right gitdb dependency
Message-ID:  <202105201244.14KCiL1A023899@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by adridg:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3aa0db157a0f4c32ed906aea98568a23fe861330

commit 3aa0db157a0f4c32ed906aea98568a23fe861330
Author:     Adriaan de Groot <adridg@FreeBSD.org>
AuthorDate: 2021-05-20 12:34:38 +0000
Commit:     Adriaan de Groot <adridg@FreeBSD.org>
CommitDate: 2021-05-20 12:44:18 +0000

    devel/py-gitpython: use the right gitdb dependency
    
    gitdb2 is the "old" gitdb; it is still at version 2.0.
    On PyPy it is listed as a mirror of gitdb and has version 4.0,
    but gitpython wants gitdb 4.0.7 or later (as stated in its
    `requires.txt`). While gitpython **builds** against the
    older version, at runtime anything using setuptools to
    require gitpython will fall over (because the installed
    gitdb2 is way too old).
    
    Switch to the right, modern dependency.
    
    PORTREVISION bumped because of this make-it-actually-work
    dependency change.
---
 devel/py-gitpython/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/devel/py-gitpython/Makefile b/devel/py-gitpython/Makefile
index 62f970b3e5ff..9f8ff65dad3b 100644
--- a/devel/py-gitpython/Makefile
+++ b/devel/py-gitpython/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	gitpython
 DISTVERSION=	3.1.15
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,7 +13,7 @@ LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ddt>=1.1.1:devel/py-ddt@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}gitdb2>=2.0.0:devel/py-gitdb2@${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} \
 		${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105201244.14KCiL1A023899>