diff options
-rw-r--r-- | core.lv2/lv2-doap.ttl | 13 | ||||
-rwxr-xr-x | lv2specgen/lv2specgen.py | 24 |
2 files changed, 25 insertions, 12 deletions
diff --git a/core.lv2/lv2-doap.ttl b/core.lv2/lv2-doap.ttl index 34b60dc..bbd093b 100644 --- a/core.lv2/lv2-doap.ttl +++ b/core.lv2/lv2-doap.ttl @@ -12,6 +12,17 @@ doap:shortdesc "An audio plugin interface specification" ; doap:programming-language "C" ; doap:release [ + doap:revision "4.1" ; + dcs:changeset [ + dcs:item [ + rdfs:label "Add lv2:extensionData and lv2:ExtensionData for plugins to indicate that they support some URI for LV2_Descriptor::extension_data." + ] , [ + rdfs:label "Remove lv2config in favour of the convention that extension bundles simply install headers to standard URI-like include paths." + ] , [ + rdfs:label "Switch to simple BSD-style (ISC) license (with permission of all contributors to lv2.h and its ancestor, ladspa.h)." + ] + ] + ] , [ doap:revision "4.0" ; doap:created "2011-03-18" ; doap:file-release <http://lv2plug.in/spec/lv2core-4.0.tar.bz2> ; @@ -60,7 +71,7 @@ ] , [ doap:revision "2.0" ; doap:created "2008-02-10" ; - doap:file-release <http://lv2plug.in/spec/lv2core-2.0.tar.gz> ; + doap:file-release <http://lv2plug.in/spec/lv2core-2.0.tar.gz> ] ; doap:maintainer [ a foaf:Person ; diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py index 71dc5b3..a0fdc52 100755 --- a/lv2specgen/lv2specgen.py +++ b/lv2specgen/lv2specgen.py @@ -878,9 +878,6 @@ def specHistory(m, subject): rev = getLiteralString(getObject(revNode)) created = findOne(m, release, doap.created, None) - if not created: - print "error: doap:release has no doap:created" - continue dist = findOne(m, release, doap['file-release'], None) if dist: @@ -889,8 +886,10 @@ def specHistory(m, subject): entry = '<dt>Version %s' % rev #print "warning: doap:release has no doap:file-release" - entry += ' (%s)</dt>' % ( - getLiteralString(getObject(created))) + if created: + entry += ' (%s)</dt>' % getLiteralString(getObject(created)) + else: + entry += ' (<span class="warning">EXPERIMENTAL</span>)</dt>' changeset = findOne(m, release, dcs.changeset, None) if changeset: @@ -904,15 +903,18 @@ def specHistory(m, subject): entry += '<li>%s</li>' % getLiteralString(getObject(label)) - entry += '</dd>\n' + entry += '</ul></dd>\n' entries[rev] = entry - history = '<dl>' - for e in sorted(entries.keys(), reverse=True): - history += entries[e] - history += '</dl>' - return history + if len(entries) > 0: + history = '<dl>' + for e in sorted(entries.keys(), reverse=True): + history += entries[e] + history += '</dl>' + return history + else: + return '' def specVersion(m, subject): |