mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
selftest: drop distutils3 test from recipetool
The distutils*.bbclasses have been moved from oe-core to meta-python, so drop test_recipetool_create_python3_distutils test case. [YOCTO #14610] (From OE-Core rev: 54ae2f647dc7dbafa5b90e9edbd62a0d355702f5) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
33e4144e1d
commit
c99211fa6f
@@ -472,25 +472,6 @@ class RecipetoolCreateTests(RecipetoolBase):
|
||||
inherits = ['setuptools3']
|
||||
self._test_recipe_contents(recipefile, checkvars, inherits)
|
||||
|
||||
def test_recipetool_create_python3_distutils(self):
|
||||
# Test creating python3 package from tarball (using distutils3 class)
|
||||
temprecipe = os.path.join(self.tempdir, 'recipe')
|
||||
os.makedirs(temprecipe)
|
||||
pn = 'docutils'
|
||||
pv = '0.14'
|
||||
recipefile = os.path.join(temprecipe, '%s_%s.bb' % (pn, pv))
|
||||
srcuri = 'https://files.pythonhosted.org/packages/84/f4/5771e41fdf52aabebbadecc9381d11dea0fa34e4759b4071244fa094804c/docutils-%s.tar.gz' % pv
|
||||
result = runCmd('recipetool create -o %s %s' % (temprecipe, srcuri))
|
||||
self.assertTrue(os.path.isfile(recipefile))
|
||||
checkvars = {}
|
||||
checkvars['LICENSE'] = 'BSD-3-Clause & GPL & PSF'
|
||||
checkvars['LIC_FILES_CHKSUM'] = 'file://COPYING.txt;md5=35a23d42b615470583563132872c97d6'
|
||||
checkvars['SRC_URI'] = 'https://files.pythonhosted.org/packages/84/f4/5771e41fdf52aabebbadecc9381d11dea0fa34e4759b4071244fa094804c/docutils-${PV}.tar.gz'
|
||||
checkvars['SRC_URI[md5sum]'] = 'c53768d63db3873b7d452833553469de'
|
||||
checkvars['SRC_URI[sha256sum]'] = '51e64ef2ebfb29cae1faa133b3710143496eca21c530f3f71424d77687764274'
|
||||
inherits = ['distutils3']
|
||||
self._test_recipe_contents(recipefile, checkvars, inherits)
|
||||
|
||||
def test_recipetool_create_github_tarball(self):
|
||||
# Basic test to ensure github URL mangling doesn't apply to release tarballs
|
||||
temprecipe = os.path.join(self.tempdir, 'recipe')
|
||||
|
||||
Reference in New Issue
Block a user