Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
rpm.30243
match-python-version-if-minor.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File match-python-version-if-minor.diff of Package rpm.30243
From 54b5004cda39c2d1da78a0d8b8689cc6683bc9b6 Mon Sep 17 00:00:00 2001 From: Gordon Messmer <gordon.messmer@gmail.com> Date: Sat, 23 Nov 2019 15:03:44 -0800 Subject: [PATCH] scripts/pythondistdeps: Match python version if minor has multiple digits. --- scripts/pythondistdeps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- ./scripts/pythondistdeps.py +++ ./scripts/pythondistdeps.py @@ -116,7 +116,7 @@ for f in files: # Try to parse the Python version from the path the metadata # resides at (e.g. /usr/lib/pythonX.Y/site-packages/...) import re - res = re.search(r"/python(?P<pyver>\d+\.\d)/", path_item) + res = re.search(r"/python(?P<pyver>\d+\.\d+)/", path_item) if res: dist.py_version = res.group('pyver') else: -- 2.39.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor