diff -Nru libperl6-export-attrs-perl-0.000005/Changes libperl6-export-attrs-perl-0.000006/Changes --- libperl6-export-attrs-perl-0.000005/Changes 2015-11-23 22:16:01.000000000 +0000 +++ libperl6-export-attrs-perl-0.000006/Changes 2018-02-17 00:04:49.000000000 +0000 @@ -33,3 +33,9 @@ * Added dependency for PadWalker (thanks Dave!) + + +0.000006 Sat Feb 17 11:04:49 2018 + + * Fixed long-standing problem with named exports + (Thanks--and apologies--to Alex, Slaven, Karen, and especially Niko) diff -Nru libperl6-export-attrs-perl-0.000005/debian/changelog libperl6-export-attrs-perl-0.000006/debian/changelog --- libperl6-export-attrs-perl-0.000005/debian/changelog 2015-12-27 19:26:30.000000000 +0000 +++ libperl6-export-attrs-perl-0.000006/debian/changelog 2019-02-20 19:57:40.000000000 +0000 @@ -1,3 +1,34 @@ +libperl6-export-attrs-perl (0.000006-1) unstable; urgency=medium + + [ upstream ] + * New release. + + [ Salvatore Bonaccorso ] + * Update Vcs-* headers for switch to salsa.debian.org. + + [ gregor herrmann ] + * Update URLs from {search,www}.cpan.org to MetaCPAN. + + [ Jonas Smedegaard ] + * Simplify rules. + Stop build-depend on devscripts cdbs. + * Update git-buildpackage config: Filter any .git* file. + * Stop build-depend on dh-buildinfo. + * Mark build-dependencies needed only for testsuite as such. + * Declare compliance with Debian Policy 4.3.0. + * Set Rules-Requires-Root: no. + * Wrap and sort control file. + * Drop obsolete lintian override regarding debhelper 9. + * Tighten lintian overrides regarding License-Reference. + * Update copyright info: Extend coverage of packaging. + * Update watch file: + + Bump to file format 4. + + Rewrite usage comment. + + Use substitution strings. + * Drop patch 1001 applied upstream. + + -- Jonas Smedegaard Wed, 20 Feb 2019 20:57:40 +0100 + libperl6-export-attrs-perl (0.000005-1) unstable; urgency=medium [ upstream ] diff -Nru libperl6-export-attrs-perl-0.000005/debian/control libperl6-export-attrs-perl-0.000006/debian/control --- libperl6-export-attrs-perl-0.000005/debian/control 2015-12-27 19:26:01.000000000 +0000 +++ libperl6-export-attrs-perl-0.000006/debian/control 2019-02-20 19:51:28.000000000 +0000 @@ -1,26 +1,27 @@ Source: libperl6-export-attrs-perl Maintainer: Debian Perl Group -Uploaders: Jonas Smedegaard +Uploaders: + Jonas Smedegaard , Section: perl Testsuite: autopkgtest-pkg-perl Priority: optional -Build-Depends: cdbs, - devscripts, - perl, - libmodule-build-perl, +Build-Depends: debhelper, - dh-buildinfo, - libpadwalker-perl -Standards-Version: 3.9.6 -Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libperl6-export-attrs-perl.git -Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libperl6-export-attrs-perl -Homepage: http://search.cpan.org/dist/Perl6-Export-Attrs/ + libmodule-build-perl, + libpadwalker-perl , + perl, +Standards-Version: 4.3.0 +Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libperl6-export-attrs-perl +Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libperl6-export-attrs-perl.git +Homepage: https://metacpan.org/release/Perl6-Export-Attrs +Rules-Requires-Root: no Package: libperl6-export-attrs-perl Architecture: all -Depends: ${cdbs:Depends}, +Depends: + libpadwalker-perl, + ${misc:Depends}, ${perl:Depends}, - ${misc:Depends} Description: Perl 6 'is export(...)' trait as a Perl 5 attribute - Perl6::Export::Attrs implements a Perl 5 native version of what the - Perl 6 symbol export mechanism will look like. + Perl6::Export::Attrs implements a Perl 5 native version + of what the Perl 6 symbol export mechanism will look like. diff -Nru libperl6-export-attrs-perl-0.000005/debian/control.in libperl6-export-attrs-perl-0.000006/debian/control.in --- libperl6-export-attrs-perl-0.000005/debian/control.in 2015-10-28 21:10:25.000000000 +0000 +++ libperl6-export-attrs-perl-0.000006/debian/control.in 1970-01-01 00:00:00.000000000 +0000 @@ -1,20 +0,0 @@ -Source: libperl6-export-attrs-perl -Maintainer: Debian Perl Group -Uploaders: Jonas Smedegaard -Section: perl -Testsuite: autopkgtest-pkg-perl -Priority: optional -Build-Depends: @cdbs@ -Standards-Version: 3.9.6 -Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libperl6-export-attrs-perl.git -Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libperl6-export-attrs-perl -Homepage: http://search.cpan.org/dist/Perl6-Export-Attrs/ - -Package: libperl6-export-attrs-perl -Architecture: all -Depends: ${cdbs:Depends}, - ${perl:Depends}, - ${misc:Depends} -Description: Perl 6 'is export(...)' trait as a Perl 5 attribute - Perl6::Export::Attrs implements a Perl 5 native version of what the - Perl 6 symbol export mechanism will look like. diff -Nru libperl6-export-attrs-perl-0.000005/debian/copyright libperl6-export-attrs-perl-0.000006/debian/copyright --- libperl6-export-attrs-perl-0.000005/debian/copyright 2015-10-26 22:48:06.000000000 +0000 +++ libperl6-export-attrs-perl-0.000006/debian/copyright 2019-02-20 19:53:02.000000000 +0000 @@ -1,25 +1,27 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Perl6::Export::Attrs Upstream-Contact: Damian Conway -Source: http://search.cpan.org/dist/Perl6-Export-Attrs/ +Source: https://metacpan.org/release/Perl6-Export-Attrs Files: * Copyright: 2005, Damian Conway License-Grant: - This module is free software; you can redistribute it and/or modify it + This module is free software; + you can redistribute it and/or modify it under the same terms as Perl itself. License: Artistic or GPL-1+ Comment: - Perl is licensed under either the Artistic license or the GNU General - Public License, version 1 or later. + Perl is licensed under either the Artistic license + or the GNU General Public License, version 1 or later. Files: debian/* -Copyright: 2011,2013,2015, Jonas Smedegaard +Copyright: 2011,2013,2015-2019, Jonas Smedegaard License-Grant: - 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 3, or (at your option) any - later version. + 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 3, or (at your option) any later version. License: GPL-3+ License: Artistic diff -Nru libperl6-export-attrs-perl-0.000005/debian/copyright-check libperl6-export-attrs-perl-0.000006/debian/copyright-check --- libperl6-export-attrs-perl-0.000005/debian/copyright-check 1970-01-01 00:00:00.000000000 +0000 +++ libperl6-export-attrs-perl-0.000006/debian/copyright-check 2019-02-04 01:46:59.000000000 +0000 @@ -0,0 +1,29 @@ +#!/bin/sh +# Copyright 2016-2019, Jonas Smedegaard +# Description: helper script to update copyright_hints +# +# 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 3, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +set -eu + +# extract metadata from graphics files before copyright check +# - and skip data files unlikely to contain copyright/licensing info. +export DEB_COPYRIGHT_EXTRACT_EXTS="gif jpg png" +export DEB_COPYRIGHT_CHECK_IGNORE_EXTS="epgz ico" + +make -f /usr/share/cdbs/1/rules/utils.mk pre-build || true +make -f /usr/share/cdbs/1/rules/utils.mk clean DEB_COPYRIGHT_CHECK_STRICT=1 + +# unconditionally merge changes - safe to do with git-tracked package +[ ! -f debian/copyright_newhints ] || mv -f debian/copyright_newhints debian/copyright_hints diff -Nru libperl6-export-attrs-perl-0.000005/debian/copyright_hints libperl6-export-attrs-perl-0.000006/debian/copyright_hints --- libperl6-export-attrs-perl-0.000005/debian/copyright_hints 2015-11-22 12:52:21.000000000 +0000 +++ libperl6-export-attrs-perl-0.000006/debian/copyright_hints 2019-02-20 19:57:12.000000000 +0000 @@ -1,4 +1,4 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: FIXME Upstream-Contact: FIXME Source: FIXME @@ -10,37 +10,43 @@ META.json META.yml Makefile.PL - debian/README.source debian/compat debian/control - debian/control.in debian/gbp.conf - debian/patches/1001_Fix_subroutine_export_regression.patch - debian/patches/README - debian/patches/series + debian/rules debian/source/format - debian/source/lintian-overrides debian/watch t/00.load.t + t/by_name.t t/pod-coverage.t t/pod.t -Copyright: *No copyright* +Copyright: NONE License: UNKNOWN FIXME -Files: debian/rules -Copyright: 2011, 2013, 2015, Jonas Smedegaard -License: GPL-3+ - FIXME - Files: README Copyright: 2005, Damian Conway - AND LICENCE -License: UNKNOWN +License: Artistic or GPL-1+ FIXME Files: lib/Perl6/Export/Attrs.pm -Copyright: 2005, Damian Conway C<< >>. +Copyright: Copyright (c) 2005, Damian Conway C<< >>. / +License: Artistic or GPL-1+ + FIXME + +Files: debian/copyright-check +Copyright: 2016-2019, Jonas Smedegaard + check +License: GPL-3+ + FIXME + +Files: debian/source/lintian-overrides +Copyright: Artistic + GPL-1+ + GPL-3+ + artistic + gpl-1+ + gpl-3+ License: UNKNOWN FIXME diff -Nru libperl6-export-attrs-perl-0.000005/debian/gbp.conf libperl6-export-attrs-perl-0.000006/debian/gbp.conf --- libperl6-export-attrs-perl-0.000005/debian/gbp.conf 2015-10-26 22:48:06.000000000 +0000 +++ libperl6-export-attrs-perl-0.000006/debian/gbp.conf 2019-02-18 22:13:40.000000000 +0000 @@ -3,3 +3,4 @@ [DEFAULT] pristine-tar = True sign-tags = True +filter = */.git* diff -Nru libperl6-export-attrs-perl-0.000005/debian/patches/1001_Fix_subroutine_export_regression.patch libperl6-export-attrs-perl-0.000006/debian/patches/1001_Fix_subroutine_export_regression.patch --- libperl6-export-attrs-perl-0.000005/debian/patches/1001_Fix_subroutine_export_regression.patch 2015-11-22 12:50:44.000000000 +0000 +++ libperl6-export-attrs-perl-0.000006/debian/patches/1001_Fix_subroutine_export_regression.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,34 +0,0 @@ -Description: Fix a 0.000004 regression in exporting subroutines - While at it, add a test case catching the regression. -Origin: vendor, https://rt.cpan.org/Ticket/Attachment/1562228/833791/0001-Fix-a-0.000004-regression-in-exporting-subroutines.patch -Bug: https://rt.cpan.org/Public/Bug/Display.html?id=107627 -Bug-Debian: http://bugs.debian.org/805105 -Author: Niko Tyni -Last-Update: 2015-11-22 - ---- a/lib/Perl6/Export/Attrs.pm -+++ b/lib/Perl6/Export/Attrs.pm -@@ -141,7 +141,7 @@ - REQUEST: - while ($argno < @_) { - my $request = $_[$argno]; -- if (my ($sub_name) = $request =~ m/\A & ($IDENT) (?:\(\))? \z/xms) { -+ if (my ($sub_name) = $request =~ m/\A &? ($IDENT) (?:\(\))? \z/xms) { - if (exists $request{$sub_name}) { - splice @_, $argno, 1; - next REQUEST; ---- /dev/null -+++ b/t/01export.t -@@ -0,0 +1,12 @@ -+use Test::More tests => 1; -+ -+package Lib; -+use Perl6::Export::Attrs; -+sub doit :Export { "Do it!"; } -+1; -+ -+package main; -+import Lib qw(doit); -+ -+is(doit(), "Do it!", "function exported as expected"); -+ diff -Nru libperl6-export-attrs-perl-0.000005/debian/patches/README libperl6-export-attrs-perl-0.000006/debian/patches/README --- libperl6-export-attrs-perl-0.000005/debian/patches/README 2015-11-21 20:20:51.000000000 +0000 +++ libperl6-export-attrs-perl-0.000006/debian/patches/README 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ -0xxx: Grabbed from upstream development. -1xxx: Possibly relevant for upstream adoption. -2xxx: Only relevant for official Debian release. diff -Nru libperl6-export-attrs-perl-0.000005/debian/patches/series libperl6-export-attrs-perl-0.000006/debian/patches/series --- libperl6-export-attrs-perl-0.000005/debian/patches/series 2015-11-22 12:48:21.000000000 +0000 +++ libperl6-export-attrs-perl-0.000006/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -1001_Fix_subroutine_export_regression.patch diff -Nru libperl6-export-attrs-perl-0.000005/debian/README.source libperl6-export-attrs-perl-0.000006/debian/README.source --- libperl6-export-attrs-perl-0.000005/debian/README.source 2015-10-26 22:48:06.000000000 +0000 +++ libperl6-export-attrs-perl-0.000006/debian/README.source 1970-01-01 00:00:00.000000000 +0000 @@ -1,11 +0,0 @@ -CDBS+git-buildpackage ---------------------- - -This source package uses CDBS and git-buildpackage. NMUs need not (but -are encouraged to) make special use of these tools. In particular, the -debian/control.in file can be completely ignored. - -More info here: http://wiki.debian.org/CDBS+git-buildpackage - - - -- Jonas Smedegaard Mon, 18 Feb 2013 12:55:37 +0100 diff -Nru libperl6-export-attrs-perl-0.000005/debian/rules libperl6-export-attrs-perl-0.000006/debian/rules --- libperl6-export-attrs-perl-0.000005/debian/rules 2015-12-27 19:22:47.000000000 +0000 +++ libperl6-export-attrs-perl-0.000006/debian/rules 2019-02-07 01:17:13.000000000 +0000 @@ -1,39 +1,4 @@ #!/usr/bin/make -f -# -*- mode: makefile; coding: utf-8 -*- -# Copyright © 2011, 2013, 2015 Jonas Smedegaard -# Description: Main Debian packaging script for Perl6::Export::Attrs -# -# 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 3, or (at your option) -# any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . -include /usr/share/cdbs/1/rules/upstream-tarball.mk -include /usr/share/cdbs/1/rules/utils.mk -include /usr/share/cdbs/1/class/perl-build.mk -include /usr/share/cdbs/1/rules/debhelper.mk - -pkg = $(DEB_SOURCE_PACKAGE) - -DEB_UPSTREAM_PACKAGE = Perl6-Export-Attrs -#DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/Perl6-Export-Attrs -DEB_UPSTREAM_URL = http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY -DEB_UPSTREAM_TARBALL_MD5 = aeb0ca750ae349937fff127aacdfb89d - -# Build-depend unversioned on debhelper -# TODO: Drop when adopted in cdbs -CDBS_BUILD_DEPENDS_rules_debhelper_v9 = debhelper - -# Needed by upstream build and (always/often) at runtime -deps = libpadwalker-perl - -CDBS_BUILD_DEPENDS +=, $(deps) -CDBS_DEPENDS_$(pkg) = $(deps) +%: + dh $@ diff -Nru libperl6-export-attrs-perl-0.000005/debian/source/lintian-overrides libperl6-export-attrs-perl-0.000006/debian/source/lintian-overrides --- libperl6-export-attrs-perl-0.000005/debian/source/lintian-overrides 2015-10-26 22:48:06.000000000 +0000 +++ libperl6-export-attrs-perl-0.000006/debian/source/lintian-overrides 2019-02-07 01:17:13.000000000 +0000 @@ -1,8 +1,7 @@ # License is in License-Reference field (see bug#786450) -missing-license-text-in-dep5-copyright - -# License is in License-Reference field (see bug#786450) -missing-license-paragraph-in-dep5-copyright - -# Debhelper 9 is satisfied even in oldstable -package-needs-versioned-debhelper-build-depends 9 +missing-license-paragraph-in-dep5-copyright artistic * +missing-license-paragraph-in-dep5-copyright gpl-1\+ * +missing-license-paragraph-in-dep5-copyright gpl-3\+ * +missing-license-text-in-dep5-copyright Artistic * +missing-license-text-in-dep5-copyright GPL-1\+ * +missing-license-text-in-dep5-copyright GPL-3\+ * diff -Nru libperl6-export-attrs-perl-0.000005/debian/watch libperl6-export-attrs-perl-0.000006/debian/watch --- libperl6-export-attrs-perl-0.000005/debian/watch 2015-10-26 22:48:06.000000000 +0000 +++ libperl6-export-attrs-perl-0.000006/debian/watch 2019-02-20 19:54:17.000000000 +0000 @@ -1,3 +1,6 @@ -# Run the "uscan" command to check for upstream updates and more. -version=3 -http://search.cpan.org/dist/Perl6-Export-Attrs/ .*/Perl6-Export-Attrs-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ +version=4 +# check: uscan --report +# update: gbp import-orig --uscan + +https://metacpan.org/release/Perl6-Export-Attrs \ +.*/Perl6-Export-Attrs@ANY_VERSION@@ARCHIVE_EXT@ diff -Nru libperl6-export-attrs-perl-0.000005/lib/Perl6/Export/Attrs.pm libperl6-export-attrs-perl-0.000006/lib/Perl6/Export/Attrs.pm --- libperl6-export-attrs-perl-0.000005/lib/Perl6/Export/Attrs.pm 2015-11-23 22:16:01.000000000 +0000 +++ libperl6-export-attrs-perl-0.000006/lib/Perl6/Export/Attrs.pm 2018-02-17 00:04:49.000000000 +0000 @@ -1,6 +1,6 @@ package Perl6::Export::Attrs; -our $VERSION = '0.000005'; +our $VERSION = '0.000006'; use warnings; use strict; @@ -141,7 +141,7 @@ REQUEST: while ($argno < @_) { my $request = $_[$argno]; - if (my ($sub_name) = $request =~ m/\A & ($IDENT) (?:\(\))? \z/xms) { + if (my ($sub_name) = $request =~ m/\A &? ($IDENT) (?:\(\))? \z/xms) { if (exists $request{$sub_name}) { splice @_, $argno, 1; next REQUEST; @@ -220,7 +220,7 @@ =head1 VERSION -This document describes Perl6::Export::Attrs version 0.000005 +This document describes Perl6::Export::Attrs version 0.000006 =head1 SYNOPSIS diff -Nru libperl6-export-attrs-perl-0.000005/MANIFEST libperl6-export-attrs-perl-0.000006/MANIFEST --- libperl6-export-attrs-perl-0.000005/MANIFEST 2015-11-23 22:16:02.000000000 +0000 +++ libperl6-export-attrs-perl-0.000006/MANIFEST 2018-02-17 00:04:53.000000000 +0000 @@ -8,4 +8,5 @@ t/00.load.t t/pod-coverage.t t/pod.t +t/by_name.t META.json Module JSON meta-data (added by MakeMaker) diff -Nru libperl6-export-attrs-perl-0.000005/META.json libperl6-export-attrs-perl-0.000006/META.json --- libperl6-export-attrs-perl-0.000005/META.json 2015-11-23 22:16:02.000000000 +0000 +++ libperl6-export-attrs-perl-0.000006/META.json 2018-02-17 00:04:53.000000000 +0000 @@ -10,7 +10,7 @@ ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", - "version" : "2" + "version" : 2 }, "name" : "Perl6-Export-Attrs", "no_index" : { @@ -40,5 +40,5 @@ } }, "release_status" : "stable", - "version" : "0.000005" + "version" : "0.000006" } diff -Nru libperl6-export-attrs-perl-0.000005/META.yml libperl6-export-attrs-perl-0.000006/META.yml --- libperl6-export-attrs-perl-0.000005/META.yml 2015-11-23 22:16:02.000000000 +0000 +++ libperl6-export-attrs-perl-0.000006/META.yml 2018-02-17 00:04:53.000000000 +0000 @@ -22,4 +22,4 @@ PadWalker: '0' Test::More: '0' version: '0' -version: '0.000005' +version: '0.000006' diff -Nru libperl6-export-attrs-perl-0.000005/README libperl6-export-attrs-perl-0.000006/README --- libperl6-export-attrs-perl-0.000005/README 2015-11-23 22:16:01.000000000 +0000 +++ libperl6-export-attrs-perl-0.000006/README 2018-02-17 00:04:49.000000000 +0000 @@ -1,4 +1,4 @@ -Perl6::Export::Attrs version 0.000005 +Perl6::Export::Attrs version 0.000006 Implements a Perl 5 native version of what the Perl 6 symbol export mechanism will look like. diff -Nru libperl6-export-attrs-perl-0.000005/t/by_name.t libperl6-export-attrs-perl-0.000006/t/by_name.t --- libperl6-export-attrs-perl-0.000005/t/by_name.t 1970-01-01 00:00:00.000000000 +0000 +++ libperl6-export-attrs-perl-0.000006/t/by_name.t 2018-02-16 23:59:22.000000000 +0000 @@ -0,0 +1,12 @@ +use Test::More tests => 1; + +package Lib; +use Perl6::Export::Attrs; +sub doit :Export { "Do it!"; } +1; + +package main; +import Lib qw(doit); + +is(doit(), "Do it!", "function exported as expected"); +