Skip to content

Commit 0c09460

Browse files
author
Matthias Koeppe
committed
pkgs/sagemath-{objects,categories}: Add 'external' section according to draft PEP 725
1 parent 1cd4990 commit 0c09460

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

pkgs/sagemath-categories/pyproject.toml.m4

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,20 @@ include-package-data = false
3737

3838
[tool.setuptools.dynamic]
3939
version = {file = ["VERSION.txt"]}
40+
41+
[external]
42+
# External dependencies in the format proposed by https://peps.python.org/pep-0725
43+
build-requires = [
44+
"virtual:compiler/c",
45+
"virtual:compiler/cpp",
46+
"pkg:generic/pkg-config",
47+
]
48+
49+
host-requires = [
50+
"pkg:generic/gmp",
51+
"pkg:generic/mpc",
52+
"pkg:generic/mpfr",
53+
]
54+
55+
dependencies = [
56+
]

pkgs/sagemath-objects/pyproject.toml.m4

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,20 @@ version = {file = ["VERSION.txt"]}
4646
"python_debug.h",
4747
]
4848
"sage.rings" = ["integer_fake.h"]
49+
50+
[external]
51+
# External dependencies in the format proposed by https://peps.python.org/pep-0725
52+
build-requires = [
53+
"virtual:compiler/c",
54+
"virtual:compiler/cpp",
55+
"pkg:generic/pkg-config",
56+
]
57+
58+
host-requires = [
59+
"pkg:generic/gmp",
60+
"pkg:generic/mpc",
61+
"pkg:generic/mpfr",
62+
]
63+
64+
dependencies = [
65+
]

0 commit comments

Comments
 (0)