+
    ng                     J    ^ RI t ^ RIt^ RIt^ RItR R ltR R ltR R ltR# )    Nc                r    V ^8  d   QhR\         P                   R\        R\        \        \        3,          /# )   release_datem_monthsreturn)datetimeinttuple)formats   "+/usr/lib/python3/dist-packages/apt/utils.py__annotate__r      s2     1 1##1/21
38_1    c                    V^,          pV^,          pV P                   V,           V P                  V,           ^,          ,           pV P                  V,           ^,          pV^ 8X  d   ^pV^,          pWE3# )z
get the (year, month) tuple when the maintenance for the distribution
ends. Needs the data of the release and the number of months that
its is supported as input
)yearmonth)r   r   yearsmonthssupport_end_yearsupport_end_months   &&    r   get_maintenance_end_dater      su     NE]F#((50L4F4F4OTV3VV%++f4:AA00r   c                >    V ^8  d   QhR\         R\        R,          /# )r   pathr   N)strr	   )r   s   "r   r   r   /   s     ) )S )S4Z )r   c                   V '       d&   \         P                  P                  V 4      '       g   R# \         P                  ! \        P
                  ! V 4      4      ;_uu_ 4       p\        P                  ! V4      p\        V4      pRV9  d    RRR4       R# VR,          p\        P                  ! V4      uuRRR4       #   + '       g   i     R# ; i)z>
return the release date as time_t for the given release file
NDate)	osr   existsfdopenapt_pkgopen_maybe_clear_signed_fileTagFilenextstr_to_time)r   datatagsectiondates   &    r   "get_release_date_from_release_filer(   /   s     rww~~d++	777=	>	>$ood#s) 	 
?	>
 v""4( 
?	>	>	>s   "*B?B??C	c                v    V ^8  d   QhR\         P                  R\        R\        R\        R\        R,          /# )r   cachepkgnamelabelreleaser   N)aptCacher   )r   s   "r   r   r   ?   s<     % %99%"%+.%9<%4Z%r   c                   W9  d   R# W,          pRpVP                   P                   Fg  pVe   VP                  f   K  VP                   F@  w  rxVP                  V8X  g   K  VP                  V8X  g   K+  VP
                  V8X  g   K>  TpKB  	  Ki  	  V'       g   R# V P                  P                  VP                  ^ ,          ^ ,          4      p	V P                  P                   F  p
V
P                   F  pV	'       g   K  V	P                  VP                  8X  g   K*  V	P                  '       g   K>  \        P                  P                  R4      pR F}  p\        P                  ! V
P                   4      RP#                  V
P$                  V4      ,           p\&        P(                  P+                  W,           4      '       g   Kq  W,           u u u # 	  K  	  K  	  R# )z+get the release file that provides this pkgNzDir::State::listszdists_{}_{})	InReleaseRelease)_pkgversion_list	file_listoriginr,   archive_list
find_indexlistindex_filesdescribe
is_trustedr   configfind_diruri_to_filenameurir   distr   r   r   )r*   r+   r,   r-   pkgveraverver_file_index	indexfile	metaindexmdirnamerelfilenames   &&&&           r   get_release_filename_for_pkgrN   ?   sd    
.C
C %%<4>>1 $H 5(NNe+$$/ !/ & &&s}}Q'7':;I[[%%	&&AyY//1::=)BVBVBV!..112EF7G"22!%,,!D ww~~gn55&~-  8 ' & r   )r   r   r   r.   r   r(   rN    r   r   <module>rP      s"   &  	  
1() %r   