add pkgconfig to `host`
I think this might fix it!
# pyvips supports cffi ABI and API mode
#
# During setup.py, it will attempt to compile a generated wrapper against the
-# libvips headers -- this is why it needs pkgconfig and libvips in build.
+# libvips headers -- this is why it needs pkgconfig and libvips in host.
#
# At runtime, it will first try to load the compiled wrapper, and if that
# fails, will fall back to ABI mode, ie. directly opening the libvips shared
# library and calling into it with cffi.
-#
-# import logging and set the level to debug to see some diagnostics about
-# this process.
-#
-# import logging
-# logging.basicConfig(level = logging.DEBUG)
# Skip win since libvips is not packaged for conda there. It is blocked on
# at least gdk-pixbuf.
@@ -24,9 +18,8 @@ package:
version: "{{ version }}"
source:
- # url: https://github.com/libvips/{{ name }}/archive/v{{ version }}.tar.gz
- url: http://www.rollthepotato.net/~john/pyvips-2.1.8.tar.gz
- sha256: 8b13eed1346aade94fda9879742bc6ffb4b1fb83a8000c1a95f61db510003a29
+ url: https://github.com/libvips/{{ name }}/archive/v{{ version }}.tar.gz
+ sha256: 4dcd1d6689f3faf46b340e70ee238bfd323b9757c5aff8d22a9e05201ebf2cc3
build:
number: 0
@@ -42,6 +35,7 @@ requirements:
- cffi >=1.0
- libvips
- pip
+ - pkgconfig # [not win]
- pytest
- pytest-runner
- python
