2016-06-08 21:22:13 +02:00
|
|
|
# $NetBSD: Makefile,v 1.34 2016/06/08 19:23:44 wiz Exp $
|
2005-01-08 14:40:17 +01:00
|
|
|
|
Updated to devel/p5-Tree-DAG-Node-1.29
---------------------------------------
1.29 2016-03-01T13:39:00
- After another email exchange with Kent Fredric (via RT) and Karen Etheridge (via the
cpan-testers-discuss mailing list), I've edited Makefile.PL, again, to indicate that
Test::Pod is needed neither for building nor testing this module, but is only needed for
development. Specifically, it's used by xt/author/pod.t, and not elsewhere. See
https://metacpan.org/pod/CPAN::Meta::Spec#PREREQUISITES for more details.
1.28 2016-03-01T08:43:00
- No code changes.
- Rework Makefile.PL so File::Spec, File::Temp, Test::More and Test::Pod are in TEST_REQUIRES.
Many thanx to Kent Fredric in RT#112568 for this suggestion.
- Expand the SYNOPSIS.
- Update MANIFEST.SKIP to include .gitignore.
- Finally add lightweight git tags to distros, so that if you have a Bash alias such as:
alias gl='git log --decorate=full' you'll see something like these 5 lines:
1.27 2015-07-12T11:01:00
- Remove the line which reads 'use open qw(:std :utf8);'. As Tom Molesworth says:
"Specifically, it turns on the UTF-8 encoding layer on STDIO when any code does
'use Tree::DAG_Node'. That's no good when code is expecting a different encoding
(raw, etc.)". See RT#105798. Karen Etheridge followed up with a comment about it appearing
in another module of mine. Then I checked all my modules (including some not intended for
publication - Local::*) and found about 28 offenders, with some using it inn multiple files.
The original idea came from adopting what Tom Christiansen calls his 'Standard Preamble':
http://www.perl.com/pub/2012/04/perlunicook-standard-preamble.html
All tests still work after removing that line.
- Remove Build.PL. Ship only Makefile.PL.
2016-04-29 09:40:08 +02:00
|
|
|
DISTNAME= Tree-DAG_Node-1.29
|
2005-01-08 14:40:17 +01:00
|
|
|
PKGNAME= p5-${DISTNAME}
|
2016-06-08 21:22:13 +02:00
|
|
|
PKGREVISION= 1
|
2008-01-09 00:41:06 +01:00
|
|
|
CATEGORIES= devel perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Tree/}
|
Update to 1.07
Upstream changes:
1.07 Thu Nov 1 12:47:00 2012
- New maintainer: Ron Savage
- Pre-emptive apologies for any changes which are not back-compat. No such problems are expected, but the
introduction of new methods may disconcert some viewers.
- Fix RT#78858, reported by Gene Boggs. Audit code for similar problems.
- Fix RT#79506. reported by Ron Savage.
- Rename ChangeLog to CHANGES, and add Changelog.ini.
- Replace all uses of cyclicity_fault() and Carp::croak with die.
- Remove unused methods: decommission_root(), cyclicity_allowed(), cyclicity_fault(), inaugurate_root(),
no_cyclicity() and _update_links(). OK - cyclicity_fault() was called once. It just died.
- Add methods: format_node(), hashref2string(), is_root(), node2string(), tree2string().
tree2string($opts, $node) - unlike draw_ascii_tree() - can optionally print the tree starting at any node.
Override format_node(), hashref2string(), and node2string() if desired.
- Reformat the POD big-time.
- Add Build.PL.
- Re-write Makefile.PL.
- Remove use vars(@ISA $Debug $VERSION). Replace latter 2 with 'our ...'.
- Rename t/00_about_verbose.t to t/about.perl.t.
- Add scripts/cut.and.paste.subtrees.pl. Warning: Some trees get into an infinite loop.
- Add t/cut.and.paste.subtrees.t. Warning: Some trees get into an infinite loop.
- Document the options (discouraged by Sean) supported in the call to new($hashref).
2012-11-04 14:45:23 +01:00
|
|
|
EXTRACT_SUFX= .tgz
|
2005-01-08 14:40:17 +01:00
|
|
|
|
|
|
|
MAINTAINER= dprice@cs.nmsu.edu
|
2005-02-19 18:41:32 +01:00
|
|
|
HOMEPAGE= http://search.cpan.org/dist/Tree-DAG_Node/
|
2005-01-08 14:40:17 +01:00
|
|
|
COMMENT= Class for representing nodes in a tree
|
2010-01-16 20:27:17 +01:00
|
|
|
LICENSE= ${PERL5_LICENSE}
|
2005-01-08 14:40:17 +01:00
|
|
|
|
2015-07-12 20:56:06 +02:00
|
|
|
#DEPENDS+= {perl>=5.19.1,p5-File-Temp>=0.23.01}:../../devel/p5-File-Temp
|
2014-02-16 17:06:29 +01:00
|
|
|
DEPENDS+= p5-File-Slurp-Tiny>=0:../../devel/p5-File-Slurp-Tiny
|
2013-09-05 21:25:07 +02:00
|
|
|
|
2008-01-09 00:41:06 +01:00
|
|
|
USE_LANGUAGES= # empty
|
|
|
|
PERL5_PACKLIST= auto/Tree/DAG_Node/.packlist
|
2005-01-08 14:40:17 +01:00
|
|
|
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|