summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases/recipetool.py
diff options
context:
space:
mode:
authorTim Orling <ticotimo@gmail.com>2022-02-24 21:30:51 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-25 15:07:51 +0000
commitc99211fa6fca4917ebd542ed3c098a4dccaeb1b4 (patch)
tree5df40fff2be39063ee0c4e27e63249938073e448 /meta/lib/oeqa/selftest/cases/recipetool.py
parent33e4144e1df94533ff35d2c8cff1f88cf7fdd314 (diff)
downloadpoky-c99211fa6fca4917ebd542ed3c098a4dccaeb1b4.tar.gz
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>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/recipetool.py')
-rw-r--r--meta/lib/oeqa/selftest/cases/recipetool.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/meta/lib/oeqa/selftest/cases/recipetool.py b/meta/lib/oeqa/selftest/cases/recipetool.py
index 9db1ddb532..09448bad01 100644
--- a/meta/lib/oeqa/selftest/cases/recipetool.py
+++ b/meta/lib/oeqa/selftest/cases/recipetool.py
@@ -472,25 +472,6 @@ class RecipetoolCreateTests(RecipetoolBase):
472 inherits = ['setuptools3'] 472 inherits = ['setuptools3']
473 self._test_recipe_contents(recipefile, checkvars, inherits) 473 self._test_recipe_contents(recipefile, checkvars, inherits)
474 474
475 def test_recipetool_create_python3_distutils(self):
476 # Test creating python3 package from tarball (using distutils3 class)
477 temprecipe = os.path.join(self.tempdir, 'recipe')
478 os.makedirs(temprecipe)
479 pn = 'docutils'
480 pv = '0.14'
481 recipefile = os.path.join(temprecipe, '%s_%s.bb' % (pn, pv))
482 srcuri = 'https://files.pythonhosted.org/packages/84/f4/5771e41fdf52aabebbadecc9381d11dea0fa34e4759b4071244fa094804c/docutils-%s.tar.gz' % pv
483 result = runCmd('recipetool create -o %s %s' % (temprecipe, srcuri))
484 self.assertTrue(os.path.isfile(recipefile))
485 checkvars = {}
486 checkvars['LICENSE'] = 'BSD-3-Clause & GPL & PSF'
487 checkvars['LIC_FILES_CHKSUM'] = 'file://COPYING.txt;md5=35a23d42b615470583563132872c97d6'
488 checkvars['SRC_URI'] = 'https://files.pythonhosted.org/packages/84/f4/5771e41fdf52aabebbadecc9381d11dea0fa34e4759b4071244fa094804c/docutils-${PV}.tar.gz'
489 checkvars['SRC_URI[md5sum]'] = 'c53768d63db3873b7d452833553469de'
490 checkvars['SRC_URI[sha256sum]'] = '51e64ef2ebfb29cae1faa133b3710143496eca21c530f3f71424d77687764274'
491 inherits = ['distutils3']
492 self._test_recipe_contents(recipefile, checkvars, inherits)
493
494 def test_recipetool_create_github_tarball(self): 475 def test_recipetool_create_github_tarball(self):
495 # Basic test to ensure github URL mangling doesn't apply to release tarballs 476 # Basic test to ensure github URL mangling doesn't apply to release tarballs
496 temprecipe = os.path.join(self.tempdir, 'recipe') 477 temprecipe = os.path.join(self.tempdir, 'recipe')