diff options
Diffstat (limited to 'dev-python/gitpython')
| -rw-r--r-- | dev-python/gitpython/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/gitpython/gitpython-3.1.60.ebuild | 74 |
2 files changed, 76 insertions, 0 deletions
diff --git a/dev-python/gitpython/Manifest b/dev-python/gitpython/Manifest index 02a3d3067d44..d3e496087b4a 100644 --- a/dev-python/gitpython/Manifest +++ b/dev-python/gitpython/Manifest @@ -1,6 +1,8 @@ DIST GitPython-3.1.57.gitbundle 12996669 BLAKE2B cccc3058e05a812d0ac20112514e31af5e0dfd3eb5b6d0c27d6fdb46c0eea750a8edaa2aacd71940c60a47ceccdf2f3f2a515ee65619d8b6b5440c917f733815 SHA512 24e7997fb0bf548fb430ff18b632eb3eb3374ca35523e100e1a38c500b3178b53f6238fce0745f3a61d6a3210cac8a1a7af37e7f8dc6a281b4cdd26d4a9643f8 DIST GitPython-3.1.58.gitbundle 13166887 BLAKE2B 7f99c37836dbfe438ee9710e9e8686d1be646dccbdd19a55c9baf3f46c1dfd6a1d362e27167edad82a611acefd093a10ac4d87f8266bbbb61dc78c3a7f755846 SHA512 0eaa7b14827a18b8887adb4ee0e90b960b9aa002227ff0b3cefc6e27a7d5ce22050fe2d6bbafdadd8cfb0b9c5b27003dfd808e699663b07dcdf013c57ff61625 DIST GitPython-3.1.59.gitbundle 13085519 BLAKE2B eff2bb6821756a6bad71429568a5ce0a14c672379d91e6d8f7963d18239a85e5d1cae4ff14d032fcd9d154c711463eb498ffa1f066ceb965e5872efcf7368dd4 SHA512 76e9345dfc3e0898ef7155f801dee553b4f5f76bffad4141b6798f44868f412ff834eb83018f6a8f05f584d0e14c3ffcf49d70eae158c47fa054c522d79b44ec +DIST GitPython-3.1.60.gitbundle 13114387 BLAKE2B 6515764c855a8c3207c98fbf7bf1007ff2ed39c749a4e18afe19d73f494b5edf27c57a4b531468c321008b9739cb6b9e7ad747002f23d1dc2ccdf293bd321adf SHA512 20834d0f4d77348e405fd7ab1feaba0e9426ea8d81d1595f5e9e6729144a7ec908639318c1ec8f0837221da2704fcb64a1bf6040390f1c2714ef57d379aafe05 DIST gitpython-3.1.57.tar.gz 225898 BLAKE2B e577b3bf6080280869fc53475538415a2681e3d5bd2f86d0536036480e1bd7f2f2b4c3d0c84f9c263b24a4e130394a16015367f762b70e67b57d337d54700622 SHA512 cc60ceb2649c600e8618556c889418b6a481bfd358a037a0c117e475957b57d90d6b43421b392207b7dc308a6ec06b25e55c0733ccc149ed9308d048cec78fb3 DIST gitpython-3.1.58.tar.gz 228498 BLAKE2B fcd5b832587b82e2fb51d1a6087c02f294b84418de0c413d5eaa828aff4d2b87e8ead4486b274352d5c9ca09633e63a1c41a232ebf164c671d45df1bd9dd2bd3 SHA512 779e55e5a977b37f6bf46c5b8358e61e07f590d089b27bb402e37fb0b78d35f4a1fae1199274ecb5f7b057f2707057003d946cdc7557e7d0e574d1adb046cb70 DIST gitpython-3.1.59.tar.gz 230445 BLAKE2B ea1a8488cde9d1136f71f34c23224b5f02a3a5581a89dc1fa3a8355e3147d5ae01d533c1b032404471a691b3b9dba26fc55d7517bbf775b30374398b3a57a87b SHA512 ef810ace84c76200b6820818de0b8b3f3e8070ee48f2444bf60f6b24c7eba7710527e616ee3cc306ccb132db893b704033b238a5e2de9d9d186559ebfffcbfd3 +DIST gitpython-3.1.60.tar.gz 230793 BLAKE2B d92475ddcd93bac6625a7c8d57d2cf9a1ecf6dd5285c2907d31fe9b4c7d8a4ed2429828f484f2bff5995aa18a9983fd8469df75583d7ad3c17f396e63adc40c1 SHA512 12350f87bed859bc06d40c8d400e40b814f00a9858a97a9a33d719b414292a55976cf9248ea86bd322bbb9f47a49af76a60c17756aaa932e0f713225363ae16a diff --git a/dev-python/gitpython/gitpython-3.1.60.ebuild b/dev-python/gitpython/gitpython-3.1.60.ebuild new file mode 100644 index 000000000000..ebe35bd5a941 --- /dev/null +++ b/dev-python/gitpython/gitpython-3.1.60.ebuild @@ -0,0 +1,74 @@ +# 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_{13..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 + ) +" + +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 + + 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 + test/test_remote.py::TestTimeouts::test_timeout_funcs + ) + + epytest -o addopts= test +} |
