[perl-ExtUtils-Depends] Stable release 0.307
- From: Brian Manning <bmanning src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-ExtUtils-Depends] Stable release 0.307
- Date: Tue, 29 Apr 2014 05:52:01 +0000 (UTC)
commit 8de634bfa6207190ed6cf9798d5e2888d2d8458d
Author: Brian Manning <bmanning src gnome org>
Date: Mon Apr 28 22:50:08 2014 -0700
Stable release 0.307
Changes | 4 ++++
README | 11 +++++++++++
lib/ExtUtils/Depends.pm | 2 +-
3 files changed, 16 insertions(+), 1 deletions(-)
---
diff --git a/Changes b/Changes
index 58e8776..b4f3e80 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,9 @@
Revision history for Perl extension ExtUtils::Depends.
+0.307 Mon Apr 28 22:04:38 PDT 2014
+ - $Data::Dumper::Terse set to 1 broke save_config
+ - Document API expected by ::load function
+
0.306 Mon Sep 28 22:04:38 PDT 2013
- Fixed typo in RT queue URL; fixes RT#88960
diff --git a/README b/README
index 55851a6..c5c80d4 100644
--- a/README
+++ b/README
@@ -43,6 +43,9 @@ DESCRIPTION
into the data structures required by ExtUtils::MakeMaker's WriteMakefile
function.
+ For information on how to make your module fit into this scheme, see
+ "hashref = ExtUtils::Depends::load (name)".
+
When creating a new Depends object, you give it a name, which is the
name of the module you are building. You can also specify the names of
modules on which this module depends. These dependencies will be loaded
@@ -149,6 +152,14 @@ METHODS
exist when loading files created by old versions of
ExtUtils::Depends.
+ If you want to make module *name* support this, you must provide a
+ module *name*::Install::Files, which on loading will provide the
+ following package variables: @typemaps, $inc, $libs, $deps, with the
+ same contents as above (not coincidentally). The "load" function
+ will supply the "instpath". An easy way to achieve this is to use
+ the method "$depends->save_config ($filename)", but your package may
+ have different facilities already.
+
$depends->load_deps
Load *$depends* dependencies, by calling "load" on each dependency
module. This is usually done for you, and should only be needed if
diff --git a/lib/ExtUtils/Depends.pm b/lib/ExtUtils/Depends.pm
index e481bca..795742d 100644
--- a/lib/ExtUtils/Depends.pm
+++ b/lib/ExtUtils/Depends.pm
@@ -11,7 +11,7 @@ use File::Find;
use File::Spec;
use Data::Dumper;
-our $VERSION = '0.306';
+our $VERSION = '0.307';
sub import {
my $class = shift;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]