mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
0adcade583
closes #6134
33 lines
932 B
YAML
33 lines
932 B
YAML
distributable:
|
|
url: https://github.com/ipython/ipython/archive/{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: ipython/ipython/tags
|
|
|
|
provides:
|
|
- bin/ipython
|
|
- bin/ipython3
|
|
|
|
dependencies:
|
|
pkgx.sh: ^1
|
|
|
|
build:
|
|
dependencies:
|
|
python.org: '>=3.7<3.12'
|
|
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 "$(ipython --version)" = "{{ version }}"
|