commit:     4ec91d90a2d4df811292c3a08d82ceeea1392b1a
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 22 19:24:40 2025 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat Nov 22 19:24:40 2025 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=4ec91d90

const_autotool: drop no longer used constants

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 lib/portage/__init__.py       |  1 -
 lib/portage/const_autotool.py | 14 ++------------
 2 files changed, 2 insertions(+), 13 deletions(-)

diff --git a/lib/portage/__init__.py b/lib/portage/__init__.py
index 504ee3e8a2..82e22d382e 100644
--- a/lib/portage/__init__.py
+++ b/lib/portage/__init__.py
@@ -165,7 +165,6 @@ try:
         REPO_NAME_FILE,
         # BEGIN PREFIX LOCAL
         EPREFIX,
-        rootuid,
         # END PREFIX LOCAL
     )
 

diff --git a/lib/portage/const_autotool.py b/lib/portage/const_autotool.py
index b52462468e..2e11e27870 100644
--- a/lib/portage/const_autotool.py
+++ b/lib/portage/const_autotool.py
@@ -1,20 +1,10 @@
-# Copyright: 2005-2009 Gentoo Foundation
+# Copyright: 2005-2025 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 # all vars that are to wind up in portage_const must have their name listed in 
__all__
 
-__all__ = ["EPREFIX", "SYSCONFDIR",
-               "portageuser", "portagegroup", "rootuser", "rootuid", "rootgid",
-               "PORTAGE_BASH", "PORTAGE_MV"]
+__all__ = ["EPREFIX", "rootgid"]
 
 EPREFIX      = "@PORTAGE_EPREFIX@"
-SYSCONFDIR   = "@sysconfdir@"
 
-portagegroup = "@portagegroup@"
-portageuser  = "@portageuser@"
-rootuser     = "@rootuser@"
-rootuid      = @rootuid@
 rootgid      = @rootgid@
-
-PORTAGE_BASH = "@PORTAGE_BASH@"
-PORTAGE_MV   = "@PORTAGE_MV@"

Reply via email to