Skip to content

Commit

Permalink
Merge pull request #10492 from alexmojaki/stack_data
Browse files Browse the repository at this point in the history
Add recipes for stack_data, executing, and pure_eval
  • Loading branch information
npavlovikj authored Dec 25, 2019
2 parents e56c5ca + 6095fbc commit fd07513
Show file tree
Hide file tree
Showing 3 changed files with 120 additions and 0 deletions.
39 changes: 39 additions & 0 deletions recipes/executing/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{% set name = "executing" %}
{% set version = "0.4.1" %}

package:
name: "{{ name|lower }}"
version: "{{ version }}"

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: b180cd26e6bc23305a20a7cbd228a6bab94ae359e0a304dfc58425e3b0bdf6be

build:
number: 0
script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed -vvv "
noarch: python

requirements:
host:
- pip
- python
run:
- python

test:
imports:
- {{ name }}

about:
home: https://github.com/alexmojaki/executing
license: MIT
license_family: MIT
license_file: LICENSE.txt
summary: Get the currently executing AST node of a frame, and other information
doc_url: https://github.com/alexmojaki/executing
dev_url: https://github.com/alexmojaki/executing

extra:
recipe-maintainers:
- alexmojaki
39 changes: 39 additions & 0 deletions recipes/pure_eval/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{% set name = "pure_eval" %}
{% set version = "0.0.3" %}

package:
name: "{{ name|lower }}"
version: "{{ version }}"

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: 207facfb53f183e740be37d3e13f25968e16e7799d7725940b3ee008266903c1

build:
number: 0
script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed -vvv "
noarch: python

requirements:
host:
- pip
- python >=3.5
run:
- python >=3.5

test:
imports:
- {{ name }}

about:
home: http://github.com/alexmojaki/pure_eval
license: MIT
license_family: MIT
license_file: LICENSE.txt
summary: Safely evaluate AST nodes without side effects
doc_url: http://github.com/alexmojaki/pure_eval
dev_url: http://github.com/alexmojaki/pure_eval

extra:
recipe-maintainers:
- alexmojaki
42 changes: 42 additions & 0 deletions recipes/stack_data/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{% set name = "stack_data" %}
{% set version = "0.0.6" %}

package:
name: "{{ name|lower }}"
version: "{{ version }}"

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: df93061c669cba1a2256689c7fb19603be99f96d46a107dc5306c11be847ea3c

build:
number: 0
script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed -vvv "
noarch: python

requirements:
host:
- pip
- python >=3.5
run:
- asttokens
- executing
- pure_eval
- python >=3.5

test:
imports:
- {{ name }}

about:
home: http://github.com/alexmojaki/stack_data
license: MIT
license_family: MIT
license_file: LICENSE.txt
summary: Extract data from python stack frames and tracebacks for informative displays
doc_url: http://github.com/alexmojaki/stack_data
dev_url: http://github.com/alexmojaki/stack_data

extra:
recipe-maintainers:
- alexmojaki

0 comments on commit fd07513

Please sign in to comment.