diff options
-rw-r--r-- | g_sorcery/ebuild.py | 2 | ||||
-rw-r--r-- | tests/test_ebuild.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/g_sorcery/ebuild.py b/g_sorcery/ebuild.py index c7a60e1..55d43c4 100644 --- a/g_sorcery/ebuild.py +++ b/g_sorcery/ebuild.py @@ -183,7 +183,7 @@ class DefaultEbuildGenerator(EbuildGenerator): if hasattr(layout, "eapi"): self.template.append("EAPI=%s" % layout.eapi) else: - self.template.append("EAPI=5") + self.template.append("EAPI=8") self.template.append("") if hasattr(layout, "vars_before_inherit"): diff --git a/tests/test_ebuild.py b/tests/test_ebuild.py index e227c97..f31e103 100644 --- a/tests/test_ebuild.py +++ b/tests/test_ebuild.py @@ -74,7 +74,7 @@ class TestEbuildGenerator(BaseTest): ebuild = ebuild_g.generate(self.package) self.assertEqual(ebuild, ['# automatically generated by g-sorcery', '# please do not edit this file', '', - 'EAPI=5', '', + 'EAPI=8', '', 'TEST_RAW_VALUE=raw_value', 'TEST_VALUE="value"', '', 'inherit g-test', '', 'DESCRIPTION="testing ebuild"', '', |