From ddfd7c05805a065bd6b3ed7a7680b3373f363630 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Tue, 7 May 2024 18:39:44 -0700 Subject: [PATCH] src/pyproject.toml.m4: Add 'external' section (draft PEP 725) --- src/pyproject.toml | 65 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/src/pyproject.toml b/src/pyproject.toml index f70304534d9..174639f37a6 100644 --- a/src/pyproject.toml +++ b/src/pyproject.toml @@ -21,3 +21,68 @@ build-backend = "setuptools.build_meta" platforms = [ 'osx-64', 'linux-64', 'linux-aarch64', 'osx-arm64' ] + +[external] +# External dependencies in the format proposed by https://peps.python.org/pep-0725 +# In the future, sage-the-distribution can read this information +build-requires = [ + "virtual:compiler/c", + "virtual:compiler/cpp", + "pkg:generic/pkg-config" +] + +host-requires = [ + "virtual:interface/blas", + "pkg:generic/boost", + "pkg:generic/brial", + "pkg:generic/cddlib", + "pkg:generic/cliquer", + "pkg:generic/ecl", + "pkg:generic/eclib", + "pkg:generic/ecm", + "pkg:generic/fflas-ffpack", + "pkg:generic/fplll", + "pkg:generic/flint", + "pkg:generic/libgd", + "pkg:generic/gap", + "pkg:generic/gfan", + "pkg:generic/giac", + "pkg:generic/givaro", + "pkg:generic/glpk", + "pkg:generic/gmp", + "pkg:generic/gsl", + "pkg:generic/iml", + "pkg:generic/lcalc", + "pkg:generic/libbraiding", + "pkg:generic/libhomfly", + "pkg:generic/linbox", + "pkg:generic/lrcalc", + "pkg:generic/m4ri", + "pkg:generic/m4rie", + "pkg:generic/maxima", + "pkg:generic/mpc", + "pkg:generic/mpfi", + "pkg:generic/mpfr", + "pkg:generic/nauty", + "pkg:generic/ntl", + "pkg:generic/palp", + "pkg:generic/pari", + "pkg:generic/pari-elldata", + "pkg:generic/pari-galdata", + "pkg:generic/pari-seadata", + "pkg:generic/planarity", + "pkg:generic/ppl", + "pkg:generic/primesieve", + "pkg:generic/primecount", + "pkg:generic/qhull", + "pkg:generic/rw", + "pkg:generic/singular", + "pkg:generic/symmetrica", + "pkg:generic/sympow", +] + +dependencies = [ + "pkg:generic/tachyon", + "pkg:generic/sagemath-polytopes-db", + "pkg:generic/sagemath-elliptic-curves", +]