Ë
    ¸|fL	  ã                   ó8   — d dl mZmZ d„ Zd„ Zd„ Zd„ Zd„ Zd„ Zy)	é    )ÚSourceEntryÚDeb822SourceEntryc                 ó¢   — t        | t        «      r t        t        | «      | j                  ¬«      S t	        t        | «      | j                  ¬«      S )z, Return a shallow copy of the source entry. )Úfile)Ú
isinstancer   Ústrr   r   )Úorigs    ú@/usr/lib/python3/dist-packages/softwareproperties/sourceutils.pyÚcopy_source_entryr      s7   € ä�$Ô)Ô*Ü ¤ T£°·±Ô;Ð;ä”s˜4“y t§y¡yÔ1Ð1ó    c                 óf   — t        | «      }|j                  «       D ]  \  }}t        |||«       Œ |S )z?Return a copy of the given source entry with replaced field(s).)r   ÚitemsÚsetattr)r	   ÚkwargsÚentryÚkÚvs        r
   Úreplace_source_entryr   
   s6   € ä˜dÓ#€EØ—,‘,“.ò ‰ˆˆAÜ��q˜!Õðà€Lr   c                 óf   — | j                   j                  d«      }|d   xs dj                  «       S )zl
    Return the pocket, or if unset return 'release'.

    This always returns the pocket in lowercase.
    ú-é   Úrelease)ÚdistÚ	partitionÚlower)Úsource_entryÚpartss     r
   Úget_source_entry_pocketr      s2   € ð ×Ñ×'Ñ'¨Ó,€EØ�!‰HÒ!˜	×(Ñ(Ó*Ð*r   c                 ó>   — | j                   j                  d«      d   S )z\
    Return the suite, without pocket.

    This always returns the suite in lowercase.
    r   r   )r   r   )r   s    r
   Úget_source_entry_suiter       s    € ð ×Ñ×&Ñ& sÓ+¨AÑ.Ð.r   c                 ó    — t        |t        |j                  «      ¬«      }| D ])  }t        |t        |j                  «      ¬«      |k(  sŒ'|c S  y)a  
    Return the source entry from entries that matches entry, if found.
    Otherwise return None.

    This function uses a modified equality check, i.e. it considers components
    as a set rather than a list so that different ordering does not affect the
    comparison.
    )ÚcompsN)r   Úsetr"   )Úentriesr   ÚtargetÚes       r
   Úget_source_entry_from_listr'   "   sI   € ô " %¬s°5·;±;Ó/?Ô@€Fàò ˆÜ ¬¨Q¯W©W«Ô6¸&Ó@ØŠHðð r   c                 ó    — | j                   |j                   k7  rydD ]/  }t        t        ||«      «      t        t        | |«      «      z
  sŒ/ y y)a\  
    Return True if the source defined by b is already satisfied
    by the source defined by a.

    For example, if source a is:

    Types: deb
    URIs: http://archive.ubuntu.com/ubuntu
    Suites: jammy
    Components: main universe

    and source b is:

    Types: deb
    URIs: http://archive.ubuntu.com/ubuntu
    Suites: jammy
    Components: universe

    Then source a contains source b.

    But if source b was:

    Types: deb-src
    URIs: http://archive.ubuntu.com/ubuntu
    Suites: jammy
    Components: universe

    Then a does not contain b because it does not include deb-src.
    F)Útypesr"   ÚsuitesÚurisT)Údisabledr#   Úgetattr)ÚaÚbÚattrs      r
   Údeb822_source_entry_containsr1   3   sN   € ð< 	‡z�z�Q—Z‘ZÒØà4ò ˆÜŒw�q˜$ÓÓ ¤3¤w¨q°$Ó'7Ó#8Ó8Ùðð r   N)	Úaptsources.sourceslistr   r   r   r   r   r    r'   r1   © r   r
   ú<module>r4      s&   ðß Cò2òò+ò/òó"%r   