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
6a699ff6
Commit
6a699ff6
authored
13 years ago
by
Piotr Ożarowski
Browse files
Options
Downloads
Patches
Plain Diff
add python to Depends if unversioned python shebang is detected in private directory
parent
e4fc8e1b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/changelog
+3
-1
3 additions, 1 deletion
debian/changelog
debpython/depends.py
+3
-0
3 additions, 0 deletions
debpython/depends.py
with
6 additions
and
1 deletion
debian/changelog
+
3
−
1
View file @
6a699ff6
...
...
@@ -5,7 +5,9 @@ python-defaults (2.7.2-6) UNRELEASED; urgency=low
[ Piotr Ożarowski ]
* dh_python2:
- handle private dirs without leading slash
- handle private dir paths without leading slash
- add python to Depends if unversioned python shebang is detected in
private directory
-- Scott Kitterman <scott@kitterman.com> Sat, 03 Sep 2011 11:21:35 -0400
...
...
This diff is collapsed.
Click to expand it.
debpython/depends.py
+
3
−
0
View file @
6a699ff6
...
...
@@ -128,6 +128,9 @@ class Dependencies(object):
else
:
log
.
warn
(
'
dependency on python%s (from shebang) ignored
'
'
- it
\'
s not supported anymore
'
,
vrepr
(
v
))
# /usr/bin/python shebang → add python to Depends
if
any
(
True
for
i
,
v
in
details
.
get
(
'
shebangs
'
,
[])
if
v
is
None
):
self
.
depend
(
'
python
'
)
if
details
.
get
(
'
compile
'
,
False
):
self
.
depend
(
MINPYCDEP
)
...
...
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