Add python-unicorn
@@ -29,6 +29,33 @@ test:
- test -f $PREFIX/lib/libunicorn$SHLIB_EXT # [unix]
- if not exist %LIBRARY_BIN%\\unicorn.dll exit 1 # [win]
+outputs:
+ - name: unicorn
+
+ - name: python-unicorn
+ build:
+ skip: True # [win]
+ noarch: python
+ script:
+ - export LIBUNICORN_PATH="${PREFIX}"
+ - mkdir source/bindings/python/src
+ - cp source/pkgconfig.mk source/bindings/python/src
+ - ${PYTHON} -m pip install source/bindings/python/ -vv
+ requirements:
+ host:
+ - pip
+ - python >=2.7
+ run:
+ - python >=2.7
+ - {{ pin_subpackage("unicorn", exact=True) }}
+ test:
+ imports:
+ - unicorn
+ commands:
+ - pip check
+ requires:
+ - pip
+
about:
home: https://www.unicorn-engine.org/
license: LGPL-2.0-only AND LGPL-2.0-or-later
