From owner-svn-ports-all@freebsd.org Sat Sep 15 12:34:49 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D405E10A588D; Sat, 15 Sep 2018 12:34:48 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 842058B367; Sat, 15 Sep 2018 12:34:48 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7EECF137CD; Sat, 15 Sep 2018 12:34:48 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w8FCYmiY076872; Sat, 15 Sep 2018 12:34:48 GMT (envelope-from 0mp@FreeBSD.org) Received: (from 0mp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w8FCYlpF076869; Sat, 15 Sep 2018 12:34:47 GMT (envelope-from 0mp@FreeBSD.org) Message-Id: <201809151234.w8FCYlpF076869@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: 0mp set sender to 0mp@FreeBSD.org using -f From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Sat, 15 Sep 2018 12:34:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r479833 - in head/shells/xonsh: . files X-SVN-Group: ports-head X-SVN-Commit-Author: 0mp X-SVN-Commit-Paths: in head/shells/xonsh: . files X-SVN-Commit-Revision: 479833 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Sep 2018 12:34:49 -0000 Author: 0mp Date: Sat Sep 15 12:34:47 2018 New Revision: 479833 URL: https://svnweb.freebsd.org/changeset/ports/479833 Log: shells/xonsh: Upgrade to version 0.7.8 Changelog: https://github.com/xonsh/xonsh/blob/0.7.8/CHANGELOG.rst PR: 230369 Submitted by: Roberto Fernandez Cueto (maintainer) Reported by: Nathan Reviewed by: krion, mat Reviewed by: Nathan (previous version) Reviewed by: John Hein (previous version) Approved by: krion (mentor) Differential Revision: https://reviews.freebsd.org/D17152 Modified: head/shells/xonsh/Makefile head/shells/xonsh/distinfo head/shells/xonsh/files/patch-xonsh_platform.py head/shells/xonsh/files/patch-xonsh_xoreutils_uptime.py Modified: head/shells/xonsh/Makefile ============================================================================== --- head/shells/xonsh/Makefile Sat Sep 15 11:34:01 2018 (r479832) +++ head/shells/xonsh/Makefile Sat Sep 15 12:34:47 2018 (r479833) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= xonsh -PORTVERSION= 0.6.0 +PORTVERSION= 0.7.8 CATEGORIES= shells python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,6 +10,7 @@ MAINTAINER= roberfern@gmail.com COMMENT= Python-ish BASH-wards shell LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/license BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}amalgamate>=0:devel/py-amalgamate@${PY_FLAVOR} Modified: head/shells/xonsh/distinfo ============================================================================== --- head/shells/xonsh/distinfo Sat Sep 15 11:34:01 2018 (r479832) +++ head/shells/xonsh/distinfo Sat Sep 15 12:34:47 2018 (r479833) @@ -1,3 +1,3 @@ -TIMESTAMP = 1511473787 -SHA256 (xonsh-0.6.0.tar.gz) = 19aa4c075378aef8476b8b2cdb0bea6fa5e10933163de443b958fa485e0f6dc6 -SIZE (xonsh-0.6.0.tar.gz) = 652164 +TIMESTAMP = 1536835442 +SHA256 (xonsh-0.7.8.tar.gz) = 956c7fbf19968afaade11fa5cb627a7f2c177a9e05f8cb03f7efa86b5fe4cb08 +SIZE (xonsh-0.7.8.tar.gz) = 827000 Modified: head/shells/xonsh/files/patch-xonsh_platform.py ============================================================================== --- head/shells/xonsh/files/patch-xonsh_platform.py Sat Sep 15 11:34:01 2018 (r479832) +++ head/shells/xonsh/files/patch-xonsh_platform.py Sat Sep 15 12:34:47 2018 (r479833) @@ -1,11 +1,11 @@ ---- xonsh/platform.py.orig 2017-03-12 02:36:40 UTC +--- xonsh/platform.py.orig 2018-09-05 14:16:47 UTC +++ xonsh/platform.py -@@ -491,7 +491,7 @@ def LIBC(): - libc = ctypes.CDLL('cygwin1.dll') +@@ -571,7 +571,7 @@ def LIBC(): + libc = ctypes.CDLL("msys-2.0.dll") elif ON_BSD: try: -- libc = ctypes.CDLL('libc.so') -+ libc = ctypes.CDLL(ctypes.util.find_library("c")) +- libc = ctypes.CDLL("libc.so") ++ libc = ctypes.CDLL(ctypes.util.find_library("c")) except AttributeError: libc = None except OSError: Modified: head/shells/xonsh/files/patch-xonsh_xoreutils_uptime.py ============================================================================== --- head/shells/xonsh/files/patch-xonsh_xoreutils_uptime.py Sat Sep 15 11:34:01 2018 (r479832) +++ head/shells/xonsh/files/patch-xonsh_xoreutils_uptime.py Sat Sep 15 12:34:47 2018 (r479833) @@ -1,11 +1,18 @@ ---- xonsh/xoreutils/uptime.py.orig 2017-02-11 16:24:07 UTC +--- xonsh/xoreutils/uptime.py.orig 2018-09-05 14:16:47 UTC +++ xonsh/xoreutils/uptime.py -@@ -100,7 +100,7 @@ def _uptime_bsd(): +@@ -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'): +- 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: