2023-09-19 09:59:15 +03:00
|
|
|
distributable:
|
|
|
|
url: https://github.com/python/typing_extensions/archive/{{version}}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
versions:
|
|
|
|
github: python/typing_extensions
|
|
|
|
runtime:
|
|
|
|
env:
|
|
|
|
PYTHONPATH: "{{prefix}}/lib/python/site-packages:$PYTHONPATH"
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
flit.pypa.io: '*'
|
2023-10-03 18:23:56 +03:00
|
|
|
python.org: ~3.11
|
2023-09-19 09:59:15 +03:00
|
|
|
script:
|
|
|
|
- flit build --format wheel
|
|
|
|
- python -m pip install --prefix={{prefix}} dist/typing_extensions-*.whl
|
|
|
|
- run: |
|
|
|
|
ln -s python{{deps.python.org.version.marketing}} python{{deps.python.org.version.major}}
|
|
|
|
ln -s python{{deps.python.org.version.major}} python
|
|
|
|
working-directory: "{{prefix}}/lib"
|
|
|
|
test:
|
|
|
|
dependencies:
|
2023-10-03 18:23:56 +03:00
|
|
|
python.org: ~3.11
|
2023-09-19 09:59:15 +03:00
|
|
|
mypy-lang.org: '*'
|
|
|
|
script:
|
|
|
|
- python -c "import typing_extensions"
|
|
|
|
- mypy test.py | grep "Success"
|