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: Sun, 31 May 2020 21:00:42
Message-Id: 1590958825.4bc3b3c413a6e35afbeec26a22b76f6e7ba9ae2f.mgorny@gentoo
1 commit: 4bc3b3c413a6e35afbeec26a22b76f6e7ba9ae2f
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 31 20:54:58 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun May 31 21:00:25 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bc3b3c4
7
8 dev-python/GitPython: Bump to 3.1.3, py39
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/GitPython/GitPython-3.1.3.ebuild | 57 +++++++++++++++++++++++++++++
13 dev-python/GitPython/Manifest | 1 +
14 2 files changed, 58 insertions(+)
15
16 diff --git a/dev-python/GitPython/GitPython-3.1.3.ebuild b/dev-python/GitPython/GitPython-3.1.3.ebuild
17 new file mode 100644
18 index 00000000000..4ac8b651ff0
19 --- /dev/null
20 +++ b/dev-python/GitPython/GitPython-3.1.3.ebuild
21 @@ -0,0 +1,57 @@
22 +# Copyright 1999-2020 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +PYTHON_COMPAT=( python3_{6..9} )
28 +PYTHON_REQ_USE="threads(+)"
29 +
30 +inherit distutils-r1
31 +
32 +TEST_P=GitPython-3.1.0
33 +GITDB_P=gitdb-4.0.2
34 +SMMAP_P=smmap-3.0.1
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 ~arm64 ~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 "you@×××××××.com" || die
61 + git config --global user.name "Your Name" || 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 + # remove performance tests
71 + rm -r git/test/performance || die
72 + # tests requiring network access
73 + sed -i -e 's:test_fetch_error:_&:' git/test/test_remote.py || die
74 + # broken apparently
75 + sed -i -e 's:test_rev_parse:_&:' git/test/test_repo.py || die
76 +
77 + distutils-r1_src_test
78 +}
79
80 diff --git a/dev-python/GitPython/Manifest b/dev-python/GitPython/Manifest
81 index 5c8456094ad..9838c86720f 100644
82 --- a/dev-python/GitPython/Manifest
83 +++ b/dev-python/GitPython/Manifest
84 @@ -1,5 +1,6 @@
85 DIST GitPython-3.1.0.gitbundle 8618276 BLAKE2B a1ecf49c47804b399453c6931fb54903309944b47a5a8ccd02d62f4b27943e60b4b58a9e67567008fa4d5bc791b1c86642659c045c885e2155e2c44bb1a4ea81 SHA512 a71463f861f840d3169a8351155665243d9f0f0a72e210940f9f7872cfd49b6ddfac827f0ec5bc61079d8066fc7ba210a03dd99f3bbd598e22ccbcacfe8e61b3
86 DIST GitPython-3.1.1.tar.gz 430310 BLAKE2B f6402c4f8d72f4352bf97b72ac0c39b347683c411dcb7b74405119773954a185fe7dc11e13232d56f4a9f938e64b865f42cbd3a857427d985e29f024eb4e0880 SHA512 a913fb611479456d4b804c56039ed8d8ac8cb183f58c874e265141f2b5b46befd4a8a2f5d94ac1cf8ea7fc99e901568a9fc054d50df0ac242d7d184add8ca1b3
87 DIST GitPython-3.1.2.tar.gz 430474 BLAKE2B bda0fc9d591dd3b64158e318386349c18ed0775f462c487726faed7ce10781296103133b64cdbfd56947e38621790b177b6c9869596dc8a523a17b00690fe5e4 SHA512 051b59b56a163839bf7754860bfc8e21cfde08b8e7d0fd66239c234b89ba5a83fa7e8540a12c5df3563e5353d1e01119dd1b0a5ea1c22daf7e071fb963cbc3a4
88 +DIST GitPython-3.1.3.tar.gz 430558 BLAKE2B 0a36e066ad4d3d994ebaa76492f4953c0eaf8b4a0fc163af646f288ed45591e0dee532502c03007af5f6d6cf5633a32bc12a9a777fad6d745bdbc286a4815de4 SHA512 ea4043c8be79cec7ffc9c6b6383be37dcf7b4a877cf02d6fc8c9e7d39a5005e088c8780dd6e0fcd72c0711c997228f417773c82572f569c5ca1128f5ebe56736
89 DIST gitdb-4.0.2.gitbundle 1474197 BLAKE2B 93dc8aeb3a43f0950bec1e8dc0c0156543a0a1ce1f20a7f0b2cd05c110338af05b6c6300c3f4b2c05e0f895496248e5fdca74eb599a4ea9aa983ed399d91f7c6 SHA512 8d4ebc93d6869a60b7717fc090000067e86a7e0373c281d0fb9939a6e2e283864256f827919eeb13be977254c0c71a4864d8e7c9b4b6dcc0af6275aa59681960
90 DIST smmap-3.0.1.gitbundle 263781 BLAKE2B 6e06586010814ce0f59367c7f9289dad4891ee1debbc020b192af3945207da05b1e34907f1871f5b6b9638706b9e2fdacf390fcfff6bd06af84b9fd80f7e63a8 SHA512 c2b6c0b295c2997ed53727d3d1458ae7ec5ddbde9c83349286904726865fc026a70161955498b1a06371fb8d937e7386b80b4ea0c2e5d1c647718e6dbea93104