Skip to content
Snippets Groups Projects
Commit 38788691 authored by Matthias Klose's avatar Matthias Klose
Browse files

* Rename the idle package to idle2. idle is now built for python3.

parent d937234b
No related branches found
No related tags found
No related merge requests found
......@@ -3,8 +3,9 @@ python-defaults (2.7.14-2) UNRELEASED; urgency=medium
* pycompile, pyclean, pyversions: Use python2 as the shebang to guard
against people fiddling around with the python symlink or having a
python3 installed as python in /usr/local. LP: #1715062.
* Rename the idle package to idle2. idle is now built for python3.
-- Matthias Klose <doko@debian.org> Fri, 22 Sep 2017 12:13:42 +0200
-- Matthias Klose <doko@debian.org> Sat, 23 Sep 2017 09:54:08 +0200
python-defaults (2.7.14-1) unstable; urgency=medium
......
......@@ -98,18 +98,18 @@ Description: interactive high-level object-oriented language (default python ver
This package is a dependency package, which depends on Debian's default
Python version (currently v2.7).
Package: idle
Package: idle2
Architecture: all
Depends: ${misc:Depends}, python (>= ${binary:Version}), python-tk, idle-python2.7
Enhances: python
Replaces: python (<< 2.7.3-1~)
Breaks: python (<< 2.7.3-1~)
Description: IDE for Python using Tkinter (default version)
Replaces: python (<< 2.7.3-1~), idle (<< 2.7.14-2~)
Breaks: python (<< 2.7.3-1~), idle (<< 2.7.14-2~)
Description: IDE for Python2 using Tkinter (default version)
IDLE is an Integrated Development Environment for Python.
IDLE is written using Tkinter and therefore quite platform-independent.
.
This package is a dependency package, which depends on Debian's default
Python version (currently v2.7) of IDLE.
Python2 version (currently v2.7) of IDLE.
Package: python-doc
Section: doc
......
......@@ -98,18 +98,18 @@ Description: interactive high-level object-oriented language (default python ver
This package is a dependency package, which depends on Debian's default
Python version (currently v@VER@).
Package: idle
Package: idle2
Architecture: all
Depends: ${misc:Depends}, python (>= ${binary:Version}), python-tk, idle-@PVER@
Enhances: python
Replaces: python (<< 2.7.3-1~)
Breaks: python (<< 2.7.3-1~)
Description: IDE for Python using Tkinter (default version)
Replaces: python (<< 2.7.3-1~), idle (<< 2.7.14-2~)
Breaks: python (<< 2.7.3-1~), idle (<< 2.7.14-2~)
Description: IDE for Python2 using Tkinter (default version)
IDLE is an Integrated Development Environment for Python.
IDLE is written using Tkinter and therefore quite platform-independent.
.
This package is a dependency package, which depends on Debian's default
Python version (currently v@VER@) of IDLE.
Python2 version (currently v@VER@) of IDLE.
Package: python-doc
Section: doc
......
File moved
# icon file available in a dependent package.
idle binary: menu-icon-missing
idle2 binary: menu-icon-missing
......@@ -207,25 +207,25 @@ ifeq ($(with_doc),yes)
endif
: # provide the idle and idle.1 defaults
mkdir -p debian/idle/usr/bin
install -m 755 debian/idle.py debian/idle/usr/bin/idle
mkdir -p debian/idle2/usr/bin
install -m 755 debian/idle.py debian/idle2/usr/bin/idle2
mkdir -p debian/idle/usr/share/man/man1
install -m 644 debian/idle.1 debian/idle/usr/share/man/man1/idle.1
mkdir -p debian/idle2/usr/share/man/man1
install -m 644 debian/idle.1 debian/idle2/usr/share/man/man1/idle2.1
mkdir -p debian/idle/usr/share/pixmaps
ln -sf python.xpm debian/idle/usr/share/pixmaps/idle.xpm
mkdir -p debian/idle2/usr/share/pixmaps
ln -sf python.xpm debian/idle2/usr/share/pixmaps/idle2.xpm
mkdir -p debian/idle/usr/share/applications
cp -p debian/idle.desktop debian/idle/usr/share/applications/
mkdir -p debian/idle2/usr/share/applications
cp -p debian/idle2.desktop debian/idle2/usr/share/applications/
# dh_installdebconf -i $(NOPKGS)
dh_lintian -i
dh_installdocs -i $(NOPKGS) --all debian/README.Debian
dh_installchangelogs -i $(NOPKGS)
for p in examples idle; do \
[ $$p = idle ] || p=python-$$p; \
for p in examples idle2; do \
[ $$p = idle2 ] || p=python-$$p; \
rm -rf debian/$$p/usr/share/doc/$$p; \
ln -sf python debian/$$p/usr/share/doc/$$p; \
done
......@@ -384,7 +384,7 @@ endif
dh_installchangelogs -a $(NOPKGS)
for p in all all-dev all-dbg dbg dev; do \
[ $$p = idle ] || p=python-$$p; \
[ $$p = idle2 ] || p=python-$$p; \
rm -rf debian/$$p/usr/share/doc/$$p; \
ln -sf python debian/$$p/usr/share/doc/$$p; \
done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment