mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 21:08:35 -07:00
dev-python/path-py: Version bump to 12.0.2, add py38
Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
This commit is contained in:
committed by
Patrick McLean
parent
ef6b88d134
commit
9bd69af0b2
19
dev-python/path-py/files/path-py-12.0.2-py38.patch
Normal file
19
dev-python/path-py/files/path-py-12.0.2-py38.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
diff -ur path.py-12.0.2.orig/path/__init__.py path.py-12.0.2/path/__init__.py
|
||||
--- path.py-12.0.2.orig/path/__init__.py 2019-11-20 17:17:03.644205243 -0800
|
||||
+++ path.py-12.0.2/path/__init__.py 2019-11-20 17:17:57.356875924 -0800
|
||||
@@ -72,7 +72,13 @@
|
||||
|
||||
__version__ = importlib_metadata.version('path.py')
|
||||
except Exception:
|
||||
- __version__ = 'unknown'
|
||||
+ try:
|
||||
+ import importlib.metadata
|
||||
+
|
||||
+ __version__ = importlib.metadata.version('path.py')
|
||||
+
|
||||
+ except Exception:
|
||||
+ __version__ = 'unknown'
|
||||
|
||||
|
||||
class TreeWalkWarning(Warning):
|
||||
Only in path.py-12.0.2/path: .__init__.py.un~
|
||||
Reference in New Issue
Block a user