1 |
commit: c7dc4b0ce8143c858a9cc1f2c87f739ce516cc94 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 14 07:28:48 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 14 08:14:11 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7dc4b0c |
7 |
|
8 |
dev-python/GitPython: Bump to 3.1.17 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/GitPython/GitPython-3.1.17.ebuild | 66 ++++++++++++++++++++++++++++ |
13 |
dev-python/GitPython/Manifest | 2 + |
14 |
2 files changed, 68 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/GitPython/GitPython-3.1.17.ebuild b/dev-python/GitPython/GitPython-3.1.17.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..159956c1f92 |
19 |
--- /dev/null |
20 |
+++ b/dev-python/GitPython/GitPython-3.1.17.ebuild |
21 |
@@ -0,0 +1,66 @@ |
22 |
+# Copyright 1999-2021 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+ |
27 |
+PYTHON_COMPAT=( python3_{7..9} ) |
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 unittest |
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 |
+ rm -r test/performance || die |
77 |
+ # tests requiring network access |
78 |
+ sed -i -e 's:test_fetch_error:_&:' test/test_remote.py || die |
79 |
+ sed -i -e 's:test_leaking_password_in_clone_logs:_&:' test/test_repo.py || die |
80 |
+ # TODO |
81 |
+ sed -e 's:test_root_module:_&:' \ |
82 |
+ -e 's:test_base_rw:_&:' \ |
83 |
+ -i test/test_submodule.py || die |
84 |
+ rm test/test_installation.py || die |
85 |
+ |
86 |
+ distutils-r1_src_test |
87 |
+} |
88 |
|
89 |
diff --git a/dev-python/GitPython/Manifest b/dev-python/GitPython/Manifest |
90 |
index 096b5082e10..1376ea6a623 100644 |
91 |
--- a/dev-python/GitPython/Manifest |
92 |
+++ b/dev-python/GitPython/Manifest |
93 |
@@ -4,6 +4,8 @@ DIST GitPython-3.1.15.gitbundle 4811422 BLAKE2B 16399b302f7f3f36b315bcaa1535992a |
94 |
DIST GitPython-3.1.15.tar.gz 175132 BLAKE2B 5a0cc8176257a5fec9afbf81351da191fc70ad5678d3ee89d36807cdf01a7f69216916723ac551bcc29fbc07a88a9a0357d12d41b4f43888917bd45dd766328e SHA512 bee1e12625995a0264694796ec6f346a5258ec13c24517939e65eaf9b679d82afb7848c02e6222389609bdf3a0dccbce4af1bd59a5d12f2851da47878a21b210 |
95 |
DIST GitPython-3.1.16.gitbundle 4864707 BLAKE2B 9ff8a9b86da47c03de100a12c93cf97dfc0a30a8cd50231ec8f8f1363b5b38d945821ad099d89d1f39a6cc5b4af92069b20f448e9a3c81d203aa37b60907959a SHA512 69f1e7b413992161a90e5d34a877b5e942f85463f5bce453762f88fe96ffaa67ade418e43286b5aa6b1a0a8c009da49c5130b147eeba69063fb46f6a1783ce49 |
96 |
DIST GitPython-3.1.16.tar.gz 178271 BLAKE2B 1093497756ccd4a6e5329ef8858a23ead6c7ad335e316ab6aef59ddefd226021d8001646d560158c9013abe954869c521270f753a7b2af3a1833dcc6bc40a8c4 SHA512 34e43d1b26721256c46d5c02f9c1b135180ac068c141b095bdb2b24828c8e1cf875216908bb3d4a2d1439c589825adebcba9cbabf8718e0e61625fc7f91727b6 |
97 |
+DIST GitPython-3.1.17.gitbundle 9249795 BLAKE2B 2c647de0e335d58d85eb5444e52f93adb13c5e2cf9a6272fa26a7fd68bc1f467ab2134ee88a4386af03b9816cd568b7366a202480ab0fd7540202b5757a7caf3 SHA512 576082e3f6f741183392e3fa51c3ed0f3c6de668562f07ead14500644afe01ea5d667a1c30f3a111326b3bcb320b42eadfeefb9eeccb699cb19661b330321a6b |
98 |
+DIST GitPython-3.1.17.tar.gz 178303 BLAKE2B cc4a89c6d5ab8ae59439286ed4159aa4e6cc936e5ef011eecae2ba79010eb13a2e7e79635e1f89bfbc32dc58e4a6f11c9bb13f164d8111178b3302a2780d599c SHA512 c87d9de510f245a64d9df68f0e5c07744eef21669ef3beb81f2d0aefe4299f1cb4cfd2d37b87120b21781aea06fa9f8b2ccbfda1f2648c92cd9c73506b953ed4 |
99 |
DIST gitdb-4.0.5-r1.gitbundle 1499071 BLAKE2B e429014def18d645b7117b27f592ead9c518076eeee2f6cc42c4a231f9a4f61c8275ccb1def5d042d44f34863528570163e9e154bb1536a0917b10f135e2462c SHA512 6fcf345af9f72afa39f4ba931bf474b2596678f1b790e3d4e1e3f7420baafbad04689bcdee9e99407f7c2b1c6f0d36fcf524b408ceb37b95dc4980e9423b1ad7 |
100 |
DIST gitdb-4.0.7.gitbundle 1498536 BLAKE2B 1e0aff67259c04d2932dbdefb0ae07bd9fb51c5dcb99ee8431e78bf428095250ed45f5e12e2484b407bb4257050b0864e67096b3501d4829491cb7714a7b5ddf SHA512 f8b1b3de00f0597d65f528dd30495fd3dd9e1e4d494987899ef2064d23947ede799db391a59688dfa27e4fcdc9379b5352a378b39e6fb2421e6c850f81157bec |
101 |
DIST smmap-3.0.4.gitbundle 276552 BLAKE2B 2d17b927b2c644d2f1984168ee99fe5a9a58392401ac0b2894a1d5e5f9c292f32311a7a5d7669bd93c642ff791f4801d61ef3236c1dafa1434e99a17fd8751f6 SHA512 6deb282c6ece3b556c59c458b5242ff362b903441db63c005a0ab1ac055b3f974f9b34f30e0a4a41ef9246696e08b191254f72db61a8f24d4eb2f0e48a08937b |