Skip to content

Commit

Permalink
build: conda package stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
makkus committed Dec 4, 2024
1 parent bea6593 commit d45b6d3
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
35 changes: 35 additions & 0 deletions ci/rattler-recipes/typing-validation.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
context:
version: "1.2.11"

package:
name: "typing-validation"
version: ${{ version }}

source:
- url:
- https://pypi.io/packages/source/t/typing-validation/typing-validation-${{ version }}.tar.gz
sha256: d977805a26eb59f6b48b8654e9161755a4ba8870ca40ab860df2cfad4a6ce08e

build:
# Thanks to `noarch: python` this package works on all platforms
noarch: python
script:
- python -m pip install . -vv

requirements:
host:
- pip
- python 3.10
run:
- typing_extensions >=4.6.0,<5.0.0

about:
homepage: https://github.com/hashberg-io/typing-validation
license: MIT
license_file: LICENSE
summary: A simple library for runtime type-checking.


description: |
Typing-validation is a small library to perform runtime validation of Python objects using PEP 484 type hints.
repository: https://github.com/hashberg-io/typing-validation
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ dependencies = [
"SQLAlchemy>=2.0.20",
"stevedore>=5.0.0,<6.0.0",
"structlog>=21.5.0",
"typing-extensions>=4.12.0",
"typing-validation>=1.2.11",
"tzlocal>=2.1,<6.0",
"zstandard>=0.22.0"
]
Expand Down

0 comments on commit d45b6d3

Please sign in to comment.