Skip to content

Commit 92e2e7f

Browse files
committed
Go back to "host" standard terminology (instead of "build-host")
1 parent 165e2cb commit 92e2e7f

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

peps/pep-0804.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ of dictionaries, in which each entry consists of:
235235

236236
- a ``specs`` field whose value MUST be one of:
237237

238-
- a dictionary with three keys (``build``, ``build_host``, ``run``). The values
238+
- a dictionary with three keys (``build``, ``host``, ``run``). The values
239239
MUST be a string or list of strings representing the ecosystem-specific package
240240
identifiers as needed as build-, host- and runtime dependencies (see :pep:`725` for
241241
details on these definitions).
@@ -589,9 +589,9 @@ Each entry in this list is defined as:
589589
- Hyperlinks to web locations that provide more information about the definition.
590590
- False
591591
* - ``specs``
592-
- ``string | list[string] | dict[Literal['build', 'build_host', 'run'], string | list[string]]``
592+
- ``string | list[string] | dict[Literal['build', 'host', 'run'], string | list[string]]``
593593
- Ecosystem-specific identifiers for this package. The full form is a dictionary
594-
that maps the categories ``build``, ``build_host`` and ``run`` to their corresponding
594+
that maps the categories ``build``, ``host`` and ``run`` to their corresponding
595595
package identifiers. As a shorthand, a single string or a list of strings can be
596596
provided, in which case will be used to populate the three categories identically.
597597
- Either ``specs`` or ``specs_from`` MUST be present.
@@ -769,7 +769,7 @@ for brevity, could look like:
769769
"description": "WebP image library. libwebp-base ships libraries; libwebp ships the binaries.",
770770
"specs": { // expanded form with single spec per category
771771
"build": "libwebp",
772-
"build_host": "libwebp-base",
772+
"host": "libwebp-base",
773773
"run": "libwebp"
774774
},
775775
"urls": {
@@ -784,7 +784,7 @@ for brevity, could look like:
784784
"clang",
785785
"clangxx"
786786
],
787-
"build_host": [
787+
"host": [
788788
"clangdev"
789789
],
790790
"run": [
@@ -907,7 +907,7 @@ plus ``meson-python`` as the build backend:
907907
build-requires = [
908908
"dep:virtual/compiler/cxx",
909909
]
910-
build-host-requires = [
910+
host-requires = [
911911
"dep:generic/zlib",
912912
]
913913
@@ -922,7 +922,7 @@ following:
922922
build-requires = [
923923
"dep:virtual/compiler/cxx",
924924
]
925-
build-host-requires = [
925+
host-requires = [
926926
"dep:generic/zlib",
927927
]
928928
@@ -933,7 +933,7 @@ following:
933933
"g++",
934934
"python3",
935935
]
936-
build-host-requires = [
936+
host-requires = [
937937
"zlib1g",
938938
"zlib1g-dev",
939939
]

0 commit comments

Comments
 (0)