python3-packaging: 21.2 -> 21.3

This commit is contained in:
Tim Biermann 2022-07-02 14:32:56 +02:00
parent db9fe1c2c3
commit 115ff21250
4 changed files with 20 additions and 47 deletions

View File

@ -2,18 +2,15 @@ drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/python3.9/
drwxr-xr-x root/root usr/lib/python3.9/site-packages/
drwxr-xr-x root/root usr/lib/python3.9/site-packages/packaging-21.3-py3.9.egg-info/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging-21.3-py3.9.egg-info/PKG-INFO
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging-21.3-py3.9.egg-info/SOURCES.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging-21.3-py3.9.egg-info/dependency_links.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging-21.3-py3.9.egg-info/requires.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging-21.3-py3.9.egg-info/top_level.txt
drwxr-xr-x root/root usr/lib/python3.9/site-packages/packaging/
drwxr-xr-x root/root usr/lib/python3.9/site-packages/packaging-21.2-py3.9.egg-info/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging-21.2-py3.9.egg-info/dependency_links.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging-21.2-py3.9.egg-info/PKG-INFO
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging-21.2-py3.9.egg-info/requires.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging-21.2-py3.9.egg-info/SOURCES.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging-21.2-py3.9.egg-info/top_level.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/__about__.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/__init__.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/_manylinux.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/markers.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/_musllinux.py
drwxr-xr-x root/root usr/lib/python3.9/site-packages/packaging/__pycache__/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/__pycache__/__about__.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/__pycache__/__about__.cpython-39.pyc
@ -21,26 +18,29 @@ drwxr-xr-x root/root usr/lib/python3.9/site-packages/packaging/__pycache__/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/__pycache__/__init__.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/__pycache__/_manylinux.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/__pycache__/_manylinux.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/__pycache__/markers.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/__pycache__/markers.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/__pycache__/_musllinux.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/__pycache__/_musllinux.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/__pycache__/_structures.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/__pycache__/_structures.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/__pycache__/markers.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/__pycache__/markers.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/__pycache__/requirements.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/__pycache__/requirements.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/__pycache__/specifiers.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/__pycache__/specifiers.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/__pycache__/_structures.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/__pycache__/_structures.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/__pycache__/tags.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/__pycache__/tags.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/__pycache__/utils.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/__pycache__/utils.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/__pycache__/version.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/__pycache__/version.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/_manylinux.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/_musllinux.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/_structures.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/markers.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/py.typed (EMPTY)
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/requirements.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/specifiers.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/_structures.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/tags.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/utils.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/packaging/version.py

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/SbFmhciCtHJpF+6Kt8KfPCIJEa2s7GIKRvNk3zvVn63zmViRPHQ8Qf1eHf4kUnat6BGMWC/cWXInZsFD29LnAQ=
SHA256 (Pkgfile) = 95e1ac1a9a4ac842747130b028034a10beb0c87214d579ff67b73278d8298f1d
SHA256 (.footprint) = 7acda6c507c0058e7b3a1dd9a4f42881399e847e78ba445e91bd7a74613e37f3
SHA256 (packaging-21.2.tar.gz) = 096d689d78ca690e4cd8a89568ba06d07ca097e3306a4381635073ca91479966
RWSE3ohX2g5d/c0WjU86IQ8zlEZRwQG/j8lvAFPyC6OO6TINhjSHKDxKRc4w/BjiNFB/+pz1zYe8sfjkZ9vPwVZYEC+UJKDolA4=
SHA256 (Pkgfile) = b865a5545255c7aab95328484e540b36d726d23457e23d4048aa2bdde37484a0
SHA256 (.footprint) = 7a15c37d907b5133f6aec60a35da7b859bceec5a3d13095806c5317bf6c1a814
SHA256 (packaging-21.3.tar.gz) = dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb

View File

@ -1,27 +0,0 @@
From 7547b3eb11c1df040b04d72fb27ac5156b2f2c42 Mon Sep 17 00:00:00 2001
From: Rebecca Turner <rturner@starry.com>
Date: Tue, 9 Nov 2021 11:48:44 -0500
Subject: [PATCH] Fix marker parsing with pyparsing 3.0.5
Closes #486
Context in pyparsing: https://github.com/pyparsing/pyparsing/issues/110#issuecomment-963167729
---
packaging/requirements.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/packaging/requirements.py b/packaging/requirements.py
index 53f9a3aa..d7d7dd42 100644
--- a/packaging/requirements.py
+++ b/packaging/requirements.py
@@ -67,9 +67,7 @@ class InvalidRequirement(ValueError):
VERSION_SPEC.setParseAction(lambda s, l, t: t[1])
MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker")
-MARKER_EXPR.setParseAction(
- lambda s, l, t: Marker(s[t._original_start : t._original_end])
-)
+MARKER_EXPR.addParseAction(lambda s, l, t: Marker(t[0]))
MARKER_SEPARATOR = SEMICOLON
MARKER = MARKER_SEPARATOR + MARKER_EXPR

View File

@ -4,8 +4,8 @@
# Depends on: python3-pyparsing python3-six
name=python3-packaging
version=21.2
release=2
version=21.3
release=1
source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz)
build() {