Skip to content

Commit 66866a8

Browse files
committed
file recipe -> package conda
1 parent a2df0e4 commit 66866a8

File tree

4 files changed

+69
-0
lines changed

4 files changed

+69
-0
lines changed

recipe/conda_build_config.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
python:
2+
- 3.9
3+
- 3.10
4+
- 3.11

recipe/conda_build_env.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: build-env
2+
channels:
3+
- conda-forge
4+
- defaults
5+
dependencies:
6+
- python < 3.9
7+
- conda-build
8+
- anaconda-client

recipe/conda_channels.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
conda-forge

recipe/meta.yaml

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{% set name = "brendapy" %}
2+
{% set data = load_setup_py_data() %}
3+
4+
package:
5+
name: brendapy
6+
version: '0.5.0' #{{ data['version'] }}
7+
8+
source:
9+
# External dependencies
10+
- url: https://github.com/matthiaskoenig/pymetadata/archive/refs/heads/develop.zip
11+
sha256: 778da51351adac7aafba5f500f8148079c54a88de77c7219404a08bd0062a536
12+
#c591436722eac496d29da02d32eb19fe5943b8afdf1c2a88e76433a91052a936
13+
folder: brendapy/ontologies/pymetadata
14+
15+
build:
16+
noarch: python
17+
number: 0
18+
script: {{ PYTHON }} -m pip install --no-deps --ignore-installed -vv .
19+
20+
requirements:
21+
host:
22+
- python {{ python }}
23+
- pip
24+
run:
25+
- python {{ python }}
26+
- depinfo>=0.1.7
27+
#- pymetadata>=0.2.10
28+
- rich
29+
- requests
30+
- pandas>=1.4.0
31+
- pyparsing>=3.0.9
32+
- ujson>=5.2.0
33+
34+
test:
35+
source_files:
36+
- tests
37+
imports:
38+
- {{ name|lower }}
39+
requires:
40+
- pytest
41+
commands:
42+
- python -m {{ name|lower }}.brendapy --help
43+
- python -m pytest tests
44+
45+
about:
46+
home: https://github.com/matthiaskoenig/brendapy
47+
#summary: {{ data['description'] }}
48+
#license: {{ data.get('license') }}
49+
license_file: LICENSE
50+
#description: {{ data['long_description'] }}
51+
52+
extra:
53+
recipe-maintainers:
54+
- matthiaskoenig
55+
- tduigou
56+
- noparis

0 commit comments

Comments
 (0)