Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use vc package instead of python for activating features #9

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 29 additions & 25 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,40 +1,44 @@
{% set version = "2.1.0" %}

package:
name: expat
version: {{ version }}
name: expat
version: {{ version }}

source:
fn: expat-{{ version }}.tar.bz2
url: http://downloads.sourceforge.net/project/expat/expat/{{ version }}/expat-{{ version }}.tar.gz
md5: dd7dab7a5fea97d2a6a43f511449b7cd
fn: expat-{{ version }}.tar.bz2
url: http://downloads.sourceforge.net/project/expat/expat/{{ version }}/expat-{{ version }}.tar.gz
md5: dd7dab7a5fea97d2a6a43f511449b7cd

build:
number: 2
features:
- vc9 # [win and py27]
- vc10 # [win and py34]
- vc14 # [win and py35]
number: 3
features:
- vc9 # [win and py27]
- vc10 # [win and py34]
- vc14 # [win and py35]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

None of this works without Python. We don't have vc matrix support yet either.

xref: conda-tools/conda-build-all#36
xref: conda-tools/conda-build-all#65
xref: conda/conda-build#1445

cc @pelson


requirements:
build:
- cmake # [win]
- python # [win]
- msinttypes # [win]
build:
- cmake # [win]
- vc 9 # [win and py27]
- vc 10 # [win and py34]
- vc 14 # [win and py35]
- msinttypes # [win]
run:
- vc 9 # [win and py27]
- vc 10 # [win and py34]
- vc 14 # [win and py35]

test:
requires:
- python {{ environ['PY_VER'] + '*' }} # [win]
commands:
- xmlwf -h
commands:
- xmlwf -h

about:
home: http://expat.sourceforge.net/
license: MIT
summary: Expat XML parser library in C
home: http://expat.sourceforge.net/
license: MIT
summary: Expat XML parser library in C

extra:
recipe-maintainers:
- kwilcox
- ocefpaf
- pelson
recipe-maintainers:
- kwilcox
- ocefpaf
- pelson