mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 21:08:35 -07:00
dev-python/GitPython: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
TEST_P=GitPython-${PV}
|
||||
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
|
||||
rm -r test/performance || die
|
||||
# tests requiring network access
|
||||
sed -i -e 's:test_fetch_error:_&:' test/test_remote.py || die
|
||||
rm test/test_installation.py || die
|
||||
# broken apparently (also fails in git clone)
|
||||
sed -e 's:test_rev_parse:_&:' \
|
||||
-i test/test_repo.py || die
|
||||
|
||||
distutils-r1_src_test
|
||||
}
|
||||
@@ -1,5 +1,3 @@
|
||||
DIST GitPython-3.1.11.gitbundle 4421698 BLAKE2B 96a4be2b12149c34f0e81580cb8906920a107f9856da585779f8d13590fb14c838a5e73d8831692ea81dd0ed73e17cdab1020b50cb49c7f193d54c1e838d9385 SHA512 64a443e0c517627045d98f7a60b6cdd817f6af3d12f5619cca7c4e24f9ce42018c2aca427365d633e4aaeb5e99d99a944d85b2286c34be1c17e85e441d9693c3
|
||||
DIST GitPython-3.1.11.tar.gz 170908 BLAKE2B b327f38bbe9d92caf8b5ba6f3c1e353ad00bad2c3e7b3ae59991eaee5a5dd9f228fd80b86fd7e908fa71563e369d7340070ddc0e093549bfc8378cdf20ba9723 SHA512 fe4baf9c8b3668f29fbc476ec2ba0a8d58a50ffe596b9f3037ddb4cb5c0c7faf0d34c6efac7567074f1b28b866e42dad19c91a5381eef606d3b3ff74b77649de
|
||||
DIST GitPython-3.1.12.gitbundle 8721154 BLAKE2B d00ba18e53797ebc2067de8422506db0fafc27860cd3f99a36ad4740956518cfcab98d8211d595e1347c22df3d0ac13557881f471829c429db1527099f53438e SHA512 c84c76668bbc593998cf834d18d0207ae282cf0fd6fd22e5491435884855bb2b6699b61e51b35e6bbcfc4cd2f3c15aa9b435115fe5b0957ab4c63c7aa640ed6b
|
||||
DIST GitPython-3.1.12.tar.gz 171126 BLAKE2B e74a613f5269893f29f41add6f39c34497613b728b14c4c65c5fcbd52bee52a2ef53c4db3bc63f843ce4ec1e63f3988029852e9195677db32b704d0429480130 SHA512 4a2915991831fcf0dc0326d9e9be0f06fba1e93560d07c19fad5cbcb9ff04262e7d2225c5174a8c2f55e4c44b1c027bec4ff61d7dc137d8bf110ab96026742cc
|
||||
DIST GitPython-3.1.13.gitbundle 4434559 BLAKE2B d8a2478d40f908d7913d08a3a5e98bea3a50366659838a8d3ec335ce7864e7ddbe290de0581b7c4315c83f1cd9ed517af06a7b9232378ee299090accde0b595e SHA512 6d62488a3c9ff66b4f25dd3f1419835591379736ca3faf57055121a8ccb5b8da933e3b37836a6da59de29cb62b03ebef6c38d7387c86dc95da2206024c58f289
|
||||
|
||||
Reference in New Issue
Block a user