2011-04-14 04:17:29 |
IRIE Shinsuke |
bug |
|
|
added bug |
2011-04-14 04:17:29 |
IRIE Shinsuke |
attachment added |
|
dh_python3_dont_use_prerm-pyclean.patch https://bugs.launchpad.net/bugs/760401/+attachment/2033252/+files/dh_python3_dont_use_prerm-pyclean.patch |
|
2011-04-14 04:18:42 |
IRIE Shinsuke |
bug watch added |
|
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=622708 |
|
2011-04-14 04:18:42 |
IRIE Shinsuke |
bug task added |
|
python3-defaults (Debian) |
|
2011-04-14 17:39:14 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Review Team |
2011-04-14 20:27:55 |
Scott Kitterman |
python3-defaults (Ubuntu): importance |
Undecided |
High |
|
2011-04-14 20:27:55 |
Scott Kitterman |
python3-defaults (Ubuntu): status |
New |
In Progress |
|
2011-04-14 20:27:55 |
Scott Kitterman |
python3-defaults (Ubuntu): assignee |
|
Scott Kitterman (kitterman) |
|
2011-04-14 20:57:27 |
Scott Kitterman |
python3-defaults (Ubuntu): status |
In Progress |
Fix Committed |
|
2011-04-14 22:01:05 |
IRIE Shinsuke |
description |
I use dh_python3 in python3 3.2-1.
When building deb package which uses python3 and includes only private modules, dh_python3 incorrectly inserts prerm-pyclean into the prerm scripts instead of prerm-py3clean:
============================================================
#!/bin/sh
set -e
# Automatically added by dh_python3:
if which pyclean >/dev/null 2>&1; then
pyclean -p blender2.5
else
dpkg -L blender2.5 | grep \.py$ | while read file
do
rm -f "${file}"[co] >/dev/null
done
fi
# End automatically added section
============================================================
So, when upgrading my package using dh_python3, I got many warnings and many unnecessary .pyc files remained in my system.
I also tested python3 3.2-1 which was taken from Debian sid, and confirmed that the bug is still in the upstream latest version.
I have already reported this bug at Debian bug tracker and posted a patch. |
I use dh_python3 in python3 3.2-1.
When building deb package which uses python3 and includes only private modules, dh_python3 incorrectly inserts prerm-pyclean into the prerm scripts instead of prerm-py3clean:
============================================================
#!/bin/sh
set -e
# Automatically added by dh_python3:
if which pyclean >/dev/null 2>&1; then
pyclean -p blender2.5
else
dpkg -L blender2.5 | grep \.py$ | while read file
do
rm -f "${file}"[co] >/dev/null
done
fi
# End automatically added section
============================================================
So, when upgrading my package using dh_python3, I got many warnings and many unnecessary .pyc files remained in my system.
I also tested python3 3.2-2 which was taken from Debian sid, and confirmed that the bug is still in the upstream latest version.
I have already reported this bug at Debian bug tracker and posted a patch. |
|
2011-04-14 23:17:15 |
Launchpad Janitor |
python3-defaults (Ubuntu): status |
Fix Committed |
Fix Released |
|
2011-04-15 00:12:19 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/python3-defaults |
|
2011-04-17 03:33:15 |
Launchpad Janitor |
branch linked |
|
lp:debian/python3-defaults |
|
2011-05-31 12:13:14 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/python3-defaults |
|
2011-08-11 00:03:17 |
Bug Watch Updater |
python3-defaults (Debian): status |
Unknown |
Fix Released |
|
2012-09-14 16:40:37 |
Launchpad Janitor |
branch linked |
|
lp:~mitya57/+junk/python3-defaults |
|
2012-09-14 16:49:25 |
Dmitry Shachnev |
branch unlinked |
lp:~mitya57/+junk/python3-defaults |
|
|