Permalink
Browse files

add metadata in setup.pir

  • Loading branch information...
1 parent d64fd28 commit a6f0003d7445a7e52fcb9b4bd844f2ce7a5f873f @fperrad committed Nov 21, 2009
Showing with 19 additions and 4 deletions.
  1. +4 −3 plumage/xml.json
  2. +15 −1 setup.pir
View
@@ -14,7 +14,7 @@
},
"copyright_holder" : "Parrot Foundation",
"generated_by" : "Francois Perrad <francois.perrad@gadz.org>",
- "keywords" : ["xml"],
+ "keywords" : ["xml", "sax"],
"description" : "some toys: a SAX like parser & a simple handler XmlWriter"
},
"instructions" : {
@@ -32,10 +32,9 @@
}
},
"dependency-info" : {
- "provides" : ["Xml;Sax;Xml", "Xml;Handler;XmlWriter"],
+ "provides" : ["xml"],
"requires" : {
"fetch" : ["git"],
- "configure": [],
"build" : [],
"test" : ["perl5"],
"install" : [],
@@ -51,3 +50,5 @@
}
}
}
+
+
View
@@ -22,8 +22,22 @@ No Configure step, no Makefile generated.
$S0 = shift args
load_bytecode 'distutils.pbc'
- # build
$P0 = new 'Hash'
+ $P0['name'] = 'XML'
+ $P0['abstract'] = 'XML on Parrot'
+ $P0['authority'] = 'http://github.com/fperrad'
+ $P0['description'] = 'some toys: a SAX like parser & a simple handler XmlWriter'
+ $P5 = split ',', 'xml,sax'
+ $P0['keywords'] = $P5
+ $P0['license_type'] = 'Artistic License 2.0'
+ $P0['license_uri'] = 'http://www.perlfoundation.org/artistic_license_2_0'
+ $P0['copyright_holder'] = 'Parrot Foundation'
+ $P0['generated_by'] = 'Francois Perrad <francois.perrad@gadz.org>'
+ $P0['checkout_uri'] = 'git://github.com/fperrad/xml.git'
+ $P0['browser_uri'] = 'http://github.com/fperrad/xml'
+ $P0['project_uri'] = 'http://github.com/fperrad/xml'
+
+ # build
$P1 = new 'Hash'
$P1['xml/sax/xml/grammar_gen.pir'] = 'xml/sax/xml/grammar.pg'
$P0['pir_pge'] = $P1

0 comments on commit a6f0003

Please sign in to comment.