mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
f549ea35a8
commit
0adcade583
1 changed files with 18 additions and 8 deletions
|
@ -10,14 +10,24 @@ provides:
|
||||||
- bin/ipython3
|
- bin/ipython3
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
python.org: '>=3.7<3.12'
|
pkgx.sh: ^1
|
||||||
gnu.org/which: 2 # used by the script
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
script: |
|
dependencies:
|
||||||
python-venv.py {{prefix}}/bin/ipython
|
python.org: '>=3.7<3.12'
|
||||||
cp {{prefix}}/bin/ipython {{prefix}}/bin/ipython3
|
script:
|
||||||
|
# broken version number in 8.19.1
|
||||||
|
- run: sed -i
|
||||||
|
-e 's/^_version_major = .*/_version_major = {{version.major}}/'
|
||||||
|
-e 's/^_version_minor = .*/_version_minor = {{version.minor}}/'
|
||||||
|
-e 's/^_version_patch = .*/_version_patch = {{version.patch}}/'
|
||||||
|
-e 's/^_version_extra = .*/_version_extra = ""/'
|
||||||
|
release.py
|
||||||
|
working-directory: IPython/core
|
||||||
|
- bkpyvenv stage {{prefix}} {{version}}
|
||||||
|
- ${{prefix}}/venv/bin/python -m pip install .
|
||||||
|
- bkpyvenv seal {{prefix}} ipython
|
||||||
|
- run: ln -s ipython ipython3
|
||||||
|
working-directory: ${{prefix}}/bin
|
||||||
|
|
||||||
test:
|
test: test "$(ipython --version)" = "{{ version }}"
|
||||||
script: |
|
|
||||||
test "$(ipython --version)" = "{{ version }}"
|
|
||||||
|
|
Loading…
Reference in a new issue