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
94cbe609
Commit
94cbe609
authored
12 years ago
by
Piotr Ożarowski
Browse files
Options
Downloads
Patches
Plain Diff
ignore /usr/bin/python3 shebangs in all packages, not just in python3-* ones
parent
9e6fc028
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
+7
-2
7 additions, 2 deletions
debian/changelog
debpython/tools.py
+1
-1
1 addition, 1 deletion
debpython/tools.py
with
8 additions
and
3 deletions
debian/changelog
+
7
−
2
View file @
94cbe609
python-defaults (2.7.3-3) UNRELEASED; urgency=low
* dh_python2: no longer sensitive to trailing slash in private dir names
(closes: #686358)
* dh_python2:
- no longer sensitive to trailing slash in private dir names
(closes: #686358)
- ignore /usr/bin/python3 shebangs in all packages, not just in
python3-* ones
- TODO: parse interpreter version number from --shebang option and add
apropriate dependency/rt* script arguments
-- Piotr Ożarowski <piotr@debian.org> Fri, 31 Aug 2012 18:06:26 +0200
...
...
This diff is collapsed.
Click to expand it.
debpython/tools.py
+
1
−
1
View file @
94cbe609
...
...
@@ -33,7 +33,7 @@ from debpython.version import RANGE_PATTERN, getver, get_requested_versions
log
=
logging
.
getLogger
(
__name__
)
EGGnPTH_RE
=
re
.
compile
(
r
'
(.*?)(-py\d\.\d(?:-[^.]*)?)?(\.egg-info|\.pth)$
'
)
SHEBANG_RE
=
re
.
compile
(
r
'
^#!\s*(.*?/bin/.*?)(python(
\d+
\.\d+)?(?:-dbg)?)(?:\s(.*))?
'
)
SHEBANG_RE
=
re
.
compile
(
r
'
^#!\s*(.*?/bin/.*?)(python(
2
\.\d+)?(?:-dbg)?)(?:\s(.*))?
$
'
)
SHAREDLIB_RE
=
re
.
compile
(
r
'
NEEDED.*libpython(\d\.\d)
'
)
INSTALL_RE
=
re
.
compile
(
r
"""
(?P<pattern>.+?) # file pattern
...
...
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