diff --git a/srcpkgs/python3-GitPython/template b/srcpkgs/python3-GitPython/template index e9fb80a421d..1be078f7a87 100644 --- a/srcpkgs/python3-GitPython/template +++ b/srcpkgs/python3-GitPython/template @@ -1,6 +1,6 @@ # Template file for 'python3-GitPython' pkgname=python3-GitPython -version=3.1.27 +version=3.1.29 revision=1 wrksrc="GitPython-${version}" build_style=python3-module @@ -16,8 +16,9 @@ short_desc="Library to interact with Git repositories (Python3)" maintainer="Jan Christian Grünhage " license="BSD-3-Clause" homepage="https://github.com/gitpython-developers/GitPython" +changelog="https://raw.githubusercontent.com/gitpython-developers/GitPython/main/doc/source/changes.rst" distfiles="https://github.com/gitpython-developers/GitPython/archive/refs/tags/${version}.tar.gz" -checksum=2ec5341b54aed19424696c933d705ddedcf2fe45f89d2fd0dbed06087ac5ed3c +checksum=c199677d0920a514f4ce482993fc2fb7e6e45914c365f83e016835b2bd006430 post_install() { vlicense LICENSE @@ -32,4 +33,11 @@ pre_check() { git config --global user.email "void@example.com" git config --global user.name "void" + + # Required due to tests doing stuff not allowed by default anymore due to a security vulnerability + git config --global protocol.file.allow always +} + +post_check() { + rm ~/.gitconfig }