From 9a4e6affe37253fdc9f84d01b457afb375d4bf8d Mon Sep 17 00:00:00 2001 From: Mikhail Tavarez Date: Mon, 1 Dec 2025 22:08:45 -0600 Subject: [PATCH 1/2] Update small-time to support Mojo 0.25.7 --- recipes/small_time/recipe.yaml | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/recipes/small_time/recipe.yaml b/recipes/small_time/recipe.yaml index 311aebdc..de40cc29 100644 --- a/recipes/small_time/recipe.yaml +++ b/recipes/small_time/recipe.yaml @@ -1,5 +1,6 @@ context: - version: "25.4.1" + version: "25.7.0" + mojo_version: "=0.25.7" package: name: "small_time" @@ -7,28 +8,34 @@ package: source: - git: https://github.com/thatstoasty/small-time.git - rev: 5eb887d8efcf2d401d7ebef82f332550bcffbdb9 + rev: 0dbf6349ef13d7009abca777702146b1438ff5fe build: number: 0 script: - mojo package src/small_time -o ${{ PREFIX }}/lib/mojo/small_time.mojopkg requirements: + build: + - mojo-compiler ${{ mojo_version }} host: - - max =25.4 + - mojo-compiler ${{ mojo_version }} run: - - ${{ pin_compatible('max') }} + - mojo-compiler ${{ mojo_version }} tests: - script: - if: unix then: - - mojo test test + - sh -c 'find ./test -name test_*.mojo | xargs -I % pixi run mojo run -I . -D ASSERT=all %' + requirements: + build: + - mojo ${{ mojo_version }} + run: + - mojo ${{ mojo_version }} files: - recipe: - - test_small_time.mojo - - test_time_delta.mojo - - test_time_zone.mojo + source: + - small_time/ + - test/ about: homepage: https://github.com/thatstoasty/small-time From 7234ec4c405768217dffc44ad53cd387acf73804 Mon Sep 17 00:00:00 2001 From: Mikhail Tavarez Date: Mon, 1 Dec 2025 22:12:25 -0600 Subject: [PATCH 2/2] Fix build script path in recipe.yaml --- recipes/small_time/recipe.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/small_time/recipe.yaml b/recipes/small_time/recipe.yaml index de40cc29..43b70347 100644 --- a/recipes/small_time/recipe.yaml +++ b/recipes/small_time/recipe.yaml @@ -13,7 +13,7 @@ source: build: number: 0 script: - - mojo package src/small_time -o ${{ PREFIX }}/lib/mojo/small_time.mojopkg + - mojo package small_time -o ${{ PREFIX }}/lib/mojo/small_time.mojopkg requirements: build: - mojo-compiler ${{ mojo_version }}