From 2771f79232c273bc2a57d23bf335dd81ccf6af28 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 5 Dec 2021 02:47:11 +0000 Subject: gentoo resync : 05.12.2021 --- dev-python/GitPython/GitPython-3.1.20.ebuild | 74 ----------------------- dev-python/GitPython/GitPython-3.1.24-r1.ebuild | 78 +++++++++++++++++++++++++ dev-python/GitPython/GitPython-3.1.24.ebuild | 74 ----------------------- dev-python/GitPython/Manifest | 5 +- 4 files changed, 79 insertions(+), 152 deletions(-) delete mode 100644 dev-python/GitPython/GitPython-3.1.20.ebuild create mode 100644 dev-python/GitPython/GitPython-3.1.24-r1.ebuild delete mode 100644 dev-python/GitPython/GitPython-3.1.24.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 deleted file mode 100644 index 8c5496608e19..000000000000 --- a/dev-python/GitPython/GitPython-3.1.20.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# 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/GitPython-3.1.24-r1.ebuild b/dev-python/GitPython/GitPython-3.1.24-r1.ebuild new file mode 100644 index 000000000000..30ab2d60d781 --- /dev/null +++ b/dev-python/GitPython/GitPython-3.1.24-r1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +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 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-vcs/git + >=dev-python/gitdb-4.0.1[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + >=dev-python/ddt-1.1.1[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +src_prepare() { + # upstream reverted the changes needing py3.10's typing module + # but did not update the dep + sed -i -e '/typing-extensions/d' requirements.txt || die + distutils-r1_src_prepare +} + +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 EPYTEST_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 +} diff --git a/dev-python/GitPython/GitPython-3.1.24.ebuild b/dev-python/GitPython/GitPython-3.1.24.ebuild deleted file mode 100644 index 52f88701083a..000000000000 --- a/dev-python/GitPython/GitPython-3.1.24.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# 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 ~riscv 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 878a3aa1bf28..f4322615061c 100644 --- a/dev-python/GitPython/Manifest +++ b/dev-python/GitPython/Manifest @@ -1,9 +1,6 @@ -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.24.gitbundle 9658020 BLAKE2B 4ac2c1a238de1d6e5be9f2d65ec486a1a48b38695946889f8ba1c7f0474216e251d6385737d0576be9ece09d3751a305d756b58a21dc20a279609a35553de0f0 SHA512 9f05b4c92b85fa80e9b774380758c1a6e0d4ada81c170ddd6c542a31fae1a047844a481e8478afc3472e3a226f8eca1a37a3ef7a6b9c06787fd84543cd073b1e DIST GitPython-3.1.24.tar.gz 191249 BLAKE2B b60f5186aea33434d77b63997e5e9dc277b49a97934bfe250795af9c0ed92d00c478dd4475a00faa2f5867882f81161dcd21ed46c86883a48b8397266b5318de SHA512 af2aa85574287827e5d2b78f7a19776be57518aa0b8af7a3fb92bef0d97c6a27b3272ed39adf2080b39cd5a9eb114164de7a2a9bbf73cfe1fe2647e0b053b092 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 2028 BLAKE2B 6bf6960d553d420e9479de6d0c9055d0ac63049beb4ba73915174a262a22e407d7402d63f2ded83267f297d00c0d4903dafc53619a4e6c7a18f148c2139fe68b SHA512 4c5e2b8bc642e8a7a501589ec8e722cf930a899141cb09eee8705f744097284b26ae0c303597de52f90c3e7f65ec3d28ea97d70db2712b5335eb2770f99a39f0 -EBUILD GitPython-3.1.24.ebuild 2035 BLAKE2B b114913bdcf97ee641cf3a760ced19512ec7256a7902f1d219b1085349d279f41e3cf463f7a8a761ee8978d348ea1290baa082d132d6c6a73f4e6afc1d0a66c0 SHA512 370d92f0afae6fc323391759962b579b2eb74b48e613d10c8d3ce6f8a2d18bb5a038e83a941ef71d17f8c6858e4a58ba246536575fbc1ef7ae90e2a8a6248a69 +EBUILD GitPython-3.1.24-r1.ebuild 2160 BLAKE2B bba35eb79d2703d6786e45edf532b184a1a262c8e72016e873bd4eefbe31fcb20f78d6c575ff5169068dab2db14ffabd759ae6e69d6dffa14095345ef52afb7a SHA512 38d311a3554a5073c1ccda4d629d3edf32e5ec9cc80f1f7a63f752e3e935c3eb4247a5f017c127153622471fb3cb4b6937c3e3fb0a248f866f99dc7657619d3d MISC metadata.xml 407 BLAKE2B 49fd8d520d575be1489c299f22595120fad882f055b9cf2d02b87382c6d8f0ff38af694e5584b4da579aa84b82c2f1032e4afb64cafd9f4fe9212a6d67b4a752 SHA512 1bebe1e134eb86a4745cf7e297d45118a2bdd3d8a71d0034294b5c799a9cee763c63b61b34c6707c52f61058f727f4b827dd020d285fc297712b29eb7c1129ef -- cgit v1.2.3