From 0e875c6d3b8e32135010c5c8a460594864691f78 Mon Sep 17 00:00:00 2001 From: Konstantin Baierer Date: Tue, 14 Aug 2018 17:16:12 +0200 Subject: [PATCH] pull in changes from spec v2.2.2, fix #155 --- CHANGELOG.md | 7 +++++++ ocrd/constants.py | 2 +- ocrd/model/yaml/ocrd_tool.schema.yml | 3 +++ setup.py | 2 +- 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fd0875a43..9f5023b2e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ Versioned according to [Semantic Versioning](http://semver.org/). ## Unreleased +## [0.7.3] - 2019-08-14 + +Changed: + + * Missing `description` for parameters in schema, #155 + ## [0.7.2] - 2019-08-01 Fixed @@ -235,6 +241,7 @@ Fixed Initial Release +[0.7.3]: ../../compare/v0.7.3...v0.7.2 [0.7.2]: ../../compare/v0.7.2...v0.7.1 [0.7.1]: ../../compare/v0.7.1...v0.7.0 [0.7.0]: ../../compare/v0.7.0...v0.6.0 diff --git a/ocrd/constants.py b/ocrd/constants.py index a0a2ca833..223d78409 100644 --- a/ocrd/constants.py +++ b/ocrd/constants.py @@ -1,7 +1,7 @@ import yaml from pkg_resources import resource_string, resource_filename -VERSION = '0.7.2' +VERSION = '0.7.3' TMP_PREFIX = 'pyocrd-' diff --git a/ocrd/model/yaml/ocrd_tool.schema.yml b/ocrd/model/yaml/ocrd_tool.schema.yml index f7ca69214..76201d36a 100644 --- a/ocrd/model/yaml/ocrd_tool.schema.yml +++ b/ocrd/model/yaml/ocrd_tool.schema.yml @@ -41,6 +41,7 @@ properties: type: object additionalProperties: false required: + - description - type # also either 'default' or 'required' properties: @@ -53,6 +54,8 @@ properties: - boolean format: description: Subtype, such as `float` for type `number` or `uri` for type `string`. + description: + description: Concise description of syntax and semantics of this parameter required: type: boolean description: Whether this parameter is required diff --git a/setup.py b/setup.py index 7fd0e1cc2..67b25fbde 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ setup( name='ocrd', - version='0.7.2', + version='0.7.3', description='OCR-D framework', long_description=README, author='Kay-Michael Würzner, Konstantin Baierer',