summaryrefslogtreecommitdiff
path: root/lib/Debian/Debhelper/Buildsystem/python_distutils.pm
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2018-08-30 11:50:11 +0300
committerIgor Pashev <pashev.igor@gmail.com>2018-08-30 11:50:11 +0300
commit90dd10b7719d0e7fffff85474aa44a505ff001ac (patch)
treef982c0ab9a538ea6adac2ce87cf691ef93922af2 /lib/Debian/Debhelper/Buildsystem/python_distutils.pm
parentd142a13285106cade800a9956aa7cf50fe5873e9 (diff)
parentd9052a05dfc46f9589aaca3ad8e6e01c6e927101 (diff)
downloaddebhelper-90dd10b7719d0e7fffff85474aa44a505ff001ac.tar.gz
Merge https://salsa.debian.org/debian/debhelper
Diffstat (limited to 'lib/Debian/Debhelper/Buildsystem/python_distutils.pm')
-rw-r--r--lib/Debian/Debhelper/Buildsystem/python_distutils.pm7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/Debian/Debhelper/Buildsystem/python_distutils.pm b/lib/Debian/Debhelper/Buildsystem/python_distutils.pm
index 4c2a5f8d..e5fe7edc 100644
--- a/lib/Debian/Debhelper/Buildsystem/python_distutils.pm
+++ b/lib/Debian/Debhelper/Buildsystem/python_distutils.pm
@@ -10,11 +10,11 @@ package Debian::Debhelper::Buildsystem::python_distutils;
use strict;
use warnings;
use Cwd ();
-use Debian::Debhelper::Dh_Lib qw(error);
+use Debian::Debhelper::Dh_Lib qw(error deprecated_functionality);
use parent qw(Debian::Debhelper::Buildsystem);
sub DESCRIPTION {
- "Python Distutils (setup.py)"
+ "Python Distutils (setup.py) [DEPRECATED]"
}
sub DEFAULT_BUILD_DIRECTORY {
@@ -60,6 +60,9 @@ sub pre_building_step {
my $this=shift;
my $step=shift;
+ deprecated_functionality('Please use the third-party "pybuild" build system instead of python-distutils',
+ 12);
+
return unless grep /$step/, qw(build install clean);
if ($this->get_buildpath() ne $this->DEFAULT_BUILD_DIRECTORY()) {