bindep/bindep
Tony Breeds 36b6b378a1 Add '_' to the list of valid characters acceptable in package name
When trying to add python-ndg_httpsclient[1] to other requirements.txt we
recieved the following stack strace:

Traceback (most recent call last):
  File "/usr/local/bin/bindep", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/bindep/main.py", line 53, in main
    depends = bindep.depends.Depends(fd.read())
  File "/usr/local/lib/python2.7/dist-packages/bindep/depends.py", line 89, in __init__
    self._rules = parser.rules()
  File "/usr/local/lib/python2.7/dist-packages/parsley.py", line 98, in invokeRule
    raise err
ometa.runtime.ParseError:
python-ndg_httpsclient      [platform:rpm]

Munging the name isn't an option as the OS package manager wont "do the right thing".

Accept '_' as valid in package names.

[1] https://pkgs.org/centos-7/epel-x86_64/python-ndg_httpsclient-0.3.2-1.el7.noarch.rpm.html

Change-Id: I8f719b9bc3ad049def19b83a4f3901a42c669e70
2016-07-29 09:20:31 -05:00
..
tests Add Archlinux support 2016-06-29 12:38:10 -04:00
__init__.py Add a --version option 2015-04-30 00:34:51 +00:00
depends.py Add '_' to the list of valid characters acceptable in package name 2016-07-29 09:20:31 -05:00
main.py Add profile to the usage text 2015-07-18 01:12:59 +00:00