Improved pkg-config version test
@@ -38,7 +38,7 @@ test:
- pkg-config
commands:
- test -r ${PREFIX}/lib/libpycm.so # [unix]
- - test "$(pkg-config --print-errors --modversion pycm)" == "${PKG_VERSION}" # [unix]
+ - pkg-config --print-errors --exact-version "{{ version }}" pycm
imports:
- PyCm
