REF: Minimal alias markup
I tested this using build-locally.py, so it should work
@@ -16,14 +16,6 @@ build:
entry_points:
- parquet = parquet.__main__:main
-requirements:
- host:
- - python
- run:
- - python
-
-outputs:
- - name: parquet-python
requirements:
host:
- python
@@ -36,16 +28,21 @@ outputs:
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
