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 cloudsmith-api #28947

Draft
wants to merge 6 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
59 changes: 59 additions & 0 deletions recipes/cloudsmith-api/recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json
context:
name: cloudsmith-api
version: "2.0.16"
git_sha: 2087dcd31d250415d49cacad6b23d58f09a4af48

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

source:
url: https://github.com/cloudsmith-io/cloudsmith-api/archive/${{ git_sha }}.zip
sha256: 0c270ad19de9f7d922cc3993d88a092189b9aa43f37fae99705196b59c49ebda

build:
noarch: python
script: |
set -exo pipefail
shopt -s expand_aliases
alias docker=podman
source ./scripts/build.sh python
cd ./bindings/python/src
python -m pip install . -vv
echo "SUCCESS!"
exit 1
number: 0

requirements:
host:
- python ${{ python_min }}.*
- curl
- jq
- pip
- podman
- setuptools
run:
- python >=${{ python_min }}
- certifi >=2017.4.17
- python-dateutil >=2.1
- six >=1.10
- urllib3 >=1.23

tests:
- python:
pip_check: true
python_version: ${{ python_min }}.*
imports:
- cloudsmith_api


about:
homepage: https://github.com/cloudsmith-io/cloudsmith-api
summary: 'Cloudsmith API Client (Generated)'
license: Apache-2.0
license_file: LICENSE

extra:
recipe-maintainers:
- dhirschfeld
Loading