Skip to content

Commit

Permalink
file recipe -> package conda
Browse files Browse the repository at this point in the history
  • Loading branch information
noparis committed Dec 11, 2023
1 parent a2df0e4 commit 66866a8
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 0 deletions.
4 changes: 4 additions & 0 deletions recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
python:
- 3.9
- 3.10
- 3.11
8 changes: 8 additions & 0 deletions recipe/conda_build_env.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: build-env
channels:
- conda-forge
- defaults
dependencies:
- python < 3.9
- conda-build
- anaconda-client
1 change: 1 addition & 0 deletions recipe/conda_channels.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
conda-forge
56 changes: 56 additions & 0 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{% set name = "brendapy" %}
{% set data = load_setup_py_data() %}

package:
name: brendapy
version: '0.5.0' #{{ data['version'] }}

source:
# External dependencies
- url: https://github.com/matthiaskoenig/pymetadata/archive/refs/heads/develop.zip
sha256: 778da51351adac7aafba5f500f8148079c54a88de77c7219404a08bd0062a536
#c591436722eac496d29da02d32eb19fe5943b8afdf1c2a88e76433a91052a936
folder: brendapy/ontologies/pymetadata

build:
noarch: python
number: 0
script: {{ PYTHON }} -m pip install --no-deps --ignore-installed -vv .

requirements:
host:
- python {{ python }}
- pip
run:
- python {{ python }}
- depinfo>=0.1.7
#- pymetadata>=0.2.10
- rich
- requests
- pandas>=1.4.0
- pyparsing>=3.0.9
- ujson>=5.2.0

test:
source_files:
- tests
imports:
- {{ name|lower }}
requires:
- pytest
commands:
- python -m {{ name|lower }}.brendapy --help
- python -m pytest tests

about:
home: https://github.com/matthiaskoenig/brendapy
#summary: {{ data['description'] }}
#license: {{ data.get('license') }}
license_file: LICENSE
#description: {{ data['long_description'] }}

extra:
recipe-maintainers:
- matthiaskoenig
- tduigou
- noparis

0 comments on commit 66866a8

Please sign in to comment.