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: Thu, 26 Aug 2021 08:24:45
Message-Id: 1629966156.7d4548aeae1d768daa3b27b8bcceec9ecd580383.mgorny@gentoo
1 commit: 7d4548aeae1d768daa3b27b8bcceec9ecd580383
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 26 08:22:36 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 26 08:22:36 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d4548ae
7
8 dev-python/GitPython: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/GitPython/GitPython-3.1.18.ebuild | 66 -------------------------
13 dev-python/GitPython/GitPython-3.1.19.ebuild | 74 ----------------------------
14 dev-python/GitPython/Manifest | 4 --
15 3 files changed, 144 deletions(-)
16
17 diff --git a/dev-python/GitPython/GitPython-3.1.18.ebuild b/dev-python/GitPython/GitPython-3.1.18.ebuild
18 deleted file mode 100644
19 index 2b4965f449e..00000000000
20 --- a/dev-python/GitPython/GitPython-3.1.18.ebuild
21 +++ /dev/null
22 @@ -1,66 +0,0 @@
23 -# Copyright 1999-2021 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=7
27 -
28 -PYTHON_COMPAT=( python3_{8..10} )
29 -PYTHON_REQ_USE="threads(+)"
30 -
31 -inherit distutils-r1
32 -
33 -TEST_P=GitPython-${PV}
34 -GITDB_P=gitdb-4.0.7
35 -SMMAP_P=smmap-4.0.0
36 -
37 -DESCRIPTION="Library used to interact with Git repositories"
38 -HOMEPAGE="https://github.com/gitpython-developers/GitPython https://pypi.org/project/GitPython/"
39 -SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz
40 - test? (
41 - https://dev.gentoo.org/~mgorny/dist/${TEST_P}.gitbundle
42 - https://dev.gentoo.org/~mgorny/dist/${GITDB_P}.gitbundle
43 - https://dev.gentoo.org/~mgorny/dist/${SMMAP_P}.gitbundle
44 - )"
45 -
46 -LICENSE="BSD"
47 -SLOT="0"
48 -KEYWORDS="amd64 ~arm arm64 ~ppc64 x86 ~amd64-linux ~x86-linux"
49 -
50 -RDEPEND="
51 - dev-vcs/git
52 - >=dev-python/gitdb-4.0.1[${PYTHON_USEDEP}]
53 - $(python_gen_cond_dep '
54 - dev-python/typing-extensions[${PYTHON_USEDEP}]
55 - ' python3_7)"
56 -BDEPEND="
57 - test? (
58 - >=dev-python/ddt-1.1.1[${PYTHON_USEDEP}]
59 - )"
60 -
61 -distutils_enable_tests unittest
62 -
63 -src_test() {
64 - git config --global user.email "travis@××.com" || die
65 - git config --global user.name "Travis Runner" || die
66 -
67 - git clone "${DISTDIR}/${TEST_P}.gitbundle" "${T}"/test || die
68 - git clone "${DISTDIR}/${GITDB_P}.gitbundle" \
69 - "${T}"/test/git/ext/gitdb || die
70 - git clone "${DISTDIR}/${SMMAP_P}.gitbundle" \
71 - "${T}"/test/git/ext/gitdb/gitdb/ext/smmap || die
72 -
73 - cd "${T}"/test || die
74 - git rev-parse HEAD > .git/refs/remotes/origin/master || die
75 - TRAVIS=1 ./init-tests-after-clone.sh || die
76 - cat test/fixtures/.gitconfig >> ~/.gitconfig || die
77 - rm -r test/performance || die
78 - # tests requiring network access
79 - sed -i -e 's:test_fetch_error:_&:' test/test_remote.py || die
80 - sed -i -e 's:test_leaking_password_in_clone_logs:_&:' test/test_repo.py || die
81 - # TODO
82 - sed -e 's:test_root_module:_&:' \
83 - -e 's:test_base_rw:_&:' \
84 - -i test/test_submodule.py || die
85 - rm test/test_installation.py || die
86 -
87 - distutils-r1_src_test
88 -}
89
90 diff --git a/dev-python/GitPython/GitPython-3.1.19.ebuild b/dev-python/GitPython/GitPython-3.1.19.ebuild
91 deleted file mode 100644
92 index 87d5f7d31ad..00000000000
93 --- a/dev-python/GitPython/GitPython-3.1.19.ebuild
94 +++ /dev/null
95 @@ -1,74 +0,0 @@
96 -# Copyright 1999-2021 Gentoo Authors
97 -# Distributed under the terms of the GNU General Public License v2
98 -
99 -EAPI=8
100 -
101 -PYTHON_COMPAT=( python3_{8..10} )
102 -PYTHON_REQ_USE="threads(+)"
103 -
104 -inherit distutils-r1
105 -
106 -TEST_P=GitPython-${PV}
107 -GITDB_P=gitdb-4.0.7
108 -SMMAP_P=smmap-4.0.0
109 -
110 -DESCRIPTION="Library used to interact with Git repositories"
111 -HOMEPAGE="https://github.com/gitpython-developers/GitPython https://pypi.org/project/GitPython/"
112 -SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz
113 - test? (
114 - https://dev.gentoo.org/~mgorny/dist/${TEST_P}.gitbundle
115 - https://dev.gentoo.org/~mgorny/dist/${GITDB_P}.gitbundle
116 - https://dev.gentoo.org/~mgorny/dist/${SMMAP_P}.gitbundle
117 - )"
118 -
119 -LICENSE="BSD"
120 -SLOT="0"
121 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
122 -
123 -RDEPEND="
124 - dev-vcs/git
125 - >=dev-python/gitdb-4.0.1[${PYTHON_USEDEP}]
126 - $(python_gen_cond_dep '
127 - dev-python/typing-extensions[${PYTHON_USEDEP}]
128 - ' python3_7)"
129 -BDEPEND="
130 - test? (
131 - >=dev-python/ddt-1.1.1[${PYTHON_USEDEP}]
132 - )"
133 -
134 -distutils_enable_tests pytest
135 -
136 -src_test() {
137 - git config --global user.email "travis@××.com" || die
138 - git config --global user.name "Travis Runner" || die
139 -
140 - git clone "${DISTDIR}/${TEST_P}.gitbundle" "${T}"/test || die
141 - git clone "${DISTDIR}/${GITDB_P}.gitbundle" \
142 - "${T}"/test/git/ext/gitdb || die
143 - git clone "${DISTDIR}/${SMMAP_P}.gitbundle" \
144 - "${T}"/test/git/ext/gitdb/gitdb/ext/smmap || die
145 -
146 - cd "${T}"/test || die
147 - git rev-parse HEAD > .git/refs/remotes/origin/master || die
148 - TRAVIS=1 ./init-tests-after-clone.sh || die
149 - cat test/fixtures/.gitconfig >> ~/.gitconfig || die
150 - sed -i -e '/addopts/d' pyproject.toml || die
151 -
152 - distutils-r1_src_test
153 -}
154 -
155 -python_test() {
156 - local deselect=(
157 - # performance tests are unreliable by design
158 - test/performance
159 - # unimpoortant and problematic
160 - test/test_installation.py
161 - # Internet
162 - test/test_repo.py::TestRepo::test_leaking_password_in_clone_logs
163 - # TODO
164 - test/test_submodule.py::TestSubmodule::test_base_rw
165 - test/test_submodule.py::TestSubmodule::test_root_module
166 - )
167 -
168 - epytest ${deselect[@]/#/--deselect }
169 -}
170
171 diff --git a/dev-python/GitPython/Manifest b/dev-python/GitPython/Manifest
172 index 4ba6a31230d..39b46f53fe3 100644
173 --- a/dev-python/GitPython/Manifest
174 +++ b/dev-python/GitPython/Manifest
175 @@ -1,7 +1,3 @@
176 -DIST GitPython-3.1.18.gitbundle 9129652 BLAKE2B df2ea8fa06d4209c532a239fa5bebde29314b467811526f67629f181a62b2b5ba235a3302b979dfd87993deca238a91820b3caa58fcb7cf3aaffc3bf76b0c731 SHA512 91fd937193db8a948fb575bf24a295c349e69b132128ed3b0c4fc3be89feb76ff47f31afe422c99ccbee4cf908b3040e9dd3f568db74785d12cf6cabbc356daa
177 -DIST GitPython-3.1.18.tar.gz 181199 BLAKE2B ac50cee78b5980c6d23ec60786e8d279558a2740480e0975c212de8d96abd58da95de8d66bc9c7c3f0c7d1baa1757460f36df53552b06bd6323d3f882d0b90ae SHA512 981b3f4eec71c4e1de6efa2381c3c411aedfc51918f9f58f397926d21dabdfabb54d498ae44a5b6ceca59adf99e866df8d04f97a86df942e81408a5a0e751a15
178 -DIST GitPython-3.1.19.gitbundle 9507079 BLAKE2B 7f9304c45784ddb779642df6b4412d022dad5ee20f89e998281db426928ee7bfafadb9a849e174c7cf850b049697ac097e1d144ca40f86497c6bab03e32ede8b SHA512 1fa8b01b27a993221ba4771aca416c724c12c208169fe4a6e08666ebf20c8dd870eb01f039d33ed13d664df5c6126cc4477994092ceeea64fc77f28a68cd9279
179 -DIST GitPython-3.1.19.tar.gz 187639 BLAKE2B 835a43edc7adfbb6253abb904d2f313bb597418c749473e6ce5deef67e546ee5285146a3a8c34d6afc4f56345e3e6a6481899465c8598b5215dbadb59b0bd507 SHA512 019a558fbc60c540872451ae1cd5ab029d5b3c5d5ed4979dadaa0e1829548e04bba62173a85d8fceddab5a19bc83e1750d938f73e984a64747550e6936400c9e
180 DIST GitPython-3.1.20.gitbundle 9511740 BLAKE2B 17d1aeec50a85ff5b8688a984ff41933bc8a3d91ec2e706053fcaae9298d9d469b7c816ac61f82934d454f6ebacdbce4d56ac8936ba89a7a694b59cca8b9e821 SHA512 d49e429b45f9edbee9419b94136762a75cf33b1693f9f8fb809b0bf63f0a763d501d9ca42f332d156ba7d79d07eed310763af51797adec4dac30f7c073c415b2
181 DIST GitPython-3.1.20.tar.gz 188094 BLAKE2B 3741b6b2e6c77ea8464eb83abfc744e9c646d18368648f805a2aa2f6fdb1875ec61b7e4aa4e224a67bff49686268c86b2cd2b3faf19e9eaa4c9587aacb7fa3f4 SHA512 10dc9f154067eb79a98fbf3204e370e814ab00661ffd7c2e1a1dc8ba46475ed48ec8c355820deba609486c865301e13bd54797ab7da8fccf8cff9cc9efebb153
182 DIST gitdb-4.0.7.gitbundle 1498536 BLAKE2B 1e0aff67259c04d2932dbdefb0ae07bd9fb51c5dcb99ee8431e78bf428095250ed45f5e12e2484b407bb4257050b0864e67096b3501d4829491cb7714a7b5ddf SHA512 f8b1b3de00f0597d65f528dd30495fd3dd9e1e4d494987899ef2064d23947ede799db391a59688dfa27e4fcdc9379b5352a378b39e6fb2421e6c850f81157bec