commit:     aa219722fee3e2bf5b29f779c64256fc31636f61
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 10 19:54:45 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jan 10 20:00:10 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa219722

dev-python/GitPython: Bump to 3.1.26

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

 dev-python/GitPython/GitPython-3.1.26.ebuild | 78 ++++++++++++++++++++++++++++
 dev-python/GitPython/Manifest                |  2 +
 2 files changed, 80 insertions(+)

diff --git a/dev-python/GitPython/GitPython-3.1.26.ebuild 
b/dev-python/GitPython/GitPython-3.1.26.ebuild
new file mode 100644
index 000000000000..12f116358c54
--- /dev/null
+++ b/dev-python/GitPython/GitPython-3.1.26.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1
+
+TEST_P=GitPython-${PV}
+GITDB_P=gitdb-4.0.9
+SMMAP_P=smmap-5.0.0
+
+DESCRIPTION="Library used to interact with Git repositories"
+HOMEPAGE="https://github.com/gitpython-developers/GitPython 
https://pypi.org/project/GitPython/";
+SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz
+       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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="
+       dev-vcs/git
+       >=dev-python/gitdb-4.0.1[${PYTHON_USEDEP}]"
+BDEPEND="
+       test? (
+               >=dev-python/ddt-1.1.1[${PYTHON_USEDEP}]
+       )"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+       # upstream reverted the changes needing py3.10's typing module
+       # but did not update the dep
+       sed -i -e '/typing-extensions/d' requirements.txt || die
+       distutils-r1_src_prepare
+}
+
+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
+       sed -i -e '/addopts/d' pyproject.toml || die
+
+       distutils-r1_src_test
+}
+
+python_test() {
+       local EPYTEST_DESELECT=(
+               # performance tests are unreliable by design
+               test/performance
+               # unimpoortant and problematic
+               test/test_installation.py
+               # Internet
+               test/test_repo.py::TestRepo::test_leaking_password_in_clone_logs
+               # TODO
+               test/test_submodule.py::TestSubmodule::test_base_rw
+               test/test_submodule.py::TestSubmodule::test_root_module
+       )
+
+       epytest
+}

diff --git a/dev-python/GitPython/Manifest b/dev-python/GitPython/Manifest
index a360893de71f..bc75e48df902 100644
--- a/dev-python/GitPython/Manifest
+++ b/dev-python/GitPython/Manifest
@@ -2,6 +2,8 @@ DIST GitPython-3.1.24.gitbundle 9658020 BLAKE2B 
4ac2c1a238de1d6e5be9f2d65ec486a1
 DIST GitPython-3.1.24.tar.gz 191249 BLAKE2B 
b60f5186aea33434d77b63997e5e9dc277b49a97934bfe250795af9c0ed92d00c478dd4475a00faa2f5867882f81161dcd21ed46c86883a48b8397266b5318de
 SHA512 
af2aa85574287827e5d2b78f7a19776be57518aa0b8af7a3fb92bef0d97c6a27b3272ed39adf2080b39cd5a9eb114164de7a2a9bbf73cfe1fe2647e0b053b092
 DIST GitPython-3.1.25.gitbundle 9683858 BLAKE2B 
64dc43f6602f797830c6bf44d85ee0b5f870ca7f52626cc6f6f3e9e3a01faf3ad1fcb276e4f583eac9ff9add74fb7ea967e8df614f93434e56ef7b57963540c0
 SHA512 
2f1d6f839e80b2c70e892af48511403ffc229e8d61cf0faa6680d9b011363ceb2f0da750028f831d3099c2cdce16c375ef60ec94cc2f831e93f54e7728a78f12
 DIST GitPython-3.1.25.tar.gz 191824 BLAKE2B 
95185d0e45cfefd4c74c98d9319aacbd678f942e87569beaf87052c4090947ab58a508f5248998d23952277ccae93effdaab2dc0647fd07964971fdc7f2ac9d7
 SHA512 
f5b29f2374c63d122e697fca8bc65d2db03f43eb21c70a903fdb3bb1667ab647cff9ad6b473213a47d124775fb7424b5abff7b8d76bf2748ac848dd4aebdd04a
+DIST GitPython-3.1.26.gitbundle 9711896 BLAKE2B 
31c06bc713cabe11f0a1cb5fe0a94dbca628cc047de3ac29d83eb97370ebe112aae813ab93717618d4382f13a63bd9cc79709e493c99f77c7d0a2a505181e869
 SHA512 
99ea5bf310e5edb36f02b44b07729041c683bd1eea1b7af278d6a89147a0761c04aa6eeafbd488b1c84935d00ebf47e7c6230984a8caaccdeccd8c3878b094e4
+DIST GitPython-3.1.26.tar.gz 191901 BLAKE2B 
365defa1947719273319bbf8b035710b6bfcecae19d5a8f452d4667b4227f1a5bce4238ff9377b2ac97eee27de97410b19882072b5b6673ec6a75638bd9c8751
 SHA512 
dcaa14b5bafb6d41c0d5afd57494146b309bcd9a7c65ed4ce56f71fc6e2399640147fac7319dd91b8ea4ae1ca38d02885d5a4b64eccb043c4b8a4347e27a1ecb
 DIST gitdb-4.0.7.gitbundle 1498536 BLAKE2B 
1e0aff67259c04d2932dbdefb0ae07bd9fb51c5dcb99ee8431e78bf428095250ed45f5e12e2484b407bb4257050b0864e67096b3501d4829491cb7714a7b5ddf
 SHA512 
f8b1b3de00f0597d65f528dd30495fd3dd9e1e4d494987899ef2064d23947ede799db391a59688dfa27e4fcdc9379b5352a378b39e6fb2421e6c850f81157bec
 DIST gitdb-4.0.9.gitbundle 1461448 BLAKE2B 
dad9efdc4e9711361c851f4745df2e3fa3b2360ab58cffea971a854429cf3e11862a267efb5afa3d9ff7668dc6d1bb7f11aa033172238bea61a6252d0488b746
 SHA512 
eb71e6dd380e67a96a9dcd50a3a3c82aab8c7f85b1ca4258a92202a5e4cb5a1535363599c94ab26884b4cd755ce30694c1b193a95e5cd5199b5d4e2cf8e72818
 DIST smmap-4.0.0.gitbundle 322820 BLAKE2B 
20ac688cafa9ad036f3e21ac1bb9323ae55e618eb0806634fe4c885d2b12fe802779adcffb0fea3da9707e94109a168738d63abe990d1ce9b141c779aa6798d6
 SHA512 
03296099303eb38ac9ca46733255024355aed2e64a2f9409552ae34af76beb9685a6dd2458df986593fe426e428bc184617abe22c8b92ee01c8c7e1d98de8592

Reply via email to