Keep 2_pre* EAPI values in the deprecated list so that uninstalls still
authorZac Medico <zmedico@gentoo.org>
Wed, 11 Mar 2009 03:49:47 +0000 (03:49 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 11 Mar 2009 03:49:47 +0000 (03:49 -0000)
work normally. (trunk r12595)

svn path=/main/branches/2.1.6/; revision=12876

pym/portage/__init__.py

index 3331ae83b301495389a9740553e134846b879888..2f90061389db6e3d0e556d440bc5b46b1d169c29 100644 (file)
@@ -4809,7 +4809,7 @@ def _spawn_misc_sh(mysettings, commands, **kwargs):
                        eerror(l, phase=mydo, key=mysettings.mycpv)
        return rval
 
-_deprecated_eapis = frozenset()
+_deprecated_eapis = frozenset(["2_pre3", "2_pre2", "2_pre1"])
 
 def _eapi_is_deprecated(eapi):
        return eapi in _deprecated_eapis