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
0d64bff5
Commit
0d64bff5
authored
14 years ago
by
Piotr Ożarowski
Browse files
Options
Downloads
Patches
Plain Diff
Set the right minimum required python package version in packages with private modules
parent
53cedd88
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
+4
-2
4 additions, 2 deletions
debian/changelog
debpython/depends.py
+3
-1
3 additions, 1 deletion
debpython/depends.py
with
7 additions
and
3 deletions
debian/changelog
+
4
−
2
View file @
0d64bff5
python-defaults (2.6.6-1)
UNRELEASED
; urgency=low
python-defaults (2.6.6-1)
unstable
; urgency=low
[ Piotr Ożarowski ]
* dh_python2: typo in --help output fixed (thanks to Adam D. Barratt)
* Bump python-minimal's Breaks of python2.5-minimal to << 2.5.5-7 (due to
missing runpy module)
* Set the right minimum required python package version in packages with
private modules
[ Scott Kitterman ]
* debian/python-policy.sgml and debian/pyversions.py fix typos (thanks to
...
...
@@ -12,7 +14,7 @@ python-defaults (2.6.6-1) UNRELEASED; urgency=low
[ Matthias Klose ]
* Bump version to 2.6.6.
--
Matthias Klose <doko
@debian.org> Tue,
24
Aug 2010
20:03:26
+0200
--
Piotr Ożarowski <piotr
@debian.org> Tue,
31
Aug 2010
19:09:30
+0200
python-defaults (2.6.5-13) unstable; urgency=low
...
...
This diff is collapsed.
Click to expand it.
debpython/depends.py
+
3
−
1
View file @
0d64bff5
...
...
@@ -23,6 +23,7 @@ import logging
from
debpython.pydist
import
parse_pydep
,
guess_dependency
from
debpython.version
import
SUPPORTED
,
DEFAULT
,
debsorted
,
vrepr
,
vrange_str
MINPYCDEP
=
'
python (>= 2.6.5-11~)
'
# minumum version required for pycompile
log
=
logging
.
getLogger
(
'
dh_python
'
)
...
...
@@ -119,7 +120,7 @@ class Dependencies(object):
# make sure pycompile binary is available
if
stats
[
'
compile
'
]:
self
.
depend
(
"
python (>= 2.6.5-11~)
"
)
self
.
depend
(
MINPYCDEP
)
for
interpreter
,
version
in
stats
[
'
shebangs
'
]:
self
.
depend
(
interpreter
)
...
...
@@ -135,6 +136,7 @@ class Dependencies(object):
# TODO: if versions[0] not in requested_versions: FTBFS
elif
details
.
get
(
'
compile
'
,
False
):
# no hardcoded versions, but there's something to compile
self
.
depend
(
MINPYCDEP
)
args
=
''
vr
=
options
.
vrange
if
vr
:
...
...
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