Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#60929 - [autojump] Python lib files should be in /usr/lib/python3.7/site-packages

Attached to Project: Community Packages
Opened by Jan Alexander Steffens (heftig) - Wednesday, 28 November 2018, 21:49 GMT
Last edited by Jaroslav Lichtblau (Dragonlord) - Saturday, 02 November 2019, 20:22 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jaroslav Lichtblau (Dragonlord)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

autojump installs .py library files into /usr/bin. This is bad for two reasons:

- Files are placed in $PATH that should not and cannot be executed.
- Python will attempt to write /usr/bin/__pycache__/*.pyc if it can, e.g. when autojump is loaded in a root shell.

The latter is especially egregious as the files are untracked.


Please move the .py libraries to /usr/lib/python3.7/site-packages and precompile them using:

python -m compileall -d /usr/lib "$pkgdir/usr/lib"
python -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
This task depends upon

Closed by  Jaroslav Lichtblau (Dragonlord)
Saturday, 02 November 2019, 20:22 GMT
Reason for closing:  Won't fix
Additional comments about closing:  autojump removed from [community]
Comment by Jaroslav Lichtblau (Dragonlord) - Saturday, 02 November 2019, 20:22 GMT
Too many issues with autojump throghout the years, package deleted.

Loading...