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 recipe for cloudsmith-cli #28945

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
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
58 changes: 58 additions & 0 deletions recipes/cloudsmith-cli/recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json
context:
name: cloudsmith-cli
version: "1.4.1"

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

source:
url: https://github.com/cloudsmith-io/cloudsmith-cli/archive/refs/tags/v${{ version }}.tar.gz
sha256: 3344526b61a6400185b6c89c7b26d1d24a25e15c52c02e0dd94da9563ee20d41

build:
number: 0
noarch: python
script: python -m pip install . -vv
python:
entry_points:
- cloudsmith = cloudsmith_cli.cli.commands.main:main

requirements:
host:
- python ${{ python_min }}.*
- pip
- setuptools
run:
- python >=${{ python_min }}
- click >=7.0,!=8.0.2
- click-configfile >=0.2.3
- click-didyoumean >=0.0.3
- click-spinner >=0.1.7
# - cloudsmith-api >=2.0.16,<3.0
- keyring >=25.4.1
- requests >=2.18.4
- requests-toolbelt >=0.8.0
- semver >=2.7.9
- urllib3 <2.0

tests:
- python:
pip_check: true
python_version: ${{ python_min }}.*
imports:
- cloudsmith_cli
- script:
- cloudsmith --version


about:
homepage: https://github.com/cloudsmith-io/cloudsmith-cli
summary: 'Cloudsmith Command Line Interface'
license: Apache-2.0
license_file: LICENSE

extra:
recipe-maintainers:
- dhirschfeld
Loading