spack/lib/spack/external
Todd Gamblin fe6f39b662 Use key sorting instead of cmp()
- Get rid of pkgsort() usage for preferred variants.
- Concretization is now entirely based on key-based sorting.
- Remove PreferredPackages class and various spec cmp() methods.
- Replace with PackagePrefs class that implements a key function for
  sorting according to packages.yaml.
- Clear package pref caches on config test.
- Explicit compare methods instead of total_ordering in Version.
- Our total_ordering backport wasn't making Python 3 happy for some
  reason.
- Python 3's functools.total_ordering and spelling the operators out
  fixes the problem.
- Fix unicode issues with spec hashes, json, & YAML
- Try to use str everywhere and avoid unicode objects in python 2.
2017-03-31 13:40:41 -07:00
..
_pytest Update externals to work with Python 3 2017-03-31 13:40:41 -07:00
jsonschema Add jsonschema validation for config files. 2016-01-14 10:41:35 -08:00
py Fix issues related to the switchover to pytest. (#2685) 2016-12-29 11:59:45 -08:00
yaml Update externals to work with Python 3 2017-03-31 13:40:41 -07:00
__init__.py Fix issues related to the switchover to pytest. (#2685) 2016-12-29 11:59:45 -08:00
argparse.py Add Python 3 aliases to our argparse backport. 2016-01-03 01:19:03 -08:00
distro.py Make distro more robust to unreadable files (#3110) 2017-02-10 10:23:04 -08:00
functools_backport.py Use key sorting instead of cmp() 2017-03-31 13:40:41 -07:00
ordereddict_backport.py Update externals to work with Python 3 2017-03-31 13:40:41 -07:00
pyqver2.py Update externals to work with Python 3 2017-03-31 13:40:41 -07:00
pyqver3.py Update externals to work with Python 3 2017-03-31 13:40:41 -07:00
pytest.py unit tests: replace nose with pytest (#2502) 2016-12-29 07:48:48 -08:00
six.py Update externals to work with Python 3 2017-03-31 13:40:41 -07:00