SHA256
8
0
forked from pool/perl-Want

Compare commits

...

11 Commits

Author SHA256 Message Date
410880c6e5 Accepting request 368859 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/368859
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Want?expand=0&rev=14
2016-03-16 09:33:56 +00:00
Stephan Kulow
e4b3a41275 Accepting request 368382 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/368382
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Want?expand=0&rev=18
2016-03-09 06:30:55 +00:00
54d01a9161 Accepting request 304747 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/304747
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Want?expand=0&rev=13
2015-05-02 15:44:18 +00:00
Stephan Kulow
6d02055c30 Accepting request 304680 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/304680
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Want?expand=0&rev=16
2015-04-29 18:08:43 +00:00
0a43cde092 Accepting request 296712 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/296712
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Want?expand=0&rev=12
2015-04-15 14:27:30 +00:00
Stephan Kulow
5a621932f0 Accepting request 296546 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/296546
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Want?expand=0&rev=14
2015-04-15 05:06:57 +00:00
Stephan Kulow
de05403111 Accepting request 241637 from devel:languages:perl
- updated to 0.23
   - Accommodate a bleadperl change to the optree, made in 7d3c8a6837b55fff0e6294ebf8c94a1601367c76.
     This is bug #94086 for Want, and bug #121342 for perl5.

OBS-URL: https://build.opensuse.org/request/show/241637
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Want?expand=0&rev=10
2014-07-21 08:35:42 +00:00
Stephan Kulow
86e46de0d1 update
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Want?expand=0&rev=12
2014-07-20 08:45:35 +00:00
Stephan Kulow
a062385826 Accepting request 223916 from devel:languages:perl
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/223916
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Want?expand=0&rev=9
2014-02-28 18:17:00 +00:00
Stephan Kulow
499c8944ae update
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Want?expand=0&rev=10
2014-02-24 06:34:38 +00:00
Stephan Kulow
d1f1ece96e Accepting request 122860 from devel:languages:perl
- updated to 0.21
    - Change tests to avoid the new warning 'Useless assignment to a temporary' added in 5.15.
    - Remove a test that was testing the behaviour of perl, rather than of this module,
      and was testing an aspect of perl’s behaviour that has changed (bf8fb5ebd) in
      in such a way that the test was failing with bleadperl.
    - Avoid leaking the RHS of an lnoreturn lvalue sub, thanks to Father Chrysostomos
      https://rt.cpan.org/Public/Bug/Display.html?id=72083

OBS-URL: https://build.opensuse.org/request/show/122860
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Want?expand=0&rev=5
2012-05-31 15:08:56 +00:00
5 changed files with 126 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cc8bed2d029a08b2f0c8188ade90bea1fd82cbd70b66867039a50ff385a5eba8
size 18607

3
Want-0.29.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b4e4740b8d4cb783591273c636bd68304892e28d89e88abf9273b1de17f552f7
size 20928

23
cpanspec.yml Normal file
View File

@@ -0,0 +1,23 @@
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@@ -1,3 +1,98 @@
-------------------------------------------------------------------
Tue Mar 8 11:18:53 UTC 2016 - coolo@suse.com
- updated to 0.29
see /usr/share/doc/packages/perl-Want/Changes
0.27 Thu 25 Feb 2016 21:26:04 GMT
- perl 5.23.8 breaks the hack we were using to implement double_return.
This patch from David Mitchell fixes it. See https://rt.cpan.org/Ticket/Display.html?id=112226
David wrote:
> Running with a debugging perl-5.23.8 will show assertion failures in the Want test suite. It's because PL_comppad/PL_curpad save/restore is now done by the context stack / cx_popsub() rather than as previously on the savestack / LEAVE.
> This stops the double_return() 'convert CXt_SUB to CXt_NULL' hack from working properly, as PL_comppad is no longer restored when transitioning from the inner to outer sub. The attached patch substitutes one evil hack for another: it keeps the CXt_SUB context stack entry, but sets its retop field to point to the return op again (rather than its caller) so that the return op gets called twice (with a bit of markstack hackery to ensure there are two marks for the two returns to pop).
> rreturn and lnoreturn are also a bit under-tested. In particular, there are no tests for rreturn in list context. I added such a test, but more need adding.
> I can see this hack breaking again in the future. Perhaps in the long term
> rreturn() and lnoreturn() should be implemented using custom ops???
> Dave M.
0.28 Thu 25 Feb 2016 22:02:42 GMT
- Fix test failure in 5.14
- Fix test failure in 5.23.9 (using a patch from Slaven Rezic)
http://cpan.cpantesters.org/authors/id/S/SR/SREZIC/patches/Want-0.26-RT112226.patch
0.29 Fri 26 Feb 2016 04:42:19 GMT
- Restore compatibility with certain older perl versions (5.10 and 5.12)
It seems that “ATTRS: lvalue” doesnt work with older perls, but that you can
forward-declare the method in Perl code with the :lvalue attribute with the same
effect.
This version of Want is still broken with perl 5.8, for reasons I havent investigated.
-------------------------------------------------------------------
Wed Apr 29 10:35:45 UTC 2015 - coolo@suse.com
- updated to 0.26
see /usr/share/doc/packages/perl-Want/Changes
0.26 Tue 28 Apr 2015 12:31:17 BST
- There is a new experimental option in bleadperl under which one ought not to use
the op_sibling field directly. Quoting from perlguts.pod:
“ Starting in version 5.21.2, perls built with the experimental
define C<-DPERL_OP_PARENT> add an extra boolean flag for each op,
C<op_moresib>. When not set, this indicates that this is the last op in an
C<OpSIBLING> chain. This frees up the C<op_sibling> field on the last
sibling to point back to the parent op. Under this build, that field is
also renamed C<op_sibparent> to reflect its joint role. The macro
C<OpSIBLING(o)> wraps this special behaviour, and always returns NULL on
the last sibling. With this build the C<op_parent(o)> function can be
used to find the parent of any op. Thus for forward compatibility, you
should always use the C<OpSIBLING(o)> macro rather than accessing
C<op_sibling> directly. ”
Thanks to Reini Urban for the patch.
-------------------------------------------------------------------
Tue Apr 14 21:14:41 UTC 2015 - coolo@suse.com
- updated to 0.25
see /usr/share/doc/packages/perl-Want/Changes
0.24 Tue 2 Dec 2014 10:22:39 GMT
- Accommodate another bleadperl change. Patch provided by Father Chrysostomos at
https://rt.cpan.org/Public/Bug/Display.html?id=100626
0.25 Wed 10 Dec 2014 19:31:03 GMT
- Add support for the new OP_MULTIDEREF
Perl has a new op, added as a performance optimisation in fedf30e1c349130b23648c022f5f3cb4ad7928f3,
to represent a sequence of array/hash dereferences. This patch adds support for the new op.
-------------------------------------------------------------------
Sun Jul 20 08:45:03 UTC 2014 - coolo@suse.com
- updated to 0.23
- Accommodate a bleadperl change to the optree, made in 7d3c8a6837b55fff0e6294ebf8c94a1601367c76.
This is bug #94086 for Want, and bug #121342 for perl5.
-------------------------------------------------------------------
Mon Feb 24 06:10:28 UTC 2014 - coolo@suse.com
- updated to 0.22
- Prevent return from being optimised away by newer (>= 5.19.7) Perls.
This is a patch supplied by @wolfsage: see
https://github.com/robinhouston/Want/pull/1
-------------------------------------------------------------------
Wed May 30 08:24:07 UTC 2012 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Want
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,18 +17,18 @@
Name: perl-Want
Version: 0.21
Version: 0.29
Release: 0
%define cpan_name Want
Summary: A generalisation of C<wantarray>
Summary: Generalisation of C<Wantarray>
License: GPL-1.0+ or Artistic-1.0
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Want/
Source: http://www.cpan.org/authors/id/R/RO/ROBIN/%{cpan_name}-%{version}.tar.gz
Source0: http://www.cpan.org/authors/id/R/RO/ROBIN/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
#BuildRequires: perl(Want)
%{perl_requires}
%description