<s> __author__ = '<STR_LIT>' <EOL> from aero . __version__ import __version__ , enc <EOL> from . base import BaseAdapter <EOL> class Pecl ( BaseAdapter ) : <EOL> """<STR_LIT>""" <EOL> def search ( self , query ) : <EOL> response = self . command ( '<STR_LIT>' , query ) [ <NUM_LIT:0> ] . decode ( * enc ) <EOL> if '<STR_LIT>' in response : <EOL> from re import match <EOL> from string import strip <EOL> return dict ( [ <EOL> self . package_name ( '<STR_LIT>' . format ( <EOL> * map ( strip , match ( '<STR_LIT>' , line ) . groups ( ) ) <EOL> ) ) . split ( '<STR_LIT:|>' ) <EOL> for line in response . splitlines ( ) <EOL> if line <EOL> and '<STR_LIT>' not in line <EOL> and match ( '<STR_LIT>' , line ) <EOL> ] ) <EOL> return { } <EOL> def info ( self , query ) : <EOL> response = self . command ( '<STR_LIT>' , query ) [ <NUM_LIT:0> ] . decode ( * enc ) <EOL> if response and '<STR_LIT>' not in response : <EOL> from re import match <EOL> from string import strip <EOL> res = [ ( map ( strip , match ( '<STR_LIT>' , line . replace ( '<STR_LIT:\n>' , '<STR_LIT>' ) ) . groups ( ) ) ) <EOL> for line in response . splitlines ( ) <EOL> if line <EOL> and '<STR_LIT>' not in line <EOL> and '<STR_LIT>' not in line <EOL> and match ( '<STR_LIT>' , line ) ] <EOL> return self . munge_lines ( res ) <EOL> return [ '<STR_LIT>' ] <EOL> def install ( self , query ) : <EOL> return self . shell ( '<STR_LIT>' , query ) <EOL> @ property <EOL> def is_present ( self ) : <EOL> if super ( self . __class__ , self ) . is_present and self . command ( '<STR_LIT>' , '<STR_LIT>' ) [ <NUM_LIT:0> ] : <EOL> return True <EOL> return False </s>
