Skip to content

Commit

Permalink
better test?
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp committed Jul 28, 2024
1 parent 858586d commit 4f46d6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion constructor/osxpkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def modify_xml(xml_path, info):

# -- __osx virtual package checks -- #
# Reference: https://developer.apple.com/library/archive/documentation/DeveloperTools/Reference/DistributionDefinitionRef/Chapters/Distribution_XML_Ref.html # noqa
osx_versions = parse_virtual_specs(info).get("__osx", {})
osx_versions = parse_virtual_specs(info).get("__osx")
if osx_versions:
if "min" not in osx_versions:
raise ValueError("Specifying __osx requires a lower bound with `>=`")
Expand Down
2 changes: 1 addition & 1 deletion examples/virtual_specs/construct.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ specs:
- ca-certificates

virtual_specs:
- __osx>=5.1,<9 # [osx]
- __osx>=30,<31 # [osx]
- __glibc>=20 # [linux]
- __win<0 # [win]

Expand Down

0 comments on commit 4f46d6c

Please sign in to comment.