diff --git a/recipes/depyf/meta.yaml b/recipes/depyf/meta.yaml new file mode 100644 index 0000000000000..e87a92bb59738 --- /dev/null +++ b/recipes/depyf/meta.yaml @@ -0,0 +1,44 @@ +{% set name = "depyf" %} +{% set version = "0.18.0" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/depyf-{{ version }}.tar.gz + sha256: b99f0c383be949ae45d5d606fe444c71f375b55a57b8d6b20e7856670d52130d + +build: + noarch: python + script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation + number: 0 + +requirements: + host: + - python {{ python_min }} + - setuptools + - pip + run: + - python >={{ python_min }} + - astor + - dill + +test: + imports: + - depyf + commands: + - pip check + requires: + - python {{ python_min }} + - pip + +about: + home: https://github.com/thuml/depyf + summary: Decompile python functions, from bytecode to source code! + license: MIT + license_file: LICENSE + +extra: + recipe-maintainers: + - maresb