Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add poethepoet #29252

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions recipes/poethepoet/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{% set name = "poethepoet" %}
{% set version = "0.10.0" %}
{% set python_min = "3.6" %}

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

source:
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/poethepoet-{{ version }}.tar.gz
sha256: 70b97cb194b978dc464c70793e85e6f746cddf82b84a38bfb135946ad71ae19c

build:
entry_points:
- poe = poethepoet:main
skip: True # [win]
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
number: 0

requirements:
host:
- python {{ python_min }}
- poetry >=0.12
- poetry-core
- pip
run:
- python
- pastel >=0.2.0,<0.3.0
- tomlkit >=0.6.0,<1.0.0

test:
imports:
- poethepoet
commands:
- pip check
- poe --help
requires:
- python {{ python_min }}
- pip

about:
home: https://github.com/nat-n/poethepoet
summary: A task runner that works well with poetry.
license: MIT
license_file: LICENSE

extra:
recipe-maintainers:
- Dhananjhay