(snapcraft) ubuntu@snapcraft-xenial-dev:~/t$ cat prime/meta/snap.yaml
name: my-snap-name
version: '0.1'
summary: Single-line elevator pitch for your amazing snap
description: |
GNOME Calculator is an application that solves mathematical equations.
Though it at first appears to be a simple calculator with only basic
arithmetic operations, you can switch into Advanced, Financial, or
Programming mode to find a surprising set of capabilities.
The Advanced calculator supports many operations, including:
logarithms, factorials, trigonometric and hyperbolic functions,
modulus division, complex numbers, random number generation, prime
factorization and unit conversions.
Financial mode supports several computations, including periodic interest
rate, present and future value, double declining and straight line
depreciation, and many others.
Programming mode supports conversion between common bases (binary, octal,
decimal, and hexadecimal), boolean algebra, one’s and two’s complementation,
character to character code conversion, and more.
architectures:
- amd64
base: core18
confinement: devmode
grade: devel
After snapcraft- xenial- dev:~/source/ snapcraft$ git diff yaml_utils. py b/snapcraft/ yaml_utils. py yaml_utils. py yaml_utils. py
(snapcraft) ubuntu@
diff --git a/snapcraft/
index 7aa771f..e2aab3f 100644
--- a/snapcraft/
+++ b/snapcraft/
@@ -34,7 +34,7 @@ def load(stream: TextIO) -> Any:
def dump(data: Union[Dict[str, Any], yaml.YAMLObject], *, stream: TextIO = None) -> str: flow_style= False) flow_style= False, allow_unicode=True)
"""Safely dump YAML in ordered manner."""
- return yaml.dump(data, stream, _SafeOrderedDumper, default_
+ return yaml.dump(data, stream, _SafeOrderedDumper, default_
class _SafeOrderedLoa der(CSafeLoader ):
(snapcraft) ubuntu@ snapcraft- xenial- dev:~/t$ cat prime/meta/ snap.yaml
name: my-snap-name
version: '0.1'
summary: Single-line elevator pitch for your amazing snap
description: |
GNOME Calculator is an application that solves mathematical equations.
Though it at first appears to be a simple calculator with only basic
arithmetic operations, you can switch into Advanced, Financial, or
Programming mode to find a surprising set of capabilities.
The Advanced calculator supports many operations, including:
logarithms, factorials, trigonometric and hyperbolic functions,
modulus division, complex numbers, random number generation, prime
factorization and unit conversions.
Financial mode supports several computations, including periodic interest
rate, present and future value, double declining and straight line
depreciation, and many others.
Programming mode supports conversion between common bases (binary, octal,
decimal, and hexadecimal), boolean algebra, one’s and two’s complementation,
character to character code conversion, and more.
architectures:
- amd64
base: core18
confinement: devmode
grade: devel