pantry/projects/ipython.org/package.yml

24 lines
459 B
YAML
Raw Normal View History

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:
2023-10-03 18:23:56 +03:00
python.org: '>=3.7<3.12'
2023-12-22 19:30:15 +03:00
gnu.org/which: 2 # used by the script
build:
script: |
python-venv.py {{prefix}}/bin/ipython
cp {{prefix}}/bin/ipython {{prefix}}/bin/ipython3
test:
script: |
test "$(ipython --version)" = "{{ version }}"