Skip to content

Commit

Permalink
Merge pull request #1 from carterbox/parquet
Browse files Browse the repository at this point in the history
REF: Minimal alias markup
  • Loading branch information
timkpaine authored Jun 7, 2022
2 parents 592b09c + fe5871e commit 6a79685
Showing 1 changed file with 16 additions and 19 deletions.
35 changes: 16 additions & 19 deletions recipes/parquet-python/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,33 +19,30 @@ build:
requirements:
host:
- python
- pip
run:
- python
- thriftpy2

outputs:
- name: parquet-python
requirements:
host:
- python
- pip
run:
- python
- thriftpy2

test:
imports:
- parquet
test:
imports:
- parquet

# Top part of recipe is the same as a normal recipe. The following is only
# needed for the alias.
outputs:
# Tells conda-build that the top level is an output
- name: {{ name|lower }}
# Defines the alias a noarch package that only depends on python
# and the top-level
- name: parquet_python
build:
noarch: python # not noarch: generic because build tag formatting
requirements:
host:
- python
- python # required to squash jinja error about undefined PYTHON
run:
- {{ pin_subpackage("parquet-python", exact=True) }}

test:
imports:
- parquet
- {{ pin_subpackage( name|lower, exact=True) }}

about:
home: https://github.com/jcrobak/parquet-python
Expand Down

0 comments on commit 6a79685

Please sign in to comment.