File: //opt/alt/python38/lib/python3.8/site-packages/pbr/__pycache__/version.cpython-38.pyc
U
�V�H � @ sP d Z ddlZddlZddlZddlZdd� ZG dd� de�ZG dd� de�ZdS ) z9
Utilities for consuming the version from pkg_resources.
� Nc C s* zt | � W dS tk
r$ Y dS X d S )NTF)�int�
ValueError)�string� r �</opt/alt/python38/lib/python3.8/site-packages/pbr/version.py�_is_int s
r c @ s� e Zd ZdZd.dd�Zdd� Zdd � Zd
d� Zdd
� Zdd� Z dd� Z
dd� Zdd� Zdd� Z
edd� �Zdd� Zdd� Zdd� Zd/d!d"�Zd0d$d%�Zd&d'� Zd(d)� Zd*d+� Zd,d-� ZdS )1�SemanticVersionzvA pure semantic version independent of serialisation.
See the pbr doc 'semver' for details on the semantics.
r Nc C s>