git: aaae01d1ba13 - main - shells/xonsh: upgrade to 0.11.0

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Fri, 06 May 2022 16:22:44 UTC
The branch main has been updated by thierry:

URL: https://cgit.FreeBSD.org/ports/commit/?id=aaae01d1ba137cc78aaf9b983ff8313ee1f4c932

commit aaae01d1ba137cc78aaf9b983ff8313ee1f4c932
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2022-03-26 17:59:54 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2022-05-06 16:22:39 +0000

    shells/xonsh: upgrade to 0.11.0
    
    Releases notes at <https://github.com/xonsh/xonsh/releases>.
    
    And now Python-3.9 is supported.
    
    PR:             262840
    Approved by:    maintainer’s time-out
---
 shells/xonsh/Makefile                              |  4 ++--
 shells/xonsh/distinfo                              |  6 +++---
 shells/xonsh/files/patch-xonsh_xoreutils_uptime.py | 18 ------------------
 3 files changed, 5 insertions(+), 23 deletions(-)

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: