commit:     13af36914ec2c9b0c076fbc28649c1ddfd985d6b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 10 17:42:43 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jan 10 21:12:02 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13af3691

dev-python/GitPython: Bump to 3.1.41

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/GitPython/GitPython-3.1.41.ebuild | 79 ++++++++++++++++++++++++++++
 dev-python/GitPython/Manifest                |  4 ++
 2 files changed, 83 insertions(+)

diff --git a/dev-python/GitPython/GitPython-3.1.41.ebuild 
b/dev-python/GitPython/GitPython-3.1.41.ebuild
new file mode 100644
index 000000000000..9f2f6155a47e
--- /dev/null
+++ b/dev-python/GitPython/GitPython-3.1.41.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1 pypi
+
+TEST_P=GitPython-${PV}
+GITDB_P=gitdb-4.0.11
+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://dev.gentoo.org/~mgorny/dist/${TEST_P}.gitbundle
+               https://dev.gentoo.org/~mgorny/dist/${GITDB_P}.gitbundle
+               https://dev.gentoo.org/~mgorny/dist/${SMMAP_P}.gitbundle
+       )
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+       dev-vcs/git
+       >=dev-python/gitdb-4.0.1[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               >=dev-python/ddt-1.1.1[${PYTHON_USEDEP}]
+               dev-python/sumtypes[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+
+src_test() {
+       git config --global user.email "tra...@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
+       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
+}

diff --git a/dev-python/GitPython/Manifest b/dev-python/GitPython/Manifest
index ed2a7ebff3e9..7d146e6e9a6a 100644
--- a/dev-python/GitPython/Manifest
+++ b/dev-python/GitPython/Manifest
@@ -1,4 +1,8 @@
 DIST GitPython-3.1.40.gitbundle 9832215 BLAKE2B 
2aa1dac889267bd0b81f9451bc347b842cc5ad542a490fcc6f951cc1ee40f807c7cb5a178772c8abf43893fd9815aa570d2e53a561a0c8bf431dc5fa6429cdfd
 SHA512 
25ca1f1b620e72a1c58a7b609dc6e761afdb1502d35ad26411fde47d5d2099b6bf6160ce85288bf280e28b3c8f30471c9f791cfb66878bc1ef7d46f58f880e81
 DIST GitPython-3.1.40.tar.gz 200655 BLAKE2B 
c95cd864bfc664eb704ac3702f5a6c78fc0f2288af945001622cb78c2e855fdf3af068736c569392a29b201dc3952d0574c7f7c39c0531269b6efb55f5506344
 SHA512 
e8ade266002aa6fcd4b12e3828e7ec45b4dd894c897f31946dc29461b7e81b380ea832a9ea270533e7491e006c92948c62bbc21ab960467cf6287d0bac5228cf
+DIST GitPython-3.1.41.gitbundle 10232969 BLAKE2B 
8d831241a706c7e0729e81b177bbeb307ff40cc0cbc0a2693cf0f78478732368cee4b26d6621ae5948a3183258961cf841284e77ba6326de80ca8e2b9bb6ab72
 SHA512 
9ff45afabfd04ad1bc7bfc9a37b2c3ddf12e8d62d66f4efae07a60a19d6ab05e027e3fe8ad7a0019bfdf3e6d255c4f493987e9f3761f575976e34fabe16dc79d
+DIST GitPython-3.1.41.tar.gz 209029 BLAKE2B 
be7dfac9a6bc318c33b7cc8d1c6e801f6d0e0f46916a617cceba0f831684953c759ad7b8ed690cca92b07636418dea021dc38608194c7cb6c985ea401b669e47
 SHA512 
e6d113b4e45505481d46fce1b3b71e3dcfc0f3576ffb8bdd1b0ce3d3ec1625cfad4a8dce3d5126545d66ff72eb74421408f690a44d52e1513be59466721e4c45
 DIST gitdb-4.0.10_p1.gitbundle 1612782 BLAKE2B 
9a424df0afd174da722c4721a5a52db83dccc5a2d69dd186622e5e21c48a6fdb6f20d84ad959f2070d8ff4cfa1e9be8f99b97e2a6ce5aab1696737858429e018
 SHA512 
b52a978ffbda8fb048fa0920cc2cc597b077b468dd77ce1a8e784ca7c724760eee75b168ac98f1051b03d364ba88812e8cacd5a7f6fa658cf312e626d0b2ad0a
+DIST gitdb-4.0.11.gitbundle 1620355 BLAKE2B 
8095193318d4262b8ebb04f35a0500eda8757057ed472dbaaece53e6afa6227e2b2c02a2be5daa5e4c0cc43dcbb5046555407d3d7c8dbed0bc5c415515032b8d
 SHA512 
17e404b335a3c081f4058aeba5c57e5697a580f8ad7a280fde868968cf48f5a0852bfa45019eab730279582c0c536f8204e973d93af09da05908477329d73360
 DIST smmap-5.0.0_p1.gitbundle 324544 BLAKE2B 
69098c7644abaec7f32226cad7ff3008e49d94c9f7349d0b815223249c20bfd2b51a50474e51864821f30c98f5982e5c35ce9217145a1e5d11326492c41faecc
 SHA512 
4f36ca2c94ddfeb949c880fb52c3b1905d144dd59b95f2f05c93ed7b694dcb128218a2800ca23b721fbeff9a1920e8c3326675098e2ef0361ff6e90c8c2850ba
+DIST smmap-5.0.1.gitbundle 362567 BLAKE2B 
72c8b48ad3250a33b94218c145c02033dee84c1da5f1eea57983a58699262d51844be675330d95c7d64924b6aeaacd4b0a57e9a5acad3be184aaad62102202e7
 SHA512 
9ca8386bfec25d1562cdf1c2ee85f7edb15fd3f44ecd1abbef738979f12b82f0b0f39a06589203a39f89518d981d7129e35f64f2d855cd162cd964bdd87c8d18

Reply via email to