Commits

Toby Inkster committed eaca5c0

use Dist::Inkt

  • Participants
  • Parent commits 0d10c0b

Comments (0)

Files changed (3)

File Makefile.PL

-use inc::Module::Package 'RDF:tobyink 0.012';
-
-use strict;
-use warnings;
-
-if (-d ".hg") # I am the author
-{
-	use lib "lib";
-	require Types::XSD;
-	if ("Types::XSD"->VERSION =~ /_/) # only for dev releases
-	{
-		my $SOURCE = "../p5-type-tiny/lib";
-		my $DEST   = "inc";
-		
-		require PIR;
-		my $iter = "PIR"->new->file->name("*.pm")->iter($SOURCE, { relative => 1 });
-		while (my $module = $iter->())
-		{
-			"Module::Install::Admin"->copy("$SOURCE/$module" => "$DEST/$module");
-		}
-	}
-}
+;;class='Dist::Inkt::Profile::TOBYINK'
+;;name='Types-XSD'
+

File meta/makefile.pret

 # This file provides instructions for packaging.
 
+@prefix : <http://ontologi.es/doap-deps#>.
+
 `Types-XSD`
-	perl_version_from m`Types::XSD`;
-	version_from      m`Types::XSD`;
-	readme_from       m`Types::XSD`;
-	requires          p`DateTime::Incomplete 0`;
-	requires          p`DateTimeX::Auto 0.004`;
-	requires          p`Type::Library 0.004`;
-	requires          p`XML::RegExp 0`;
-	requires          p`Types::XSD::Lite 0.003`;
-	test_requires     p`Test::More 0.96`;
-	test_requires     p`Test::TypeTiny 0.004`;
-.
+	:runtime-requirement     [ :on "DateTime::Incomplete 0"^^CpanId ];
+	:runtime-requirement     [ :on "DateTimeX::Auto 0.004"^^CpanId ];
+	:runtime-requirement     [ :on "Type::Library 0.004"^^CpanId ];
+	:runtime-requirement     [ :on "XML::RegExp 0"^^CpanId ];
+	:runtime-requirement     [ :on "Types::XSD::Lite 0.003"^^CpanId ];
+	:test-requirement        [ :on "Test::More 0.96"^^CpanId ];
+	:test-requirement        [ :on "Test::TypeTiny 0.004"^^CpanId ].