[Bug 220596] [NEW PORT] shells/xonsh: Python-ish BASH-wards shell
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Aug 2 14:32:03 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220596
Matthew Seaman <matthew at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #184232|0 |1
is obsolete| |
--- Comment #26 from Matthew Seaman <matthew at FreeBSD.org> ---
Created attachment 184957
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=184957&action=edit
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_inner
self.run()
File "/usr/local/lib/python3.6/site-packages/xonsh/history/__amalgam__.py",
line 331, in run
files = self.files(only_unlocked=True)
File "/usr/local/lib/python3.6/site-packages/xonsh/history/__amalgam__.py",
line 353, in files
boot = uptime.boottime()
File "/usr/local/lib/python3.6/site-packages/xonsh/xoreutils/uptime.py", line
270, in boottime
up = uptime()
File "/usr/local/lib/python3.6/site-packages/xonsh/xoreutils/uptime.py", line
260, in uptime
up = (_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 at 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.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-python
mailing list