diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-04-25 11:37:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-04-25 11:37:10 +0100 |
commit | 38423c67c8a23f6a1bc42038193182e2da3116eb (patch) | |
tree | 04e2cf4bd43601b77daa79fe654e409187093c5e /dev-python/gitdb | |
parent | 623ee73d661e5ed8475cb264511f683407d87365 (diff) |
gentoo resync : 25.04.2020
Diffstat (limited to 'dev-python/gitdb')
-rw-r--r-- | dev-python/gitdb/Manifest | 2 | ||||
-rw-r--r-- | dev-python/gitdb/gitdb-4.0.4.ebuild | 55 |
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/gitdb/Manifest b/dev-python/gitdb/Manifest index ea747bc37411..b3a77e84e133 100644 --- a/dev-python/gitdb/Manifest +++ b/dev-python/gitdb/Manifest @@ -1,3 +1,5 @@ DIST gitdb-4.0.2.tar.gz 395032 BLAKE2B 0a9cff81fe1e7e8273938545c297096be181dab4ef8e771260f78c2921bcdbf929deb453d7fc893050eb93aba54a8d8a6dabf2e553892d7a9544dbb3e35b44b7 SHA512 9375710ede3f3df7c4d2b0f144d7843cec436b7128c1093c9575ceb62ee03c9f6a12941c97f8642cd8d1b8a429258ac612a78be402bf40decd4b4b5ae2e0d2a9 +DIST gitdb-4.0.4.tar.gz 392964 BLAKE2B ffbf9d78efc1a12e63ce639018a9c5fde366ae14a85b0ec7ba2866678dbeba2c31ff18cac9b5c4caa2b7e150d3aa5d55434352c38a5155477e053c5ab5eae707 SHA512 a0b2aef8b8b3487c22faeba5d6a60ff2b1a97e3ef075f28bc27140c973242b096463839516ec233065710b7450cb4d885904a7a253e2b518379283edd40cc489 EBUILD gitdb-4.0.2.ebuild 1156 BLAKE2B a916a2f479c4be5ec802780bc985f35d5e823cc7c23b0f00faf634bee2b4e1c3759cbd55294d0202227f7bfd294efc05954c9e81a1c45c682bc016a080892267 SHA512 2b507c210c9876da1d6487ee36d0daf48a08c70080516dbf607c15717f96a1266e2ed87bb81ec980ec4edafeed1647663bb14160126529858aedeca4ec4cc011 +EBUILD gitdb-4.0.4.ebuild 1156 BLAKE2B a916a2f479c4be5ec802780bc985f35d5e823cc7c23b0f00faf634bee2b4e1c3759cbd55294d0202227f7bfd294efc05954c9e81a1c45c682bc016a080892267 SHA512 2b507c210c9876da1d6487ee36d0daf48a08c70080516dbf607c15717f96a1266e2ed87bb81ec980ec4edafeed1647663bb14160126529858aedeca4ec4cc011 MISC metadata.xml 386 BLAKE2B e2ecd87d0601911cc37bad5055be83f73a24daae101ca7ef85d948d21251a14028947c285b0812af717b58eec399aee6cbc7a1cd67f58857d090d4142198429e SHA512 b9c7e7c5575d60c1f6f50f5577ca4bb9ba64285555890400edf4a7118d9a7546d71eaffdb9cc222e464b9397496ad832595e8d4f864228421a764b9ae3c3ad87 diff --git a/dev-python/gitdb/gitdb-4.0.4.ebuild b/dev-python/gitdb/gitdb-4.0.4.ebuild new file mode 100644 index 000000000000..16cea188ec73 --- /dev/null +++ b/dev-python/gitdb/gitdb-4.0.4.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +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 ~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}" +} |