Skip to content

Commit a3c7295

Browse files
Re-add small-time (#68)
* Create recipe.yaml * Update recipe.yaml * test to see if updating package name fixes issue * Update recipe.yaml * try small-time rather than src/small-time * fix name --------- Co-authored-by: Wolf Vollprecht <w.vollprecht@gmail.com>
1 parent ed175d8 commit a3c7295

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

recipes/small-time/recipe.yaml

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
context:
2+
version: "0.0.1"
3+
4+
package:
5+
name: "small-time"
6+
version: ${{ version }}
7+
8+
source:
9+
- git: https://github.com/thatstoasty/small-time.git
10+
rev: 67fae584d1d4742a9421575c8a59d34cb84c14a3
11+
12+
build:
13+
number: 0
14+
script:
15+
- mojo package src/small_time -o ${{ PREFIX }}/lib/mojo/small-time.mojopkg
16+
requirements:
17+
host:
18+
- max =24.6
19+
run:
20+
- ${{ pin_compatible('max') }}
21+
22+
tests:
23+
- script:
24+
- if: unix
25+
then:
26+
- mojo test test/test_small_time.mojo
27+
files:
28+
recipe:
29+
- test_small_time.mojo
30+
- test_time_delta.mojo
31+
- test_time_zone.mojo
32+
33+
about:
34+
homepage: https://github.com/thatstoasty/small-time
35+
# Remember to specify the license variants for BSD, Apache, GPL, and LGPL.
36+
# Use the SPDX identifier, e.g: GPL-2.0-only instead of GNU General Public License version 2.0
37+
# See https://spdx.org/licenses/
38+
license: Apache-2.0
39+
# It is strongly encouraged to include a license file in the package,
40+
# (even if the license doesn't require it) using the license_file entry.
41+
# See https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#license-file
42+
license_file: LICENSE
43+
summary: Datetime library forked from morrow.mojo
44+
repository: https://github.com/thatstoasty/small-time
45+
46+
extra:
47+
maintainers:
48+
- thatstoasty

0 commit comments

Comments
 (0)