opam-version: "2.0" maintainer: "zachshipko@gmail.com" homepage: "https://www.python.org/downloads/" authors: "Python Software Foundation" bug-reports: "https://github.com/ocaml/opam-repository/issues" license: "PSF-2.0" build: [ [make] ] depexts: [ ["python3-dev"] {os-family = "debian"} ["python3-dev"] {os-family = "ubuntu"} ["python3-devel"] {os-distribution = "fedora"} ["python3-devel" "epel-release"] {os-distribution = "centos"} ["python3-devel"] {os-distribution = "ol"} ["python3-devel"] {os-family = "suse" | os-family = "opensuse"} ["python3-dev"] {os-family = "alpine"} ["python"] {os-family = "arch"} ["python3"] {os = "macos" & os-distribution = "homebrew"} ["python38"] {os = "macos" & os-distribution = "macports"} ["python3"] {os = "freebsd"} ] synopsis: "Virtual package relying on Python 3 development package installation" description: """ This package can only install if a Python3 C header file is available on the system. """ flags: conf extra-source "test.c" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-python-3-dev/test.c" checksum: [ "sha256=0f248555888d367259f519dda8b751539c700604998c6c99f572a5e6243f5959" "md5=6bd897a5b6772876b502e094204bf813" ] } extra-source "Makefile" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-python-3-dev/Makefile" checksum: [ "sha256=b9ea8b2873f458e3b72c71e361b4dda41d35a0ce841e4deae2bc969c2aed16e3" "md5=0d17141340d7764515de07513fd664bf" ] }