| Server IP : 35.236.43.222 / Your IP : 216.73.216.143 Web Server : Apache System : Linux order-form-vm-001 5.10.0-37-cloud-amd64 #1 SMP Debian 5.10.247-1 (2025-12-11) x86_64 User : deploy ( 1002) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/debian/__pycache__/ |
Upload File : |
a
|P�_` � @ s� d Z ddlmZ ddlZddlZddlZddlZddlZzLddlm Z m
Z
mZmZm
Z
mZmZmZmZmZmZmZ ed Zed ZW n ey� dZY n0 ddlmZ d Zeeg�ZG d
d� de�ZG dd
� d
e�ZG dd� dee �Z!dd� Z"G dd� de#�Z$dd� Z%G dd� de#�Z&G dd� de#�Z'dd� Z(dd� Z)dd� Z*d d!� Z+G d"d#� d#e�,d#d$��Z-d%d&� Z.G d'd(� d(ej/�Z0G d)d*� d*ej/�Z1G d+d,� d,ej/�Z2dS )-a9 Utilities for parsing and creating machine-readable debian/copyright files.
The specification for the format (also known as DEP5) is available here:
https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Start from the Copyright docstring for usage information.
Copyright Classes
-----------------
� )�unicode_literalsN)�Any�Callable�IO�Iterable�Iterator�List�Optional�Pattern�Text�Tuple�Union�
TYPE_CHECKING)�FilesParagraph�LicenseParagraph)�Headerr r F)�deb822zBhttps://www.debian.org/doc/packaging-manuals/copyright-format/1.0/c @ s e Zd ZdZdS )�Errorz)Base class for exceptions in this module.N��__name__�
__module__�__qualname__�__doc__� r r �2/usr/lib/python3/dist-packages/debian/copyright.pyr F s r c @ s e Zd ZdZdS )�NotMachineReadableErrorzFRaised when the input is not a machine-readable debian/copyright file.Nr r r r r r J s r c @ s e Zd ZdZdS )�MachineReadableFormatErrorz�Raised when the input is not valid.
This is both a `copyright.Error` and a `ValueError` to ease handling of
errors coming from this module.
Nr r r r r r N s r c C s |rt | ��t�| � d S �N)r �warnings�warn)�msg�strictr r r � _complainV s r"