From 69051588e2f955485fe5d45d45e616bc60a2de57 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 31 Jan 2021 18:57:01 +0000 Subject: gentoo resync : 31.01.2021 --- dev-python/gitdb/Manifest | 2 +- dev-python/gitdb/gitdb-4.0.5-r1.ebuild | 62 ++++++++++++++++++++++++++++++++++ dev-python/gitdb/gitdb-4.0.5.ebuild | 55 ------------------------------ 3 files changed, 63 insertions(+), 56 deletions(-) create mode 100644 dev-python/gitdb/gitdb-4.0.5-r1.ebuild delete mode 100644 dev-python/gitdb/gitdb-4.0.5.ebuild (limited to 'dev-python/gitdb') diff --git a/dev-python/gitdb/Manifest b/dev-python/gitdb/Manifest index 5f0d6f3255ef..4a3b10627049 100644 --- a/dev-python/gitdb/Manifest +++ b/dev-python/gitdb/Manifest @@ -1,3 +1,3 @@ DIST gitdb-4.0.5.tar.gz 392815 BLAKE2B ab0c557f1233ec6f454769c3d72d982c876cf7b8f67d8b36f9ed8a6a2ee4a04a7a22e1a7453aad0d128436e679940ffea9b2c1e6d433083634b47ffff08b396c SHA512 a3f562928a863121c4051663a0674aa94937527b2fc40a7f392d2913d4d1443bda278e2f7cf362d499389691d24a2d965ab89a6533d42a157db3ab629a377e83 -EBUILD gitdb-4.0.5.ebuild 1157 BLAKE2B b08611e7ffaac88ceff4c906e0349a7a1a2db0a5a153908df987e68dfffb115131ace63f7cb3757db27a5469e2c7f5a88001e3a359bb74cf72d43b3e6fea0a86 SHA512 04fb8b396b03842f6485fcd51b50221574da063105084d4a134f9e72a93281f6229a247318810a3a085c5ff579d8aa9219c4242bc1f8fd5e57f1e3e053e5892e +EBUILD gitdb-4.0.5-r1.ebuild 1347 BLAKE2B 205d44c5695c5f73533a68637a951df4e8533d0ab5f5b7bd183405cbd45e830e8dbf156763b3a61a2ea226a128ba16e779f575441dad04864049cbaf52f960b7 SHA512 e39f7a11195b48ee3bbb405a8f4f3a400ff08d83ca7817919387b8da6f8b49051540b1dd51e9714cb268f05a115e4d32281c1acd4d3996ec1f7b14b8668d2a54 MISC metadata.xml 411 BLAKE2B 270925cade7731451404999603981322c15224b7a6a2580c957af06cf8dbc940adeb40a63452ae6ce11f725a01af58ff56e85c4ba63a92e2027f4c13c81e1689 SHA512 361528c0a12026a9bef55a22d172ca8fbb0f82389ad2e867a2d8bcf65913cff9a2d510121f6b54be00a1d8ccb2bca471e2c3579054d3746fcedae910d4f3b361 diff --git a/dev-python/gitdb/gitdb-4.0.5-r1.ebuild b/dev-python/gitdb/gitdb-4.0.5-r1.ebuild new file mode 100644 index 000000000000..9b989f33a302 --- /dev/null +++ b/dev-python/gitdb/gitdb-4.0.5-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) + +inherit distutils-r1 + +DESCRIPTION="GitDB is a pure-Python git object database" +HOMEPAGE=" + https://github.com/gitpython-developers/gitdb + https://pypi.org/project/gitdb/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~arm arm64 x86" + +RDEPEND=" + >=dev-python/smmap-3.0.1[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-vcs/git + )" + +distutils_enable_tests nose + +src_prepare() { + # remove unnecessary version restriction + # https://github.com/gitpython-developers/gitdb/issues/67 + sed -i -e '/smmap/s:,<4::' 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() { + #TRAVIS=1 disables performance tests which rely on the gitdb repo + local -x TRAVIS=1 + local -x GITDB_TEST_GIT_REPO_BASE="${T}"/repo.git + nosetests -v || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/gitdb/gitdb-4.0.5.ebuild b/dev-python/gitdb/gitdb-4.0.5.ebuild deleted file mode 100644 index d8e1f930e716..000000000000 --- a/dev-python/gitdb/gitdb-4.0.5.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6..9} ) - -inherit distutils-r1 - -DESCRIPTION="GitDB is a pure-Python git object database" -HOMEPAGE=" - https://github.com/gitpython-developers/gitdb - https://pypi.org/project/gitdb/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 x86" - -RDEPEND=" - >=dev-python/smmap-3.0.1[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( - dev-vcs/git - )" - -distutils_enable_tests nose - -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() { - #TRAVIS=1 disables performance tests which rely on the gitdb repo - local -x TRAVIS=1 - local -x GITDB_TEST_GIT_REPO_BASE="${T}"/repo.git - nosetests -v || die "Tests fail with ${EPYTHON}" -} -- cgit v1.2.3