[Bug 220596] shells/xonsh: Python-ish BASH-wards shell

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 10 13:52:10 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220596

--- Comment #13 from Kubilay Kocak <koobs at FreeBSD.org> ---
(In reply to Roberto Fernandez Cueto from comment #12)

I can reproduce the errors in comment 5.

FreeBSD Python ports (using autoplist) rely on setuptools' --record
functionality to produce a list of installed files.

It appears that xonsh's setup.py does some 'stuff' that produces/results in
incorrect --record output.

It likely has something to do with amalgamate_source() and/or

TABLES = ['xonsh/lexer_table.py', 'xonsh/parser_table.py',
          'xonsh/__amalgam__.py',
          'xonsh/completers/__amalgam__.py',
          'xonsh/history/__amalgam__.py',
          'xonsh/prompt/__amalgam__.py']

Additionally, we see the following output during the 'install' target:

running install
Removed xonsh/parser_table.py
Removed xonsh/__amalgam__.py
Removed xonsh/completers/__amalgam__.py
Removed xonsh/history/__amalgam__.py
Removed xonsh/prompt/__amalgam__.py

I'd start looking here.

On a side note, this reminds me of upstream issue 20397 [1], patches for which
we've included in all Python versions for a while now.

[1] https://bugs.python.org/issue20397

Additionally minor nits:

- LICENSE=BSD should be BSD[234]CLAUSE (upstream license file indicates a
2-clause license
- LICENSE_FILE should be added ponting to ${WRKSRC}/path/to/license when a
license file is included with the distribution files (one is in this case.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list