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/gitdb/
Date: Mon, 27 Dec 2021 21:16:33
Message-Id: 1640639748.1f0961dbdb3c4c40ca6fb4a310d837c4bd979b3f.mgorny@gentoo
1 commit: 1f0961dbdb3c4c40ca6fb4a310d837c4bd979b3f
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 27 21:15:48 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 27 21:15:48 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f0961db
7
8 dev-python/gitdb: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/gitdb/Manifest | 1 -
13 dev-python/gitdb/gitdb-4.0.7.ebuild | 62 -------------------------------------
14 2 files changed, 63 deletions(-)
15
16 diff --git a/dev-python/gitdb/Manifest b/dev-python/gitdb/Manifest
17 index e5dc9714e80f..f044b27a55a3 100644
18 --- a/dev-python/gitdb/Manifest
19 +++ b/dev-python/gitdb/Manifest
20 @@ -1,2 +1 @@
21 -DIST gitdb-4.0.7.tar.gz 394664 BLAKE2B 4a4586ac276c719110e7ad9ddccca8c0f45cca42f6740d990a974b043a749148088c495ad1939794382ff4094afa712cfa7f17619f371423f1b7a10e65ce72d2 SHA512 db63a613ee59249a3fccbd09fc0eca5747b166180bb5885737f849e339e81dfacd04f65e438fef241cf013cde33fe8c99a569c1599b2b5defd37b50e87dbdb0a
22 DIST gitdb-4.0.8.tar.gz 394637 BLAKE2B 8eb3b04664df0fb40b93ee814d94a2526d62127c3dd7d0908f8c3ab9c3fc4d7ad368ad6a4288e509ce2f6e43348cb4f3761aaf404040bad1c59bc920517888af SHA512 fa883bf135080a9defa039bf1f13aebdb91c7e8d397c870e24d7c13acc1b30fc32c6299b43c117657382c1908ace748b0967bc53e02c2d73633cc8603fcb8003
23
24 diff --git a/dev-python/gitdb/gitdb-4.0.7.ebuild b/dev-python/gitdb/gitdb-4.0.7.ebuild
25 deleted file mode 100644
26 index 908e5834607d..000000000000
27 --- a/dev-python/gitdb/gitdb-4.0.7.ebuild
28 +++ /dev/null
29 @@ -1,62 +0,0 @@
30 -# Copyright 1999-2021 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -PYTHON_COMPAT=( python3_{8..10} )
36 -
37 -inherit distutils-r1
38 -
39 -DESCRIPTION="GitDB is a pure-Python git object database"
40 -HOMEPAGE="
41 - https://github.com/gitpython-developers/gitdb
42 - https://pypi.org/project/gitdb/"
43 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 -
45 -LICENSE="BSD"
46 -SLOT="0"
47 -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
48 -
49 -RDEPEND="
50 - >=dev-python/smmap-3.0.1[${PYTHON_USEDEP}]"
51 -BDEPEND="
52 - test? (
53 - dev-vcs/git
54 - )"
55 -
56 -distutils_enable_tests nose
57 -
58 -src_prepare() {
59 - # remove unnecessary version restriction
60 - # https://github.com/gitpython-developers/gitdb/issues/67
61 - sed -i -e '/smmap/s:,<4::' setup.py || die
62 - distutils-r1_src_prepare
63 -}
64 -
65 -src_test() {
66 - local i
67 -
68 - mkdir "${T}"/repo || die
69 - cd "${T}"/repo || die
70 -
71 - for (( i = 0; i < 2500; ++i )); do
72 - echo "${i}" > file"${i}" || die
73 - done
74 -
75 - git init || die
76 - git config user.email "you@×××××××.com" || die
77 - git config user.name "Your Name" || die
78 - git add -A || die
79 - git commit -q -m ".." || die
80 - git clone --bare "${T}"/repo "${T}"/repo.git || die
81 - cd "${S}" || die
82 -
83 - distutils-r1_src_test
84 -}
85 -
86 -python_test() {
87 - #TRAVIS=1 disables performance tests which rely on the gitdb repo
88 - local -x TRAVIS=1
89 - local -x GITDB_TEST_GIT_REPO_BASE="${T}"/repo.git
90 - nosetests -v || die "Tests fail with ${EPYTHON}"
91 -}