-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrecipe.yaml
More file actions
53 lines (46 loc) · 1.67 KB
/
recipe.yaml
File metadata and controls
53 lines (46 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
context:
version: 0.2.2
mojo_version: "=0.26.1"
package:
name: mojo-ini
version: ${{ version }}
source:
- git: https://github.com/DataBooth/mojo-ini.git
tag: v0.2.2
build:
number: 0
script:
- mkdir -p ${PREFIX}/lib/mojo
- mojo package src/ini -o ${PREFIX}/lib/mojo/ini.mojopkg
requirements:
build:
- mojo-compiler ${{ mojo_version }}
host:
- mojo-compiler ${{ mojo_version }}
run:
# Mojo bytecode is not forwards-compatible across compiler minor versions,
# so we require the exact compiler series used at build time.
- mojo-compiler ${{ mojo_version }}
tests:
- files:
source:
- test_package.mojo
script:
# Run package smoke test. In the build test environment the file lives under
# info/recipe/, while in the installed test-files environment it is copied
# next to this script. Handle both cases.
- if [ -f info/recipe/test_package.mojo ]; then $PREFIX/bin/mojo -I ${PREFIX}/lib/mojo info/recipe/test_package.mojo; else $PREFIX/bin/mojo -I ${PREFIX}/lib/mojo test_package.mojo; fi
about:
homepage: https://github.com/DataBooth/mojo-ini
license: Apache-2.0
license_file: LICENSE
summary: INI parser and writer for Mojo with Python configparser compatibility
description: |
mojo-ini provides native INI parsing and writing in Mojo with zero Python dependencies.
It supports classic INI syntax, multiline values (indented continuation), comments,
and includes a clean public API: parse(), to_ini(), parse_file(), write_file().
documentation: https://github.com/DataBooth/mojo-ini#readme
repository: https://github.com/DataBooth/mojo-ini
extra:
recipe-maintainers:
- mjboothaus