Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/GitPython/
Date: Wed, 21 Apr 2021 06:40:29
Message-Id: 1618985140.2210e58d11b88ca1150b5f7b1078635b3190b098.mgorny@gentoo
1 commit: 2210e58d11b88ca1150b5f7b1078635b3190b098
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 21 06:05:40 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 21 06:05:40 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2210e58d
7
8 dev-python/GitPython: Bump to 3.1.15
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/GitPython/GitPython-3.1.15.ebuild | 58 ++++++++++++++++++++++++++++
13 dev-python/GitPython/Manifest | 2 +
14 2 files changed, 60 insertions(+)
15
16 diff --git a/dev-python/GitPython/GitPython-3.1.15.ebuild b/dev-python/GitPython/GitPython-3.1.15.ebuild
17 new file mode 100644
18 index 00000000000..254dbd3a49d
19 --- /dev/null
20 +++ b/dev-python/GitPython/GitPython-3.1.15.ebuild
21 @@ -0,0 +1,58 @@
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.5-r1
34 +SMMAP_P=smmap-3.0.4
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 +BDEPEND="
53 + test? (
54 + >=dev-python/ddt-1.1.1[${PYTHON_USEDEP}]
55 + )"
56 +
57 +distutils_enable_tests unittest
58 +
59 +src_test() {
60 + git config --global user.email "travis@××.com" || die
61 + git config --global user.name "Travis Runner" || die
62 +
63 + git clone "${DISTDIR}/${TEST_P}.gitbundle" "${T}"/test || die
64 + git clone "${DISTDIR}/${GITDB_P}.gitbundle" \
65 + "${T}"/test/git/ext/gitdb || die
66 + git clone "${DISTDIR}/${SMMAP_P}.gitbundle" \
67 + "${T}"/test/git/ext/gitdb/gitdb/ext/smmap || die
68 +
69 + cd "${T}"/test || die
70 + TRAVIS=1 ./init-tests-after-clone.sh || die
71 + cat test/fixtures/.gitconfig >> ~/.gitconfig || die
72 + rm -r test/performance || die
73 + # tests requiring network access
74 + sed -i -e 's:test_fetch_error:_&:' test/test_remote.py || die
75 + sed -i -e 's:test_leaking_password_in_clone_logs:_&:' test/test_repo.py || die
76 + rm test/test_installation.py || die
77 +
78 + distutils-r1_src_test
79 +}
80
81 diff --git a/dev-python/GitPython/Manifest b/dev-python/GitPython/Manifest
82 index 981dccdfc97..8dd2e5966cb 100644
83 --- a/dev-python/GitPython/Manifest
84 +++ b/dev-python/GitPython/Manifest
85 @@ -1,4 +1,6 @@
86 DIST GitPython-3.1.14.gitbundle 4446003 BLAKE2B db7844045aed7c40a3f341706e017e877bf3dedde61665754c1d4b14b98d0ddc863666ff1dceb313174a908f8fbacbda0586e53e874a1397e6eeb562cf1ddf1f SHA512 ecd570bdb85dfa64f42ce447bf381868d584eb56897954d893ba1f1ee193fa4e45f3847fe842a67276da0cf155a2501ed4c25d34d300a9776b0f068b659ba014
87 DIST GitPython-3.1.14.tar.gz 171534 BLAKE2B bcb2b7a497f6eabebe3187ad5104bede01c1a53aa52d15bdc7112198224c566cefc1ecae448dc47f6610e05cf871620a862ca6a3cca17bd8812720e64a9a1d86 SHA512 ee9015d82a53aba18dde8cede276d1d4410c7d9791c5b224c772114801c1e6dc4210c02399dc1248593a4e52d5f5e549cdbf927d6a7c7f9a5a9b0801f5d79675
88 +DIST GitPython-3.1.15.gitbundle 4811422 BLAKE2B 16399b302f7f3f36b315bcaa1535992a43b02fd888586d135824f8f4dc5ba611875d68e6d3102d71edc93848a91d3b244176d6b735ef30d65fdf64c28d325ef9 SHA512 13064036f20aaa58cf7784a3a61ed9c9e08414e9126332fc629e976889c87a2a70b1c9270774df676dcc08ded0ee3629112c60b88025536a9d13a04491b7b1e2
89 +DIST GitPython-3.1.15.tar.gz 175132 BLAKE2B 5a0cc8176257a5fec9afbf81351da191fc70ad5678d3ee89d36807cdf01a7f69216916723ac551bcc29fbc07a88a9a0357d12d41b4f43888917bd45dd766328e SHA512 bee1e12625995a0264694796ec6f346a5258ec13c24517939e65eaf9b679d82afb7848c02e6222389609bdf3a0dccbce4af1bd59a5d12f2851da47878a21b210
90 DIST gitdb-4.0.5-r1.gitbundle 1499071 BLAKE2B e429014def18d645b7117b27f592ead9c518076eeee2f6cc42c4a231f9a4f61c8275ccb1def5d042d44f34863528570163e9e154bb1536a0917b10f135e2462c SHA512 6fcf345af9f72afa39f4ba931bf474b2596678f1b790e3d4e1e3f7420baafbad04689bcdee9e99407f7c2b1c6f0d36fcf524b408ceb37b95dc4980e9423b1ad7
91 DIST smmap-3.0.4.gitbundle 276552 BLAKE2B 2d17b927b2c644d2f1984168ee99fe5a9a58392401ac0b2894a1d5e5f9c292f32311a7a5d7669bd93c642ff791f4801d61ef3236c1dafa1434e99a17fd8751f6 SHA512 6deb282c6ece3b556c59c458b5242ff362b903441db63c005a0ab1ac055b3f974f9b34f30e0a4a41ef9246696e08b191254f72db61a8f24d4eb2f0e48a08937b