Skip to content

Commit

Permalink
pkgs/sagemath-{objects,categories}: Add 'external' section according …
Browse files Browse the repository at this point in the history
…to draft PEP 725
  • Loading branch information
mkoeppe committed Apr 1, 2024
1 parent 1cd4990 commit 0c09460
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
17 changes: 17 additions & 0 deletions pkgs/sagemath-categories/pyproject.toml.m4
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,20 @@ include-package-data = false

[tool.setuptools.dynamic]
version = {file = ["VERSION.txt"]}

[external]
# External dependencies in the format proposed by https://peps.python.org/pep-0725
build-requires = [
"virtual:compiler/c",
"virtual:compiler/cpp",
"pkg:generic/pkg-config",
]

host-requires = [
"pkg:generic/gmp",
"pkg:generic/mpc",
"pkg:generic/mpfr",
]

dependencies = [
]
17 changes: 17 additions & 0 deletions pkgs/sagemath-objects/pyproject.toml.m4
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,20 @@ version = {file = ["VERSION.txt"]}
"python_debug.h",
]
"sage.rings" = ["integer_fake.h"]

[external]
# External dependencies in the format proposed by https://peps.python.org/pep-0725
build-requires = [
"virtual:compiler/c",
"virtual:compiler/cpp",
"pkg:generic/pkg-config",
]

host-requires = [
"pkg:generic/gmp",
"pkg:generic/mpc",
"pkg:generic/mpfr",
]

dependencies = [
]

0 comments on commit 0c09460

Please sign in to comment.