FreeBSD Bugzilla – Attachment 215276 Details for
Bug 247017
textproc/py-jc: Update to 1.11.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
py-jc-1.11.2.diff
py-jc-1.11.2.diff (text/plain), 2.34 KB, created by
Lewis Cook
on 2020-06-05 18:12:50 UTC
(
hide
)
Description:
py-jc-1.11.2.diff
Filename:
MIME Type:
Creator:
Lewis Cook
Created:
2020-06-05 18:12:50 UTC
Size:
2.34 KB
patch
obsolete
>Index: textproc/py-jc/Makefile >=================================================================== >--- textproc/py-jc/Makefile (revision 537962) >+++ textproc/py-jc/Makefile (working copy) >@@ -1,7 +1,7 @@ > # $FreeBSD$ > > PORTNAME= jc >-DISTVERSION= 1.11.1 >+DISTVERSION= 1.11.2 > CATEGORIES= textproc python > MASTER_SITES= CHEESESHOP > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >Index: textproc/py-jc/distinfo >=================================================================== >--- textproc/py-jc/distinfo (revision 537962) >+++ textproc/py-jc/distinfo (working copy) >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1590403233 >-SHA256 (jc-1.11.1.tar.gz) = 4de55cd708c1c470c07b663f62c3ec0090ee08ac9a97df14a9e6abff054f024f >-SIZE (jc-1.11.1.tar.gz) = 86952 >+TIMESTAMP = 1591368324 >+SHA256 (jc-1.11.2.tar.gz) = dd4bababf261f79fffd1c37fc94e60fc5fc30018a6ba8f763cf5a12a15d64361 >+SIZE (jc-1.11.2.tar.gz) = 89130 >Index: textproc/py-jc/files/patch-jc_utils.py >=================================================================== >--- textproc/py-jc/files/patch-jc_utils.py (revision 537962) >+++ textproc/py-jc/files/patch-jc_utils.py (nonexistent) >@@ -1,26 +0,0 @@ >-Platform check fails as sys.platform returns 'freebsd' plus >-the release version e.g., 'freebsd12' and so forth where the string >-'freebsd' is only listed as compatible. >- >---- jc/utils.py.orig 2020-05-23 14:53:34 UTC >-+++ jc/utils.py >-@@ -1,8 +1,8 @@ >- """jc - JSON CLI output utility utils""" >- import textwrap >- import sys >-+import re >- >-- >- def warning_message(message): >- """ >- Prints a warning message for non-fatal issues >-@@ -56,7 +56,8 @@ def compatibility(mod_name, compatible): >- >- no return, just prints output to STDERR >- """ >-- if sys.platform not in compatible: >-+ platform = re.sub(r'\d+', '', sys.platform) >-+ if platform not in compatible: >- mod = mod_name.split('.')[-1] >- compat_list = ', '.join(compatible) >- warning_message(f'{mod} parser not compatible with your OS ({sys.platform}).\n Compatible platforms: {compat_list}') > >Property changes on: textproc/py-jc/files/patch-jc_utils.py >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-on >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
lcook
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 247017
: 215276 |
215277