8
0
Juergen Weigert
2010-06-02 23:35:37 +00:00
committed by Git OBS Bridge
parent 51c28d0721
commit c51b3374c9
5 changed files with 51 additions and 17 deletions

View File

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

View File

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

View File

@@ -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 Python.xs | 2 +-
@@ -5,7 +5,7 @@ extern "C" { 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 "perl.h"
#include "XSUB.h" #include "XSUB.h"
@@ -9,8 +19,10 @@
#include "perlmodule.h" #include "perlmodule.h"
#include "py2pl.h" #include "py2pl.h"
#include "util.h" #include "util.h"
--- Inline-Python-0.30/util.c.orig 2009-06-30 13:43:21.000000000 +0200 Index: Inline-Python-0.35/util.c
+++ Inline-Python-0.30/util.c 2009-12-04 01:01:42.000000000 +0100 ===================================================================
--- Inline-Python-0.35.orig/util.c
+++ Inline-Python-0.35/util.c
@@ -5,7 +5,7 @@ extern "C" { @@ -5,7 +5,7 @@ extern "C" {
#include "perl.h" #include "perl.h"
#include "XSUB.h" #include "XSUB.h"
@@ -28,8 +40,10 @@
} }
PyObject * get_perl_pkg_subs(PyObject *package) { PyObject * get_perl_pkg_subs(PyObject *package) {
--- Inline-Python-0.30/myPython.h.orig 2009-12-04 01:00:07.000000000 +0100 Index: Inline-Python-0.35/myPython.h
+++ Inline-Python-0.30/myPython.h 2009-12-04 01:12:42.000000000 +0100 ===================================================================
--- /dev/null
+++ Inline-Python-0.35/myPython.h
@@ -0,0 +1,23 @@ @@ -0,0 +1,23 @@
+// avoid redefined warnings. +// avoid redefined warnings.
+#ifdef _XOPEN_SOURCE +#ifdef _XOPEN_SOURCE
@@ -54,9 +68,11 @@
+ +
+#undef __MY__XOPEN_SOURCE +#undef __MY__XOPEN_SOURCE
+#undef __MY__POSIX_C_SOURCE +#undef __MY__POSIX_C_SOURCE
--- Inline-Python-0.30/Python.xs.orig 2009-07-20 14:26:48.000000000 +0200 Index: Inline-Python-0.35/Python.xs
+++ Inline-Python-0.30/Python.xs 2009-12-04 01:00:35.000000000 +0100 ===================================================================
@@ -3,7 +3,7 @@ --- Inline-Python-0.35.orig/Python.xs
+++ Inline-Python-0.35/Python.xs
@@ -4,7 +4,7 @@
#include "perl.h" #include "perl.h"
#include "XSUB.h" #include "XSUB.h"
@@ -65,8 +81,10 @@
#include "py2pl.h" #include "py2pl.h"
#include "util.h" #include "util.h"
--- Inline-Python-0.30/py2pl.c.orig 2009-07-08 12:45:47.000000000 +0200 Index: Inline-Python-0.35/py2pl.c
+++ Inline-Python-0.30/py2pl.c 2009-12-04 01:02:05.000000000 +0100 ===================================================================
--- Inline-Python-0.35.orig/py2pl.c
+++ Inline-Python-0.35/py2pl.c
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
#include "perl.h" #include "perl.h"
#include "XSUB.h" #include "XSUB.h"

View File

@@ -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 Thu Dec 3 23:33:12 UTC 2009 - jw@novell.com

View File

@@ -10,7 +10,7 @@
Summary: Write Perl subs and classes in Python Summary: Write Perl subs and classes in Python
Name: perl-Inline-Python Name: perl-Inline-Python
Version: 0.30 Version: 0.35
Release: 1.2 Release: 1.2
License: Artistic License: Artistic
Group: Applications/CPAN Group: Applications/CPAN
@@ -18,7 +18,7 @@ URL: http://search.cpan.org/dist/Inline-Python/
# Packager: Dries Verachtert <dries@ulyssis.org>; jw@suse.de for 0.30 # Packager: Dries Verachtert <dries@ulyssis.org>; jw@suse.de for 0.30
# Vendor: Dries RPM Repository http://dries.ulyssis.org/rpm/ # 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 Patch1: happy_gcc.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root