This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=370d46ee672d5d2728c77f28952050daff605dcc

commit 370d46ee672d5d2728c77f28952050daff605dcc
Author: Guillem Jover <[email protected]>
AuthorDate: Fri May 23 02:56:37 2025 +0200

    Dpkg::Build::Info: Remove deprecated module
    
    There are apparently no longer any user for this module, so it should be
    safe to remove now. Any unknown user can easily be fixed by switching to
    the Dpkg::BuildInfo module instead.
---
 scripts/Dpkg/Build/Info.pm | 98 ----------------------------------------------
 scripts/Makefile.am        |  1 -
 scripts/po/POTFILES.in     |  1 -
 3 files changed, 100 deletions(-)

diff --git a/scripts/Dpkg/Build/Info.pm b/scripts/Dpkg/Build/Info.pm
deleted file mode 100644
index efbfec765..000000000
--- a/scripts/Dpkg/Build/Info.pm
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright © 2016-2022 Guillem Jover <[email protected]>
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <https://www.gnu.org/licenses/>.
-
-=encoding utf8
-
-=head1 NAME
-
-Dpkg::Build::Info - handle build information
-
-=head1 DESCRIPTION
-
-The Dpkg::Build::Info module provides functions to handle the build
-information.
-
-This module is deprecated, use L<Dpkg::BuildInfo> instead.
-
-=cut
-
-package Dpkg::Build::Info 1.02;
-
-use strict;
-use warnings;
-
-our @EXPORT_OK = qw(
-    get_build_env_whitelist
-    get_build_env_allowed
-);
-
-use Exporter qw(import);
-
-use Dpkg::BuildInfo;
-
-=head1 FUNCTIONS
-
-=over 4
-
-=item @envvars = get_build_env_allowed()
-
-Get an array with the allowed list of environment variables that can affect
-the build, but are still not privacy revealing.
-
-This is a deprecated alias for Dpkg::BuildInfo::get_build_env_allowed().
-
-=cut
-
-sub get_build_env_allowed {
-    #warnings::warnif('deprecated',
-    #    'Dpkg::Build::Info::get_build_env_allowed() is deprecated, ' .
-    #    'use Dpkg::BuildInfo::get_build_env_allowed() instead');
-    return Dpkg::BuildInfo::get_build_env_allowed();
-}
-
-=item @envvars = get_build_env_whitelist()
-
-This is a deprecated alias for Dpkg::BuildInfo::get_build_env_allowed().
-
-=cut
-
-sub get_build_env_whitelist {
-    warnings::warnif('deprecated',
-        'Dpkg::Build::Info::get_build_env_whitelist() is deprecated, ' .
-        'use Dpkg::BuildInfo::get_build_env_allowed() instead');
-    return Dpkg::BuildInfo::get_build_env_allowed();
-}
-
-=back
-
-=head1 CHANGES
-
-=head2 Version 1.02 (dpkg 1.21.14)
-
-Deprecate module: replaced by L<Dpkg::BuildInfo>.
-
-=head2 Version 1.01 (dpkg 1.20.1)
-
-New function: get_build_env_allowed().
-
-Deprecated function: get_build_env_whitelist().
-
-=head2 Version 1.00 (dpkg 1.18.14)
-
-Mark the module as public.
-
-=cut
-
-1;
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 645925287..25e80ac4f 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -18,7 +18,6 @@ nobase_dist_perllib_DATA = \
        Dpkg/BuildProfiles.pm \
        Dpkg/BuildTree.pm \
        Dpkg/BuildTypes.pm \
-       Dpkg/Build/Info.pm \
        Dpkg/Changelog.pm \
        Dpkg/Changelog/Debian.pm \
        Dpkg/Changelog/Entry.pm \
diff --git a/scripts/po/POTFILES.in b/scripts/po/POTFILES.in
index 5d8e03c75..25fd9dd64 100644
--- a/scripts/po/POTFILES.in
+++ b/scripts/po/POTFILES.in
@@ -22,7 +22,6 @@ scripts/dpkg-vendor.pl
 scripts/Dpkg.pm
 scripts/Dpkg/Arch.pm
 scripts/Dpkg/Archive/Ar.pm
-scripts/Dpkg/Build/Info.pm
 scripts/Dpkg/BuildAPI.pm
 scripts/Dpkg/BuildDriver.pm
 scripts/Dpkg/BuildDriver/DebianRules.pm

-- 
Dpkg.Org's dpkg

Reply via email to