diff options
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/recipetool.py | 19 |
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') |
