Source: modernize
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Uploaders: Benjamin Drung <benjamin.drung@cloud.ionos.com>
Section: python
Priority: optional
Build-Depends: debhelper-compat (= 12),
               dh-python,
               python3-all,
               python3-nose,
               python3-setuptools
Standards-Version: 4.5.0
Homepage: https://github.com/python-modernize/python-modernize
Testsuite: autopkgtest-pkg-python
Vcs-Browser: https://salsa.debian.org/python-team/packages/modernize
Vcs-Git: https://salsa.debian.org/python-team/packages/modernize.git

Package: modernize
Architecture: all
Depends: python3-libmodernize, ${misc:Depends}, ${python3:Depends}
Description: Modernizes Python code for eventual Python 3 migration
 This library is a very thin wrapper around lib2to3 to utilize it to make
 Python 2 code more modern with the intention of eventually porting it over
 to Python 3.
 .
 This package installs the python-modernize command line tool. It works like
 2to3. It does not guarantee, but it attempts to spit out a codebase compatible
 with Python 2.6+ or Python 3. The code that it generates has a runtime
 dependency on six, unless the --no-six option is used. Version 1.9.0 or later
 of six is recommended. Some of the fixers output code that is not compatible
 with Python 2.5 or lower.

Package: python3-libmodernize
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}
Description: Modernizes Python code for eventual Python 3 migration (Python 3)
 This library is a very thin wrapper around lib2to3 to utilize it to make
 Python 2 code more modern with the intention of eventually porting it over
 to Python 3.
 .
 This package installs the library for Python 3.
