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

feat: Add trogon to conda-forge #23391

Merged
merged 13 commits into from
Aug 25, 2023
24 changes: 24 additions & 0 deletions recipes/trogon/LICENSE.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
--- /dev/null 2023-08-25 05:28:55
+++ LICENSE 2023-08-25 05:28:08
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2023 Textualize
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
45 changes: 45 additions & 0 deletions recipes/trogon/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{% set name = "trogon" %}
{% set version = "0.5.0" %}

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

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/trogon-{{ version }}.tar.gz
sha256: 61a57f0f1a38227d90601cd020f46960be8e36947b5e56c6932c2e01ecc5042a
patches:
- LICENSE.patch
kratsg marked this conversation as resolved.
Show resolved Hide resolved

build:
noarch: python
script: {{ PYTHON }} -m pip install . -vv
number: 0

requirements:
host:
- python >=3.7,<4.0
- poetry-core
- pip
run:
- python >=3.7.0,<4.0.0
kratsg marked this conversation as resolved.
Show resolved Hide resolved
- textual >=0.26.0
- click >=8.0.0

test:
imports:
- trogon
commands:
- pip check
requires:
- pip

about:
home: https://github.com/Textualize/trogon
summary: Automatically generate a Textual TUI for your Click CLI
license: MIT
license_file: LICENSE
kratsg marked this conversation as resolved.
Show resolved Hide resolved

extra:
recipe-maintainers:
- kratsg