1 |
commit: 34a6a172e5ba33fd5e99cc5f85baa038d322ad76 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 28 04:53:01 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 28 05:31:47 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34a6a172 |
7 |
|
8 |
dev-python/GitPython: Bump to 3.1.20 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/GitPython/GitPython-3.1.20.ebuild | 74 ++++++++++++++++++++++++++++ |
13 |
dev-python/GitPython/Manifest | 2 + |
14 |
2 files changed, 76 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/GitPython/GitPython-3.1.20.ebuild b/dev-python/GitPython/GitPython-3.1.20.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..87d5f7d31ad |
19 |
--- /dev/null |
20 |
+++ b/dev-python/GitPython/GitPython-3.1.20.ebuild |
21 |
@@ -0,0 +1,74 @@ |
22 |
+# Copyright 1999-2021 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=8 |
26 |
+ |
27 |
+PYTHON_COMPAT=( python3_{8..10} ) |
28 |
+PYTHON_REQ_USE="threads(+)" |
29 |
+ |
30 |
+inherit distutils-r1 |
31 |
+ |
32 |
+TEST_P=GitPython-${PV} |
33 |
+GITDB_P=gitdb-4.0.7 |
34 |
+SMMAP_P=smmap-4.0.0 |
35 |
+ |
36 |
+DESCRIPTION="Library used to interact with Git repositories" |
37 |
+HOMEPAGE="https://github.com/gitpython-developers/GitPython https://pypi.org/project/GitPython/" |
38 |
+SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz |
39 |
+ test? ( |
40 |
+ https://dev.gentoo.org/~mgorny/dist/${TEST_P}.gitbundle |
41 |
+ https://dev.gentoo.org/~mgorny/dist/${GITDB_P}.gitbundle |
42 |
+ https://dev.gentoo.org/~mgorny/dist/${SMMAP_P}.gitbundle |
43 |
+ )" |
44 |
+ |
45 |
+LICENSE="BSD" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ dev-vcs/git |
51 |
+ >=dev-python/gitdb-4.0.1[${PYTHON_USEDEP}] |
52 |
+ $(python_gen_cond_dep ' |
53 |
+ dev-python/typing-extensions[${PYTHON_USEDEP}] |
54 |
+ ' python3_7)" |
55 |
+BDEPEND=" |
56 |
+ test? ( |
57 |
+ >=dev-python/ddt-1.1.1[${PYTHON_USEDEP}] |
58 |
+ )" |
59 |
+ |
60 |
+distutils_enable_tests pytest |
61 |
+ |
62 |
+src_test() { |
63 |
+ git config --global user.email "travis@××.com" || die |
64 |
+ git config --global user.name "Travis Runner" || die |
65 |
+ |
66 |
+ git clone "${DISTDIR}/${TEST_P}.gitbundle" "${T}"/test || die |
67 |
+ git clone "${DISTDIR}/${GITDB_P}.gitbundle" \ |
68 |
+ "${T}"/test/git/ext/gitdb || die |
69 |
+ git clone "${DISTDIR}/${SMMAP_P}.gitbundle" \ |
70 |
+ "${T}"/test/git/ext/gitdb/gitdb/ext/smmap || die |
71 |
+ |
72 |
+ cd "${T}"/test || die |
73 |
+ git rev-parse HEAD > .git/refs/remotes/origin/master || die |
74 |
+ TRAVIS=1 ./init-tests-after-clone.sh || die |
75 |
+ cat test/fixtures/.gitconfig >> ~/.gitconfig || die |
76 |
+ sed -i -e '/addopts/d' pyproject.toml || die |
77 |
+ |
78 |
+ distutils-r1_src_test |
79 |
+} |
80 |
+ |
81 |
+python_test() { |
82 |
+ local deselect=( |
83 |
+ # performance tests are unreliable by design |
84 |
+ test/performance |
85 |
+ # unimpoortant and problematic |
86 |
+ test/test_installation.py |
87 |
+ # Internet |
88 |
+ test/test_repo.py::TestRepo::test_leaking_password_in_clone_logs |
89 |
+ # TODO |
90 |
+ test/test_submodule.py::TestSubmodule::test_base_rw |
91 |
+ test/test_submodule.py::TestSubmodule::test_root_module |
92 |
+ ) |
93 |
+ |
94 |
+ epytest ${deselect[@]/#/--deselect } |
95 |
+} |
96 |
|
97 |
diff --git a/dev-python/GitPython/Manifest b/dev-python/GitPython/Manifest |
98 |
index 04b9f066ce5..4ba6a31230d 100644 |
99 |
--- a/dev-python/GitPython/Manifest |
100 |
+++ b/dev-python/GitPython/Manifest |
101 |
@@ -2,5 +2,7 @@ DIST GitPython-3.1.18.gitbundle 9129652 BLAKE2B df2ea8fa06d4209c532a239fa5bebde2 |
102 |
DIST GitPython-3.1.18.tar.gz 181199 BLAKE2B ac50cee78b5980c6d23ec60786e8d279558a2740480e0975c212de8d96abd58da95de8d66bc9c7c3f0c7d1baa1757460f36df53552b06bd6323d3f882d0b90ae SHA512 981b3f4eec71c4e1de6efa2381c3c411aedfc51918f9f58f397926d21dabdfabb54d498ae44a5b6ceca59adf99e866df8d04f97a86df942e81408a5a0e751a15 |
103 |
DIST GitPython-3.1.19.gitbundle 9507079 BLAKE2B 7f9304c45784ddb779642df6b4412d022dad5ee20f89e998281db426928ee7bfafadb9a849e174c7cf850b049697ac097e1d144ca40f86497c6bab03e32ede8b SHA512 1fa8b01b27a993221ba4771aca416c724c12c208169fe4a6e08666ebf20c8dd870eb01f039d33ed13d664df5c6126cc4477994092ceeea64fc77f28a68cd9279 |
104 |
DIST GitPython-3.1.19.tar.gz 187639 BLAKE2B 835a43edc7adfbb6253abb904d2f313bb597418c749473e6ce5deef67e546ee5285146a3a8c34d6afc4f56345e3e6a6481899465c8598b5215dbadb59b0bd507 SHA512 019a558fbc60c540872451ae1cd5ab029d5b3c5d5ed4979dadaa0e1829548e04bba62173a85d8fceddab5a19bc83e1750d938f73e984a64747550e6936400c9e |
105 |
+DIST GitPython-3.1.20.gitbundle 9511740 BLAKE2B 17d1aeec50a85ff5b8688a984ff41933bc8a3d91ec2e706053fcaae9298d9d469b7c816ac61f82934d454f6ebacdbce4d56ac8936ba89a7a694b59cca8b9e821 SHA512 d49e429b45f9edbee9419b94136762a75cf33b1693f9f8fb809b0bf63f0a763d501d9ca42f332d156ba7d79d07eed310763af51797adec4dac30f7c073c415b2 |
106 |
+DIST GitPython-3.1.20.tar.gz 188094 BLAKE2B 3741b6b2e6c77ea8464eb83abfc744e9c646d18368648f805a2aa2f6fdb1875ec61b7e4aa4e224a67bff49686268c86b2cd2b3faf19e9eaa4c9587aacb7fa3f4 SHA512 10dc9f154067eb79a98fbf3204e370e814ab00661ffd7c2e1a1dc8ba46475ed48ec8c355820deba609486c865301e13bd54797ab7da8fccf8cff9cc9efebb153 |
107 |
DIST gitdb-4.0.7.gitbundle 1498536 BLAKE2B 1e0aff67259c04d2932dbdefb0ae07bd9fb51c5dcb99ee8431e78bf428095250ed45f5e12e2484b407bb4257050b0864e67096b3501d4829491cb7714a7b5ddf SHA512 f8b1b3de00f0597d65f528dd30495fd3dd9e1e4d494987899ef2064d23947ede799db391a59688dfa27e4fcdc9379b5352a378b39e6fb2421e6c850f81157bec |
108 |
DIST smmap-4.0.0.gitbundle 322820 BLAKE2B 20ac688cafa9ad036f3e21ac1bb9323ae55e618eb0806634fe4c885d2b12fe802779adcffb0fea3da9707e94109a168738d63abe990d1ce9b141c779aa6798d6 SHA512 03296099303eb38ac9ca46733255024355aed2e64a2f9409552ae34af76beb9685a6dd2458df986593fe426e428bc184617abe22c8b92ee01c8c7e1d98de8592 |