2015-06-12 12:48:20 +02:00
|
|
|
# $NetBSD: Makefile,v 1.31 2015/06/12 10:49:54 wiz Exp $
|
2005-01-08 14:40:17 +01:00
|
|
|
|
Update 1.23 to 1.26
-------------------
1.26 Sun Apr 12 13:37:00 2015
- Fix bug in string2hashref(), which failed on some strings, such as {a => 'b, c'}.
string2hashref() is called by read_tree().
Escaped chars are still not handled.
- Add t/string2hash.t to test new code.
1.25 Sun Mar 22 11:42:00 2015
- I've deleted the undocumented sub _dump_quote(), which butchered
Unicode characters
when it tried to convert ASCII control characters into
printable strings (on the assumption all data is
ASCII). Thanx to Dr. Petra Steiner (Germany) for discussion
and some testing. I hope no-one was relying on this sub in
output redirected to disk files, or otherwise saved for
later comparisons.
Methods which used to call _dump_quote() now just output
the node's name by calling quote_name(), which is discussed
next. Undefined names are output as the string 'undef'.
- Add method quote_name(), which simply returns its input string
surrounded by single-quotes.
- Add method decode_lol(). This converts the output of
tree_to_lol() and tree_to_simple_lol() into something which
is easy to read. See scripts/read.tree.pl for sample usage.
- Reorder a couple of methods called tree_*(), so that they are in
alphabetical order.
- Expand the docs for methods tree_to_*(), re undefined node names.
- Add scripts/write.tree.pl, which creates the test input file
t/tree.utf8.attributes.txt. Note: This latter file is now
much more complex that in previous versions.
- Add scripts/read.tree.pl, and it's output file scripts/read.tree.log. This program
demonstrates the output produced by various methods.
- Fix the faulty syntax I had used in Build.PL to identify the github repo.
- Delete and re-create github repo after 'git push' failed to upload the new version.
- Add LICENSE file to MANIFEST.
1.24 Sun Jan 25 14:17:00 2015
- Clean up discussion in docs of original author's reluctance to
allow parameters to new().
- Rewrite bareword filehandles (INX) to use a variable (my $fh).
- Rename github repo from Tree--DAG_Node to Tree-DAG_Node - My new standard.
Update Build.PL and Makefile.PL to match.
- Reformat the docs, and this file, slighty, to be <= 100 chars per
line - My new standard.
- Change horizontal indentation used by node2string() to add 1
space, so '|' lines up underneath the first char of the
previous node's name. Use scripts/cut.and.paste.subtrees.pl
to see the difference.
2015-05-23 03:22:43 +02:00
|
|
|
DISTNAME= Tree-DAG_Node-1.26
|
2005-01-08 14:40:17 +01:00
|
|
|
PKGNAME= p5-${DISTNAME}
|
2015-06-12 12:48:20 +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
|
|
|
|
2014-05-31 03:48:45 +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"
|