# These are needed to build all the things in global-requirements, which we do
# for integration testing, generate-constraints and wheel building.

app-crypt/mit-krb5 [platform:gentoo]
krb5-devel [platform:redhat]
libffi-dev [platform:dpkg]
libffi-devel [platform:redhat]
libjpeg-dev [platform:dpkg]
libjpeg-devel [platform:rpm]
libkrb5-dev [platform:dpkg]
libldap2-dev [platform:dpkg]
libmysqlclient-dev [platform:ubuntu-xenial]
libmariadb-dev [platform:dpkg !platform:ubuntu-xenial]
libnss3-dev [platform:dpkg]
libpq-dev [platform:dpkg]
librdkafka-dev [platform:dpkg] # we need 1.4.0+ which is only in Debian:bullseye so far
libsasl2-dev [platform:dpkg]
libsqlite3-dev [platform:dpkg]
libuuid-devel [platform:rpm]
libvirt-dev [platform:dpkg]
libvirt-devel [platform:redhat]
libxml2-dev [platform:dpkg]
libxml2-devel [platform:rpm]
libxslt-devel [platform:rpm]
libxslt1-dev [platform:dpkg]
libzmq3-dev [platform:dpkg]
mariadb-devel [platform:redhat]
mozilla-nss-devel [platform:suse]
nss-devel [platform:redhat]
libssl-dev [platform:dpkg]
openssl-devel [platform:redhat]
openldap-devel [platform:redhat]
pkg-config [platform:dpkg]
pkgconfig [platform:redhat]
postgresql-devel [platform:redhat]
pypy [platform:dpkg !platform:debian-bookworm !platform:ubuntu-noble]
pypy-dev [platform:dpkg !platform:debian-bookworm !platform:ubuntu-noble]
pypy3 [platform:debian-bookworm platform:ubuntu-noble]
pypy3-dev [platform:debian-bookworm platform:ubuntu-noble]
# Note that python3-all-dev includes python3-all, added
# both here for documentary purpose.
python3-all-dev [platform:dpkg]
python3-all [platform:dpkg]
python-all-dev [platform:dpkg !platform:debian-bookworm !platform:ubuntu-noble]
python3-devel [platform:rpm]
# Ubuntu packages venv separately, otherwise standard
python3-venv [platform:dpkg]
swig
systemd-devel [platform:redhat]
uuid-dev [platform:dpkg]

# Python things that change rarely and we're willing to risk breakage vs latest
python-numpy [python]
python-yaml [python]

# NOTE(dirk) needed for PyECLib
liberasurecode-dev [platform:dpkg]
liberasurecode-devel [platform:rpm] # RDO repo
dev-libs/liberasurecode [platform:gentoo]
libsystemd-dev [platform:dpkg !platform:ubuntu-trusty]
libsystemd-journal-dev [platform:ubuntu-trusty]

libpcre3-dev [platform:dpkg]
pcre-devel [platform:rpm]

# NOTE(pabelanger): Needed for build-wheel-mirror jobs
gawk [test]
unzip [test]
# NOTE(pabelanger): You must first enable epel to install parallel RPM on
# centos-7.
parallel [test]

# NOTE(hrw): Needed for numpy/scipy
gfortran [platform:dpkg]
liblapack-dev [platform:dpkg]
libopenblas-dev [platform:dpkg]
gcc-c++ [platform:rpm]
gcc-gfortran [platform:rpm]
lapack-devel [platform:rpm]
openblas-devel [platform:rpm !platform:centos-7]
blas-devel [platform:centos-7]
