@@ -592,7 +592,6 @@ def __ge__(self, other):
592592 return isinstance (self .value , SemverVersion )
593593
594594
595- @attr .s (frozen = True , order = False , eq = False , hash = True )
596595class ConanVersion (Version ):
597596 @classmethod
598597 def build_value (cls , string ):
@@ -678,42 +677,6 @@ def next_patch(self):
678677 def bump (self , index ):
679678 return self .value and self .value .bump (index )
680679
681- def __eq__ (self , other ):
682- if other is None :
683- return False
684- if not isinstance (other , ConanVersion ):
685- other = ConanVersion .build_value (other )
686- return self .value == other
687- return self .value == other .value
688-
689- def __lt__ (self , other ):
690- if other is None :
691- return False
692- if not isinstance (other , ConanVersion ):
693- other = ConanVersion (str (other ))
694- return self .value < other .value
695-
696- def __le__ (self , other ):
697- if other is None :
698- return False
699- if not isinstance (other , ConanVersion ):
700- other = ConanVersion (str (other ))
701- return self .value <= other .value
702-
703- def __gt__ (self , other ):
704- if other is None :
705- return False
706- if not isinstance (other , ConanVersion ):
707- other = ConanVersion (str (other ))
708- return self .value > other .value
709-
710- def __ge__ (self , other ):
711- if other is None :
712- return False
713- if not isinstance (other , ConanVersion ):
714- other = ConanVersion (str (other ))
715- return self .value >= other .value
716-
717680
718681AVAILABLE_VERSIONS = [
719682 SemverVersion ,
0 commit comments