this repo has no description
1opam-version: "2.0"
2maintainer: "thierry.martinez@inria.fr"
3homepage: "https://www.python.org/download/releases/3.7"
4authors: "Python Software Foundation"
5license: "PSF-2.0"
6bug-reports: "https://github.com/ocaml/opam-repository/issues"
7build: ["bash" "-ex" "configure.sh" "13"] # test versions 3.7 to 3.13
8depends: [
9 "conf-bash" {build}
10]
11depexts: [
12 ["python3.7"]
13 {os-distribution = "ubuntu" & os-version < "20.04"}
14 ["python3"] {(os-family = "debian" | os-family = "ubuntu")
15 & !(os-distribution = "ubuntu" & os-version < "20.04")}
16 ["python3"] {os-distribution = "nixos"}
17 ["python3"] {os-distribution = "alpine"}
18 ["python37" "epel-release"] {os-distribution = "centos"}
19 ["python3"] {os-distribution = "fedora"}
20 ["python3"] {os-distribution = "ol" & os-version >= "9"}
21 ["python38"] {os-distribution = "ol" & os-version < "9"} # No python37 package
22 ["python"] {os-distribution = "arch"}
23 ["python3"] {os-family = "suse" | os-family = "opensuse"}
24 ["dev-lang/python:3.7"] {os-distribution = "gentoo"}
25 ["python3"] {os = "openbsd"}
26 ["lang/python37"] {os = "netbsd"}
27 ["lang/python3"] {os = "freebsd"}
28 ["python37"] {os-distribution = "macports" & os = "macos"}
29 ["python@3"] {os-distribution = "homebrew" & os = "macos"}
30 ["system:python3"] {os-distribution = "cygwinports"}
31 ["python3"] {os-distribution = "cygwin"}
32]
33x-ci-accept-failures: [
34 "opensuse-15.3" # python >=3.7 not packaged
35 "opensuse-15.5" # python >=3.7 not packaged
36 "opensuse-15.6" # python >=3.7 not packaged
37]
38synopsis: "Virtual package relying on Python >=3.7 installation"
39description: """
40This package can only install if a Python interpreter >=3.7 is available
41on the system.
42If a minor version needs to be specified for your operating system, then
43python-3.7 will be used.
44"""
45flags: conf
46extra-source "test.py" {
47 src:
48 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-python-3-7.1/test.py"
49 checksum:
50 "sha512=a9d993b9380d636fc2aff8af6bae1078ad14a2af4e510b7c437d5f1e01cd125b7f12e15fb8f0e0c4536d2f7d6aa0d36aafdf2f9da828ac7686df6dc782fa1a23"
51}
52extra-source "configure.sh" {
53 src:
54 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-python-3-7.1/configure.sh"
55 checksum:
56 "sha512=c75c692dac2be774bcc8549aa8665a6cd66a9e18de972dadcb56b4fd8bd8b8368d2af4a89174a56f33d96a79a39c8d57e6abf5a0f95c47d05ebd8d7fcb610799"
57}