r42711 - in /trunk/libdevel-cycle-perl: Changes META.yml debian/changelog debian/compat debian/control debian/copyright debian/rules lib/Devel/Cycle.pm

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Tue Aug 25 01:24:51 UTC 2009


Author: jawnsy-guest
Date: Tue Aug 25 01:24:44 2009
New Revision: 42711

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=42711
Log:
* New upstream release
  + Fix for incorrectly reported cycles (RT#47389)
* Standards-Version 3.8.3 (drop version dependency on perl)
* Use new short debhelper rules format
* Bump compat to 7, upgrade debhelper to >= 7
* Upgrade copyright information, use machine readable format
* Update control description
* Added myself to Copyright and Uploaders

Modified:
    trunk/libdevel-cycle-perl/Changes
    trunk/libdevel-cycle-perl/META.yml
    trunk/libdevel-cycle-perl/debian/changelog
    trunk/libdevel-cycle-perl/debian/compat
    trunk/libdevel-cycle-perl/debian/control
    trunk/libdevel-cycle-perl/debian/copyright
    trunk/libdevel-cycle-perl/debian/rules
    trunk/libdevel-cycle-perl/lib/Devel/Cycle.pm

Modified: trunk/libdevel-cycle-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-cycle-perl/Changes?rev=42711&op=diff
==============================================================================
--- trunk/libdevel-cycle-perl/Changes (original)
+++ trunk/libdevel-cycle-perl/Changes Tue Aug 25 01:24:44 2009
@@ -1,4 +1,7 @@
 Revision history for Perl extension Devel::Cycle.
+1.11 Mon Aug 24 08:50:25 EDT 2009
+     - Florian Ragwitz fixed bug 47389
+
 1.10 Tue Jul  8 21:27:20 EDT 2008
      - Slaven Rezic fixed bug 35825.
 

Modified: trunk/libdevel-cycle-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-cycle-perl/META.yml?rev=42711&op=diff
==============================================================================
--- trunk/libdevel-cycle-perl/META.yml (original)
+++ trunk/libdevel-cycle-perl/META.yml Tue Aug 25 01:24:44 2009
@@ -1,11 +1,11 @@
 --- #YAML:1.0
 name:                Devel-Cycle
-version:             1.10
+version:             1.11
 abstract:            Find memory cycles in objects
 license:             ~
 author:              
     - Lincoln Stein <lstein at cshl.edu>
-generated_by:        ExtUtils::MakeMaker version 6.44
+generated_by:        ExtUtils::MakeMaker version 6.42
 distribution_type:   module
 requires:     
     Scalar::Util:                  0

Modified: trunk/libdevel-cycle-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-cycle-perl/debian/changelog?rev=42711&op=diff
==============================================================================
--- trunk/libdevel-cycle-perl/debian/changelog (original)
+++ trunk/libdevel-cycle-perl/debian/changelog Tue Aug 25 01:24:44 2009
@@ -1,4 +1,14 @@
-libdevel-cycle-perl (1.10-2) UNRELEASED; urgency=low
+libdevel-cycle-perl (1.11-1) UNRELEASED; urgency=low
+
+  [ Jonathan Yu ]
+  * New upstream release
+    + Fix for incorrectly reported cycles (RT#47389)
+  * Standards-Version 3.8.3 (drop version dependency on perl)
+  * Use new short debhelper rules format
+  * Bump compat to 7, upgrade debhelper to >= 7
+  * Upgrade copyright information, use machine readable format
+  * Update control description
+  * Added myself to Copyright and Uploaders
 
   [ gregor herrmann ]
   * debian/control: Changed: Switched Vcs-Browser field to ViewSVN
@@ -7,7 +17,7 @@
   [ Nathan Handler ]
   * debian/watch: Update to ignore development releases.
 
- -- gregor herrmann <gregoa at debian.org>  Sun, 16 Nov 2008 20:41:55 +0100
+ -- Jonathan Yu <frequency at cpan.org>  Mon, 24 Aug 2009 17:02:35 -0400
 
 libdevel-cycle-perl (1.10-1) unstable; urgency=low
 

Modified: trunk/libdevel-cycle-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-cycle-perl/debian/compat?rev=42711&op=diff
==============================================================================
--- trunk/libdevel-cycle-perl/debian/compat (original)
+++ trunk/libdevel-cycle-perl/debian/compat Tue Aug 25 01:24:44 2009
@@ -1,1 +1,1 @@
-5
+7

Modified: trunk/libdevel-cycle-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-cycle-perl/debian/control?rev=42711&op=diff
==============================================================================
--- trunk/libdevel-cycle-perl/debian/control (original)
+++ trunk/libdevel-cycle-perl/debian/control Tue Aug 25 01:24:44 2009
@@ -1,12 +1,12 @@
 Source: libdevel-cycle-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5.0.0)
-Build-Depends-Indep: perl (>= 5.8.0-7), libpadwalker-perl
+Build-Depends: debhelper (>= 7)
+Build-Depends-Indep: perl, libpadwalker-perl
 Uploaders: Krzysztof Krzyzaniak (eloy) <eloy at debian.org>,
- gregor herrmann <gregoa at debian.org>
+ gregor herrmann <gregoa at debian.org>, Jonathan Yu <frequency at cpan.org>
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Standards-Version: 3.8.0
+Standards-Version: 3.8.3
 Homepage: http://search.cpan.org/dist/Devel-Cycle/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libdevel-cycle-perl/
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libdevel-cycle-perl/
@@ -15,9 +15,9 @@
 Architecture: all
 Depends: ${perl:Depends}, ${misc:Depends}
 Suggests: libpadwalker-perl
-Description: Find memory cycles in perl objects
- Perl uses reference-count based memory management. It means that circular 
- references will cause memory leaks.
- .
- Devel::Cycle is a simple developer's tool for finding circular 
- references in objects and other types of references.
+Description: Perl module to detect memory cycles in Perl objects
+ Devel::Cycle is a developer's tool for finding memory cycles in Perl objects.
+ Since Perl provides its automatic memory management using reference counting,
+ cyclical/circular references will result in memory that will never be freed.
+ Optionally, PadWalker (libpadwalker-perl) module enables reporting of cycles
+ in code closures as well.

Modified: trunk/libdevel-cycle-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-cycle-perl/debian/copyright?rev=42711&op=diff
==============================================================================
--- trunk/libdevel-cycle-perl/debian/copyright (original)
+++ trunk/libdevel-cycle-perl/debian/copyright Tue Aug 25 01:24:44 2009
@@ -1,26 +1,31 @@
-This is the debian package for the Devel-Cycle module.
-It was created by Krzysztof Krzyzaniak (eloy) <eloy at debian.org> using dh-make-perl.
+Format-Specification:
+    http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
+Upstream-Maintainer: Lincoln D. Stein <lincoln.stein at gmail.com>
+Upstream-Source: http://search.cpan.org/dist/Devel-Cycle/
+Upstream-Name: Devel-Cycle
 
-It was downloaded from:
-http://search.cpan.org/dist/Devel-Cycle/
+Files: *
+Copyright: 2003, Lincoln Stein <lincoln.stein at gmail.com>
+License-Alias: Perl
+License: Artistic | GPL-1+
 
-The upstream author is: 
+Files: debian/*
+Copyright: 2009, Jonathan Yu <frequency at cpan.org>
+ 2008, gregor herrmann <gregoa at debian.org>
+ 2006, Krzysztof Krzyzaniak (eloy) <eloy at debian.org>
+License: Artistic | GPL-1+
 
-Lincoln Stein, <lstein at cshl.edu>.
+License: Artistic
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the Artistic License, which comes with Perl.
+    On Debian GNU/Linux systems, the complete text of the Artistic License
+    can be found in `/usr/share/common-licenses/Artistic'
 
-Copyright (C) 2003 by Lincoln Stein
+License: GPL-1+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 1, or (at your option)
+    any later version.
+    On Debian GNU/Linux systems, the complete text of the GNU General
+    Public License can be found in `/usr/share/common-licenses/GPL'
 
-This program is free software, you can redistribute it and/or modify it under
-the same terms as Perl itself.
-
-Perl is distributed under licenses:
-
-    a) the GNU General Public License as published by the Free Software
-       Foundation; either version 1, or (at your option) any later
-       version, or
-  
-    b) the "Artistic License" which comes with Perl.
-  
-    On Debian GNU/Linux systems, the complete text of the GNU General
-    Public License can be found in /usr/share/common-licenses/GPL' and
-    the Artistic Licence in /usr/share/common-licenses/Artistic'.

Modified: trunk/libdevel-cycle-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-cycle-perl/debian/rules?rev=42711&op=diff
==============================================================================
--- trunk/libdevel-cycle-perl/debian/rules (original)
+++ trunk/libdevel-cycle-perl/debian/rules Tue Aug 25 01:24:44 2009
@@ -1,60 +1,4 @@
 #!/usr/bin/make -f
-# This debian/rules file is provided as a template for normal perl
-# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
-# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
-# be used freely wherever it is useful.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# If set to a true value then MakeMaker's prompt function will
-# always return the default without waiting for user input.
-export PERL_MM_USE_DEFAULT=1
-
-PERL   ?= /usr/bin/perl
-PACKAGE = $(shell dh_listpackages)
-TMP     = $(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp:
-	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-	$(MAKE) test
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp
-	[ ! -f Makefile ] || $(MAKE) realclean
-
-install: install-stamp
-install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/lib/perl5 ] || \
-		rmdir --ignore-fail-on-non-empty --parents --verbose \
-		$(TMP)/usr/lib/perl5
-	touch $@
-
-binary-arch:
-# We have nothing to do here for an architecture-independent package
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	dh_installchangelogs Changes
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+%:
+	dh $@

Modified: trunk/libdevel-cycle-perl/lib/Devel/Cycle.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-cycle-perl/lib/Devel/Cycle.pm?rev=42711&op=diff
==============================================================================
--- trunk/libdevel-cycle-perl/lib/Devel/Cycle.pm (original)
+++ trunk/libdevel-cycle-perl/lib/Devel/Cycle.pm Tue Aug 25 01:24:44 2009
@@ -1,5 +1,5 @@
 package Devel::Cycle;
-# $Id: Cycle.pm,v 1.13 2008/07/09 01:26:45 lstein Exp $
+# $Id: Cycle.pm,v 1.15 2009/08/24 12:51:02 lstein Exp $
 
 use 5.006001;
 use strict;
@@ -17,7 +17,7 @@
 our @ISA = qw(Exporter);
 our @EXPORT = qw(find_cycle find_weakened_cycle);
 our @EXPORT_OK = qw($FORMATTING);
-our $VERSION = '1.10';
+our $VERSION = '1.11';
 our $FORMATTING = 'roasted';
 our $QUIET   = 0;
 
@@ -120,9 +120,9 @@
   my $complain  = shift;
   my @report  = @_;
 
-  return if !$inc_weak_refs && isweak($current);
+  return if !$inc_weak_refs && isweak($$current);
   _find_cycle($$current,{%$seenit},$callback,$inc_weak_refs,$complain,
-              (@report,['SCALAR',undef,$current => $$current,$inc_weak_refs?isweak($current):()]));
+              (@report,['SCALAR',undef,$current => $$current,$inc_weak_refs?isweak($$current):()]));
 }
 
 sub _find_cycle_ARRAY {




More information about the Pkg-perl-cvs-commits mailing list