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
847b44f2
Commit
847b44f2
authored
12 years ago
by
Piotr Ożarowski
Browse files
Options
Downloads
Patches
Plain Diff
fix regression from rev. 338 - parsing shebang from string with newlines works fine again
parent
73e5a45e
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
+2
-4
2 additions, 4 deletions
debian/changelog
debpython/tools.py
+1
-1
1 addition, 1 deletion
debpython/tools.py
with
3 additions
and
5 deletions
debian/changelog
+
2
−
4
View file @
847b44f2
python-defaults (2.7.3-3)
UNRELEASED
; urgency=low
python-defaults (2.7.3-3)
unstable
; urgency=low
[ Piotr Ożarowski ]
* dh_python2:
...
...
@@ -8,8 +8,6 @@ python-defaults (2.7.3-3) UNRELEASED; urgency=low
python3-* ones
- generates correct "python (<< 2.X)" dependencies for packages with
private Python extensions (typo fixed)
- TODO: parse interpreter version number from --shebang option and add
apropriate dependency/rt* script arguments
* pyversions.py: fix parsing DEBPYTHON_SUPPORTED env. variable
(versions should be separated using comma, as in debian_defaults
config file)
...
...
@@ -18,7 +16,7 @@ python-defaults (2.7.3-3) UNRELEASED; urgency=low
* debian/python.{pre,post}rm.in: Handle purge command the same way as
remove (thanks to Mitsuya Shibata for the bug report)
-- Piotr Ożarowski <piotr@debian.org>
Fri
,
3
1
Aug
2012
18:06:26
+0200
-- Piotr Ożarowski <piotr@debian.org>
Sun
,
2
1
Oct
2012
22:40:55
+0200
python-defaults (2.7.3-2) unstable; urgency=low
...
...
This diff is collapsed.
Click to expand it.
debpython/tools.py
+
1
−
1
View file @
847b44f2
...
...
@@ -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(2\.\d+)?(?:-dbg)?)(?:\s(.*))?
$
'
)
SHEBANG_RE
=
re
.
compile
(
r
'
^#!\s*(.*?/bin/.*?)(python(2\.\d+)?(?:-dbg)?)(?:\s(.*))?
[$\r\n].*
'
)
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