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
dad46bd6
Commit
dad46bd6
authored
13 years ago
by
Piotr Ożarowski
Browse files
Options
Downloads
Patches
Plain Diff
fix handling "distname[features]" in debpython.pydist.guess_dependency
(closes: 636255)
parent
540f4fb1
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
-0
2 additions, 0 deletions
debian/changelog
debpython/pydist.py
+2
-1
2 additions, 1 deletion
debpython/pydist.py
with
4 additions
and
1 deletion
debian/changelog
+
2
−
0
View file @
dad46bd6
...
...
@@ -8,6 +8,8 @@ python-defaults (2.7.2-5) UNRELEASED; urgency=low
other packages, which do not use a helper/bytecompile them)
- add --no-dbg-cleaning option (to disable removing files from debug
packages)
- fix handling "distname[features]" in debpython.pydist.guess_dependency
(closes: 636255)
* pyclean now accepts --package and private dir argument at the same time
[ Scott Kitterman ]
...
...
This diff is collapsed.
Click to expand it.
debpython/pydist.py
+
2
−
1
View file @
dad46bd6
...
...
@@ -127,7 +127,8 @@ def guess_dependency(req, version=None):
'
or your upstream author to fix requires.txt
'
)
exit
(
8
)
req_dict
=
req_dict
.
groupdict
()
details
=
data
.
get
(
req_dict
[
'
name
'
].
lower
())
name
=
req_dict
[
'
name
'
]
# drop "[features]"
details
=
data
.
get
(
name
.
lower
())
if
details
:
for
item
in
details
:
if
version
and
version
not
in
item
.
get
(
'
versions
'
,
version
):
...
...
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