Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 72 additions & 0 deletions recipes/recipes_emscripten/keyring/recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
context:
name: keyring
version: 25.7.0

package:
name: ${{ name }}
version: ${{ version }}

source:
url: https://pypi.org/packages/source/${{ name[0] }}/${{ name }}/${{ name }}-${{ version }}.tar.gz
sha256: fe01bd85eb3f8fb3dd0405defdeac9a5b4f6f0439edbb3149577f244a2e8245b

build:
number: 0
noarch: python
script: ${{ PYTHON }} -m pip install . ${{ PIP_ARGS }}

files:
exclude:
- '**/__pycache__/**'
- '**/*.pyc'
- '**/test_*.py'
python:
entry_points:
- keyring = keyring.cli:main
skip_pyc_compilation:
- '**/*.py'

requirements:
build:
- cross-python_${{ target_platform }}
- python
- pip
- setuptools >=56
- setuptools-scm >=3.4.1
- toml
host:
- python
- pip
- setuptools >=56
- setuptools-scm >=3.4.1
run:
- python
- importlib-metadata >=4.11.4
- importlib-resources
- jaraco.classes
- jaraco.context
- jaraco.functools

tests:
- script: pytester
files:
recipe:
- test_import_keyring.py
requirements:
build:
- pytester
run:
- pytester-run

about:
homepage: https://github.com/jaraco/keyring
repository: https://github.com/jaraco/keyring
documentation: https://pypi.org/project/keyring/
license: MIT
license_file: LICENSE
license_family: MIT
summary: Store and access your passwords safely

extra:
recipe-maintainers:
- copilot
4 changes: 4 additions & 0 deletions recipes/recipes_emscripten/keyring/test_import_keyring.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
def test_import_keyring():
import keyring # type: ignore[import-not-found]

assert keyring.get_keyring() is not None