FreeBSD Bugzilla – Attachment 232746 Details for
Bug 262840
shells/xonsh: upgrade to 0.11.0 to make it supported by Python-3.9
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Upgrade to 0.11.0
shells_xonsh.diff (text/plain), 2.71 KB, created by
Thierry Thomas
on 2022-03-26 18:24:29 UTC
(
hide
)
Description:
Upgrade to 0.11.0
Filename:
MIME Type:
Creator:
Thierry Thomas
Created:
2022-03-26 18:24:29 UTC
Size:
2.71 KB
patch
obsolete
>From 463e7ce09288f93aa54fbc95fc53c11359ffacb7 Mon Sep 17 00:00:00 2001 >From: Thierry Thomas <thierry@FreeBSD.org> >Date: Sat, 26 Mar 2022 18:59:54 +0100 >Subject: [PATCH] shells/xonsh: upgrade to 0.11.0 > >Releases notes at <https://github.com/xonsh/xonsh/releases>. > >And now Python-3.9 is supported. >--- > shells/xonsh/Makefile | 4 ++-- > shells/xonsh/distinfo | 6 +++--- > .../files/patch-xonsh_xoreutils_uptime.py | 18 ------------------ > 3 files changed, 5 insertions(+), 23 deletions(-) > delete mode 100644 shells/xonsh/files/patch-xonsh_xoreutils_uptime.py > >diff --git a/shells/xonsh/Makefile b/shells/xonsh/Makefile >index 3578cdc15f40..9d46b45df0e7 100644 >--- a/shells/xonsh/Makefile >+++ b/shells/xonsh/Makefile >@@ -1,5 +1,5 @@ > PORTNAME= xonsh >-PORTVERSION= 0.7.9 >+PORTVERSION= 0.11.0 > CATEGORIES= shells python > MASTER_SITES= CHEESESHOP > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >@@ -14,7 +14,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}amalgamate>=0:devel/py-amalgamate@${PY_FLA > > NO_ARCH= yes > >-USES= python:3.4+ >+USES= python:3.6+ > USE_PYTHON= distutils autoplist concurrent > > .include <bsd.port.mk> >diff --git a/shells/xonsh/distinfo b/shells/xonsh/distinfo >index 1b9e90dc7832..337821f65c13 100644 >--- a/shells/xonsh/distinfo >+++ b/shells/xonsh/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1537440457 >-SHA256 (xonsh-0.7.9.tar.gz) = a90785419da7346927c51135ed4871e17862acad8be7adc557bac15e2cda4825 >-SIZE (xonsh-0.7.9.tar.gz) = 833920 >+TIMESTAMP = 1648316889 >+SHA256 (xonsh-0.11.0.tar.gz) = 0d9c3d9a4e8b8199ae697fbc9d1e0ae55085cdbdd4306d04813350996f9c15dc >+SIZE (xonsh-0.11.0.tar.gz) = 1027609 >diff --git a/shells/xonsh/files/patch-xonsh_xoreutils_uptime.py b/shells/xonsh/files/patch-xonsh_xoreutils_uptime.py >deleted file mode 100644 >index 8dc2873ddacf..000000000000 >--- a/shells/xonsh/files/patch-xonsh_xoreutils_uptime.py >+++ /dev/null >@@ -1,18 +0,0 @@ >---- xonsh/xoreutils/uptime.py.orig 2018-09-05 14:16:47 UTC >-+++ xonsh/xoreutils/uptime.py >-@@ -100,13 +100,13 @@ def _uptime_bsd(): >- return None >- # Determine how much space we need for the response. >- sz = ctypes.c_uint(0) >-- xp.LIBC.sysctlbyname("kern.boottime", None, ctypes.byref(sz), None, 0) >-+ xp.LIBC.sysctlbyname(b"kern.boottime", None, ctypes.byref(sz), None, 0) >- if sz.value != struct.calcsize("@LL"): >- # Unexpected, let's give up. >- return None >- # For real now. >- buf = ctypes.create_string_buffer(sz.value) >-- xp.LIBC.sysctlbyname("kern.boottime", buf, ctypes.byref(sz), None, 0) >-+ xp.LIBC.sysctlbyname(b"kern.boottime", buf, ctypes.byref(sz), None, 0) >- sec, usec = struct.unpack_from("@LL", buf.raw) >- # OS X disagrees what that second value is. >- if usec > 1000000: >-- >2.35.1 >
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
Actions:
View
|
Diff
Attachments on
bug 262840
: 232746