python backend gets confused by version strings including '-'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pkgme |
Fix Released
|
High
|
James Westby |
Bug Description
I get the following error message when trying to run pkgme which has a '-' in the version in setup.py:
ERROR: debuild --no-lintian -S failed with returncode 1. Output:
| This package has a Debian revision number but there does not seem to be
| an appropriate original tar file or .orig directory in the parent directory;
| (expected one of framingham_
| framingham_
| continue anyway? (y/n) Use of uninitialized value $ans in pattern match (m//) at /usr/bin/debuild line 995.
TEST-CASE:
- Download tarball from https:/
- rm -r debian/
- pkgme
Removing the '-' from the version number makes it work.
Related branches
- Jonathan Lange: Approve
-
Diff: 63 lines (+35/-0)2 files modifiedpkgme/package_files.py (+13/-0)
pkgme/tests/test_package_files.py (+22/-0)
Changed in pkgme: | |
importance: | Undecided → High |
status: | New → In Progress |
assignee: | nobody → James Westby (james-w) |
Changed in pkgme: | |
status: | In Progress → Fix Committed |
Changed in pkgme: | |
status: | Fix Committed → Fix Released |
milestone: | none → 0.2 |
https:/ /myapps. developer. ubuntu. com/dev/ apps/392/ is another example.