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 small-time #57

Merged
merged 3 commits into from
Jan 24, 2025
Merged
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
48 changes: 48 additions & 0 deletions recipes/small-time/recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
context:
version: "0.0.1"

package:
name: "mist"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed small_time wasn't added to the channel on Prefix yet, I think the package name is wrong here @carolinefrasca ? Could that be the issue?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We finally got this sorted! Thank you for flagging!

version: ${{ version }}

source:
- git: https://github.com/thatstoasty/small-time.git
rev: 67fae584d1d4742a9421575c8a59d34cb84c14a3

build:
number: 0
script:
- mojo package src/small-time -o ${{ PREFIX }}/lib/mojo/small-time.mojopkg
requirements:
host:
- max =24.6
run:
- ${{ pin_compatible('max') }}

tests:
- script:
- if: unix
then:
- mojo test test/test_small_time.mojo
files:
recipe:
- test_small_time.mojo
- test_time_delta.mojo
- test_time_zone.mojo

about:
homepage: https://github.com/thatstoasty/small-time
# Remember to specify the license variants for BSD, Apache, GPL, and LGPL.
# Use the SPDX identifier, e.g: GPL-2.0-only instead of GNU General Public License version 2.0
# See https://spdx.org/licenses/
license: Apache-2.0
# It is strongly encouraged to include a license file in the package,
# (even if the license doesn't require it) using the license_file entry.
# See https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#license-file
license_file: LICENSE
summary: Datetime library forked from morrow.mojo
repository: https://github.com/thatstoasty/small-time

extra:
maintainers:
- thatstoasty
Loading