[libmodule-install-rdf-perl] 08/34: use Pretdsl for metadata
Jonas Smedegaard
js at alioth.debian.org
Fri Aug 9 14:36:17 UTC 2013
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository libmodule-install-rdf-perl.
commit fc432795ab368b7dd0ae5820aa4282a66fc3545f
Author: Toby Inkster <mail at tobyinkster.co.uk>
Date: Wed Jul 4 14:00:41 2012 +0100
use Pretdsl for metadata
--HG--
branch : Module-Install-RDF
rename : meta/changes.ttl => meta/changes.pret
rename : meta/deps.ttl => meta/deps.pret
rename : meta/makefile.ttl => meta/makefile.pret
---
meta/changes.pret | 29 +++++++++++++++++++++++++++++
meta/changes.ttl | 51 ---------------------------------------------------
meta/deps.pret | 8 ++++++++
meta/deps.ttl | 10 ----------
meta/doap.pret | 14 ++++++++++++++
meta/makefile.pret | 4 ++++
meta/makefile.ttl | 8 --------
7 files changed, 55 insertions(+), 69 deletions(-)
diff --git a/meta/changes.pret b/meta/changes.pret
new file mode 100644
index 0000000..ecc3b0f
--- /dev/null
+++ b/meta/changes.pret
@@ -0,0 +1,29 @@
+`Module-Install-RDF 0.001 cpan:TOBYINK`
+ issued 2011-10-01;
+ label "Initial release".
+
+`Module-Install-RDF 0.002 cpan:TOBYINK`
+ issued 2011-10-06;
+ changeset [
+ item "Upgrade Module::Package::RDF version."^^Packaging;
+ ] .
+
+`Module-Install-RDF 0.003 cpan:TOBYINK`
+ issued 2011-11-26;
+ changeset [
+ item "use parent"^^Regression;
+ item "rdf_project_uri function which provides heuristics to determine the URI of the primary doap:Project described in the meta directory."^^Addition;
+ item "Use Object::ID::object_id instead of Scalar::Util::refaddr to uniquely identity Module::Install objects. (Though in a typical installation scenario, this shouldn't matter much.)"^^Change;
+ ] .
+
+`Module-Install-RDF 0.004 cpan:TOBYINK`
+ issued 2011-12-03;
+ changeset [
+ item "use base"^^Bugfix;
+ ] .
+
+`Module-Install-RDF 0.005 cpan:TOBYINK`
+ issued 2012-07-04;
+ changeset [
+ item "Support metadata written in Pretdsl."^^Addition;
+ ] .
diff --git a/meta/changes.ttl b/meta/changes.ttl
deleted file mode 100644
index 98c7dfa..0000000
--- a/meta/changes.ttl
+++ /dev/null
@@ -1,51 +0,0 @@
- at prefix : <http://usefulinc.com/ns/doap#> .
- at prefix dcs: <http://ontologi.es/doap-changeset#> .
- at prefix dc: <http://purl.org/dc/terms/> .
- at prefix foaf: <http://xmlns.com/foaf/0.1/> .
- at prefix my: <http://purl.org/NET/cpan-uri/dist/Module-Install-RDF/> .
- at prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
- at prefix toby: <http://tobyinkster.co.uk/#> .
- at prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
-
-my:project :release my:v_0-001 .
-my:v_0-001
- a :Version ;
- dc:issued "2011-10-01"^^xsd:date ;
- :revision "0.001"^^xsd:string ;
- :file-release <http://backpan.cpan.org/authors/id/T/TO/TOBYINK/Module-Install-RDF-0.001.tar.gz> ;
- rdfs:label "Initial release" .
-
-my:project :release my:v_0-002 .
-my:v_0-002
- a :Version ;
- dc:issued "2011-10-06"^^xsd:date ;
- :revision "0.002"^^xsd:string ;
- :file-release <http://backpan.cpan.org/authors/id/T/TO/TOBYINK/Module-Install-RDF-0.002.tar.gz> ;
- dcs:changeset [
- dcs:versus my:v_0-001 ;
- dcs:item [ a dcs:Packaging ; rdfs:label "Upgrade Module::Package::RDF version."@en ]
- ] .
-
-my:project :release my:v_0-003 .
-my:v_0-003
- a :Version ;
- dc:issued "2011-11-26"^^xsd:date ;
- :revision "0.003"^^xsd:string ;
- :file-release <http://backpan.cpan.org/authors/id/T/TO/TOBYINK/Module-Install-RDF-0.003.tar.gz> ;
- dcs:changeset [
- dcs:versus my:v_0-002 ;
- dcs:item [ rdfs:label "use parent" ; a dcs:Regression ] ;
- dcs:item [ a dcs:Addition ; rdfs:label "rdf_project_uri function which provides heuristics to determine the URI of the primary doap:Project described in the meta directory."@en ] ;
- dcs:item [ rdfs:label "Use Object::ID::object_id instead of Scalar::Util::refaddr to uniquely identity Module::Install objects. (Though in a typical installation scenario, this shouldn't matter much.)"@en ]
- ] .
-
-my:project :release my:v_0-004 .
-my:v_0-004
- a :Version ;
- dc:issued "2011-12-03"^^xsd:date ;
- :revision "0.004"^^xsd:string ;
- :file-release <http://backpan.cpan.org/authors/id/T/TO/TOBYINK/Module-Install-RDF-0.004.tar.gz> ;
- dcs:changeset [
- dcs:versus my:v_0-003 ;
- dcs:item [ rdfs:label "use base" ; a dcs:Bugfix ]
- ] .
diff --git a/meta/deps.pret b/meta/deps.pret
new file mode 100644
index 0000000..958fb4b
--- /dev/null
+++ b/meta/deps.pret
@@ -0,0 +1,8 @@
+`Module-Install-RDF`
+ requires p`Object::ID`;
+ requires p`Module::Install 1.00`;
+ requires p`RDF::Trine 0.135`;
+ requires p`RDF::TriN3 0.200`;
+ requires p`URI::file 4.0`;
+ test_requires p`Test::More 0.61`;
+ .
\ No newline at end of file
diff --git a/meta/deps.ttl b/meta/deps.ttl
deleted file mode 100644
index e0eaec2..0000000
--- a/meta/deps.ttl
+++ /dev/null
@@ -1,10 +0,0 @@
- at prefix : <http://purl.org/NET/cpan-uri/terms#> .
-
-<http://purl.org/NET/cpan-uri/dist/Module-Install-RDF/project>
- :requires
- "Object::ID" ,
- "Module::Install 1.00" ,
- "RDF::Trine 0.133" ,
- "URI::file 4.0" ;
- :test_requires
- "Test::More 0.61" .
diff --git a/meta/doap.pret b/meta/doap.pret
new file mode 100644
index 0000000..7662ada
--- /dev/null
+++ b/meta/doap.pret
@@ -0,0 +1,14 @@
+`Module-Install-RDF`
+ doap:shortdesc "advanced metadata for your distribution"@en;
+ doap:programming-language "Perl";
+ doap:homepage <https://metacpan.org/release/Module-Install-RDF>;
+ doap:download-page <https://metacpan.org/release/Module-Install-RDF>;
+ doap:bug-database <http://rt.cpan.org/Dist/Display.html?Queue=Module-Install-RDF>;
+ doap:repository [ a doap:HgRepository; doap:browse <https://bitbucket.org/tobyink/p5-module-install-rdf> ];
+ doap:maintainer cpan:tobyink ;
+ doap:developer cpan:tobyink ;
+ doap:documenter cpan:tobyink ;
+ doap:tester cpan:tobyink ;
+ doap:created 2011-09-30 ;
+ doap:license <http://dev.perl.org/licenses/>;
+ doap:category [label "Semantic Web"], [label "Packaging"].
diff --git a/meta/makefile.pret b/meta/makefile.pret
new file mode 100644
index 0000000..d4a45ad
--- /dev/null
+++ b/meta/makefile.pret
@@ -0,0 +1,4 @@
+`Module-Install-RDF`
+ perl_version_from m`Module::Install::RDF`;
+ version_from m`Module::Install::RDF`;
+ readme_from m`Module::Install::RDF`.
diff --git a/meta/makefile.ttl b/meta/makefile.ttl
deleted file mode 100644
index 3185bfc..0000000
--- a/meta/makefile.ttl
+++ /dev/null
@@ -1,8 +0,0 @@
- at prefix : <http://purl.org/NET/cpan-uri/terms#> .
-
-<http://purl.org/NET/cpan-uri/dist/Module-Install-RDF/project>
- :perl_version_from _:main ;
- :version_from _:main ;
- :readme_from _:main .
-
-_:main <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#fileName> "lib/Module/Install/RDF.pm" .
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmodule-install-rdf-perl.git
More information about the Pkg-perl-cvs-commits
mailing list