2023-02-17 00:34:09 +03:00
|
|
|
distributable:
|
|
|
|
url: https://github.com/pypa/pipenv/archive/refs/tags/v{{ version }}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
2023-03-08 04:08:47 +03:00
|
|
|
github: pypa/pipenv/releases/tags
|
2023-02-17 00:34:09 +03:00
|
|
|
strip: /^v/
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
python.org: '>=3.7'
|
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
pip.pypa.io: '*'
|
|
|
|
gnu.org/bash: '>=2' # for our venv/relocation scripts: feel free to fix that
|
|
|
|
script:
|
|
|
|
python-venv.sh {{prefix}}/bin/pipenv
|
|
|
|
|
2023-03-08 04:08:47 +03:00
|
|
|
runtime:
|
2023-02-17 00:34:09 +03:00
|
|
|
env:
|
2023-03-08 04:08:47 +03:00
|
|
|
PIPENV_IGNORE_VIRTUALENVS: 1
|
|
|
|
|
|
|
|
test:
|
2023-02-17 00:34:09 +03:00
|
|
|
script: |
|
|
|
|
test "$(pipenv --version)" = "pipenv, version {{version}}"
|
|
|
|
mkdir -p tmp_test
|
|
|
|
cd tmp_test
|
|
|
|
|
|
|
|
# delete old venv if it exists (relevant for self-hosted testing rigs)
|
|
|
|
# otherwise pipenv fails (https://github.com/pypa/pipenv/issues/5052#issuecomment-1108872335)
|
|
|
|
if pipenv --venv; then
|
|
|
|
rm -rf $(pipenv --venv)
|
|
|
|
fi
|
|
|
|
|
|
|
|
pipenv install pycowsay
|
|
|
|
pipenv run pycowsay "Hello World"
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/pipenv
|