+ipython.org (#1418)

* +ipython.org

* cp the python3 shim instead of run python-venv.py twice

---------

Co-authored-by: James Reynolds <magnsuviri@me.com>
This commit is contained in:
James Reynolds 2023-04-15 22:07:47 -06:00 committed by GitHub
parent 0742684fb1
commit 540af13675
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,22 @@
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:
python.org: '>=3.7'
build:
script: |
python-venv.py {{prefix}}/bin/ipython
cp {{prefix}}/bin/ipython {{prefix}}/bin/ipython3
test:
script: |
test "$(ipython --version)" = "{{ version }}"