diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-17 14:07:47 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-17 14:07:47 +0000 |
commit | 7c9730bcb62df7cbf8248c5db9a478aac52c60ea (patch) | |
tree | 3521ee333c83fb6c7ff14d0a0a2d742464e88767 /dev-python/GitPython | |
parent | 29394d0921808a94a409f01eff49f681651de5d5 (diff) |
gentoo auto-resync : 17:02:2023 - 14:07:46
Diffstat (limited to 'dev-python/GitPython')
-rw-r--r-- | dev-python/GitPython/GitPython-3.1.31.ebuild | 83 | ||||
-rw-r--r-- | dev-python/GitPython/Manifest | 4 |
2 files changed, 87 insertions, 0 deletions
diff --git a/dev-python/GitPython/GitPython-3.1.31.ebuild b/dev-python/GitPython/GitPython-3.1.31.ebuild new file mode 100644 index 000000000000..803fa451e4ec --- /dev/null +++ b/dev-python/GitPython/GitPython-3.1.31.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2023 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_{9..11} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi + +TEST_P=GitPython-${PV} +GITDB_P=gitdb-4.0.10 +SMMAP_P=smmap-5.0.0_p1 + +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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~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_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 + 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 + # unimpoortant and problematic + test/test_installation.py + # Internet + test/test_repo.py::TestRepo::test_leaking_password_in_clone_logs + # requires which(1) + # https://github.com/gitpython-developers/GitPython/pull/1525 + test/test_git.py::TestGit::test_refresh + # TODO + test/test_submodule.py::TestSubmodule::test_base_rw + test/test_submodule.py::TestSubmodule::test_git_submodules_and_add_sm_with_new_commit + test/test_submodule.py::TestSubmodule::test_list_only_valid_submodules + 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 eb3c9157a125..aef1ceb75683 100644 --- a/dev-python/GitPython/Manifest +++ b/dev-python/GitPython/Manifest @@ -1,6 +1,10 @@ DIST GitPython-3.1.30.gitbundle 9945082 BLAKE2B ac3e530509d459303c0c465668c92073d0532bb75c0635c9e5521857132c2d3c18f0e30b85830cf101fc0c79cde33a5eaf459cddbd66abeb6185453d90e4077d SHA512 e43275e8ffc3fb02e360503de3cd9d0b2c817f870361fe6bcfcd9dec30da077c4c685f57bce408ec670f2fb49d265abca34bf14d806a3ea54fd25f9eaf5019b3 DIST GitPython-3.1.30.tar.gz 195508 BLAKE2B ba3dcb7c7aba8ec42842e6240777b8823e641139e6704641a7236ea07b2a82966638fb074c8fe3ff47b66e23aa526cfc899d8c28359f260f62fd1962a6de66de SHA512 067e64c801ca3882d70aca7706b3a57a51597817f0a3f03290a17e3ebb0fa0fd04cd1d72a32eae3bb72b6c486ffd26d1ede9cee5b17d99ffceb0f8dcc83081b9 +DIST GitPython-3.1.31.gitbundle 9820824 BLAKE2B 47becdf80c8047c3de74f3ad2308f2003629dac970df961e97ae455719690afa8ca4fc08c85fdd01d351980cac5b79265164b92c16e993efb964e4c5d6e62810 SHA512 2b73a9bbe11bf24c1f0cfbc817b1226ae49c52a898f233d23aa8512cb7709adaba57c76afce8aa4416dcc4f16775d0d4138f0059ede51f59a6ccdd27d0f08cd3 +DIST GitPython-3.1.31.tar.gz 195822 BLAKE2B c5644a811e33da4e2983d5b41dc5e223bff23bb817027485fd24598163dc515d1823e8abc5f871a9ad4334827f097dbe7856cf618940cd3ddbe507728253ea2c SHA512 80d5f73db589e239dead268c99092b2429c4d0602e4f9a1e77cce5c68f2eade1651e3da9de68fd485021565f3a2d9b980c286b0d302c58e60011a443b4361e71 DIST gitdb-4.0.10.gitbundle 1485461 BLAKE2B 5a217c609a402cd7888da1502b25d217812503cd703cda8bce3c7159732c59d7f4bcd52688a5da457f43fde1645a6db79588a6fc8cc8dff5c58e9dcbaef79b9a SHA512 98dba48f75e28eaded791f91c611e07bef73c28a7f8ac58889b05d04f4b3699a85a5be1c829ea3e2f380507a9009f35bc552bb4260564127e2863807f9b4712a DIST smmap-5.0.0.gitbundle 338621 BLAKE2B 58c151245a1353d482e06313beb1cfbe7aa23d30733b284b1745b562da1da4e6f9b8acd7d4b967987e8c29a0cfbe6d3b27790f4683f6cbd86fc22a1416bc1c24 SHA512 94b827cdcfaf31b726b48b7b0a9036e852683046b07430b79e59a1339079ca078129d5eb02d9009979ce86892748b700d6cd281e401ddf6b0048252e2181fe1f +DIST smmap-5.0.0_p1.gitbundle 324544 BLAKE2B 69098c7644abaec7f32226cad7ff3008e49d94c9f7349d0b815223249c20bfd2b51a50474e51864821f30c98f5982e5c35ce9217145a1e5d11326492c41faecc SHA512 4f36ca2c94ddfeb949c880fb52c3b1905d144dd59b95f2f05c93ed7b694dcb128218a2800ca23b721fbeff9a1920e8c3326675098e2ef0361ff6e90c8c2850ba EBUILD GitPython-3.1.30.ebuild 2269 BLAKE2B d2cae6967e17f6d4bba2aa9cd673960cde006374ae658af2f8ce9d94b1070d0b22009f6fc38b483f642268c3799ece9ef8cb1e75613539ab0132267bdb916c71 SHA512 50ae4a085b3e998fe9879f3e57b147a6ca7d17ce400c564c1f8a58c71ac4a1322f9c0357bafd96e3b8d2dde594238c3d44cfa8f67a47479cbcffff7002c6769d +EBUILD GitPython-3.1.31.ebuild 2276 BLAKE2B 1b1862ac832aecbb761d3613d6ae17c8f300dc6fcc7f2de2a29ed20f6049bbce2b86ac9e7f4a963f0fccc0a4ba66ae06b77c99be980b476e2565d076321e8209 SHA512 e4b9269d81cd86114431f21489d40e7a1c2de4ac3bd2af64f446c15ff5ca2ff955972605dbca31bae1239ce238e7d4687ea6058b9cf12ec825fe051a15e870a2 MISC metadata.xml 407 BLAKE2B 49fd8d520d575be1489c299f22595120fad882f055b9cf2d02b87382c6d8f0ff38af694e5584b4da579aa84b82c2f1032e4afb64cafd9f4fe9212a6d67b4a752 SHA512 1bebe1e134eb86a4745cf7e297d45118a2bdd3d8a71d0034294b5c799a9cee763c63b61b34c6707c52f61058f727f4b827dd020d285fc297712b29eb7c1129ef |