From 69e6f3b681ca94f096b0c59581f69c62c19a0d6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Thu, 27 Oct 2022 15:42:25 +0200 Subject: [PATCH] python3-GitPython: update to 3.1.29. --- srcpkgs/python3-GitPython/template | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/srcpkgs/python3-GitPython/template b/srcpkgs/python3-GitPython/template index e9fb80a421da..4b9c19ccf96d 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 @@ -30,6 +31,13 @@ pre_check() { yes | ./init-tests-after-clone.sh export GIT_PYTHON_TEST_GIT_REPO_BASE="${PWD}" - git config --global user.email "void@example.com" - git config --global user.name "void" + git config user.email "void@example.com" + git config 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 }