Update dnspython-2.2.0

This commit is contained in:
JonnyWong16 2021-10-14 21:36:41 -07:00
parent 4b28040d59
commit 4d62245cf5
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
111 changed files with 9077 additions and 5877 deletions

View file

@ -1,4 +1,6 @@
# Copyright (C) 2003-2007, 2009-2011 Nominum, Inc.
# Copyright (C) Dnspython Contributors, see LICENSE for text of ISC license
# Copyright (C) 2003-2017 Nominum, Inc.
#
# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose with or without fee is hereby granted,
@ -15,20 +17,30 @@
"""dnspython release version information."""
MAJOR = 1
MINOR = 14
#: MAJOR
MAJOR = 2
#: MINOR
MINOR = 0
#: MICRO
MICRO = 0
#: RELEASELEVEL
RELEASELEVEL = 0x0f
#: SERIAL
SERIAL = 0
if RELEASELEVEL == 0x0f:
if RELEASELEVEL == 0x0f: # pragma: no cover
#: version
version = '%d.%d.%d' % (MAJOR, MINOR, MICRO)
elif RELEASELEVEL == 0x00:
version = '%d.%d.%dx%d' % \
elif RELEASELEVEL == 0x00: # pragma: no cover
version = '%d.%d.%ddev%d' % \
(MAJOR, MINOR, MICRO, SERIAL)
else:
elif RELEASELEVEL == 0x0c: # pragma: no cover
version = '%d.%d.%drc%d' % \
(MAJOR, MINOR, MICRO, SERIAL)
else: # pragma: no cover
version = '%d.%d.%d%x%d' % \
(MAJOR, MINOR, MICRO, RELEASELEVEL, SERIAL)
#: hexversion
hexversion = MAJOR << 24 | MINOR << 16 | MICRO << 8 | RELEASELEVEL << 4 | \
SERIAL