File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change 1+ {% set pyproject = load_file_data('../pyproject.toml', from_recipe_dir=True) %}
2+ {% set project = pyproject['project'] %}
3+
4+ {% set name = project['name'] %}
5+ {% set version = project['version'] %}
6+
7+ package :
8+ name : {{ name|lower }}
9+ version : {{ version }}
10+
11+ source :
12+ path : ..
13+
14+ build :
15+ number : 0
16+ skip : True # [py<39]
17+ script : {{ PYTHON }} -m pip install . --no-deps --no-build-isolation -vv
18+
19+ requirements :
20+ host :
21+ - python
22+ - pip
23+ {% for dep in pyproject['build-system']['requires'] %}
24+ - {{ dep.lower() }}
25+ {% endfor %}
26+ run :
27+ - python
28+ - requests >=2.32.3
29+
30+ test :
31+ imports :
32+ - mailjet_rest
33+ source_files :
34+ - tests/test_client.py
35+ requires :
36+ - pip
37+ - pytest
38+ commands :
39+ - pip check
40+ # TODO: Add environment variables for tests
41+ # - pytest tests/test_client.py -vv
42+
43+ about :
44+ home : {{ project['urls']['Homepage'] }}
45+ dev_url : {{ project['urls']['Repository'] }}
46+ doc_url : {{ project['urls']['Documentation'] }}
47+ summary : {{ project['description'] }}
48+ # TODO: Add the description
49+ # description: |
50+ #
51+ license : {{ project['license']['text'] }}
52+ license_family : {{ project['license']['text'] }}
53+ license_file : LICENSE
You can’t perform that action at this time.
0 commit comments