pacparser 1.5.1.dev7__tar.gz → 1.5.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pacparser-1.5.1.dev7/pacparser.egg-info → pacparser-1.5.2}/PKG-INFO +1 -1
- {pacparser-1.5.1.dev7 → pacparser-1.5.2/pacparser.egg-info}/PKG-INFO +1 -1
- {pacparser-1.5.1.dev7 → pacparser-1.5.2}/setup.py +5 -2
- pacparser-1.5.2/version.mk +1 -0
- pacparser-1.5.1.dev7/version.mk +0 -1
- {pacparser-1.5.1.dev7 → pacparser-1.5.2}/MANIFEST.in +0 -0
- {pacparser-1.5.1.dev7 → pacparser-1.5.2}/pac_utils.h +0 -0
- {pacparser-1.5.1.dev7 → pacparser-1.5.2}/pacparser/__init__.py +0 -0
- {pacparser-1.5.1.dev7 → pacparser-1.5.2}/pacparser.c +0 -0
- {pacparser-1.5.1.dev7 → pacparser-1.5.2}/pacparser.egg-info/SOURCES.txt +0 -0
- {pacparser-1.5.1.dev7 → pacparser-1.5.2}/pacparser.egg-info/dependency_links.txt +0 -0
- {pacparser-1.5.1.dev7 → pacparser-1.5.2}/pacparser.egg-info/top_level.txt +0 -0
- {pacparser-1.5.1.dev7 → pacparser-1.5.2}/pacparser.h +0 -0
- {pacparser-1.5.1.dev7 → pacparser-1.5.2}/pacparser_py.c +0 -0
- {pacparser-1.5.1.dev7 → pacparser-1.5.2}/quickjs/quickjs.c +0 -0
- {pacparser-1.5.1.dev7 → pacparser-1.5.2}/quickjs/quickjs.h +0 -0
- {pacparser-1.5.1.dev7 → pacparser-1.5.2}/setup.cfg +0 -0
|
@@ -59,8 +59,11 @@ def module_path():
|
|
|
59
59
|
def sanitize_version(ver):
|
|
60
60
|
ver = ver.strip()
|
|
61
61
|
# Strip first 'v' and last part from git provided versions.
|
|
62
|
-
# For example, v1.3.8-12-g231 becomes
|
|
63
|
-
|
|
62
|
+
# For example, v1.3.8-12-g231 becomes 1.3.8-12, and an exact tag like
|
|
63
|
+
# v1.3.8 becomes 1.3.8.
|
|
64
|
+
ver = re.sub(
|
|
65
|
+
r"^v?([\d]{1,3}\.[\d]{1,3}\.[\d]{1,3}(-[\d]{1,3})?)(-.*)?$", "\\1", ver
|
|
66
|
+
)
|
|
64
67
|
# 1.3.8-12 becomes 1.3.8.dev12
|
|
65
68
|
return ver.replace("-", ".dev")
|
|
66
69
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
VERSION=1.5.2
|
pacparser-1.5.1.dev7/version.mk
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
VERSION=1.5.1.dev7
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|