Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
python-defaults
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pkg
python-defaults
Commits
f25a1d1a
Commit
f25a1d1a
authored
14 years ago
by
Piotr Ożarowski
Browse files
Options
Downloads
Patches
Plain Diff
Make the error message about missing extension more clear
(and more verbose in --verbose mode)
parent
418630ae
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/changelog
+7
-0
7 additions, 0 deletions
debian/changelog
dh_python2
+7
-2
7 additions, 2 deletions
dh_python2
with
14 additions
and
2 deletions
debian/changelog
+
7
−
0
View file @
f25a1d1a
python-defaults (2.6.6-6) UNRELEASED; urgency=low
* Make the error message about missing extension more clear
(and more verbose in --verbose mode)
-- Piotr Ożarowski <piotr@debian.org> Sat, 06 Nov 2010 00:19:39 +0100
python-defaults (2.6.6-5) experimental; urgency=low
python-defaults (2.6.6-5) experimental; urgency=low
* pycompile: if installed Python is requested via -V option, use it even if
* pycompile: if installed Python is requested via -V option, use it even if
...
...
This diff is collapsed.
Click to expand it.
dh_python2
+
7
−
2
View file @
f25a1d1a
...
@@ -142,8 +142,13 @@ def share(package, stats, options):
...
@@ -142,8 +142,13 @@ def share(package, stats, options):
versions_without_ext
=
debsorted
(
set
(
pubvers
)
-
\
versions_without_ext
=
debsorted
(
set
(
pubvers
)
-
\
stats
[
'
public_ext
'
])
stats
[
'
public_ext
'
])
if
not
versions_without_ext
:
if
not
versions_without_ext
:
log
.
error
(
'
you most probably have to build extension
'
log
.
error
(
'
extension for python%s is missing
'
,
'
for python%s.
'
,
vrepr
(
version
))
vrepr
(
version
))
log
.
info
(
'
possible solutions are: building extensions
'
'
for all supported Python versions
'
'
(`pyversions -vr`);
'
'
adjusting X-Python-Version field;
'
'
passing --no-guessing-versions to dh_python2
'
)
exit
(
12
)
exit
(
12
)
srcver
=
versions_without_ext
[
0
]
srcver
=
versions_without_ext
[
0
]
if
srcver
in
stats
[
'
public_vers
'
]:
if
srcver
in
stats
[
'
public_vers
'
]:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment