specware 1.2.8__tar.gz → 1.2.10__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {specware-1.2.8 → specware-1.2.10}/PKG-INFO +2 -2
- {specware-1.2.8 → specware-1.2.10}/pyproject.toml +2 -2
- {specware-1.2.8 → specware-1.2.10}/src/specware/interface.py +13 -0
- {specware-1.2.8 → specware-1.2.10}/src/specware/interfacedoc.py +7 -0
- {specware-1.2.8 → specware-1.2.10}/src/specware/spec.pickle +0 -0
- {specware-1.2.8 → specware-1.2.10}/README.md +0 -0
- {specware-1.2.8 → specware-1.2.10}/src/specware/__init__.py +0 -0
- {specware-1.2.8 → specware-1.2.10}/src/specware/applconfig.py +0 -0
- {specware-1.2.8 → specware-1.2.10}/src/specware/build.py +0 -0
- {specware-1.2.8 → specware-1.2.10}/src/specware/cliexport.py +0 -0
- {specware-1.2.8 → specware-1.2.10}/src/specware/cliexportheader.py +0 -0
- {specware-1.2.8 → specware-1.2.10}/src/specware/cliverify.py +0 -0
- {specware-1.2.8 → specware-1.2.10}/src/specware/cliview.py +0 -0
- {specware-1.2.8 → specware-1.2.10}/src/specware/contentc.py +0 -0
- {specware-1.2.8 → specware-1.2.10}/src/specware/interfacemapper.py +0 -0
- {specware-1.2.8 → specware-1.2.10}/src/specware/py.typed +0 -0
- {specware-1.2.8 → specware-1.2.10}/src/specware/rtems.py +0 -0
- {specware-1.2.8 → specware-1.2.10}/src/specware/transitionmap.py +0 -0
- {specware-1.2.8 → specware-1.2.10}/src/specware/util.py +0 -0
- {specware-1.2.8 → specware-1.2.10}/src/specware/validation.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: specware
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.10
|
|
4
4
|
Summary: Provides utilities to specify software.
|
|
5
5
|
Keywords: certification,documentation,markdown,qualification,requirements-management,traceability
|
|
6
6
|
Author: The specware Authors
|
|
@@ -20,7 +20,7 @@ Classifier: Topic :: Software Development :: Quality Assurance
|
|
|
20
20
|
Classifier: Topic :: Software Development :: Testing :: Acceptance
|
|
21
21
|
Classifier: Topic :: Text Processing :: Markup
|
|
22
22
|
Classifier: Typing :: Typed
|
|
23
|
-
Requires-Dist: specitems>=1.6.
|
|
23
|
+
Requires-Dist: specitems>=1.6.3
|
|
24
24
|
Requires-Python: >=3.11
|
|
25
25
|
Project-URL: Source Code, https://github.com/specthings/specware
|
|
26
26
|
Project-URL: Bug Tracker, https://github.com/specthings/specware/issues
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "specware"
|
|
7
|
-
version = "1.2.
|
|
7
|
+
version = "1.2.10"
|
|
8
8
|
description = "Provides utilities to specify software."
|
|
9
9
|
authors = [
|
|
10
10
|
{name = "The specware Authors", email = "specthings@embedded-brains.de"}
|
|
@@ -13,7 +13,7 @@ license = "BSD-2-Clause"
|
|
|
13
13
|
readme = "README.md"
|
|
14
14
|
requires-python = ">=3.11"
|
|
15
15
|
dependencies = [
|
|
16
|
-
"specitems >=1.6.
|
|
16
|
+
"specitems >=1.6.3",
|
|
17
17
|
]
|
|
18
18
|
keywords = [
|
|
19
19
|
"certification",
|
|
@@ -757,6 +757,19 @@ class _Node:
|
|
|
757
757
|
f"@retval {retval['value']} "))
|
|
758
758
|
content.wrap(self.substitute_text(ret["return"]),
|
|
759
759
|
initial_indent="@return ")
|
|
760
|
+
errnos = list(item.links_to_parents("errno"))
|
|
761
|
+
if errnos:
|
|
762
|
+
content.add([
|
|
763
|
+
"@par Errors", "@parblock", "<table>",
|
|
764
|
+
"<tr><th>Error Number</th><th>Description</th></tr>"
|
|
765
|
+
])
|
|
766
|
+
for link in errnos:
|
|
767
|
+
errno = self.substitute_text(f"${{{link.item.uid}:/name}}")
|
|
768
|
+
content.append(f"<tr><td>{errno}</td><td>")
|
|
769
|
+
content.gap = False
|
|
770
|
+
content.wrap(self.substitute_text(link["description"]))
|
|
771
|
+
content.append("</td></tr>")
|
|
772
|
+
content.append(["</table>", "@endparblock"])
|
|
760
773
|
content.add_paragraph("Notes", self.substitute_text(item["notes"]))
|
|
761
774
|
constraints = [
|
|
762
775
|
self.substitute_text(parent["text"], parent)
|
|
@@ -157,6 +157,13 @@ def _add_return(content: TextContent, mapper: ItemMapper, item: Item,
|
|
|
157
157
|
content.add_definition_item(
|
|
158
158
|
value, mapper.substitute(retval["description"], item))
|
|
159
159
|
content.wrap(mapper.substitute(ret["return"], item))
|
|
160
|
+
errnos = list(item.links_to_parents("errno"))
|
|
161
|
+
if errnos:
|
|
162
|
+
content.add_rubric("ERRORS:")
|
|
163
|
+
for link in errnos:
|
|
164
|
+
content.add_definition_item(
|
|
165
|
+
mapper.substitute(f"${{{link.item.uid}:/name}}", item),
|
|
166
|
+
mapper.substitute(link["description"], item))
|
|
160
167
|
|
|
161
168
|
|
|
162
169
|
def _document_directive(content: TextContent, mapper: ItemMapper,
|
|
index aabfe09..86a54b1 100644
|
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|