When using pacman to install packages, the --root option can be set to
install them to an alternative location. The current install scripts
don't take this in to account which causes no such file or directory
errors. This modifies the sed command to use the full prefix path
when renaming the shebang.
Signed-off-by: Dan Yeaw <dan@yeaw.me>
We can use prompt-toolkit 2.x in Python2 as well as python3. The problem is that ipython is stuck at 5.3.0 and that required prompt_toolkit 1.x which is incompatible with orinot)tiikjut 2,x (ergo, we were stuck at prompt_toolkit 1.x in Python2).
To fix this issue, I made a 2.0.8 prompt_kit package for both Python2 and Python3 as well as providing a "python2-prompt-toolkit1" package that Ipython for Python2 would like to instead of the default "Prompt-toolkit".
* ikernel update and ipython updates. Note that these packages go together so they in one PR request.
Note that python-prompt-toolkit has to be split into 2 packages because ipython 7.1.1 for python3 now requires to prompt_toolkit > 2.0 which is only available for python3. The old version of prompt_toolkit for python2 is now separate so that th eolder version can be provided for ipython 5.x for python2.
* Fixes suggested by Alex puck and a few things I found
1) Delete python-ipykernel and make a separate python2-ipykernel package that only installs for Python2.
2) In python3-ipykernel - add license file and fixup dependencies for Python3 only package. Remove unused stuff.
3) python3-ipytho - add an optional dependency on python3-ipython-ipyparallel. That is something I'm working on now which was suggested by setup.py file in this package.
* various fixes to packages
python2-ipython - make it conform to standard pattern
python2-prompt_toolkit - add --skip-build, it's built separate
python3-ipykernel - formatting
python3-ipython - clarified dependencies and add tests
python3-prompt_toolkit - add mingw-w64 to description
python-python-simplegeneric - make comply to standard pattern
ipython2-python - 5.3.0 - run ipython with winpty in python-script, ix shebang in pythong so it's tied to user's setup, add jedi and pexpect as dependency
python3-ipython - 6.5.0 - tun ipython with winpty in python-script, fix shebang in pythong so it's tied to user's setup, add jedi and pexpect as dependency
python-pexpect - 4.6.0 - new package required for ipython and probably other stuff
python-jedi - 0.12.1 - new package - required for ipython\
python-paros - 0.3.1 - new package - equired for jedi
This either changes the pkgbase to match the directory name
or the other way around.
The motivation for this is to make it possible to automatically generate
an URL to the PKGBUILD file from the package information alone.