dev-python/gitdb: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-01-18 09:24:43 +01:00
parent b0a58b6204
commit e47f4ab247
2 changed files with 0 additions and 66 deletions

View File

@@ -1,2 +1 @@
DIST gitdb-4.0.11.tar.gz 394469 BLAKE2B a79caf7def6094f1c99ff8621d7a01a9bc438e3ff54c73e5e9f598fada892e0209334edf73415476e31aef1cd0cd344fba6c8fe11c80cc157fdef5b9d2cda292 SHA512 024256481c553cd8e4b7fb0c0adc735aa6485c396e43aba73873cd4ad950ca686c3df7000a85acd1ac4f09db3f6ab613018739d24a8a69b4708150c171acf13d
DIST gitdb-4.0.12.tar.gz 394684 BLAKE2B 5176e65a3991c2d2bfc925995029b4d8f35ec7206ff0b60400b82ffb20c2e4b8a15d6494c7841c18e642a17ec42491bd44fa8052469e48bfbd3ee3dc7f99c2c4 SHA512 10891c05dd238094b6b62ff0346529af98c1110eabc3c26992afb6cd767b938291a1e1ff6dc2c33423cbcf11c0a8daf0718232a20522c06a40fb5113a64a7b6a

View File

@@ -1,65 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="GitDB is a pure-Python git object database"
HOMEPAGE="
https://github.com/gitpython-developers/gitdb/
https://pypi.org/project/gitdb/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
RDEPEND="
>=dev-python/smmap-3.0.1[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-vcs/git
)
"
distutils_enable_tests pytest
src_prepare() {
# unpin deps
sed -i -e 's:,<[0-9.]*::' setup.py || die
distutils-r1_src_prepare
}
src_test() {
local i
mkdir "${T}"/repo || die
cd "${T}"/repo || die
for (( i = 0; i < 2500; ++i )); do
echo "${i}" > file"${i}" || die
done
git init || die
git config user.email "you@example.com" || die
git config user.name "Your Name" || die
git add -A || die
git commit -q -m ".." || die
git clone --bare "${T}"/repo "${T}"/repo.git || die
cd "${S}" || die
distutils-r1_src_test
}
python_test() {
local EPYTEST_IGNORE=(
gitdb/test/performance
)
local -x GITDB_TEST_GIT_REPO_BASE="${T}"/repo.git
epytest
}