-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add small time * update license format * add other tests
- Loading branch information
1 parent
f16403a
commit 4f6bd59
Showing
1 changed file
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
context: | ||
version: "0.0.1" | ||
|
||
package: | ||
name: "mist" | ||
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 |