Package Details: xonsh 0.6.0-1

Git Clone URL: https://aur.archlinux.org/xonsh.git (read-only)
Package Base: xonsh
Description: A Python-ish, BASHwards-compatible shell
Upstream URL: http://xon.sh/
Keywords: python shell system textmode
Licenses: FreeBSD
Submitter: None
Maintainer: dundee
Last Packager: dundee
Votes: 47
Popularity: 2.015942
First Submitted: 2015-03-16 00:35
Last Updated: 2017-11-26 20:00

Dependencies (4)

Required by (0)

Sources (1)

Latest Comments

dundee commented on 2017-03-01 09:32

ecazi: Removed, thanks!

ecazi commented on 2017-02-28 23:21

Hi dundee,

Could you remove the last two lines of the PKGBUILD? There's no longer an issue where the parser table is skipped by the installer and it's now causing a mismatch between the byte-compiled version and the raw version.
On my machine, removing it results in a .2s improvement in startup time.

Thanks!

dundee commented on 2017-01-08 17:13

Updated.

drawm commented on 2017-01-08 01:18

@sylvite You just need to rebuild and reinstall xonsh. See https://www.reddit.com/r/archlinux/comments/5mer2f/psa_rebuild_all_aur_packages_providing_python/

sylvite commented on 2017-01-07 22:53

Currently broken with upgrade to python 3.6.

astronouth7303 commented on 2016-08-15 12:33

I got https://github.com/xonsh/xonsh/issues/1561 after a big system update. I don't think xonsh was part of it, but there's the possibility of it being arch-related.

dundee commented on 2016-08-03 08:33

Hi ecazi,
added to PKGBUILD.

Thanks!

ecazi commented on 2016-08-02 17:43

Hi dundee,

xonsh relies on the parser tables generated during installation for optimal startup speed, but they aren't surviving installation via the PKGBUILD. The file `parser_table.py` should end up in `/usr/lib/python3.5/site-packages/xonsh` -- it is present in the `src` tree of the build, so it may just require a post-install hook or something to copy it over?

This works:
diff --git a/PKGBUILD b/PKGBUILD
index f5efe3c..9c38f17 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,5 +18,7 @@ sha256sums=('d4f27209a3312904148c07ddd7ae0f96089b8f51d1cb469da4b0411deecb1b0a')
package() {
cd "$srcdir/$pkgname-$pkgver"
python setup.py install --root=$pkgdir
+ site_packages=$(python -c "import site; print(site.__file__.rsplit('/', 2)[-2])")
install -D -m644 license "$pkgdir/usr/share/licenses/$pkgname/license"
+ install -D -m644 xonsh/parser_table.py "$pkgdir/usr/lib/$site_packages/site-packages/xonsh"
}

oleerik commented on 2016-07-03 11:05

Updated PKGBUILD and .SRCINFO:
https://www.dropbox.com/s/knbyo7pals7twzh/xonsh.tar.gz?dl=1

dundee commented on 2016-06-06 09:00

Added, thanks!

All comments