__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
�

7�g������SrSSKrSSKrSSKrSSKrSSKrSSKJrJ	r	J
r
JrJrJ
r
JrJrJrJr SSKrSSKJr \\\\\\	\\	\4r\R0"S5r"SS\5r"SS	\5r"S
S\5r"SS
5r\R>"SSS0-\R@5r!\R>"S5r"\R>"S5r#\R>"S5r$\R>"S5r%\R>"S\R@5r&\R>"S\R@5r'\R>"S\R@5r(\R>"S\R@5r)\R>"S\R@5r*\R>"S5r+\R>"S5r,\R>"S5r-\R>"S\R@5r.\R>"S\R@5r/\R>"S5r0\R>"S 5r1\R>"S!\R@5r2\R>"S"\R@5r3\R>"S#\R@5r4\R>"S$\R@5r5\R>"S%\R@5r6\R>"S&5r7"S'S(5r8S)r9S.S*\
\:S+\;S,\<4S-jjr=g!\a GN�f=f)/a�
Facilities for reading and writing Debian changelogs

The aim of this module is to provide programmatic access to Debian changelogs
to query and manipulate them. The format for the changelog is defined in
`deb-changelog(5)
<https://manpages.debian.org/stretch/dpkg-dev/deb-changelog.5.html>`_

Stability: The API is not marked as stable but hasn't changed incompatibly
since 2007. Potential users of these classes are asked to work with the
`python-debian` maintainers to improve, extend and stabilise this API.

Overview
========

Create a changelog object using the constuctor. Pass it the contents of the
file if there are some entries, or ``None`` to create an empty changelog::

    >>> import debian.changelog
    >>> ch = debian.changelog.Changelog()
    >>> maintainer, email = 'John Doe', '[email protected]'
    >>> timestamp = 1617222715
    >>> # You might want to use get_maintainer() a la:
    >>> # maintainer, email = debian.changelog.get_maintainer()
    >>> ch.new_block(
    ...     package='example',
    ...     version='0.1',
    ...     distributions='unstable',
    ...     urgency='low',
    ...     author="%s <%s>" % (maintainer, email),
    ...     # You can also omit timestamp, if you are fine with "now"
    ...     # We use a hard-coded timestamp for deterministic output
    ...     date=debian.changelog.format_date(timestamp=1617222715, localtime=False)
    ... )
    >>> ch.add_change('')
    >>> ch.add_change(' * Some change')
    >>> ch.add_change('')
    >>> print(ch, end='')
    example (0.1) unstable; urgency=low
    <BLANKLINE>
     * Some change
    <BLANKLINE>
     -- John Doe <[email protected]>  Wed, 31 Mar 2021 20:31:55 -0000


If you have the full contents of a changelog, but are only interested in the
most recent versions you can pass the ``max_blocks`` keyword parameter to the
constuctor to limit the number of blocks of the changelog that will be parsed.
If you are only interested in the most recent version of the package then pass
``max_blocks=1``::

    >>> import gzip
    >>> from debian.changelog import Changelog
    >>> with gzip.open('/usr/share/doc/dpkg/changelog.Debian.gz') as fh:  # doctest: +SKIP
    ...     ch = Changelog(fh, max_blocks=1)
    >>> print('''
    ...     Package: %s
    ...     Version: %s
    ...     Urgency: %s''' % (ch.package, ch.version, ch.urgency))  # doctest: +SKIP
        Package: dpkg
        Version: 1.18.24
        Urgency: medium


See `/usr/share/doc/python-debian/examples/changelog/` or the
`git repository
<https://salsa.debian.org/python-debian-team/python-debian/tree/master/
examples/changelog>`_
for examples of usage.


The :class:`Changelog` class is the key class within this module.

Changelog Classes
-----------------
�N)
�Dict�Iterable�Iterator�IO�List�Optional�Pattern�Union�Text�Tuple)�Versionzdebian.changelogc�J^�\rSrSrSrSrS\SS4U4SjjrS\4SjrS	r	U=r
$)
�ChangelogParseError�z0Indicates that the changelog could not be parsedT�line�returnNc�6>�Xl[[U]5 g�N)�_line�superr�__init__)�selfr�	__class__s  ��2/usr/lib/python3/dist-packages/debian/changelog.pyr�ChangelogParseError.__init__�s����
�
�!�4�1�3�c� �SUR-$)NzCould not parse changelog: �r�rs r�__str__�ChangelogParseError.__str__�s��,�T�Z�Z�7�7rr��__name__�
__module__�__qualname__�__firstlineno__�__doc__�
is_user_error�strrr �__static_attributes__�
__classcell__�rs@rrr�s/���:��M�4�S�4�T�4�8��8�8rrc��\rSrSrSrSrg)�ChangelogCreateError�z\Indicates that changelog could not be created, as all the information
required was not given�N)r#r$r%r&r'r*r0rrr.r.�s��rr.c�J^�\rSrSrSrSrS\SS4U4SjjrS\4SjrS	r	U=r
$)
�VersionError�zBIndicates that the version does not conform to the required formatT�versionrNc�6>�Xl[[U]5 gr)�_versionrr2r)rr4rs  �rr�VersionError.__init__�s����
�
�l�D�*�,rc� �SUR-$)NzCould not parse version: �r6rs rr �VersionError.__str__�s��*�T�]�]�:�:rr9r"r,s@rr2r2�s/���L��M�-��-��-�;��;�;rr2c���\rSrSrSrSSjrSrSr\"\\SS9r	S	r
S
\\4Sjr
S\S
S4S
jrS\S
S4SjrSr\S
\\4Sj5r\S
\\4Sj5rSSjrS
\4SjrSrSrg)�ChangeBlock�a�Holds all the information about one block from the changelog.

See `deb-changelog(5)
<https://manpages.debian.org/stretch/dpkg-dev/deb-changelog.5.html>`_
for more details about the format of the changelog block and the
necessary data.

:param package: str, name of the package
:param version: str or Version, version of the package
:param distributions: str, distributions to which the package is
    released
:param urgency: str, urgency of the upload
:param urgency_comment: str, comment about the urgency setting
:param changes: list of str, individual changelog entries for this
    block
:param author: str, name and email address of the changelog author
:param date: str, date of the changelog in RFC822 (`date -R`) format
:param other_pairs: dict, key=value pairs from the header of the
    changelog, other than the urgency value that is specified
    separately
:param encoding: specify the encoding to be used; note that Debian
    Policy mandates the use of UTF-8.
Nc��SUlURU5 XlX0lU=(d SUlU=(d SUlU=(d /UlXplX�l/Ul	U	=(d 0Ul
X�lSUlSUl
g)N�unknown�F�  )�_raw_version�_set_version�package�
distributions�urgency�urgency_comment�_changes�author�date�	_trailing�other_pairs�	_encoding�_no_trailer�_trailer_separator)rrDr4rErFrG�changesrIrJrL�encodings           rr�ChangeBlock.__init__�s|��!������'�"���*���+�)���.�4�"����
�2��
����	����&�,�"���!�� ���"&��rc�H�URcg[UR5$r)rBr
rs r�_get_version�ChangeBlock._get_version�s"�����$���t�(�(�)�)rc�:�Ub[U5UlgSUlgr)r)rB�rr4s  rrC�ChangeBlock._set_version�s���� #�G��D�� $�D�rz/The package version that this block pertains to��docc���0nURR5HMup#USR5USSR5-n[RU5nUcSU-nX1U'MO U$)z9Obtain a dict from the block header (other than urgency) r�NzXS-%s)rL�items�upper�lower�xbcs_re�match)r�	norm_dict�key�value�ms     r�other_keys_normalised�!ChangeBlock.other_keys_normalised�so���	� �,�,�2�2�4�L�S��a�&�,�,�.�3�q�r�7�=�=�?�2�C��
�
�c�"�A��y���m��"�c�N�5��rrc��UR$)z:Get the changelog entries for this block as a list of str )rHrs rrP�ChangeBlock.changes�����}�}�rrc�:�URRU5 g)z+Add a sign-off (trailer) line to the block N)rK�append)rrs  r�add_trailing_line�ChangeBlock.add_trailing_lines�������d�#r�changec�^�UR(d	U/UlgURnUR5 Sn[U5H8upEU(dMUR5(aM%UR	XA5 Sn O UR5 U(dURU5 X lg)z#Append a change entry to the block FTN)rH�reverse�	enumerate�isspace�insertrl)rrorP�added�i�ch_entrys      r�
add_change�ChangeBlock.add_changes����}�}�#�H�D�M��m�m�G��O�O���E�(��1����8�H�$4�$4�$6�$6��N�N�1�-� �E��	 2�

�O�O������v�&�#�Mrc	� �SRUR5n/nURU5H[nURS5n[R"SU5H,nUR[
URS555 M. M] U$)N� rz\d+)�joinrH�finditer�group�rerl�int)r�type_rerP�bugsra�closes_list�bugmatchs       r�_get_bugs_closed_generic�$ChangeBlock._get_bugs_closed_genericsq���(�(�4�=�=�)�����%�%�g�.�E��+�+�a�.�K��K�K���<�����C����q� 1�2�3�=�/��rc�,�UR[5$)z*List of (Debian) bugs closed by the block )r��closesrs r�bugs_closed�ChangeBlock.bugs_closed$s���,�,�V�4�4rc�,�UR[5$)z+List of Launchpad bugs closed by the block )r��closeslprs r�lp_bugs_closed�ChangeBlock.lp_bugs_closed)s���,�,�X�6�6rc��SnURc[S5eX RS--
nURc[S5eUSUR-S--
nURc[S5eX RS--
nURc[S	5eUS
UR-UR
--
nURR5Hup4USU<SU<3-
nM US
-
nUR5c[S5eUR5H
nX%S
--
nM UR(dwUS-
nURbUSUR--
nOU(d[S5eURbX RUR--
nOU(d[S5eUS
-
nURH
nX&S
--
nM U$)Nr@zPackage not specifiedr{zVersion not specified�(z) zDistribution not specifiedz; zUrgency not specifiedzurgency=z, �=�
zChanges not specifiedz --zAuthor not specifiedzDate not specified)rDr.rBrErFrGrLr]rPrNrIrJrOrK)r�allow_missing_author�blockrcrdrors       r�_format�ChangeBlock._format.s������<�<��&�'>�?�?�
����#�#�����$�&�'>�?�?�
��t�(�(�(�4�/�/�����%�&�'C�D�D�
�#�#�d�*�*���<�<��&�'>�?�?�
��d�l�l�*�T�-A�-A�A�A�� �,�,�2�2�4�L�S��#�u�-�-�E�5�
��
���<�<�>�!�&�'>�?�?��l�l�n�F��d�]�"�E�%�����U�N�E��{�{�&���t�{�{�*�*��)�*�+A�B�B��y�y�$��0�0�4�9�9�<�<��)�*�+?�@�@��T�M�E��N�N�D��D�[� �E�#��rc�"�UR5$r�r�rs rr �ChangeBlock.__str__T����|�|�~�rc�J�[U5RUR5$r�r)�encoderMrs r�	__bytes__�ChangeBlock.__bytes__W����4�y������/�/r)
rHrMrNrBrOrKrIrJrErLrDrFrG)
NNNNNNNNN�utf-8�F)r#r$r%r&r'rrTrC�propertyr4rfrr)rPrmrxr�r�r�r�r�r r�r*r0rrr<r<�s����2��#��!%����!�!�'�8*�%���l�=��G�

���c���$�c�$�d�$�$��$��$�(��5�T�#�Y�5��5��7��S�	�7��7�$�L���0rr<z?^(\w%(name_chars)s*) \(([^\(\) \t]+)\)((\s+%(name_chars)s+)+)\;�
name_charsz[-+0-9a-z.]z	^\s\s+.*$z[^ -- (.*) <(.*)>(  ?)((\w+\,\s*)?\d{1,2}\s+\w+\s+\d{4}\s+\d{1,2}:\d\d:\d\d\s+[-+]\d{4}\s*)$z`^ --(?: (.*) <(.*)>(  ?)((\w+\,\s*)?\d{1,2}\s+\w+\s+\d{4}\s+\d{1,2}:\d\d:\d\d\s+[-+]\d{4}))?\s*$z^(.*)\s+<(.*)>$z^([-0-9a-z]+)=\s*(.*\S)$z^([-0-9a-z]+)((\s+.*)?)$z	^X[BCS]+-z^(;;\s*)?Local variables:z^vim:z^\$\w+:.*\$z^\# z	^/\*.*\*/z5closes:\s*(?:bug)?\#?\s?\d+(?:,\s*(?:bug)?\#?\s?\d+)*zlp:\s+\#\d+(?:,\s*\#\d+)*zW^(\w+\s+\w+\s+\d{1,2} \d{1,2}:\d{1,2}:\d{1,2}\s+[\w\s]*\d{4})\s+(.*)\s+(<|\()(.*)(\)|>)z:^(\w+\s+\w+\s+\d{1,2},?\s*\d{4})\s+(.*)\s+(<|\()(.*)(\)|>)z&^(\w[-+0-9a-z.]*) \(([^\(\) \t]+)\)\;?z"^([\w.+-]+)(-| )(\S+) Debian (\S+)z#^Changes from version (.*) to (.*):z$^Changes for [\w.+-]+-[\w.+-]+:?\s*$z^Old Changelog:\s*$z^(?:\d+:)?\w[\w.+~-]*:?\s*$c��\rSrSrSrS8Sjr\S\S\SS4Sj5r	S9S	jr
S
rSr\
"\\SS
9r\
"SSS
9r\
"SSS
9r\
"SSS
9r\
"SSS
9r\
"SSS
9rS\\4SjrS\SS4Sjr\
"\\SS
9rSr\
S5rSrS:SjrS\4SjrS rS!rS"rS\ 4S#jr!S$\SS4S%jr"\
"S&\"S'S
9r#S(\SS4S)jr$\
"S*\$S+S
9r%S,\SS4S-jr&S.r'\
"S/\'S0S
9r(S1\SS4S2jr)\
"S3\)S4S
9r*S;S5jr+S6r,S7r-g)<�	Changelogi�a�Represents a debian/changelog file.

To get the properly formatted changelog back out of the object
merely call `str()` on it. The returned string should be a properly
formatted changelog.

:param file: str, list of str, or file-like.
    The contents of the changelog, either as a ``str``, ``unicode`` object,
    or an iterator of lines such as a filehandle, (each line is either a
    ``str`` or ``unicode``)
:param max_blocks: int, optional (Default: ``None``, no limit)
    The maximum number of blocks to parse from the input.
:param allow_empty_author: bool, optional (Default: `False`),
    Whether to allow an empty author in the trailer line of a change
    block.
:param strict: bool, optional (Default: ``False``, use a warning)
    Whether to raise an exception if there are errors.
:param encoding: str,
    If the input is a str or iterator of str, the encoding to use when
    interpreting the input.

There are a number of errors that may be thrown by the module:

- :class:`ChangelogParseError`:
  Indicates that the changelog could not be parsed, i.e. there is a line
  that does not conform to the requirements, or a line was found out of
  its normal position. May be thrown when using the method
  `parse_changelog`.
  The constructor will not throw this exception.
- :class:`ChangelogCreateError`:
  Some information required to create the changelog was not available.
  This can be thrown when `str()` is used on the object, and will occur
  if a required value is `None`.
- :class:`VersionError`:
  The string used to create a Version object cannot be parsed as it
  doesn't conform to the specification of a version number. Can be
  thrown when creating a Changelog object from an existing changelog,
  or instantiating a Version object directly to assign to the version
  attribute of a Changelog object.

If you have a changelog that may have no author information yet as
it is still a work in progress, i.e. the author line is just::

    --

rather than::

    -- Author <[email protected]>  Thu, 12 Dec 2006 12:23:34 +0000

then you can pass ``allow_empty_author=True`` to the Changelog
constructor. If you do this then the ``author`` and ``date``
attributes may be ``None``.

Nc�V�XPl/Ul/UlUbURXUUS9 gg)N)�
max_blocks�allow_empty_author�strict)rM�_blocks�initial_blank_lines�parse_changelog)r�filer�r�r�rQs      rr�Changelog.__init__�s?��"�����#%�� ���� � ��#5��
!�
�r�messager�rc�R�U(a[U5e[RU5 gr)r�logger�warning)r�r�s  r�_parse_error�Changelog._parse_error�s���%�g�.�.����w�rc��SnSnSnSn	Sn
U=(d URnUcURSU5 g/Ul/Ul[	US9n/nUn
Sn[U[5(aURU5n[U[5(a8UR5(dURSU5 gUR5nUGH�n[U[5(dURU5nURS	5nX�U4;GaB[RU5nUGb�Ub[UR5U:�a gURS
5UlURS5UlURS5R%5UlUR)S
S
5S
n0n0nUR)S5GHnUR5n[*RU5nUcURSU-U5 MCURS
5nUR-5nURS5nUU;aURSU-U5 UUU'US:Xad[.RU5nUcURSU-U5 M�URS
5UlURS5nUb	UUlM�M�UUU'GM UUlUn
GM	U(aUR75(aDX�:XaURR9U5 GMHURSR;U5 GMi[<RU5n[>RU5n[@RU5n[BRU5n[DRU5nUcUb*X�:wa%URSR;U5 U
nU
n
GMUcUcUbBX�:XaURR9U5 OURSR;U5 GMM[FRU5c�[HRU5c�[JRU5cn[LRU5cX[NRU5cB[PRU5c,[RRU5c[TRU5b*X�:wa%URSR;U5 U
nU
n
GM'URSU
<SU<3U5 X�:XaURR9U5 GMdURSR;U5 GM�X�U	4;Ga[VRU5n [XRU5n!U bUR9U5 U	n
GM�U!b�U!RS5S:wa+URSU-U5 U!RS5Ul-U!RS
5<SU!RS5<S3Ul.U!RS5Ul/X�l0URR9U5 /n[	US9nUn
GM�[bRU5bPU(dURSU-U5 GM�X�l0URR9U5 /n[	US9nUn
GM�U(aUR75(aUR9U5 GM[@RU5n[BRU5n[DRU5nUcUcUbUR9U5 GMyURSU
<SU<3U5 UR9U5 GM�X�:Xa:X�:Xa!URSR;U5 GM�UR9U5 GM�SU
-5e X�U
4;d
X�:XaDX�:wa>URSU
-U5 X�l0SUl2URR9U5 ggg)a6Read and parse a changelog file

If you create an Changelog object without specifying a changelog
file, you can parse a changelog file with this method. If the
changelog doesn't parse cleanly, a :class:`ChangelogParseError`
exception is thrown. The constructor will parse the changelog on
a best effort basis.
z
first headingznext heading of EOFzstart of change datazmore change data or trailerzslurp to endNzEmpty changelog file.�rQr�r\���;�,z$Invalid key-value pair after ';': %szRepeated key-value: %srFz!Badly formatted urgency value: %s���z"Unexpected line while looking for z: rAz Badly formatted trailer line: %sz <�>�zUnknown state: %szFound eof where expected %sT)3rMr�r�r�r<�
isinstance�bytes�decoder)�strip�
splitlines�rstrip�toplinera�lenr~rDrB�lstriprE�split�keyvaluer_�value_rerFrGrLrsrlrm�emacs_variables�
vim_variables�cvs_keyword�comments�
more_comments�old_format_re1�old_format_re2�old_format_re3�old_format_re4�old_format_re5�old_format_re6�old_format_re7�old_format_re8�changere�endlinerOrIrJrH�endline_nodetailsrN)"rr�r�r�r�rQ�
first_heading�next_heading_or_eof�start_of_change_data�more_changes_or_trailer�slurp_to_end�
current_blockrP�state�	old_stater�	top_match�pairs�all_keysrL�pair�kv_matchrc�	key_lowerrd�	val_match�comment�emacs_match�	vim_match�	cvs_match�comments_match�more_comments_match�change_match�	end_matchs"                                  rr��Changelog.parse_changelog�s,�� (�
�3��5��"?��%���-�t�~�~���<����5�v�>�����#%�� �#�X�6�
������	��d�E�"�"��;�;�x�(�D��d�C� � ��:�:�<�<��!�!�"9�6�B���?�?�$�D��D��d�C�(�(��{�{�8�,���;�;�t�$�D��(;�<�<�#�M�M�$�/�	��(�"�.� #�D�L�L� 1�Z� ?��,5�O�O�A�,>�M�)�1:����1C�M�.�2;�/�/�!�2D�2K�2K�2M�M�/� �J�J�s�A�.�q�1�E�!�H�"$�K� %���C� 0��#�z�z�|��#+�>�>�$�#7��#�+� �-�-� F�� M� &�(�%�&�n�n�Q�/��$'�I�I�K�	� (���q� 1��$��0� �-�-�!%�'0�!1�28�:�/4���+�$�	�1�(0���u�(=�I�(�0� $� 1� 1�$G�$)�%*�+1�!3�9B����8J�
� 5�*3�/�/�!�*<��#*�#6�DK�M�$A�$7�05�K��,�9!1�:1<�M�-�0�E��������-��0�0�7�7��=����R�(�:�:�4�@�"1�"7�"7��"=�K� -� 3� 3�D� 9�I� +� 1� 1�$� 7�I�%-�^�^�D�%9�N�*7�*=�*=�d�*C�'�$�0�I�4I� %� 6����R�(�:�:�4�@�$)�	� ,�� �!�-��1K�2�>� �1� �4�4�;�;�D�A� �L�L��,�>�>�t�D� �'�-�-�d�3�?�*�0�0��6�B�*�0�0��6�B�*�0�0��6�B�*�0�0��6�B�*�0�0��6�B�*�0�0��6�B�*�0�0��6�B� %� 6����R�(�:�:�4�@�$)�	� ,�� ��%�%���&�'-�/��-��0�0�7�7��=����R�(�:�:�4�@��1H�I�I�'�~�~�d�3��#�M�M�$�/�	��+��N�N�4�(�3�E��*� ���q�)�T�1��)�)�>��E�v�O�;D�?�?�1�;M�
�8�$�?�?�1�-�y���q�/A�,C�M�(�)2����);�M�&�-4�*��L�L�'�'�
�6� �G�$/��$B�M�/�E�&�,�,�T�2�>�-��)�)�>��E�v�O� �-4�*��L�L�'�'�
�6� �G�$/��$B�M�/�E��������N�N�4�(� +� 1� 1�$� 7�I�%-�^�^�D�%9�N�*7�*=�*=�d�*C�'�!�-��1K�2�>����t�,� ��%�%���&�'-�/��N�N�4�(��&��3��L�L��$�6�6�t�<��N�N�4�(�9�1�E�9�9�u�a�d
�|�<�<��)�!�8����-��5�v�
?�%,�"�(,�M�%��L�L���
�.�9�*rc�4�URSR$)z,Return a Version object for the last versionr�r�r4rs r�get_version�Changelog.get_version�s���|�|�A��&�&�&rc�>�[U5URSlg)zgSet the version of the last changelog block

version can be a full version string, or a Version object
rN)r
r�r4rWs  r�set_version�Changelog.set_version�s��#*�'�"2����Q��rzhVersion object for latest changelog block.
            (Property that can both get and set the version.)rYc�.�URR$r)r4�full_versionrs r�<lambda>�Changelog.<lambda>�s��T�\�\�.�.rz+The full version number of the last versionc�.�URR$r)r4�epochrs rr�r��s��T�\�\�'�'rzFThe epoch number of the last revision, or `None` if no epoch was used.c�.�URR$r�r4�debian_revisionrs rr�r�����T�\�\�1�1rz:The debian part of the version number of the last version.c�.�URR$rrrs rr�r��rrc�.�URR$r)r4�upstream_versionrs rr�r��s��T�\�\�2�2rz<The upstream part of the version number of the last version.c�4�URSR$)z2Returns the name of the package in the last entry.r�r�rDrs r�get_package�Changelog.get_package�s���|�|�A��&�&�&rrDc�*�XRSlg)z/set the name of the package in the last entry. rNr)rrDs  r�set_package�Changelog.set_package�s��")���Q��rz'Name of the package in the last versionc��UR$r)�versionsrs r�get_versions�Changelog.get_versions�rjrc�X�URVs/sHoRPM sn$s snf)zbReturns a list of :class:`debian.debian_support.Version` objects
that are listed in the changelog.r��rr�s  rr�Changelog.versions�s"��
,0�<�<�8�<�%�
�
�<�8�8��8��'c�X�URVs/sHoRPM sn$s snfr)r�rBrs  r�
_raw_versions�Changelog._raw_versions�s"��04���=��u�"�"��=�=��=rc���/nURHnURUS-5 M URH!nURURUS95 M# SR	U5$)Nr�)r�r@)r�rlr�r�r|)rr��piecesrr�s     rr��Changelog._format�s[�����,�,�D��M�M�$��+�&�-��\�\�E��M�M�%�-�-�=Q�-�R�S�"��w�w�v��rc�"�UR5$rr�rs rr �Changelog.__str__�r�rc�J�[U5RUR5$rr�rs rr��Changelog.__bytes__�r�rc�,�[UR5$r)�iterr�rs r�__iter__�Changelog.__iter__�s���D�L�L�!�!rc���[U[5(aU[U5$[U[5(aUnOURRU5nURU$)z�select a changelog entry by number, version string, or Version

:param n: integer or str representing a version or Version object
)r�r)r
r�r�indexr�)r�n�idxs   r�__getitem__�Changelog.__getitem__sU���a�������
�#�#��a�����C��-�-�%�%�a�(�C��|�|�C� � rc�,�[UR5$r)r�r�rs r�__len__�Changelog.__len__s���4�<�<� � rrEc�*�XRSlg�Nr�r�rE)rrEs  r�set_distributions�Changelog.set_distributionss��(5���Q��%rc�4�URSR$r.r/rs rr�r�s��T�\�\�!�_�2�2rzfA string indicating the distributions that the package will be uploaded to
in the most recent version.rFc�*�XRSlgr.�r�rF)rrFs  r�set_urgency�Changelog.set_urgencys��")���Q��rc�4�URSR$r.r4rs rr�r�"s��T�\�\�!�_�,�,rzTA string indicating the urgency with which the most recent version will
be uploaded.roc�@�URSRU5 g)a�and a new dot point to a changelog entry

Adds a change entry to the most recent version. The change entry
should conform to the required format of the changelog (i.e. start
with two spaces). No line wrapping or anything will be performed,
so it is advisable to do this yourself if it is a long entry. The
change will be appended to the current changes, no support is
provided for per-maintainer changes.
rN)r�rx)rros  rrx�Changelog.add_change(s��	
���Q��"�"�6�*rc�*�XRSlg)z*set the author of the top changelog entry rN�r�rI)rrIs  r�
set_author�Changelog.set_author4s��"(���Q��rc�4�URSR$r.r;rs rr�r�:s��T�\�\�!�_�+�+rzj        The author of the most recent change.
        This should be a properly formatted name/email pair.rJc�*�XRSlg)z~set the date of the top changelog entry

:param date: str
    a properly formatted date string (`date -R` format; see Policy)
rN�r�rJ)rrJs  r�set_date�Changelog.set_date@s�� $���Q��rc�4�URSR$r.r@rs rr�r�Is��T�\�\�!�_�)�)rz�        The date associated with the current entry.
        Should be a properly formatted string with the date and timezone.
        See the :func:`format_date()` function.c���U
=(d URn
[XUXEXgX�U
5
nUR(aURS5 URR	SU5 g)a�Add a new changelog block to the changelog

Start a new :class:`ChangeBlock` entry representing a new version
of the package. The arguments (all optional) are passed directly
to the :class:`ChangeBlock` constructor; they specify the values
that can be provided to the `set_*` methods of this class. If
they are omitted the associated attributes *must* be assigned to
before the changelog is formatted as a str or written to a file.
r@rN)rMr<r�rmrt)rrDr4rErFrGrPrIrJrLrQr�s            r�	new_block�Changelog.new_blockPsV��,�-�t�~�~���G�m�#�#�T��J���<�<��#�#�B�'������A�u�%rc�8�UR[U55 g)z�Write the changelog entry to a filehandle

Write the changelog out to the filehandle passed. The file argument
must be an open file object.
N)�writer))r�
filehandles  r�write_to_open_file�Changelog.write_to_open_fileos��	����T��#r)r�rMr�)NNFFr�)NFTNr�)
NNNNNNNNNN).r#r$r%r&r'r�staticmethodr)�boolr�r�r�r�r�r4r�r��debian_versionrrrr	rrDrrrr�r r�r"r(r�r+r0rEr5rFrxr<rIrArJrErJr*r0rrr�r��s0��5�r� �$)��!��"� �c� �4� �D� �� �$(�+0�#�!%�F/�P'�
3���[�
A��G��.�9��L�
�'�
 �
�E�
�1�H��N��1�H��O� �2�J���
'�X�c�]�'�*�3�*�4�*���[�5��G�
��9��9�>�����0�
"�!�!��!�6�s�6�t�6��2�4E�
��M�*�3�*�4�*��,�k�
��G�
+��
+��
+�(�
�+�Z�
@��F�$�S�$�T�$��)�8�
3��D��� $��"&����"��&�>$rr�c��[RnSU;aM[RUS5nU(a.SU;aUR	S5US'UR	S5US'SU;dSU;aSSU;aM[RUS5nU(a.SU;aUR	S5US'UR	S5US'SnSU;aUSnOVSU;aUSnOJ[
R"SS	[R"[R"55R5nSnSU;aUSnX#4$SU;aUSnX#4$Sn[RRS
5(a1[!S
SS9nUR#5R%5nSSS5 U(d[&R("5nU(aH[R"[R"55R*nU(dSnO
U<S
U<3nU(aUnX#4$![[[4a GNf=f!,(df   N�=f![[4a SnNMf=f)a�Get the maintainer information in the same manner as dch.

This function gets the information about the current user for
the maintainer field using environment variables of gecos
information as appropriate.

It uses the same algorithm as dch to get the information, namely
DEBEMAIL, DEBFULLNAME, EMAIL, NAME, /etc/mailname and gecos.

:returns: a tuple of the full name, email pair as strings.
    Either of the pair may be None if that value couldn't
    be determined.
�DEBEMAIL�DEBFULLNAMEr\r��EMAILN�NAMEz,.*r@z
/etc/mailnamezUTF-8r��@)�os�environ�maintainerrerar~r�sub�pwd�getpwuid�getuid�pw_gecos�KeyError�AttributeError�	NameError�path�exists�open�readliner��socket�getfqdn�pw_name)�env�	match_obj�
maintainer�
email_address�addr�f�users       r�get_maintainerrnys��
�*�*�C��S�� �&�&�s�:��7�	���C�'�%.�_�_�Q�%7��M�"�'�o�o�a�0�C�
�O����
�S� 8��c�>�$�*�*�3�w�<�8�I�� ��+�)2����);�C�
�&�(���q�1��G���J������'�
�	�3����[�
�	������C�L�L�����,E�,N�,N�O�J��M��S���J��
�2
�&�&�1
�C���G��
�.
�&�&�+��
�7�7�>�>�/�*�*��o��8�A��z�z�|�)�)�+��9���>�>�#�D��	
2��|�|�B�I�I�K�0�8�8��
��D�&*�D�1�D�� �M��&�&��?�.�)�4�	��	��9�8��#�I�.�
���
�s1�A	H�5H/�3I�H,�+H,�/
H=�I�I�	timestamp�	localtimerc�@�[RRX5$)a�format a datestamp in the required format for the changelog

:param timestamp: float, optional. The timestamp (seconds since epoch)
    for which the date string should be created. If not specified, the
    current time is used.
:param localtime: bool, optional (default True). Use the local timezone
    in the date string.

:returns: str, date stamp formatted according to the changelog
    specification (i.e. RFC822).
)�email�utils�
formatdate)rorps  r�format_dateru�s���;�;�!�!�)�7�7r)NT)>r'�email.utilsrr�loggingrUrrd�typingrrrrrrr	r
rrrY�ImportError�debian.debian_supportr
r��IterableDataSource�	getLoggerr��	Exceptionrr.r2r<�compile�
IGNORECASEr�r�r�r�rWr�r�r`r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�rn�floatrMr)rur0rr�<module>r�s���J�F��	�	�
����	��*��	���t�H��T�N��U�O�	���
�	�	�-�	.��	8�)�	8��9��

;�9�
;�q0�q0�h
�*�*�!��]�#�$��M�M�	��
�:�:�l�#��
�*�*�2�3���J�J�����z�z�,�-��
�:�:�1�2�=�=�A��
�:�:�1�2�=�=�A��
�*�*�[�"�-�-�
0���*�*�9�2�=�=�I���
�
�7�B�M�M�2�
��j�j��(��
�:�:�g����
�
�<�(�
�	���<��M�M�
���:�:�2�B�M�M�B�����2�3�����������-��M�M������)��M�M������)��M�M������+��M�M������2�B�M�M�B�����:�;��h$�h$�VJ'�Z8�8�E�?�8�d�8�c�8��Y�	��	�s�K�K$�#K$

Filemanager

Name Type Size Permission Actions
__init__.cpython-313.pyc File 1.02 KB 0644
_arch_table.cpython-313.pyc File 15.82 KB 0644
_util.cpython-313.pyc File 16.72 KB 0644
_version.cpython-313.pyc File 634 B 0644
arfile.cpython-313.pyc File 14.71 KB 0644
changelog.cpython-313.pyc File 38.9 KB 0644
copyright.cpython-313.pyc File 35.68 KB 0644
deb822.cpython-313.pyc File 93.51 KB 0644
debfile.cpython-313.pyc File 23.15 KB 0644
debian_support.cpython-313.pyc File 29.56 KB 0644
debtags.cpython-313.pyc File 18.78 KB 0644
substvars.cpython-313.pyc File 16.85 KB 0644
watch.cpython-313.pyc File 9.93 KB 0644
Filemanager