diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-python/gitdb | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-python/gitdb')
| -rw-r--r-- | dev-python/gitdb/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/gitdb/gitdb-4.0.12.ebuild | 65 | ||||
| -rw-r--r-- | dev-python/gitdb/metadata.xml | 13 |
3 files changed, 79 insertions, 0 deletions
diff --git a/dev-python/gitdb/Manifest b/dev-python/gitdb/Manifest new file mode 100644 index 000000000000..7271387321e0 --- /dev/null +++ b/dev-python/gitdb/Manifest @@ -0,0 +1 @@ +DIST gitdb-4.0.12.tar.gz 394684 BLAKE2B 5176e65a3991c2d2bfc925995029b4d8f35ec7206ff0b60400b82ffb20c2e4b8a15d6494c7841c18e642a17ec42491bd44fa8052469e48bfbd3ee3dc7f99c2c4 SHA512 10891c05dd238094b6b62ff0346529af98c1110eabc3c26992afb6cd767b938291a1e1ff6dc2c33423cbcf11c0a8daf0718232a20522c06a40fb5113a64a7b6a diff --git a/dev-python/gitdb/gitdb-4.0.12.ebuild b/dev-python/gitdb/gitdb-4.0.12.ebuild new file mode 100644 index 000000000000..53d0e29beddb --- /dev/null +++ b/dev-python/gitdb/gitdb-4.0.12.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +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 +} diff --git a/dev-python/gitdb/metadata.xml b/dev-python/gitdb/metadata.xml new file mode 100644 index 000000000000..cee0c561c683 --- /dev/null +++ b/dev-python/gitdb/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="pypi">gitdb</remote-id> + <remote-id type="github">gitpython-developers/gitdb</remote-id> + </upstream> +</pkgmetadata> |
