Commit Graph

9 Commits

Author SHA1 Message Date
Dan Yeaw
fddd9ee6c6 Use current path prefix to find Python script files to modify
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>
2019-03-27 13:02:27 -04:00
J. Peter Mugaas
2dbd9e2275 Reorganization of Ipython and Prompt-toolkit packages (#4927)
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".
2019-01-30 09:44:29 +03:00
Alexey Pavlov
b3112b5870 Format fixes 2018-11-21 08:26:29 +03:00
J. Peter Mugaas
e58c37d354 ikernel update and ipython updates. Note that these packages go toge… (#4677)
* 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
2018-11-21 07:46:30 +03:00
Alexey Pavlov
25e968e7cc python2-ipython: Remove extra files 2018-09-03 13:39:33 +03:00
J. Peter Mugaas
f50892c3fd mingw-w64-ipython updates and dependencies (#4353)
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
2018-09-03 07:22:13 +03:00
Viktor Szakats
7f6257d62d switch to HTTPS where available (#2904)
* switch to HTTPS where available

* use canonical readthedocs URLs
2017-09-16 09:12:45 +03:00
Christoph Reiter
4d8828efed Make pkgbase of all packages match the name of the PKGBUILD directory (#2878)
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.
2017-09-12 14:25:41 +03:00
Alexey Pavlov
ce53ec5849 python-ipython: Build different versions for python 2 and 3 2017-06-17 10:36:56 +03:00