include:
  - pkgs.system.gcc
  - pkgs.python.pip
  - pkgs.system.swig

pyzmq:
  pip.installed:
    {%- if salt['config.get']('virtualenv_name', None)  %}
    - bin_env: /srv/virtualenvs/{{ salt['config.get']('virtualenv_name') }}
    {%- endif %}
    - index_url: https://pypi-jenkins.saltstack.com/jenkins/develop
    - extra_index_url: https://pypi.python.org/simple
    - require:
      - pip: pip
      - pkg: gcc
      - pkg: swig

include:
  - pkgs.system.gcc
  - pkgs.python.pip
  - pkgs.system.swig

pyzmq:
  pip.installed:
    {%- if salt['config.get']('virtualenv_name', None)  %}
    - bin_env: /srv/virtualenvs/{{ salt['config.get']('virtualenv_name') }}
    {%- endif %}
    - index_url: https://pypi-jenkins.saltstack.com/jenkins/develop
    - extra_index_url: https://pypi.python.org/simple
    - global-options:
      - fetch_libzmq
    - install-options:
      - --zmq=bundled
    - require:
      - pip: pip
      - pkg: gcc
      - pkg: swig

Add global and install options
Add global and install options

saltstack/jenkins-ci-states