Skip to content

Commit 2d37187

Browse files
author
Release Manager
committed
gh-37486: sagemath-{objects,categories} `pyproject.toml`: Add 'external' section according to draft PEP 725 <!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes #12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes #12345". --> As done in #37482 (unbundled from #37446) for **sagemath-standard**. - This information will be used in the skeleton generator in pyodide/pyodide#4438 ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - #12345: short description why this is a dependency --> <!-- - #34567: ... --> URL: #37486 Reported by: Matthias Köppe Reviewer(s): Kwankyu Lee
2 parents 6056928 + 0c09460 commit 2d37187

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)