package/python-{smmap2, gitdb2}: bump versions to 4.0.0 and 4.0.7

This commit bumps the python-smmap2 and python-gitdb2 packages in
lockstep, as the new version of gitdb2 requires a newer version of
smmap2, but the current version of gitdb2 cannot work with the newer
version of smmap2 (sigh).

Also, upstream the projects have been renamed: gitdb2 is now named
gitdb on PyPi (see https://pypi.org/project/gitdb2/) and smmap2 is now
named smmap (https://pypi.org/project/smmap2/). However, to avoid
needless churn, we don't rename the Buildroot packages, but that
rename is visible in the name of the tarballs being downloaded.

Also, since version 4.0.0, smmap supports only Python 3.x, so we add a
dependency on Python 3.x and drop the test case of gitdb2 on Python
2.x.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Thomas Petazzoni
2021-09-19 14:45:14 +02:00
committed by Arnout Vandecappelle (Essensium/Mind)
parent fe1eb2a0b3
commit 8bc8f4c416
8 changed files with 15 additions and 34 deletions

View File

@@ -1,16 +1,6 @@
from tests.package.test_python import TestPythonPackageBase
class TestPythonPy2Gitdb2(TestPythonPackageBase):
__test__ = True
config = TestPythonPackageBase.config + \
"""
BR2_PACKAGE_PYTHON=y
BR2_PACKAGE_PYTHON_GITDB2=y
"""
sample_scripts = ["tests/package/sample_python_gitdb2.py"]
class TestPythonPy3Gitdb2(TestPythonPackageBase):
__test__ = True
config = TestPythonPackageBase.config + \

View File

@@ -1,16 +1,6 @@
from tests.package.test_python import TestPythonPackageBase
class TestPythonPy2Smmap2(TestPythonPackageBase):
__test__ = True
config = TestPythonPackageBase.config + \
"""
BR2_PACKAGE_PYTHON=y
BR2_PACKAGE_PYTHON_SMMAP2=y
"""
sample_scripts = ["tests/package/sample_python_smmap2.py"]
class TestPythonPy3Smmap2(TestPythonPackageBase):
__test__ = True
config = TestPythonPackageBase.config + \