From owner-freebsd-python@freebsd.org Wed Aug 2 14:32:03 2017 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 33846DD2060 for ; Wed, 2 Aug 2017 14:32:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 1B83266FB2 for ; Wed, 2 Aug 2017 14:32:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 1AE9DDD205F; Wed, 2 Aug 2017 14:32:03 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1A89EDD205E for ; Wed, 2 Aug 2017 14:32:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F416666FB1 for ; Wed, 2 Aug 2017 14:32:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v72EW2ak022306 for ; Wed, 2 Aug 2017 14:32:02 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 220596] [NEW PORT] shells/xonsh: Python-ish BASH-wards shell Date: Wed, 02 Aug 2017 14:32:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: feature, needs-patch, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: matthew@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: matthew@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Aug 2017 14:32:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220596 Matthew Seaman changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #184232|0 |1 is obsolete| | --- Comment #26 from Matthew Seaman --- Created attachment 184957 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D184957&action= =3Dedit Fix outstanding problems with the port This adds: * BUILD_DEPENDS on the new devel/py-amalgamate port * Mark as NO_ARCH * Fix LICENSE This compiles for me and seems to work, but it generates a nasty looking exception on startup: ``` % xon.sh-3.6 Exception in thread Thread-2: Traceback (most recent call last): File "/usr/local/lib/python3.6/threading.py", line 916, in _bootstrap_inn= er self.run() File "/usr/local/lib/python3.6/site-packages/xonsh/history/__amalgam__.py= ", line 331, in run files =3D self.files(only_unlocked=3DTrue) File "/usr/local/lib/python3.6/site-packages/xonsh/history/__amalgam__.py= ", line 353, in files boot =3D uptime.boottime() File "/usr/local/lib/python3.6/site-packages/xonsh/xoreutils/uptime.py", = line 270, in boottime up =3D uptime() File "/usr/local/lib/python3.6/site-packages/xonsh/xoreutils/uptime.py", = line 260, in uptime up =3D (_uptime_bsd() or _uptime_plan9() or _uptime_linux() or File "/usr/local/lib/python3.6/site-packages/xonsh/xoreutils/uptime.py", = line 56, in _uptime_linux if xp.LIBC.sysinfo(buf) < 0: AttributeError: 'NoneType' object has no attribute 'sysinfo' Welcome to the xonsh shell (0.5.12) ~ All that is and all that shell be ~ ---------------------------------------------------------------------------= ----- xonfig tutorial -> Launch the tutorial in the browser xonfig wizard -> Run the configuration wizard and claim your shell (Note: Run the Wizard or create a ~/.xonshrc file to suppress the welcome screen) matthew@lucid-nonsense ~/work/ports/shells/xonsh $ ``` If you can confirm that it functions correctly and if possible come up with a fix for the exception, then I think we're pretty close to having this commitable. --=20 You are receiving this mail because: You are on the CC list for the bug.=