[Python-checkins] peps: PEP 426: update json schema

daniel.holth python-checkins at python.org
Fri Jul 19 18:03:31 CEST 2013


http://hg.python.org/peps/rev/bc08ca2e52fb
changeset:   5006:bc08ca2e52fb
user:        Daniel Holth <dholth at fastmail.fm>
date:        Fri Jul 19 12:03:16 2013 -0400
summary:
  PEP 426: update json schema

files:
  pep-0426/pydist-schema.json |  5 ++++-
  1 files changed, 4 insertions(+), 1 deletions(-)


diff --git a/pep-0426/pydist-schema.json b/pep-0426/pydist-schema.json
--- a/pep-0426/pydist-schema.json
+++ b/pep-0426/pydist-schema.json
@@ -12,7 +12,7 @@
     "generator": {
       "description": "Name and version of the program that produced this file.",
       "type": "string",
-      "pattern": "^[0-9A-Za-z]([0-9A-Za-z_.-]*[0-9A-Za-z])( \\((\\d+(\\.\\d+)*)((a|b|c|rc)(\\d+))?(\\.(post)(\\d+))?(\\.(dev)(\\d+))\\))?$"
+      "pattern": "^[0-9A-Za-z]([0-9A-Za-z_.-]*[0-9A-Za-z])( \\(.*\\))?$"
     },
     "name": {
       "description": "The name of the distribution.",
@@ -239,6 +239,9 @@
     },
     "document_name": {
         "type": "string"
+    },
+    "extra_name" : {
+        "type": "string"
     }
   }
 }

-- 
Repository URL: http://hg.python.org/peps


More information about the Python-checkins mailing list