{
  "patterns": ["\\bpari/gp\\b", "\\bpari-gp\\b"],
  "dependencies": [
    {
      "packages": ["pari-gp"],
      "constraints": [
        {
          "os": "linux",
          "distribution": "ubuntu"
        },
        {
          "os": "linux",
          "distribution": "debian"
        }
      ]
    },
    {
      "packages": ["pari-gp"],
      "constraints": [
        {
          "os": "linux",
          "distribution": "fedora"
        }
      ]
    },
    {
      "packages": ["pari-gp"],
      "pre_install": [
        {
          "command": "yum install -y epel-release"
        }
      ],
      "constraints": [
        {
          "os": "linux",
          "distribution": "centos",
          "versions": ["6"]
        }
      ]
    },
    {
      "packages": ["pari-gp"],
      "pre_install": [
        {
          "command": "rpm -q epel-release || yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm"
        }
      ],
      "constraints": [
        {
          "os": "linux",
          "distribution": "redhat",
          "versions": ["6"]
        }
      ]
    },
    {
      "packages": ["pari-gp"],
      "constraints": [
        {
          "os": "linux",
          "distribution": "opensuse"
        }
      ]
    }
  ]
}
