Fix pipenv venv stuff

Fixes https://github.com/teaxyz/pantry.extra/issues/420
This commit is contained in:
Max Howell 2023-03-07 20:08:47 -05:00
parent 20ce9db565
commit 53199875aa

View file

@ -3,7 +3,7 @@ distributable:
strip-components: 1 strip-components: 1
versions: versions:
github: pypa/pipenv/releases/tags # reads github *releases* but uses the tags of those releases github: pypa/pipenv/releases/tags
strip: /^v/ strip: /^v/
dependencies: dependencies:
@ -16,9 +16,11 @@ build:
script: script:
python-venv.sh {{prefix}}/bin/pipenv python-venv.sh {{prefix}}/bin/pipenv
test: runtime:
env: env:
PIPENV_IGNORE_VIRTUALENVS: true # ignore existing venv and create new one for testing PIPENV_IGNORE_VIRTUALENVS: 1
test:
script: | script: |
test "$(pipenv --version)" = "pipenv, version {{version}}" test "$(pipenv --version)" = "pipenv, version {{version}}"
mkdir -p tmp_test mkdir -p tmp_test