Package: lintian
Version: 2.5.1
Severity: normal

In attempt of using of dh_python2 and dh_python3 helpers in one generalized
rule, I've created a following target in debian/rules:

    binary-install/python-uwsgidecorators binary-
install/python3-uwsgidecorators::
      # [...here PYVER_MAJOR variable is computed based on package name...]
      dh_python$(PYVER_MAJOR) -p $(cdbs_curpkg)

When python-uwsgidecorators package is building, PYVER_MAJOR variable has value
2, so dh_python2 helper is callled. When python3-uwsgidecorators package is
building, PYVER_MAJOR variable has value 3, so dh_python3 helper is callled.

So far, packages are built fine, they are installs and works without problem.

But Lintian check of source package emits warning 'W: dh_python-is-obsolete'
about debian/rules line with 'dh_python$(PYVER_MAJOR)'.

debian/rules is a Makefile and I'm using valid Makefile syntax with no calls to
obsolete dh_python.



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.39-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lintian depends on:
ii  binutils              2.21.52.20110606-2 The GNU assembler, linker and bina
ii  bzip2                 1.0.5-6            high-quality block-sorting file co
ii  diffstat              1.54-1             produces graph of changes introduc
ii  file                  5.04-5+b1          Determines file type using "magic"
ii  gettext               0.18.1.1-3         GNU Internationalization utilities
ii  intltool-debian       0.35.0+20060710.1  Help i18n of RFC822 compliant conf
ii  libapt-pkg-perl       0.1.24+b2          Perl interface to libapt-pkg
ii  libclass-accessor-per 0.34-1             Perl module that automatically gen
ii  libdpkg-perl          1.16.0.3           Dpkg perl modules
ii  libemail-valid-perl   0.184-1            Perl module for checking the valid
ii  libipc-run-perl       0.89-1             Perl module for running processes
ii  libparse-debianchange 1.2.0-1            parse Debian changelogs and output
ii  libtimedate-perl      1.2000-1           collection of modules to manipulat
ii  liburi-perl           1.58-1             module to manipulate and access UR
ii  locales               2.13-7             Embedded GNU C Library: National L
ii  man-db                2.6.0.2-1          on-line manual pager
ii  perl [libdigest-sha-p 5.12.3-7+b1        Larry Wall's Practical Extraction 
ii  unzip                 6.0-4              De-archiver for .zip files

lintian recommends no packages.

Versions of packages lintian suggests:
pn  binutils-multiarch            <none>     (no description available)
ii  dpkg-dev                      1.16.0.3   Debian package development tools
ii  libhtml-parser-perl           3.68-1+b1  collection of modules that parse H
pn  libtext-template-perl         <none>     (no description available)
ii  man-db                        2.6.0.2-1  on-line manual pager
ii  xz-utils                      5.0.0-2    XZ-format compression utilities

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to