python3-pint: Upgrade 0.17 -> 0.18

Upgrade to release 0.18:

- Implement use of Quantity in the Quantity constructor (convert
  to specified units).
- Rename .readthedocs.yml to .readthedocs.yaml, update MANIFEST.in
- Fix a few small typos.
- Fix babel format for `Unit`.
- Fix handling of positional max/min arguments in clip function.
- Fix string formatting of numpy array scalars.
- Fix default format for Measurement class
- Fix parsing of pretty units with same exponents but different
  sign.
- Convert the application registry to a wrapper object.
- Add documentation for the string format options.
- Support custom units formats.
- Autoupdate pre-commit hooks.
- Improved the application registry.
- Improved testing isolation using pytest fixtures.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Leon Anavi
2021-11-03 14:11:46 +02:00
committed by Khem Raj
parent 671f9d7b2d
commit 234c6ec0a4

View File

@@ -10,7 +10,7 @@ PYPI_PACKAGE := "Pint"
inherit pypi ptest setuptools3
SRC_URI[sha256sum] = "f4d0caa713239e6847a7c6eefe2427358566451fe56497d533f21fb590a3f313"
SRC_URI[sha256sum] = "8c4bce884c269051feb7abc69dbfd18403c0c764abc83da132e8a7222f8ba801"
DEPENDS += "python3-setuptools-scm-native"