From f87d83ebb0d6ae5915c4775f762a0b5bceb9b2a5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 7 Oct 2023 18:01:02 +0100 Subject: gentoo auto-resync : 07:10:2023 - 18:01:02 --- dev-python/gitdb/Manifest | 2 +- dev-python/gitdb/gitdb-4.0.10-r1.ebuild | 65 +++++++++++++++++++++++++++++++++ dev-python/gitdb/gitdb-4.0.10.ebuild | 59 ------------------------------ 3 files changed, 66 insertions(+), 60 deletions(-) create mode 100644 dev-python/gitdb/gitdb-4.0.10-r1.ebuild delete mode 100644 dev-python/gitdb/gitdb-4.0.10.ebuild (limited to 'dev-python/gitdb') diff --git a/dev-python/gitdb/Manifest b/dev-python/gitdb/Manifest index 775249ab41a7..e56fb3d53f74 100644 --- a/dev-python/gitdb/Manifest +++ b/dev-python/gitdb/Manifest @@ -1,3 +1,3 @@ DIST gitdb-4.0.10.tar.gz 394284 BLAKE2B f5a00dd3a27a17781df4c53c268c92101838ce53efcb3796a72a79f8109540912f86d746cad169ef34af2575cfb242e90cb450b658699512d37956f6902e14ed SHA512 6cfb58db322f1b18fd25d0c6537e5b24b2eb2f7a7222c1511cdee8dff39fb1249bf12691b9cb1a5d653131b8c3c57c1de2bb42139a2c8da6014332b4f1c6c03b -EBUILD gitdb-4.0.10.ebuild 1140 BLAKE2B c6fceafb2d0c07773f4283f7d8e98729c1890b2dc2b3f438588807bd2de08470005dd5b514cee9b83ee50225830d2bf245725b2c56de92e9ec75e78a289d8ff0 SHA512 dd0f508cd7690f29165f52fc736f232c0e087ef3268d4c1a75a6073c6574926ca7b92c602a5fa28203ffcca74c3793e0eda20e9fcc8f3755e0e462b353e61823 +EBUILD gitdb-4.0.10-r1.ebuild 1242 BLAKE2B 80552946ef1d4324461b36cf4289b010076ff2fc8b3d309ffa9ad791fea1702c64384eccc90d3f0bdccba5667d22c291fe42f62e6351820c2cdb5533915c7708 SHA512 258bb112fa6b8e8e43703bb8f874c0af998f6f8a6911c119ee6ac65e79050c3d12a6f7af47a7c6a3193a5b0764e055917cf7002ec23f6200f715702cd664c71c MISC metadata.xml 412 BLAKE2B 102f815a0eee2ea04a3c77b8b26f08760bbd64ee1f0b6b2523164f3b3fb576003865198574529332c2da8f6548f232b4cbc1bbc2e93fd7a437fe77dbde934ca7 SHA512 1f94c86c4366e0be10f89e3dbf935025bbf51d547b0ba65d99d2e97da0590de0d05fbe05e0277b0177fb1b2a9cea55cf824d332a224336d71cd49b0257fc31da diff --git a/dev-python/gitdb/gitdb-4.0.10-r1.ebuild b/dev-python/gitdb/gitdb-4.0.10-r1.ebuild new file mode 100644 index 000000000000..29f1be530228 --- /dev/null +++ b/dev-python/gitdb/gitdb-4.0.10-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +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 ~ia64 ~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/gitdb-4.0.10.ebuild b/dev-python/gitdb/gitdb-4.0.10.ebuild deleted file mode 100644 index 1fbb39e1a6ae..000000000000 --- a/dev-python/gitdb/gitdb-4.0.10.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -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 ~ia64 ~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_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 -} -- cgit v1.2.3