mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 02:15:06 +03:00
+rye-up.com (#5257)
* new file: projects/rye-up.com/package.yml * \n * Update package.yml
This commit is contained in:
parent
166856e309
commit
b9f45d2bd6
1 changed files with 39 additions and 0 deletions
39
projects/rye-up.com/package.yml
Normal file
39
projects/rye-up.com/package.yml
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
distributable:
|
||||||
|
url: git+https://github.com/mitsuhiko/rye
|
||||||
|
ref: ${{version.tag}}
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: mitsuhiko/rye
|
||||||
|
|
||||||
|
companions:
|
||||||
|
curl.se/ca-certs: '*'
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
rust-lang.org: '>=1.65'
|
||||||
|
rust-lang.org/cargo: '*'
|
||||||
|
script:
|
||||||
|
- cargo install $ARGS
|
||||||
|
env:
|
||||||
|
ARGS:
|
||||||
|
- --path=rye
|
||||||
|
- --locked
|
||||||
|
- --root={{prefix}}
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/rye
|
||||||
|
|
||||||
|
test:
|
||||||
|
fixture: |
|
||||||
|
[project]
|
||||||
|
name = "testproj"
|
||||||
|
requires-python = ">=3.9"
|
||||||
|
version = "1.0"
|
||||||
|
license = {text = "MIT"}
|
||||||
|
script:
|
||||||
|
- rye --version | grep {{version}}
|
||||||
|
- cp $FIXTURE pyproject.toml
|
||||||
|
- rye add requests==2.24.0
|
||||||
|
- rye sync
|
||||||
|
- cat pyproject.toml | grep 'requests==2.24.0'
|
||||||
|
- rye run python -c 'import requests;print(requests.__version__)' | grep 2.24.0
|
Loading…
Reference in a new issue