From cc4618c9ba3d974948ebf340b542d8cb01db2f55 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 16 Sep 2021 22:05:01 +0100 Subject: gentoo resync : 16.09.2021 --- dev-python/GitPython/GitPython-3.1.20.ebuild | 2 +- dev-python/GitPython/GitPython-3.1.23.ebuild | 74 ++++++++++++++++++++++++++++ dev-python/GitPython/Manifest | 7 ++- dev-python/GitPython/metadata.xml | 2 +- 4 files changed, 81 insertions(+), 4 deletions(-) create mode 100644 dev-python/GitPython/GitPython-3.1.23.ebuild (limited to 'dev-python/GitPython') diff --git a/dev-python/GitPython/GitPython-3.1.20.ebuild b/dev-python/GitPython/GitPython-3.1.20.ebuild index 220df8b08d24..8c5496608e19 100644 --- a/dev-python/GitPython/GitPython-3.1.20.ebuild +++ b/dev-python/GitPython/GitPython-3.1.20.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{8..9} ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 diff --git a/dev-python/GitPython/GitPython-3.1.23.ebuild b/dev-python/GitPython/GitPython-3.1.23.ebuild new file mode 100644 index 000000000000..4cf458b0a12e --- /dev/null +++ b/dev-python/GitPython/GitPython-3.1.23.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..9} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +TEST_P=GitPython-${PV} +GITDB_P=gitdb-4.0.7 +SMMAP_P=smmap-4.0.0 + +DESCRIPTION="Library used to interact with Git repositories" +HOMEPAGE="https://github.com/gitpython-developers/GitPython https://pypi.org/project/GitPython/" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz + test? ( + https://dev.gentoo.org/~mgorny/dist/${TEST_P}.gitbundle + https://dev.gentoo.org/~mgorny/dist/${GITDB_P}.gitbundle + https://dev.gentoo.org/~mgorny/dist/${SMMAP_P}.gitbundle + )" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-vcs/git + >=dev-python/gitdb-4.0.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' python3_7)" +BDEPEND=" + test? ( + >=dev-python/ddt-1.1.1[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +src_test() { + git config --global user.email "travis@ci.com" || die + git config --global user.name "Travis Runner" || die + + git clone "${DISTDIR}/${TEST_P}.gitbundle" "${T}"/test || die + git clone "${DISTDIR}/${GITDB_P}.gitbundle" \ + "${T}"/test/git/ext/gitdb || die + git clone "${DISTDIR}/${SMMAP_P}.gitbundle" \ + "${T}"/test/git/ext/gitdb/gitdb/ext/smmap || die + + cd "${T}"/test || die + git rev-parse HEAD > .git/refs/remotes/origin/master || die + TRAVIS=1 ./init-tests-after-clone.sh || die + cat test/fixtures/.gitconfig >> ~/.gitconfig || die + sed -i -e '/addopts/d' pyproject.toml || die + + distutils-r1_src_test +} + +python_test() { + local deselect=( + # performance tests are unreliable by design + test/performance + # unimpoortant and problematic + test/test_installation.py + # Internet + test/test_repo.py::TestRepo::test_leaking_password_in_clone_logs + # TODO + test/test_submodule.py::TestSubmodule::test_base_rw + test/test_submodule.py::TestSubmodule::test_root_module + ) + + epytest ${deselect[@]/#/--deselect } +} diff --git a/dev-python/GitPython/Manifest b/dev-python/GitPython/Manifest index 4ba6d1bef746..30ffac433216 100644 --- a/dev-python/GitPython/Manifest +++ b/dev-python/GitPython/Manifest @@ -1,6 +1,9 @@ DIST GitPython-3.1.20.gitbundle 9511740 BLAKE2B 17d1aeec50a85ff5b8688a984ff41933bc8a3d91ec2e706053fcaae9298d9d469b7c816ac61f82934d454f6ebacdbce4d56ac8936ba89a7a694b59cca8b9e821 SHA512 d49e429b45f9edbee9419b94136762a75cf33b1693f9f8fb809b0bf63f0a763d501d9ca42f332d156ba7d79d07eed310763af51797adec4dac30f7c073c415b2 DIST GitPython-3.1.20.tar.gz 188094 BLAKE2B 3741b6b2e6c77ea8464eb83abfc744e9c646d18368648f805a2aa2f6fdb1875ec61b7e4aa4e224a67bff49686268c86b2cd2b3faf19e9eaa4c9587aacb7fa3f4 SHA512 10dc9f154067eb79a98fbf3204e370e814ab00661ffd7c2e1a1dc8ba46475ed48ec8c355820deba609486c865301e13bd54797ab7da8fccf8cff9cc9efebb153 +DIST GitPython-3.1.23.gitbundle 9661389 BLAKE2B 2b70484d695fa723b436d51e843fe4d03b2754be5b079d9a13b34c129c9559fd728ed3cf4873c534fdb404a802a3d6984f032b797cc490eafa12b89979a97e27 SHA512 6f9b29c6ece3d497b262d9cb9c561bdd9be8d60a01df0a81acaf7a9ef71297968a90ccc712f45a898ec1d5a28c84121ccf427b9805dee37412d172efd0407be4 +DIST GitPython-3.1.23.tar.gz 189889 BLAKE2B 063ecfbb3820cc05f631b6dcaeabaec79e15041d47c5e39fa2364beba1a6db07cf74a6442517136cfe29d14d85efb1b08ac609c1468f9e7d86527037c57d67ac SHA512 06037303c4ce6fc1f9cc0ba7839196ece3721fd45840a10bbc31701d54a46591323b4fe7e2c459a2b3811d0d859170ec9b5b2cb4b52bb50a09897f6b8cb82676 DIST gitdb-4.0.7.gitbundle 1498536 BLAKE2B 1e0aff67259c04d2932dbdefb0ae07bd9fb51c5dcb99ee8431e78bf428095250ed45f5e12e2484b407bb4257050b0864e67096b3501d4829491cb7714a7b5ddf SHA512 f8b1b3de00f0597d65f528dd30495fd3dd9e1e4d494987899ef2064d23947ede799db391a59688dfa27e4fcdc9379b5352a378b39e6fb2421e6c850f81157bec DIST smmap-4.0.0.gitbundle 322820 BLAKE2B 20ac688cafa9ad036f3e21ac1bb9323ae55e618eb0806634fe4c885d2b12fe802779adcffb0fea3da9707e94109a168738d63abe990d1ce9b141c779aa6798d6 SHA512 03296099303eb38ac9ca46733255024355aed2e64a2f9409552ae34af76beb9685a6dd2458df986593fe426e428bc184617abe22c8b92ee01c8c7e1d98de8592 -EBUILD GitPython-3.1.20.ebuild 2029 BLAKE2B 54e1ab4cb1f44365afa227ea32bd0bc66173738277bca1dbfb1598c7062be37da6c502934352f324c970e9ed659219336fa615f72a88b41705d06e1d2f5806ea SHA512 dc2114f1d70a5b667a0f35a5184faadf6b694bc93f063308ef2f2fcc0394e98c097cddc7b4f9df03d97d63016b606c4630c9d93a14c520e2c825df240e1d0b13 -MISC metadata.xml 406 BLAKE2B ae639878f2162f9c2e313d10ba8122ede602251b28c0e82f36f73c92822d2626601bc6ce575cbd4bd5087acaea1a048079901ef67d787849c2061c68b2ad77a9 SHA512 2942febc2c1edbd075b64bdb5b6cffc2ecfa07231e8d210de4dbbaef3dd64a4df876dfddd8f1227ff2b1b9264d8746d951dc9e08db64bebddf0b0e1dea2a641a +EBUILD GitPython-3.1.20.ebuild 2028 BLAKE2B 6bf6960d553d420e9479de6d0c9055d0ac63049beb4ba73915174a262a22e407d7402d63f2ded83267f297d00c0d4903dafc53619a4e6c7a18f148c2139fe68b SHA512 4c5e2b8bc642e8a7a501589ec8e722cf930a899141cb09eee8705f744097284b26ae0c303597de52f90c3e7f65ec3d28ea97d70db2712b5335eb2770f99a39f0 +EBUILD GitPython-3.1.23.ebuild 2031 BLAKE2B 9ef2b22a3c75cb89a2713164b5dc7d57af66a2fbfad5a4600796cc43223550ffd52fe7e1a14cbca6fb7de1f73eb4c2cedd6e626d3b3614b65f023c3a74abe2dd SHA512 981afb56abf8e9cb648772057d5ed7a47742d23284e7f4c7cc86dde771a0340998d7154a01ff7a5e54282b76a557b5dbb4e714f08f744ebadb77a4d407331885 +MISC metadata.xml 407 BLAKE2B 49fd8d520d575be1489c299f22595120fad882f055b9cf2d02b87382c6d8f0ff38af694e5584b4da579aa84b82c2f1032e4afb64cafd9f4fe9212a6d67b4a752 SHA512 1bebe1e134eb86a4745cf7e297d45118a2bdd3d8a71d0034294b5c799a9cee763c63b61b34c6707c52f61058f727f4b827dd020d285fc297712b29eb7c1129ef diff --git a/dev-python/GitPython/metadata.xml b/dev-python/GitPython/metadata.xml index 1e0c7269c568..3c5dfe92db61 100644 --- a/dev-python/GitPython/metadata.xml +++ b/dev-python/GitPython/metadata.xml @@ -1,5 +1,5 @@ - + python@gentoo.org -- cgit v1.2.3