Skip to content

Commit 5ca8ecd

Browse files
authored
- Bump mojo-regex 0.5.0, which uses Mojo 0.25.6 (#168)
- Parametrize recipe.yaml - Fix the mojopkg created so we can import as "from regex import *" Signed-off-by: Manuel Saelices <msaelices@gmail.com>
1 parent ec4ab13 commit 5ca8ecd

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

recipes/mojo-regex/recipe.yaml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
context:
2+
version: 0.5.0
3+
mojo_version: "=0.25.6"
14
about:
25
description: "# Mojo Regex\nRegular Expressions Library for Mojo\n\n`mojo-regex` is a\
36
\ regex library featuring a hybrid DFA/NFA engine architecture that automatically\
@@ -13,17 +16,17 @@ build:
1316
number: 0
1417
script:
1518
- mkdir -p ${PREFIX}/lib/mojo
16-
- mojo package src/regex -o ${PREFIX}/lib/mojo/mojo-regex.mojopkg
17-
context:
18-
version: 13.4.2
19+
- mojo package src/regex -o ${PREFIX}/lib/mojo/regex.mojopkg
1920
package:
2021
name: mojo-regex
21-
version: 0.4.0
22+
version: ${{ version }}
2223
requirements:
2324
host:
24-
- max =25.5.0
25+
- mojo-compiler ${{ mojo_version }}
26+
build:
27+
- mojo-compiler ${{ mojo_version }}
2528
run:
26-
- ${{ pin_compatible('max') }}
29+
- ${{ pin_compatible('mojo-compiler') }}
2730
source:
2831
- git: https://github.com/msaelices/mojo-regex.git
29-
rev: 7241fc7435b0516eaf24fe812ead25077a87491b
32+
rev: 7913f1c7f0f95e1befa5730e934ca39f14ed44ca

0 commit comments

Comments
 (0)