From b9dc145ea8463ac228aa06db21a65a5c57dcd0c1 Mon Sep 17 00:00:00 2001 From: stevenpritchard Date: Mon, 27 Feb 2006 18:28:09 +0000 Subject: [PATCH] Split BUGS and TODO out of the main script. Add a note about filtering Provides/Requires. --- BUGS | 3 +++ TODO | 18 ++++++++++++++++++ cpanspec | 31 +------------------------------ 3 files changed, 22 insertions(+), 30 deletions(-) create mode 100644 BUGS create mode 100644 TODO diff --git a/BUGS b/BUGS new file mode 100644 index 0000000..155bb6e --- /dev/null +++ b/BUGS @@ -0,0 +1,3 @@ +* This script is known to fail on the following: + + - Cache::Cache 1.02 (Tries to do detection magic in Makefile.PL.) diff --git a/TODO b/TODO new file mode 100644 index 0000000..8dc357b --- /dev/null +++ b/TODO @@ -0,0 +1,18 @@ +* FIXME - The script should make a pass through README to look for a + line that matches /^[^[:alnum:]]*DESCRIPTION[^[:alnum:]]*$/i + and use the first paragraph after that, if it exists. + +* It might be a good idea to try to render %description as POD. + +* Add code to get the path to the source from 02packages.details.txt.gz. + +* Planned features (as of 2005-09-19): + + - Find and download dependencies automatically (like CPAN::Unwind). + - Download from CPAN automatically when executed as "cpanspec Foo::Bar". + + DONE! + + Add --download-only or something similar to replace cpanget. + +* It would be useful to be able to write the spec to stdout. + +* Add options to filter out Provides/Requires. diff --git a/cpanspec b/cpanspec index fd6dae6..decbbc3 100755 --- a/cpanspec +++ b/cpanspec @@ -10,36 +10,7 @@ # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # -# $Id: cpanspec,v 1.3 2006/02/03 20:51:01 stevenpritchard Exp $ - -#### -# -# TODO: -# -# * FIXME - The script should make a pass through README to look for a -# line that matches /^[^[:alnum:]]*DESCRIPTION[^[:alnum:]]*$/i -# and use the first paragraph after that, if it exists. -# -# * It might be a good idea to try to render %description as POD. -# -# * Add code to get the path to the source from 02packages.details.txt.gz. -# -# * Planned features (as of 2005-09-19): -# -# - Find and download dependencies automatically (like CPAN::Unwind). -# - Download from CPAN automatically when executed as "cpanspec Foo::Bar". -# + DONE! -# + Add --download-only or something similar to replace cpanget. -# -# * It would be useful to be able to write the spec to stdout. -# -# KNOWN BUGS: -# -# * This script is known to fail on the following: -# -# - Cache::Cache 1.02 (Tries to do detection magic in Makefile.PL.) -# -#### +# $Id: cpanspec,v 1.4 2006/02/27 18:28:09 stevenpritchard Exp $ =head1 NAME