Define __le__, __ge__, and __hash__ for Package