diff --git a/Inline-Python-0.30.tar.bz2 b/Inline-Python-0.30.tar.bz2 deleted file mode 100644 index 0316aa8..0000000 --- a/Inline-Python-0.30.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5ff601f42798c4815195951627226de70d1682167b68204de99311affc056dba -size 36163 diff --git a/Inline-Python-0.35.tar.bz2 b/Inline-Python-0.35.tar.bz2 new file mode 100644 index 0000000..b1ce588 --- /dev/null +++ b/Inline-Python-0.35.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6460bb65bbd0019b3defbdd4332b9e243009ac145c784c95e851c854a4566cd4 +size 38237 diff --git a/happy_gcc.patch b/happy_gcc.patch index 4e2adf9..49cd63c 100644 --- a/happy_gcc.patch +++ b/happy_gcc.patch @@ -1,6 +1,16 @@ ---- Inline-Python-0.30/perlmodule.c.orig 2009-07-21 16:38:37.000000000 +0200 -+++ Inline-Python-0.30/perlmodule.c 2009-12-04 01:04:53.000000000 +0100 -@@ -5,7 +5,7 @@ extern "C" { +--- + Python.xs | 2 +- + myPython.h | 23 +++++++++++++++++++++++ + perlmodule.c | 2 +- + py2pl.c | 2 +- + util.c | 3 ++- + 5 files changed, 28 insertions(+), 4 deletions(-) + +Index: Inline-Python-0.35/perlmodule.c +=================================================================== +--- Inline-Python-0.35.orig/perlmodule.c ++++ Inline-Python-0.35/perlmodule.c +@@ -6,7 +6,7 @@ extern "C" { #include "perl.h" #include "XSUB.h" @@ -9,8 +19,10 @@ #include "perlmodule.h" #include "py2pl.h" #include "util.h" ---- Inline-Python-0.30/util.c.orig 2009-06-30 13:43:21.000000000 +0200 -+++ Inline-Python-0.30/util.c 2009-12-04 01:01:42.000000000 +0100 +Index: Inline-Python-0.35/util.c +=================================================================== +--- Inline-Python-0.35.orig/util.c ++++ Inline-Python-0.35/util.c @@ -5,7 +5,7 @@ extern "C" { #include "perl.h" #include "XSUB.h" @@ -28,8 +40,10 @@ } PyObject * get_perl_pkg_subs(PyObject *package) { ---- Inline-Python-0.30/myPython.h.orig 2009-12-04 01:00:07.000000000 +0100 -+++ Inline-Python-0.30/myPython.h 2009-12-04 01:12:42.000000000 +0100 +Index: Inline-Python-0.35/myPython.h +=================================================================== +--- /dev/null ++++ Inline-Python-0.35/myPython.h @@ -0,0 +1,23 @@ +// avoid redefined warnings. +#ifdef _XOPEN_SOURCE @@ -54,9 +68,11 @@ + +#undef __MY__XOPEN_SOURCE +#undef __MY__POSIX_C_SOURCE ---- Inline-Python-0.30/Python.xs.orig 2009-07-20 14:26:48.000000000 +0200 -+++ Inline-Python-0.30/Python.xs 2009-12-04 01:00:35.000000000 +0100 -@@ -3,7 +3,7 @@ +Index: Inline-Python-0.35/Python.xs +=================================================================== +--- Inline-Python-0.35.orig/Python.xs ++++ Inline-Python-0.35/Python.xs +@@ -4,7 +4,7 @@ #include "perl.h" #include "XSUB.h" @@ -65,8 +81,10 @@ #include "py2pl.h" #include "util.h" ---- Inline-Python-0.30/py2pl.c.orig 2009-07-08 12:45:47.000000000 +0200 -+++ Inline-Python-0.30/py2pl.c 2009-12-04 01:02:05.000000000 +0100 +Index: Inline-Python-0.35/py2pl.c +=================================================================== +--- Inline-Python-0.35.orig/py2pl.c ++++ Inline-Python-0.35/py2pl.c @@ -2,7 +2,7 @@ #include "perl.h" #include "XSUB.h" diff --git a/perl-Inline-Python.changes b/perl-Inline-Python.changes index 8adef1f..d6107b1 100644 --- a/perl-Inline-Python.changes +++ b/perl-Inline-Python.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Jun 2 23:33:09 UTC 2010 - jw@novell.com + +- update to 0.35. Changelog since 0.3.0: + - Fixed floats sometimes getting converted to int when transfered from + Perl to Python. Thanks to John McCullough for a great bug report. + - Fixed refcounting of positional arguments in named argument calls to + Perl subs. + - Added support for named arguments for Perl subs + - Perl UTF-8 strings now get converted to Python Unicode strings and + vice versa. This could potentially lead to incompatibilities with + existing code. + - Return lists of Perl subs no longer get reversed before passing to + Python. + - Implement access to Inline::Python::Object data + ------------------------------------------------------------------- Thu Dec 3 23:33:12 UTC 2009 - jw@novell.com diff --git a/perl-Inline-Python.spec b/perl-Inline-Python.spec index eb18335..143a330 100644 --- a/perl-Inline-Python.spec +++ b/perl-Inline-Python.spec @@ -10,7 +10,7 @@ Summary: Write Perl subs and classes in Python Name: perl-Inline-Python -Version: 0.30 +Version: 0.35 Release: 1.2 License: Artistic Group: Applications/CPAN @@ -18,7 +18,7 @@ URL: http://search.cpan.org/dist/Inline-Python/ # Packager: Dries Verachtert ; jw@suse.de for 0.30 # Vendor: Dries RPM Repository http://dries.ulyssis.org/rpm/ -Source: http://www.cpan.org/modules/by-module/Inline/Inline-Python-%{version}.tar.bz2 +Source: http://search.cpan.org/CPAN/authors/id/N/NI/NINE/Inline-Python-%{version}.tar.bz2 Patch1: happy_gcc.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root