Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conf-python-3 - update freebsd python packages #24652

Merged
merged 6 commits into from
Oct 26, 2023
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/conf-python-3/conf-python-3.1.0.0/opam
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ depexts: [
["dev-lang/python:3.6"] {os-distribution = "gentoo"}
["python3"] {os = "openbsd"}
["lang/python36"] {os = "netbsd"}
["lang/python36"] {os = "freebsd"}
["python3"] {os = "freebsd"}
["python36"] {os-distribution = "macports" & os = "macos"}
["python@3"] {os-distribution = "homebrew" & os = "macos"}
["system:python3"] {os-distribution = "cygwinports"}
Expand Down
7 changes: 5 additions & 2 deletions packages/conf-python-3/conf-python-3.9.0.0/opam
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ homepage: "https://www.python.org/downloads/release/python-3910/"
authors: "Python Software Foundation"
license: "PSF-2.0"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
build: ["python3" "test.py"]
build: [
["python3" "test.py"] {os != "freebsd"}
["python3.9" "test.py"] {os = "freebsd"}
]
depexts: [
mseri marked this conversation as resolved.
Show resolved Hide resolved
["python3"] {os-family = "debian"}
["python3"] {os-distribution = "nixos"}
Expand All @@ -17,7 +20,7 @@ depexts: [
["dev-lang/python:3.6"] {os-distribution = "gentoo"}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
["dev-lang/python:3.6"] {os-distribution = "gentoo"}
["dev-lang/python:3.9"] {os-distribution = "gentoo"}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I won't do this since I don't know if it works

["python3"] {os = "openbsd"}
["lang/python39"] {os = "netbsd"}
["lang/python39"] {os = "freebsd"}
["lang/python39"] {os = "freebsd"} # this will not result in a python3 command but only a python3.9 command
["python39"] {os-distribution = "macports" & os = "macos"}
["python@3"] {os-distribution = "homebrew" & os = "macos"}
["system:python3"] {os-distribution = "cygwinports"}
Expand Down