Skip to content

Commit

Permalink
version variables updated and other params in meta.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mpatrou committed Aug 30, 2023
1 parent 7fb7dc2 commit bc82045
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
# load information from setup.cfg/setup.py
{% set data = load_setup_py_data() %}
{% set license = data.get('license') %}
{% set description = data.get('description') %}
{% set url = data.get('url') %}
# this will get the version set by environment variable
{% set version = environ.get('VERSION') %}
{% set version_number = environ.get('GIT_DESCRIBE_NUMBER', '0') | string %}
{% set git_describe_number = environ.get('GIT_DESCRIBE_NUMBER', '0') | string %}


package:
name: shiver
version: {{ version_number }}
version: {{ version }}

source:
path: ..

build:
noarch: python
linux-64: python
number: {{ version_number }}
number: {{ git_describe_number }}
string: py{{py}}
script: {{ PYTHON }} -m pip install . --no-deps --ignore-installed -vvv

Expand All @@ -36,7 +35,6 @@ requirements:

about:
home: {{ url }}
license: {{ license }}
license_family: GPL
license_file: ../LICENSE
summary: {{ description }}

0 comments on commit bc82045

Please sign in to comment.