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 univers #29390

Open
wants to merge 3 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
53 changes: 53 additions & 0 deletions recipes/univers/recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
context:
name: univers
version: "30.12.1"

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

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

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

requirements:
host:
- python ${{ python_min }}.*
- pip
- setuptools >=50
- setuptools_scm >=6
run:
- python >=${{ python_min }}
- attrs
- packaging
- semantic-version
- semver

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

about:
homepage: https://github.com/aboutcode-org/univers
summary: 'mostly universal version and version ranges comparison and conversion'
description: |
Parse and compare all the package versions and all the ranges.
From debian, npm, pypi, ruby and more. Process all the version range specs and expressions.
license: Apache-2.0 AND MIT AND BSD-3-Clause
license_file:
- apache-2.0.LICENSE
- bsd-new.LICENSE
- mit.LICENSE

extra:
recipe-maintainers:
- jaimergp
Loading