From 0e259630f28f6d641cf5ebbeaa592148cbdbbdc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 29 Apr 2026 05:35:04 +0200 Subject: [PATCH] dev-python/gitpython: Bump to 3.1.49 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/gitpython/Manifest | 2 + dev-python/gitpython/gitpython-3.1.49.ebuild | 81 ++++++++++++++++++++ 2 files changed, 83 insertions(+) create mode 100644 dev-python/gitpython/gitpython-3.1.49.ebuild diff --git a/dev-python/gitpython/Manifest b/dev-python/gitpython/Manifest index 1d4cbab9122d..37f42a79df1f 100644 --- a/dev-python/gitpython/Manifest +++ b/dev-python/gitpython/Manifest @@ -1,6 +1,8 @@ DIST GitPython-3.1.46.gitbundle 11113428 BLAKE2B 40656a1beb3eebfd8d7db4978ee6b55aeb39194b38f293372e75627fb7eb23408e56c09495da7411d37c69125d4ae0bb6a72fd6bc4934a830296ce4618edc227 SHA512 e816a7a4f582489bde56b61edb3f9a7b7bba7d5edb2f249731e7df48e43fa19bb15a360ab9f6d698f637839421ab01aa99d1e382964a3ba8bf6bf3b324ee670c DIST GitPython-3.1.47.gitbundle 11335288 BLAKE2B a8abc7a62394e17b68db20564c96b46c92e2d9b3478ddf92118ead3d1ebb3ee808fc12ee8a0a6c198933fdfa05bb85e1f5c81f83e2a42f2236f56b02397d01e0 SHA512 902fd87069f61b1cf3612a50a329c21547b1139729e5f360c4353203139754f742b23c1ab4186bed86c5ede52d3efa7443386ebafe4b1a181e1805b79ced38a6 +DIST GitPython-3.1.49.gitbundle 11348614 BLAKE2B d1f5326acfd7de2f89a703ee464e7a60505e32d0b73dadf095f3ab4420143605690381bd33f9528510c45e102d3834ad2d96d57cbfdda8e67f885cafd22fccbf SHA512 02c2426c8c9405623e9c985dc4ea740c5b23ed872410b1e6078cbf4117e0d267569ff9da81bd13c627ccea7771ef11de5a1b90bdb3ed83e86404fa7c44cd64c0 DIST gitdb-4.0.12.gitbundle 1627457 BLAKE2B 2fb730fb72f682bac9a71a2b70af6ed476f69d57e00b323e669550793bcc330bd4b71575e0d0f008ed58f39e5beb622213ce2a10df6f512f1f5536b72c77871a SHA512 2fc619f511e373ad2ee51a108057e3a558dbfd68cbd7632244d7fd7914ed5fce99c182de5542264273de642e6e7680ee9b54a6da95224c562f43cf65e325db56 DIST gitpython-3.1.46.tar.gz 215371 BLAKE2B 9f7118382afb3b4c53bba29ff9e17f74c1a82f3a7ec2475059fef9d73dffaa8d2be060b571faeb7cfd6c10f6cfc846b42a6bf57aaa19fc624f44d5afb1aacde5 SHA512 cb8b3fd1010c131b8218fb76951708d37fd329aa46f4235f3f1fd1295562b0d840b0ba5d2386061cba67d47b6938b2c9bd6f2ee39e31a762e435a2d517ef6df8 DIST gitpython-3.1.47.tar.gz 216978 BLAKE2B 8a593b3791d8d862fce40e34edde06eaf65f7a8ecb30312cb16ddac575fd5fee8b516ce2f9af396acaa932dd8f0d61d50e1f08becb857739e99c32bade6e8dd7 SHA512 8d22607c14fccf3566e1f8da36703af3e2cc4fa5a04b20a02598b42373ede9a189cc87f8450e0c45f20097c06d76c906aaf1186f2b768570b7ca1e19516f2af4 +DIST gitpython-3.1.49.tar.gz 219367 BLAKE2B 25e2d27ad324ee55227e016bddc40988e0d8bc7d6b9dcb66426939876ce18e1e1cc75873ea5ed9279ea8f169708ec17080a55c255dc557e61fe1c94425a4d52a SHA512 918c279d4c8834b0230c846ca4e4d81ed3a827060d5996f0971cd59ac81ccf1e373b0334b8316fddc6f35df9166bbbba8413b786b50cf46362731c13e209d035 DIST smmap-5.0.1.gitbundle 362567 BLAKE2B 72c8b48ad3250a33b94218c145c02033dee84c1da5f1eea57983a58699262d51844be675330d95c7d64924b6aeaacd4b0a57e9a5acad3be184aaad62102202e7 SHA512 9ca8386bfec25d1562cdf1c2ee85f7edb15fd3f44ecd1abbef738979f12b82f0b0f39a06589203a39f89518d981d7129e35f64f2d855cd162cd964bdd87c8d18 diff --git a/dev-python/gitpython/gitpython-3.1.49.ebuild b/dev-python/gitpython/gitpython-3.1.49.ebuild new file mode 100644 index 000000000000..46f1e8f00850 --- /dev/null +++ b/dev-python/gitpython/gitpython-3.1.49.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=GitPython +PYTHON_COMPAT=( python3_{11..14} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi + +TEST_P=GitPython-${PV} +GITDB_P=gitdb-4.0.12 +SMMAP_P=smmap-5.0.1 + +DESCRIPTION="Library used to interact with Git repositories" +HOMEPAGE=" + https://github.com/gitpython-developers/GitPython/ + https://pypi.org/project/GitPython/ +" +SRC_URI+=" + test? ( + https://distfiles.gentoo.org/pub/proj/python/GitPython/${TEST_P}.gitbundle + https://distfiles.gentoo.org/pub/proj/python/GitPython/${GITDB_P}.gitbundle + https://distfiles.gentoo.org/pub/proj/python/GitPython/${SMMAP_P}.gitbundle + ) +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-vcs/git + >=dev-python/gitdb-4.0.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/ddt-1.1.1[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-mock ) +distutils_enable_tests pytest + +src_test() { + git config --global user.email "travis@ci.com" || die + git config --global user.name "Travis Runner" || die + + git clone "${DISTDIR}/${TEST_P}.gitbundle" "${T}"/test || die + git clone "${DISTDIR}/${GITDB_P}.gitbundle" \ + "${T}"/test/git/ext/gitdb || die + git clone "${DISTDIR}/${SMMAP_P}.gitbundle" \ + "${T}"/test/git/ext/gitdb/gitdb/ext/smmap || die + + cd "${T}"/test || die + git rev-parse HEAD > .git/refs/remotes/origin/master || die + # this tries to fetch again + sed -i -e '/git submodule/d' init-tests-after-clone.sh || die + TRAVIS=1 ./init-tests-after-clone.sh || die + cat test/fixtures/.gitconfig >> ~/.gitconfig || die + + distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # performance tests are unreliable by design + test/performance + # unimportant and problematic + test/test_installation.py + # Internet + test/test_quick_doc.py::QuickDoc::test_cloned_repo_object + # TODO + test/test_submodule.py::TestSubmodule::test_base_rw + test/test_submodule.py::TestSubmodule::test_root_module + ) + + epytest -o addopts= test +}