Bug#670066: Bug #670066 python-openturns is unusable

2012-05-21 Thread Christophe Prud'homme
Hi Denis

thanks for your work !

I uploaded a new feel++ version which works fine with openturns
(openturns-wrapper is no more and was causing ftbs)
it is all good on the feel++ front.

Best regards
C.
On Sat, May 19, 2012 at 9:28 AM, D. Barbier bou...@gmail.com wrote:

 On 2012/5/17 D. Barbier wrote:
  On 2012/5/17 Christophe Prud'homme wrote:
  I think It should go in unstable. I don't think there are that many
 users
  and OT1.0 fixes a few things as well as provide many new features
 
  Hello Christophe,
 
  Too late, it has been uploaded into experimental ;-)
  I followed the procedure about library transitions and filed a bug
  against release.d.o to ask whether I can upload into unstable.

 I uploaded 1.0-2 into unstable with their approval.

 Denis



 --
 debian-science-maintainers mailing list
 debian-science-maintain...@lists.alioth.debian.org

 http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers



Bug#670066: Bug #670066 python-openturns is unusable

2012-05-19 Thread D. Barbier
On 2012/5/17 D. Barbier wrote:
 On 2012/5/17 Christophe Prud'homme wrote:
 I think It should go in unstable. I don't think there are that many users
 and OT1.0 fixes a few things as well as provide many new features

 Hello Christophe,

 Too late, it has been uploaded into experimental ;-)
 I followed the procedure about library transitions and filed a bug
 against release.d.o to ask whether I can upload into unstable.

I uploaded 1.0-2 into unstable with their approval.

Denis



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#670066: Bug #670066 python-openturns is unusable

2012-05-17 Thread Christophe Prud'homme
I think It should go in unstable. I don't think there are that many users
and
OT1.0 fixes a few things as well as provide many new features


On Tue, May 15, 2012 at 10:50 PM, D. Barbier bou...@gmail.com wrote:

 When testing upgrades from current openturns packages, I realized that
 libopenturns0 and libopenturnss0.1 are not coinstallable because of
 several file conflicts, and added the following changes:
  * rotRPackage is moved into its own binary package r-openturns-utils
  * install openturns.conf into /etc/openturns-1.0/openturns/
  * install wrappers into /usr/lib/openturns-1.0/

 All changes have now been pushed into OT svn repository.  IMHO it can
 be uploaded after editing debian/changelog.
 The remaining questions are: should it be uploaded into unstable or
 experimental?  What else is needed?




-- 
Christophe Prud'homme
Feel++ Project Manager
Professor in Applied Mathematics
@ Université Joseph Fourier (Grenoble, France)
@ Université de Strasbourg (France)


Bug#670066: Bug #670066 python-openturns is unusable

2012-05-17 Thread D. Barbier
On 2012/5/17 Christophe Prud'homme wrote:
 I think It should go in unstable. I don't think there are that many users
 and OT1.0 fixes a few things as well as provide many new features

Hello Christophe,

Too late, it has been uploaded into experimental ;-)
I followed the procedure about library transitions and filed a bug
against release.d.o to ask whether I can upload into unstable.

Denis



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#670066: Bug #670066 python-openturns is unusable

2012-05-15 Thread trophime
On Tue, 2012-05-15 at 01:43 +0200, D. Barbier wrote:
 On 2012/5/14 Aron Xu wrote:
  The test build failed on amd64 and i386, at the same place. Attached
  is my change to your git tree and the build log produced on amd64.
 
 Hello,
 
 Here is an updated status; I did not encounter your problems because
 my upstream tarball was buggy, we should now be in sync:
   * a patch is needed to build with g++ 4.7
   * few runtime tests fail with g++ 4.7, this is why it now
 Build-Depends: g++-4.6
   * add Build-Depends: bc, it is needed by a single test
   * fix handling of the rotRPackage R package during tests
 
 It builds fine in pbuilder, but I did not yet check upgrade path from
 openturns 0.15.  I believe that it could be uploaded in experimental
 or unstable when this is done.
 
 Denis

Hi,
I had to explicitly specify python version in debian/rules to avoid an
FTBS when python 3.2 is installed. Please find attached the patch.

Best
C.

 
 
 

From b7aded72dc6e5fe29ee0200c01e07f70a079ef95 Mon Sep 17 00:00:00 2001
From: Christophe Trophime christophe.troph...@grenoble.cnrs.fr
Date: Tue, 15 May 2012 11:32:55 +0200
Subject: [PATCH] Specify python version in debian/rules Fix lintian warnings


Signed-off-by: Christophe Trophime christophe.troph...@grenoble.cnrs.fr
---
 debian/changelog |   12 +++-
 debian/control   |1 +
 debian/copyright |2 +-
 debian/rules |5 -
 4 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 110e3a8..9c81ecc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,14 @@
-openturns (1.0-1) experimental-UNRELEASED; urgency=low
+openturns (1.0-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/rules:
+  explicit python version in override_dh_auto_configure target
+  * debian/copyright:
+  fix lintian warning 
+
+ -- Christophe Trophime christophe.troph...@lncmi.cnrs.fr  Tue, 15 May 2012 11:16:00 +0200
+
+openturns (1.0-1) unstable; urgency=low
 
   [ Denis Barbier ]
   * New upstream release (Closes: #669425).
diff --git a/debian/control b/debian/control
index 8154be9..57c7a66 100644
--- a/debian/control
+++ b/debian/control
@@ -8,6 +8,7 @@ Standards-Version: 3.9.3
 Homepage: http://trac.openturns.org/
 Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/openturns/trunk
 Vcs-Browser: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk
+X-Python-Version: current
 
 Package: libopenturns0.1
 Section: libs
diff --git a/debian/copyright b/debian/copyright
index 1768772..e7e990b 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -53,7 +53,7 @@ License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'.
 
 The Debian packaging is (C) 2008, Christophe Prud'homme
 prudh...@debian.org and is licensed under the GPL, see
-`/usr/share/common-licenses/GPL'.
+`/usr/share/common-licenses/GPL-2'.
 
 =
 lib/COPYING.MuParser
diff --git a/debian/rules b/debian/rules
index 6b8d49a..26d07a8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -64,7 +64,10 @@ override_dh_auto_configure: debian/tmp/usr/lib/R/site-library/rotRPackage
 -DOPENTURNS_LIBRARY_PATH:PATH=lib \
 -DOPENTURNS_SYSCONFIG_PATH:PATH=/etc \
 -DOPENTURNS_SYSTEM_INSTALL:BOOL=ON \
--DINSTALL_DESTDIR:PATH=$(CURDIR)/debian/tmp
+-DINSTALL_DESTDIR:PATH=$(CURDIR)/debian/tmp \
+	-DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python \
+	-DPYTHON_INCLUDE_DIR:PATH=/usr/include/python$(PYVER) \
+	-DPYTHON_LIBRARY:PATH=/usr/lib/python$(PYVERS)/config/libpython$(PYVER).so
 
 override_dh_auto_install: debian/tmp/usr/lib/R/site-library/rotRPackage
 	dh_auto_install
-- 
1.7.10



Bug#670066: Bug #670066 python-openturns is unusable

2012-05-15 Thread D. Barbier
On 2012/5/15 trophime wrote:
 On Tue, 2012-05-15 at 01:43 +0200, D. Barbier wrote:
 On 2012/5/14 Aron Xu wrote:
  The test build failed on amd64 and i386, at the same place. Attached
  is my change to your git tree and the build log produced on amd64.

 Hello,

 Here is an updated status; I did not encounter your problems because
 my upstream tarball was buggy, we should now be in sync:
   * a patch is needed to build with g++ 4.7
   * few runtime tests fail with g++ 4.7, this is why it now
 Build-Depends: g++-4.6
   * add Build-Depends: bc, it is needed by a single test
   * fix handling of the rotRPackage R package during tests

 It builds fine in pbuilder, but I did not yet check upgrade path from
 openturns 0.15.  I believe that it could be uploaded in experimental
 or unstable when this is done.

 Denis

 Hi,
 I had to explicitly specify python version in debian/rules to avoid an
 FTBS when python 3.2 is installed. Please find attached the patch.

Thanks Christophe,

Patch applied.

Denis



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#670066: Bug #670066 python-openturns is unusable

2012-05-15 Thread D. Barbier
On 2012/5/15 D. Barbier wrote:
 On 2012/5/15 trophime wrote:
 On Tue, 2012-05-15 at 01:43 +0200, D. Barbier wrote:
 On 2012/5/14 Aron Xu wrote:
  The test build failed on amd64 and i386, at the same place. Attached
  is my change to your git tree and the build log produced on amd64.

 Hello,

 Here is an updated status; I did not encounter your problems because
 my upstream tarball was buggy, we should now be in sync:
   * a patch is needed to build with g++ 4.7
   * few runtime tests fail with g++ 4.7, this is why it now
 Build-Depends: g++-4.6
   * add Build-Depends: bc, it is needed by a single test
   * fix handling of the rotRPackage R package during tests

 It builds fine in pbuilder, but I did not yet check upgrade path from
 openturns 0.15.  I believe that it could be uploaded in experimental
 or unstable when this is done.

 Denis

 Hi,
 I had to explicitly specify python version in debian/rules to avoid an
 FTBS when python 3.2 is installed. Please find attached the patch.

 Thanks Christophe,

 Patch applied.

Hello,

When testing upgrades from current openturns packages, I realized that
libopenturns0 and libopenturnss0.1 are not coinstallable because of
several file conflicts, and added the following changes:
  * rotRPackage is moved into its own binary package r-openturns-utils
  * install openturns.conf into /etc/openturns-1.0/openturns/
  * install wrappers into /usr/lib/openturns-1.0/

All changes have now been pushed into OT svn repository.  IMHO it can
be uploaded after editing debian/changelog.
The remaining questions are: should it be uploaded into unstable or
experimental?  What else is needed?

Denis



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#670066: Bug #670066 python-openturns is unusable

2012-05-14 Thread D. Barbier
On 2012/5/14 Aron Xu wrote:
 The test build failed on amd64 and i386, at the same place. Attached
 is my change to your git tree and the build log produced on amd64.

Hello,

Here is an updated status; I did not encounter your problems because
my upstream tarball was buggy, we should now be in sync:
  * a patch is needed to build with g++ 4.7
  * few runtime tests fail with g++ 4.7, this is why it now
Build-Depends: g++-4.6
  * add Build-Depends: bc, it is needed by a single test
  * fix handling of the rotRPackage R package during tests

It builds fine in pbuilder, but I did not yet check upgrade path from
openturns 0.15.  I believe that it could be uploaded in experimental
or unstable when this is done.

Denis



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#670066: Bug #670066 python-openturns is unusable

2012-05-13 Thread D. Barbier
On 2012/5/10 Aron Xu wrote:
 Hi,

 Freeze is approaching, is there any news on version 1.0? Or do we need
 to fix open bugs and release with 0.15?

Hello,

IMO https://github.com/dbarbier/deb-ot is in a pretty good shape.
Some polishing may be needed, my laptop is not powerful and take hours
to build it.

Denis



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#670066: Bug #670066 python-openturns is unusable

2012-05-13 Thread Aron Xu
Hi,

On Mon, May 14, 2012 at 6:47 AM, D. Barbier bou...@gmail.com wrote:
 On 2012/5/10 Aron Xu wrote:
 Hi,

 Freeze is approaching, is there any news on version 1.0? Or do we need
 to fix open bugs and release with 0.15?

 Hello,

 IMO https://github.com/dbarbier/deb-ot is in a pretty good shape.
 Some polishing may be needed, my laptop is not powerful and take hours
 to build it.

 Denis

I had a very quick look at the packaging, the following things need to
be corrected at least:

1.Don't need to Build-Depends on g++, it's provided by build-essential already.
2.debian-soname.patch need to be updated. It cannot be successfully applied now.
3.In debian/changelog, use only one of experimental and UNRELEASED.

And I'm building the package, will reply about the result later. (I've
disabled debian-soname.patch before build.)

-- 
Regards,
Aron Xu



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#670066: Bug #670066 python-openturns is unusable

2012-05-13 Thread Aron Xu
The test build failed on amd64 and i386, at the same place. Attached
is my change to your git tree and the build log produced on amd64.


-- 
Regards,
Aron Xu


0001-fixes-for-build-test.patch
Description: Binary data


openturns_1.0-1_20120513_2352.log.xz
Description: Binary data


Bug#670066: Bug #670066 python-openturns is unusable

2012-05-10 Thread Aron Xu
Hi,

Freeze is approaching, is there any news on version 1.0? Or do we need
to fix open bugs and release with 0.15?

-- 
Regards,
Aron Xu



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#670066: python-openturns is unusable

2012-04-23 Thread D. Barbier
Le 23 avril 2012 07:14, Christophe Prud'homme prudh...@debian.org a écrit :
 Denis

 This work(debian packaging)  is also done by Phimeca who maintains
 openturns, or did you use their work ?

 I do not have preferences for the soname

I did not use their packaging, mostly because it was simpler for me to
work on 0.15-3 (dh vs. cdbs).  I will have a look tonight.

Denis



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#670066: python-openturns is unusable

2012-04-22 Thread Denis Barbier
Package: python-openturns
Version: 0.15-3
Severity: grave
Justification: renders package unusable

Hello,

It seems that python-openturns 0.15-3 is unusable:
  $ python
  Python 2.7.2+ (default, Jan 20 2012, 17:51:10) 
  [GCC 4.6.2] on linux2
  Type help, copyright, credits or license for more information.
   import openturns
  Traceback (most recent call last):
File stdin, line 1, in module
File /usr/lib/python2.7/dist-packages/openturns/__init__.py, line 87, in 
module
  import openturns_preload
  ImportError: No module named openturns_preload

0.15-2 worked fine, I guess that this is due to the move to dh_python2.

Denis

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-openturns depends on:
ii  ghostscript9.05~dfsg-2
ii  libc6  2.13-26
ii  libgcc11:4.7.0-1
ii  libopenturns0  0.15-3
ii  libstdc++6 4.7.0-1
ii  python 2.7.2-10
ii  python-qt4 4.9.1-1
ii  python-rpy22.2.5-1
ii  python2.6  2.6.7-4
ii  python2.7  2.7.2-13

python-openturns recommends no packages.

python-openturns suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#670066: python-openturns is unusable

2012-04-22 Thread Christophe Prud'homme
Denis

I received some patches for openturns from J. Schueller.

I will apply them and upload a new version for 0.15 then work on 1.0

On Sun, Apr 22, 2012 at 7:53 PM, Denis Barbier bou...@gmail.com wrote:

 Package: python-openturns
 Version: 0.15-3
 Severity: grave
 Justification: renders package unusable

 Hello,

 It seems that python-openturns 0.15-3 is unusable:
  $ python
  Python 2.7.2+ (default, Jan 20 2012, 17:51:10)
  [GCC 4.6.2] on linux2
  Type help, copyright, credits or license for more information.
   import openturns
  Traceback (most recent call last):
File stdin, line 1, in module
File /usr/lib/python2.7/dist-packages/openturns/__init__.py, line 87,
 in module
  import openturns_preload
  ImportError: No module named openturns_preload

 0.15-2 worked fine, I guess that this is due to the move to dh_python2.

 Denis

 -- System Information:
 Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
 Architecture: amd64 (x86_64)

 Kernel: Linux 3.2.0-1-amd64 (SMP w/2 CPU cores)
 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
 Shell: /bin/sh linked to /bin/bash

 Versions of packages python-openturns depends on:
 ii  ghostscript9.05~dfsg-2
 ii  libc6  2.13-26
 ii  libgcc11:4.7.0-1
 ii  libopenturns0  0.15-3
 ii  libstdc++6 4.7.0-1
 ii  python 2.7.2-10
 ii  python-qt4 4.9.1-1
 ii  python-rpy22.2.5-1
 ii  python2.6  2.6.7-4
 ii  python2.7  2.7.2-13

 python-openturns recommends no packages.

 python-openturns suggests no packages.

 -- no debconf information



 --
 debian-science-maintainers mailing list
 debian-science-maintain...@lists.alioth.debian.org

 http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers



Bug#670066: python-openturns is unusable

2012-04-22 Thread D. Barbier
Le 22 avril 2012 20:19, Christophe Prud'homme prudh...@debian.org a écrit :
 Denis

 I received some patches for openturns from J. Schueller.

 I will apply them and upload a new version for 0.15 then work on 1.0

Christophe, I already almost finished packaging for 1.0, the only
issue is with python.  But I do not know where to push these changes
so that you can review them.
BTW, we should IMHO change the SONAME, do you have any preference?

Denis



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#670066: python-openturns is unusable

2012-04-22 Thread D. Barbier
Le 22 avril 2012 20:31, D. Barbier bou...@gmail.com a écrit :
 Le 22 avril 2012 20:19, Christophe Prud'homme prudh...@debian.org a écrit :
 Denis

 I received some patches for openturns from J. Schueller.

 I will apply them and upload a new version for 0.15 then work on 1.0

 Christophe, I already almost finished packaging for 1.0, the only
 issue is with python.  But I do not know where to push these changes
 so that you can review them.
 BTW, we should IMHO change the SONAME, do you have any preference?

Christophe, I just created a git repository to publish my changes:
  https://github.com/dbarbier/deb-ot

There are instructions at
  https://github.com/dbarbier/deb-ot/wiki
to transform it into a git-svn repository.

Denis



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#670066: python-openturns is unusable

2012-04-22 Thread D. Barbier
Le 22 avril 2012 22:11, D. Barbier bou...@gmail.com a écrit :
 Le 22 avril 2012 20:31, D. Barbier bou...@gmail.com a écrit :
 Le 22 avril 2012 20:19, Christophe Prud'homme prudh...@debian.org a écrit :
 Denis

 I received some patches for openturns from J. Schueller.

 I will apply them and upload a new version for 0.15 then work on 1.0

 Christophe, I already almost finished packaging for 1.0, the only
 issue is with python.  But I do not know where to push these changes
 so that you can review them.
 BTW, we should IMHO change the SONAME, do you have any preference?

 Christophe, I just created a git repository to publish my changes:
  https://github.com/dbarbier/deb-ot

 There are instructions at
  https://github.com/dbarbier/deb-ot/wiki
 to transform it into a git-svn repository.

Hi again,

I do not know why, but it seems that this is due to python extensions
being linked against python2.7 library.  It now works fine in my CMake
build.

Denis



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#670066: python-openturns is unusable

2012-04-22 Thread Christophe Prud'homme
Denis

This work(debian packaging)  is also done by Phimeca who maintains
openturns, or did you use their work ?

I do not have preferences for the soname

see ya
C.

On Mon, Apr 23, 2012 at 12:06 AM, D. Barbier bou...@gmail.com wrote:

 Le 22 avril 2012 22:11, D. Barbier bou...@gmail.com a écrit :
  Le 22 avril 2012 20:31, D. Barbier bou...@gmail.com a écrit :
  Le 22 avril 2012 20:19, Christophe Prud'homme prudh...@debian.org a
 écrit :
  Denis
 
  I received some patches for openturns from J. Schueller.
 
  I will apply them and upload a new version for 0.15 then work on 1.0
 
  Christophe, I already almost finished packaging for 1.0, the only
  issue is with python.  But I do not know where to push these changes
  so that you can review them.
  BTW, we should IMHO change the SONAME, do you have any preference?
 
  Christophe, I just created a git repository to publish my changes:
   https://github.com/dbarbier/deb-ot
 
  There are instructions at
   https://github.com/dbarbier/deb-ot/wiki
  to transform it into a git-svn repository.

 Hi again,

 I do not know why, but it seems that this is due to python extensions
 being linked against python2.7 library.  It now works fine in my CMake
 build.

 Denis