Skip to content
This repository has been archived by the owner on Jun 9, 2018. It is now read-only.

Commit

Permalink
add metadata in setup.pir
Browse files Browse the repository at this point in the history
  • Loading branch information
fperrad committed Nov 21, 2009
1 parent d64fd28 commit a6f0003
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
7 changes: 4 additions & 3 deletions plumage/xml.json
Expand Up @@ -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" : {
Expand All @@ -32,10 +32,9 @@
}
},
"dependency-info" : {
"provides" : ["Xml;Sax;Xml", "Xml;Handler;XmlWriter"],
"provides" : ["xml"],
"requires" : {
"fetch" : ["git"],
"configure": [],
"build" : [],
"test" : ["perl5"],
"install" : [],
Expand All @@ -51,3 +50,5 @@
}
}
}


16 changes: 15 additions & 1 deletion setup.pir
Expand Up @@ -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
Expand Down

0 comments on commit a6f0003

Please sign in to comment.