summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-07-12 19:34:16 +0200
committerMichał Górny <mgorny@gentoo.org>2020-07-12 20:35:16 +0200
commit823c30e2a8cbb41ff8e2ddd937988800a7cea185 (patch)
tree04d5f0799d17f9d994c2ac7fee7b0523e25891d5 /dev-python/GitPython
parentapp-forensics/lynis: Add myself as maintainer (diff)
downloadgentoo-823c30e2a8cbb41ff8e2ddd937988800a7cea185.tar.gz
gentoo-823c30e2a8cbb41ff8e2ddd937988800a7cea185.tar.bz2
gentoo-823c30e2a8cbb41ff8e2ddd937988800a7cea185.zip
dev-python/GitPython: Bump to 3.1.5
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/GitPython')
-rw-r--r--dev-python/GitPython/GitPython-3.1.5.ebuild58
-rw-r--r--dev-python/GitPython/Manifest4
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-python/GitPython/GitPython-3.1.5.ebuild b/dev-python/GitPython/GitPython-3.1.5.ebuild
new file mode 100644
index 000000000000..7d80c563a146
--- /dev/null
+++ b/dev-python/GitPython/GitPython-3.1.5.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1
+
+TEST_P=GitPython-3.1.5
+GITDB_P=gitdb-4.0.5
+SMMAP_P=smmap-3.0.4
+
+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 ~arm64 ~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 unittest
+
+src_test() {
+ git config --global user.email "you@example.com" || die
+ git config --global user.name "Your Name" || 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
+ # remove performance tests
+ rm -r git/test/performance || die
+ # tests requiring network access
+ sed -i -e 's:test_fetch_error:_&:' git/test/test_remote.py || die
+ # broken apparently (also fails in git clone)
+ sed -e 's:test_rev_parse:_&:' \
+ -i git/test/test_repo.py || die
+
+ distutils-r1_src_test
+}
diff --git a/dev-python/GitPython/Manifest b/dev-python/GitPython/Manifest
index f596fe6dc58d..f7167b60e27b 100644
--- a/dev-python/GitPython/Manifest
+++ b/dev-python/GitPython/Manifest
@@ -1,4 +1,8 @@
DIST GitPython-3.1.0.gitbundle 8618276 BLAKE2B a1ecf49c47804b399453c6931fb54903309944b47a5a8ccd02d62f4b27943e60b4b58a9e67567008fa4d5bc791b1c86642659c045c885e2155e2c44bb1a4ea81 SHA512 a71463f861f840d3169a8351155665243d9f0f0a72e210940f9f7872cfd49b6ddfac827f0ec5bc61079d8066fc7ba210a03dd99f3bbd598e22ccbcacfe8e61b3
DIST GitPython-3.1.3.tar.gz 430558 BLAKE2B 0a36e066ad4d3d994ebaa76492f4953c0eaf8b4a0fc163af646f288ed45591e0dee532502c03007af5f6d6cf5633a32bc12a9a777fad6d745bdbc286a4815de4 SHA512 ea4043c8be79cec7ffc9c6b6383be37dcf7b4a877cf02d6fc8c9e7d39a5005e088c8780dd6e0fcd72c0711c997228f417773c82572f569c5ca1128f5ebe56736
+DIST GitPython-3.1.5.gitbundle 8795147 BLAKE2B ca876265dca1ac9b1ea2c1b21bf0ed4a5ff5d8e6bdc887dee16ebedc661cecd1d6c2ac2b0ec606dcee7c5e5b865dbaf425bfe52100ebe73331389db7a03b0f13 SHA512 5315c9985df2eeb6b8d8667e02cfff7b53fefec9f680fa0622da23f680348c9dd1aa90b6c5dba58fdf4a36748f14d1665a305553b04afed9702c6623f36d45ca
+DIST GitPython-3.1.5.tar.gz 435408 BLAKE2B 6ee25808e3ea85a502edc76e685aaa5adf998dc4497e84fcbc28d2bc8a2a7a6636ac37e5bca2d380b034d0211d218b3bedcfebeb82f31a5cbe04be024943796c SHA512 ebe5116146d653ea96aa317842bfe449cace90e95424978aba903fe7173568748f2ebd2bcb893a85d8f563c24fb9771c604a4477e41b67db9db2c83137017a63
DIST gitdb-4.0.2.gitbundle 1474197 BLAKE2B 93dc8aeb3a43f0950bec1e8dc0c0156543a0a1ce1f20a7f0b2cd05c110338af05b6c6300c3f4b2c05e0f895496248e5fdca74eb599a4ea9aa983ed399d91f7c6 SHA512 8d4ebc93d6869a60b7717fc090000067e86a7e0373c281d0fb9939a6e2e283864256f827919eeb13be977254c0c71a4864d8e7c9b4b6dcc0af6275aa59681960
+DIST gitdb-4.0.5.gitbundle 1497722 BLAKE2B 8ee85368db7f408f96f0b48250f1ed96c8df28b0439d355ce2eecbdcc5dc94382883510c57142e7e4b6ba7cd8e82b1140eca538b45692dbe8c55bce32e1b5b4f SHA512 2c55a8e402a61ebcc362a8aee4a6154705d8ff2f5e582d13c855562dd074427681f4147641fe76681b76c99ec46040c7577dfca8bbfd575fc52772a9a6f17326
DIST smmap-3.0.1.gitbundle 263781 BLAKE2B 6e06586010814ce0f59367c7f9289dad4891ee1debbc020b192af3945207da05b1e34907f1871f5b6b9638706b9e2fdacf390fcfff6bd06af84b9fd80f7e63a8 SHA512 c2b6c0b295c2997ed53727d3d1458ae7ec5ddbde9c83349286904726865fc026a70161955498b1a06371fb8d937e7386b80b4ea0c2e5d1c647718e6dbea93104
+DIST smmap-3.0.4.gitbundle 276552 BLAKE2B 2d17b927b2c644d2f1984168ee99fe5a9a58392401ac0b2894a1d5e5f9c292f32311a7a5d7669bd93c642ff791f4801d61ef3236c1dafa1434e99a17fd8751f6 SHA512 6deb282c6ece3b556c59c458b5242ff362b903441db63c005a0ab1ac055b3f974f9b34f30e0a4a41ef9246696e08b191254f72db61a8f24d4eb2f0e48a08937b