Bug#1073009: doesn't work with SQLAlchemy 2.X

2024-06-11 Thread Piotr Ożarowski
Source: openstack-trove
Version: 1:21.0.1-2 
Severity: serious
Tags: ftbfs

Hi,

I uploaded SQLAlchemy 2.X to unstable and openstack-trove currently
FTBFS due to failing tests (tries to import sqlalchemy.databases which
is no longer available) so the code is definitely not ready for SA 2.X.

I gues you're well aware of this, reporting to keep track of what needs
to be done.



Bug#1026020: python3-starlette: starlette.testclient requires module httpx

2022-12-13 Thread Piotr Ożarowski
httpx is used only in this test file and your package is invoking tests
so even if we add it to Recommends or Suggests (it definitely will not
go into Depends) you'll have to add it to ormar's Build-Depends



Bug#1023711: -2 depends on python3-python-socks

2022-11-09 Thread Piotr Ożarowski
I uploaded 0.7.1-2 that depends on python3-python-socks which is
currently in NEW so it's still not installable but at least it will not
trigger upgrades for Debian Sid users for now

Sorry for not waiting with -1 upload to unstable



Bug#1000680: python3-aiohttp: fails to import, "TypeError: function() argument 'code' must be code, not str"

2021-11-28 Thread Piotr Ożarowski
[Boyuan Yang, 2021-11-28]
> Thanks for the info and sorry for the breakage; obviously I should have
> uploaded it into Experimental first. I am looking into fixing the issue
> (ideally through upgrade of all related packages) but this may take some time.
> If you already have a solution, it would be even better.

I already fixed it by upgrading aiohttp. It needs 2 NEW packages that I
packaged and uploaded, one of them is already accepted, second it
waiting for review. Unfortunately I uploaded my previous build (tagged
1~exp1 in the git repo, but uploaded -1 so version in unstable needs
aiosignal ASAP - I asked one of the ftp-masters if it's possible to
check it sooner and hopefully unstable will be fixed soon)



Bug#885299: bumping severity of pygtk bugs

2020-02-21 Thread Piotr Ożarowski
[Moritz Mühlenhoff, 2020-02-20]
> On Sun, Oct 06, 2019 at 05:09:30PM -0400, Jeremy Bicha wrote:
> > Control: severity -1 serious
> > Control: tags -1 -buster
> > 
> > 
> > As part of the Python2 removal, it is our intent that pygtk will be removed 
> > from Testing before the release of Debian 11
> > "Bullseye". Therefore, I am bumping the severity of this bug to Serious to 
> > ensure that there is plenty of warning before
> > the Debian 11 release and to make the eventual removal of pygtk as smooth 
> > as possible.
> 
> Should griffith be removed? It's dropped from testing for two years now
> and the upstream homepage vanished. Piotr, given that you're among the
> upstream authors, is this still maintained?

unfortunately it should be removed from Debian. Maybe some day I will
find time to update it to Python 3 and new GTK, but not anytime soon.



Bug#930356: CVE-2019-12760

2019-06-21 Thread Piotr Ożarowski
Hi Andreas,

> > Please see https://bugzilla.redhat.com/show_bug.cgi?id=1718212
> > 
> > Patch is at https://gist.github.com/dhondta/f71ae7e5c4234f8edfd2f12503a5dcc7
> 
> I know you are usually pretty quick in solving serious issues.  I tried
> to check the issue and think the link provided for a patch is just
> pointing to a proof of concept exploit.  When reading the discussion
> here
> 
>https://github.com/davidhalter/parso/issues/75
> 
> I understand that it is not fixed but the authors do not consider the
> issue serious.  Could you please give some comment from an insiders
> point of view (which I'm not).  I'm just caring since several Debian
> Science dependencies are about to be removed from testing due to this
> bug.

I don't consider it that serious as well. I'll wait for upstream to
provide a proper fix. If there will be no such fix in time, I guess I can
just disable cache if security team insists.

> PS: Is there any reason why this package is not on Salsa and not
> team maintained?

that's because python-jedi is a mutli-tarball source package and parso
was part of it at the beginning. Last time I checked gbp didn't
support it (or I don't know how to use it) so it was easier for me to
keep it outside DPMT. I guess there's no reason not to move parso into
DPMT now.



Bug#920277: bitlbee-plugin-facebook: doesn't work anymore

2019-01-23 Thread Piotr Ożarowski
Package: bitlbee-plugin-facebook
Version: 1.1.2-1
Severity: serious

Hi,

without this change¹ this package is no longer usable (due to some
changes on FB side). I suggest to package latest upstream snapshot as
other commits look useful as well.

[¹] 
https://github.com/bitlbee/bitlbee-facebook/commit/7682a3560c737fbbbd7cdf7a5b640bfb3242ec3c


Bug#918401: python-pygments must depend on python3-pygments (or a new package for pygmentize)

2019-01-13 Thread Piotr Ożarowski
Control: tag -1 + wontfix
Control: severity -1 normal

> Programs like pygmentize should be in an own package,
> not part of some module package.
>
> In any case python-pygments must depend on whatever package

I reported bugs in all packages that depend on python-pygments and were
using pygmentize. It's not my fault if your package didn't depend on the
right one (or had dependency via other package that happened to depend
on python-pygments)

I will definitely not add a dependency on python3-pygments in python-pygments
and I don't plan to add new binary package in the near future.



Bug#894213: foo FTBFS with dh-python >= 3.20180313

2018-04-30 Thread Piotr Ożarowski
[Andreas Tille, 2018-04-30]
> On Mon, Apr 30, 2018 at 03:57:51PM +0200, Piotr Ożarowski wrote:
> > [Andreas Tille, 2018-04-30]
> > > >  PYTHONPATH=$(shell pybuild --print build_dir --interpreter python3) ...
> > > I tried the same trick for snakemake in Git[1] but failed.
> > > 
> > > Am I missing something?
> > 
> > you changed PYTHONPATH, but PATH still hardcodes old path, I'd start
> > with that.
> 
> Hmmm, inside pbuilder chroot the files are installed to
> 
>   /build/snakemake-4.8.0/.pybuild/cpython3_3.6_snakemake/build/bin/snakemake
> 
> while
> 
>   # pybuild --print build_dir --interpreter python3
>   /build/snakemake-4.8.0/.pybuild/cpython3_3.6/build

you invoked it outside debian/rules, without --name or PYBUILD_NAME set,
right?

> I have no idea why since some dh-python version things are different
> than before but wouldn't it be the best idea to let pybuild set PATH and
> PYTHONPATH instead of setting it manually by some manual command?

I meant to fix also debian/rules line 11 (you fixed line 21 only)
-- 
GPG: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645



Bug#894213: foo FTBFS with dh-python >= 3.20180313

2018-04-30 Thread Piotr Ożarowski
[Andreas Tille, 2018-04-30]
> >  PYTHONPATH=$(shell pybuild --print build_dir --interpreter python3) ...
> 
> This worked nicely for python-skbio.
>  
> > I fixed few packages already, here's a list of other affected ones:
> > ...
> > snakemake   Debian Med Packaging Team
> 
> I tried the same trick for snakemake in Git[1] but failed.
> 
> Am I missing something?

you changed PYTHONPATH, but PATH still hardcodes old path, I'd start
with that.
-- 
GPG: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645




Bug#894326: foo FTBFS with dh-python >= 3.20180313

2018-04-26 Thread Piotr Ożarowski
[Andreas Tille, 2018-04-26]
> some packages I maintain received this kind of bug in the case of
> python-skbio it is
> 
>ModuleNotFoundError: No module named 'skbio'
> 
> So the module that was just build is not found.  I guess this is due to
> some misuse of pybuild - but what did I wrong?  Python-skbio is available
> on Salsa[1] (updated to new upstream but with no change for the current
> problem).
> 
> Any hint how to fix this?

that's because I had to change pybuild's internal paths (to make it work
with multiple modules/packages at the same time).

I added --print option for those who really need it (f.e. while
building sphinx docs) - please use it instead of hardcoding pybuild's
internal paths.

You can use it like this:

 PYTHONPATH=$(shell pybuild --print build_dir --interpreter python3) ...


I fixed few packages already, here's a list of other affected ones:

cypari2 Debian Science Team
keras   Debian Science Maintainers
khmer   Debian Med Packaging Team
macsDebian Med Packaging Team
numba   Debian Science Maintainers
numexpr Debian Science Maintainers
paleomixDebian Med Packaging Team
petsc4pyDebian Science Maintainers
pyosmiumDebian GIS Project
pysal   Debian GIS Project
python-gevent   Laszlo Boszormenyi
python-skbioDebian Med Packaging Team
rowsPaulo Roberto Alves de Oliveira
saltDebian Salt Team
slepc4pyDebian Science Maintainers
snakemake   Debian Med Packaging Team
statsmodels Debian Science Maintainers
-- 
GPG: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645



Bug#893242: python-pygit2 FTBFS with dh-python 3.20180313

2018-03-18 Thread Piotr Ożarowski
Control: severity 893242 normal
Control: tags 893242 + wontfix

>   File "/usr/lib/python3.6/unittest/loader.py", line 451, in _find_test_path
> msg % (mod_name, module_dir, expected_dir))
> ImportError: 'test_archive' module incorrectly imported from 
> '/build/1st/python-pygit2-0.26.3/.pybuild/cpython3_3.6_pygit2/build/test'. 
> Expected '/build/1st/python-pygit2-0.26.3/test'. Is this module globally 
> installed?

I change the current directory to the build directory on purpose. I want
to test files that will be installed in the package, not the source
files and that's what happens if you start tests from source dir (due to
Python's "." in sys.path).

I'm amazed that even stdlib enforces such insane setting...

PS note that previous version of dh-python/pybuild also used build dir
as current directory



Bug#891331: Beta from SQLA are *not* to upload, and full of bugs

2018-02-24 Thread Piotr Ożarowski
[Thomas Goirand, 2018-02-24]
> Please upload a working version of SQLA in Experimental, for example 1.2.1,
> which is accepted by OpenStack, as per this document:

if 1.2.4 works in OpenStack, I will upload it directly into unstable. Is
that OK?



Bug#865805: new upstream release fixes 865805

2017-06-26 Thread Piotr Ożarowski
Hi,

It FTBFS (fails to build from source) due to my recent python3-aiohttp
upload (2.X). New upstream release of aiohttp-cors (0.5.2) fixes it.

Please prepare 0.5.3 (even newer) upload and send me RFS email.



Bug#854335: marked as pending

2017-03-14 Thread Piotr Ożarowski
> > set WEBSOCKETS_TESTS_TIMEOUT_FACTOR to 100 to avoid
> >FTBFS on slower buildds
> 
> Hm. Whilst this might "work" it is still non-determinstic, alas...

feel free to clone this bug with non-RC severity. All I care about right
now is to make it usable for Stretch



Bug#854335: marked as pending

2017-03-14 Thread Piotr Ożarowski
tag 854335 pending
thanks

Hello,

Bug #854335 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:


http://git.debian.org/?p=python-modules/packages/python-websockets.git;a=commitdiff;h=0ea3518

---
commit 0ea3518832621c81f5365e163f9b60a5a5b2580c
Author: Piotr Ożarowski <pi...@debian.org>
Date:   Tue Mar 14 13:23:30 2017 +0100

set WEBSOCKETS_TESTS_TIMEOUT_FACTOR to 100 to avoid FTBFS on slower buildds

diff --git a/debian/changelog b/debian/changelog
index e8a4ee5..645b1d6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+python-websockets (3.2-2) unstable; urgency=medium
+
+  * set WEBSOCKETS_TESTS_TIMEOUT_FACTOR to 100 to avoid FTBFS on slower
+buildd (closes: 854335)
+
+ -- Piotr Ożarowski <pi...@debian.org>  Tue, 14 Mar 2017 13:21:33 +0100
+
 python-websockets (3.2-1) unstable; urgency=medium
 
   [ Ondřej Nový ]



Bug#856926: Processed: rekall: package not installable after no-change rebuild

2017-03-06 Thread Piotr Ożarowski
rekall's setup.py contains¹ (in install_requires):

 "pycrypto == 2.6.1"

which is translated by dh_python2 into "python-crypto (= 2.6.1)"
(translating == into = and not simply ignoring it, or replacing with
">=" which is IMO the least problematic solution, is a new thing
introduced in dh-python 2.20170125, I'm not a big fan of it but
apparently it's what maintainers want)

Why pycrypto is translated and other requirements not?
That's because pycrypto (Debian) maintainer flagged² pycrypto's
versioning as compatible with Debian's (it's disabled by default, you
can `dh_python2 --accept-upstream-versions` if you want that behaviour
with other modules/requirements)

What to do to fix it?
* patch setup.py to replace == with >= or remove version completly, no
  matter what's the outcome of next point:
* start a thread on debian-python@l.d.o abuot what to do with ==
  (ignore? translate into =, translate into >=)

[¹] 
https://sources.debian.net/src/rekall/1.6.0%2Bdfsg-1/rekall-core/setup.py/#L61
[²] 
https://sources.debian.net/src/python-crypto/2.6.1-7/debian/python-crypto.pydist/



Bug#851741: marked as pending

2017-02-07 Thread Piotr Ożarowski
tag 851741 pending
thanks

Hello,

Bug #851741 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:


http://git.debian.org/?p=python-modules/packages/jinja2.git;a=commitdiff;h=6ac463b

---
commit 6ac463bffb0b72db7fe35d4b5a49dd9b3c4e59ef
Author: Piotr Ożarowski <pi...@debian.org>
Date:   Tue Feb 7 22:29:02 2017 +0100

New upstream release

diff --git a/debian/changelog b/debian/changelog
index bba7053..c323709 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+jinja2 (2.9.5-1) unstable; urgency=medium
+
+  * New upstream release
+- restores original repr of the internal _GroupTuple which fixes ansible
+(closes: 851741)
+
+ -- Piotr Ożarowski <pi...@debian.org>  Tue, 07 Feb 2017 22:27:54 +0100
+
 jinja2 (2.9.4-1) unstable; urgency=medium
 
   [ Ondřej Nový ]



Bug#852908: mako: FTBFS: Test failures

2017-02-05 Thread Piotr Ożarowski
> The failure is caused by the recent upload of pygments 2.2.0. With this new
> release the 'u' prefix is omitted from the rendered utf8 strings, as in:
>  
> while pygments 2.1.3 gives:
>  u

hmmm... that's weird as my first thought was it was due to new pygnents
so I tested it with old one and it failed as well... I probably messed
it somehow. Thanks for the patch!



Bug#851741: python-jinja2: New major version breaks ansible templates

2017-01-18 Thread Piotr Ożarowski
Hi Jeremy,

[Jeremy Bicha, 2017-01-18]
> The new version of jinja2 breaks several templates used by ansible.
> 
> Please see https://github.com/ansible/ansible/issues/20063
> 
> I stumbled across this when using debops:
> https://github.com/debops/ansible-postfix/issues/84

could you check if this commit fixes it for you?
https://github.com/pallets/jinja/commit/c6ddeb7d5f64789ed0bbc1ffef8596a79bc06fd9



Bug#808654: Bug #808654 closed accidentally (it seems)

2017-01-15 Thread Piotr Ożarowski
> Hello Piotr. For reasons I still don't understand, your commands
> above made the bug to be closed.

the bug was actually not in fedmsg but in moksha.hub and I fixed it in 1.4.1-2 
(hence different source package/version that was closing bug).

I just checked (build logs you pointed me to are really old, before my
fix) and this package still FTBFS but for a completely different reason
(I guess it's OK to reopen this one as the final result is the same - it
doesn't build)



Bug#851413: gertty: Uninstallable in Debian Unstable

2017-01-14 Thread Piotr Ożarowski
[Axel Beckert, 2017-01-14]
> gertty is uninstallable in Debian Unstable (but not in Debian Testing)
> since it depends on python-sqlalchemy (< 1.1), but Debian Unstable
> currently contains python-sqlalchemy at version 1.1.4+ds1-1.

I uploaded rebuilt version to DELAYED/2

I don't know why I missed this one, it's in my SA 1.1 transition file...
but marked as one without << 1.1...

> This is probably also the reason why python-sqlalchemy >> 1.1 never
> migrated to testing despite it's considered a valid candidate:
> https://qa.debian.org/excuses.php?package=sqlalchemy

yeah, this page is not really helpful...



Bug#804556: marked as pending

2017-01-12 Thread Piotr Ożarowski
tag 804556 pending
thanks

Hello,

Bug #804556 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:


http://git.debian.org/?p=python-modules/packages/datanommer.models.git;a=commitdiff;h=cdfdaee

---
commit cdfdaeedd75e37df26ad389006b4ac2ce39ecd66
Author: Piotr Ożarowski <pi...@debian.org>
Date:   Thu Jan 12 23:05:26 2017 +0100

close 804556 in changelog

diff --git a/debian/changelog b/debian/changelog
index 3839b56..ee46f39 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,12 +1,15 @@
-datanommer.models (0.6.4-3) UNRELEASED; urgency=medium
+datanommer.models (0.6.4-3) unstable; urgency=medium
+
+  * Team upload
 
   [ Ondřej Nový ]
   * Fixed VCS URL (https)
 
   [ Piotr Ożarowski ]
   * copy egg-info dir to build directory to make pkg_resources happy
+(this change and fix for 827738 in moksha.hub closes: 804556)
 
- -- Ondřej Nový <n...@ondrej.org>  Tue, 29 Mar 2016 21:25:23 +0200
+ -- Piotr Ożarowski <pi...@debian.org>  Thu, 12 Jan 2017 23:03:54 +0100
 
 datanommer.models (0.6.4-2) unstable; urgency=medium
 



Bug#827738: marked as pending

2017-01-12 Thread Piotr Ożarowski
tag 827738 pending
thanks

Hello,

Bug #827738 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:


http://git.debian.org/?p=python-modules/packages/moksha.hub.git;a=commitdiff;h=60fde37

---
commit 60fde37a861ec74b7ed4a4fc68bcc8d0d188bfc4
Author: Piotr Ożarowski <pi...@debian.org>
Date:   Thu Jan 12 22:59:48 2017 +0100

drop 0001-Account-for-twisted-package-split patch

python-twisted-core now privides Twisted egg-info dir, not Twisted_Core

diff --git a/debian/changelog b/debian/changelog
index ad46aa5..a3c55d3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,13 @@
-moksha.hub (1.4.1-2) UNRELEASED; urgency=medium
+moksha.hub (1.4.1-2) unstable; urgency=medium
 
+  [ Ondřej Nový ]
   * Fixed VCS URL (https)
 
- -- Ondřej Nový <n...@ondrej.org>  Tue, 29 Mar 2016 21:43:42 +0200
+  [ Piotr Ożarowski ]
+  * drop 0001-Account-for-twisted-package-split patch as python-twisted-core
+now privides Twisted egg-info dir (closes: 827738)
+
+ -- Piotr Ożarowski <pi...@debian.org>  Thu, 12 Jan 2017 22:58:23 +0100
 
 moksha.hub (1.4.1-1) unstable; urgency=medium
 



Bug#845178: marked as pending

2016-12-21 Thread Piotr Ożarowski
tag 845178 pending
thanks

Hello,

Bug #845178 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:


http://git.debian.org/?p=python-modules/packages/python-aiohttp.git;a=commitdiff;h=039f0e7

---
commit 039f0e7600abc5c1b84f182809220e9268431c39
Author: Piotr Ożarowski <pi...@debian.org>
Date:   Wed Dec 21 13:31:58 2016 +0100

change debian/compat to 10

diff --git a/debian/changelog b/debian/changelog
index 2310d16..3870f65 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 python-aiohttp (1.2.0-1) unstable; urgency=medium
 
   * New upstream release
+  * debian/compat changed to 10 (this change also closes: 845178 thanks to
+dh_autoreconf)
 
  -- Piotr Ożarowski <pi...@debian.org>  Wed, 21 Dec 2016 13:30:27 +0100
 



Bug#839478: marked as pending

2016-11-08 Thread Piotr Ożarowski
tag 839478 pending
thanks

Hello,

Bug #839478 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:


http://git.debian.org/?p=python-modules/packages/python-aiohttp.git;a=commitdiff;h=c594768

---
commit c5947689b78d3561dfbf10a23d5b07a11c5133aa
Author: Piotr Ożarowski <pi...@debian.org>
Date:   Tue Nov 8 22:46:28 2016 +0100

mention bugs fixed by this upload in changelog

diff --git a/debian/changelog b/debian/changelog
index e5a69b7..6723bcd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,12 @@
-python-aiohttp (1.1.1-1) UNRELEASED; urgency=medium
+python-aiohttp (1.1.1-1) unstable; urgency=medium
 
   * New upstream release
+- works with new multidict (closes: 835299)
+- decompresses HTTP bodies (closes: 833254)
+  * tests disabled for now (see comment in debian/rules)
+closes: 830567, 839478
 
- -- Piotr Ożarowski <pi...@debian.org>  Sun, 06 Nov 2016 15:13:03 +0100
+ -- Piotr Ożarowski <pi...@debian.org>  Tue, 08 Nov 2016 22:46:23 +0100
 
 python-aiohttp (0.22.4-1) unstable; urgency=medium
 



Bug#833218: marked as pending

2016-11-06 Thread Piotr Ożarowski
tag 833218 pending
thanks

Hello,

Bug #833218 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:


http://git.debian.org/?p=python-modules/packages/markupsafe.git;a=commitdiff;h=eddfa5d

---
commit eddfa5d77583e76ddbb47dca44d313eb22038a09
Author: Piotr Ożarowski <pi...@debian.org>
Date:   Sun Nov 6 23:19:07 2016 +0100

close #833218 in changelog

diff --git a/debian/changelog b/debian/changelog
index 420d276..2610ab6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,14 +1,15 @@
-markupsafe (0.23-3) UNRELEASED; urgency=medium
+markupsafe (0.23-3) unstable; urgency=medium
 
   [ Piotr Ożarowski ]
   * Add dh-python to Build-Depends
   * dh_builddeb now uses the default compression (xz) instead of bzip2
+(closes: #833218)
 
   [ Ondřej Nový ]
   * Fixed homepage (https)
   * Fixed VCS URL (https)
 
- -- Piotr Ożarowski <pi...@debian.org>  Thu, 20 Aug 2015 00:54:39 +0200
+ -- Piotr Ożarowski <pi...@debian.org>  Sun, 06 Nov 2016 23:19:04 +0100
 
 markupsafe (0.23-2) unstable; urgency=medium
 



Bug#830178: Possible fix

2016-11-02 Thread Piotr Ożarowski
[Sandro Tosi, 2016-11-02]
> thanks! i pinged that bug to see if upstream will release a new
> version soo, if not we could just pick up that patch

I uploaded -2, thanks for the reminder and sorry for the delay (RL, I
will try to keep up a bit with Debian this weekend...)



Bug#830629: marked as pending

2016-07-18 Thread Piotr Ożarowski
[Chris Lamb, 2016-07-18]
> > +  * Standards-Version bumped to 3.9.8
> > +- prevent sphinx-build from accessing a network while building docs
> > +  (closes: 830629)
> 
> Is that really a sub "thing" of bumping the Standards-Version? I think
> I'm missing something :)

from upgrading-checklist.txt.gz (2.2. Version 3.9.7.0):

|4.9
| `debian/rules': required targets must not attempt network access.

(I just didn't want to use "Standards-Version bumped to X.X.X (no
changes needed)" again ;)



Bug#830629: marked as pending

2016-07-18 Thread Piotr Ożarowski
tag 830629 pending
thanks

Hello,

Bug #830629 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:


http://git.debian.org/?p=python-modules/packages/webtest.git;a=commitdiff;h=95e8c48

---
commit 95e8c48ae8011a4a8ef4df25ef63dbb2122207a3
Author: Piotr Ożarowski <pi...@debian.org>
Date:   Mon Jul 18 21:48:46 2016 +0200

Standards-Version bumped to 3.9.8: network not used while building docs

diff --git a/debian/changelog b/debian/changelog
index 0f92f5f..7a13213 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,9 @@ webtest (2.0.21-1) unstable; urgency=medium
 
   [ Piotr Ożarowski ]
   * New upstream release
+  * Standards-Version bumped to 3.9.8
+- prevent sphinx-build from accessing a network while building docs
+  (closes: 830629)
 
  -- Piotr Ożarowski <pi...@debian.org>  Mon, 18 Jul 2016 21:46:38 +0200
 



Bug#831239: [Python-modules-team] Bug#830186: sphinx: intersphinx mapping extension causes network access during package builds

2016-07-14 Thread Piotr Ożarowski
[Andreas Tille, 2016-07-14]
> override_dh_auto_build:
> # arch
> USE_CYTHON=true dh_auto_build
> # indep:

override_dh_auto_build-indep:

> PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -b html doc 
> build/html
> PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -b man doc 
> build/man
> 

(python-sphinx is only in Build-Depends-Indep hence you cannot use it in
override_dh_auto_build)
-- 
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl  www.griffith.cc   www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645



Bug#813668: marked as pending

2016-04-14 Thread Piotr Ożarowski
tag 813668 pending
thanks

Hello,

Bug #813668 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:


http://git.debian.org/?p=python-modules/packages/mako.git;a=commitdiff;h=42c2be5

---
commit 42c2be55ae2f8320ec3ceb56b3c9e16dac542c37
Author: Piotr Ożarowski <pi...@debian.org>
Date:   Thu Apr 14 21:26:28 2016 +0200

replace nose with pytest (following upstream)

diff --git a/debian/changelog b/debian/changelog
index a5b2842..9fd7e15 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,8 +5,10 @@ mako (1.0.4+ds1-1) unstable; urgency=medium
 
   [ Piotr Ożarowski ]
   * New upstream release
+  * Replace python-nose with python-pytest (following upstream, this also
+closes: #813668)
 
- -- Ondřej Nový <n...@ondrej.org>  Tue, 29 Mar 2016 21:42:26 +0200
+ -- Piotr Ożarowski <pi...@debian.org>  Thu, 14 Apr 2016 21:16:59 +0200
 
 mako (1.0.3+ds1-1) unstable; urgency=medium
 



Bug#809287: python-websockets: FTBFS: AssertionError: 1006 != 1005

2016-01-11 Thread Piotr Ożarowski
Source: python-websockets
Source-Version: 3.0-1

I forgot to close it in the changelog



Bug#802060: marked as pending

2015-10-31 Thread Piotr Ożarowski
tag 802060 pending
thanks

Hello,

Bug #802060 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:


http://git.debian.org/?p=python-modules/packages/aiopg.git;a=commitdiff;h=fab2d6f

---
commit fab2d6fb11f0ccf2c41688797449f1ef67746ffd
Author: Piotr Ożarowski <pi...@debian.org>
Date:   Sat Oct 31 23:42:05 2015 +0100

Fix a typo in Build-Depends (and depend on Python 3.X version of psycopg2 
package, closes: 802060)

diff --git a/debian/changelog b/debian/changelog
index 6816a9f..0093a24 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+aiopg (0.7.0-3) unstable; urgency=medium
+
+  * Fix a typo in Build-Depends (and depend on Python 3.X version of psycopg2
+package, closes: 802060)
+  * Add python3-sqlalchemy to Build-Depends (needed by python3.5's new
+"feature")
+
+ -- Piotr Ożarowski <pi...@debian.org>  Sat, 31 Oct 2015 23:28:24 +0100
+
 aiopg (0.7.0-1) unstable; urgency=low
 
   * Initial release (closes: 795413)



Bug#796371: blockdiag: FTBFS: unknown format: SVG

2015-10-06 Thread Piotr Ożarowski
[Julien Cristau, 2015-10-06]
> As far as I can tell, this is caused by a change in pybuild: instead of
> running something like "python setup.py test" from the toplevel source
> directory (which works), it runs "python2.7 -m nose" from
> .pybuild/pythonX.Y_2.7/build.  The latter directory is missing
> blockdiag.egg-info, which means pkg_resources doesn't find any entry
> points.  I'm tempted to reassign this to dh-python.

I will definitely not go back to running tests from package root
directory (due to . in sys.path or 2to3 issues).

I might consider copying egg-info dir to the build dir, though.

What I suggest to do right now is adding this line to debian/rules:

export PYBUILD_BEFORE_TEST=cp -r foo.egg-info {build_dir}


and about `setup.py test` vs. `pythonX.Y -m nose` - I'd love to have a
standard API for running tests, but that's something you need to talk
with Python upstream
-- 
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl  www.griffith.cc   www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645



Bug#771794: [Python-modules-team] Bug#771794: pip silently removes/updates system provided python packages

2014-12-03 Thread Piotr Ożarowski
IMO we should patch pip to *not* touch (install, upgrade, uninstall,
etc.) anything in /usr directory (or /) except /usr/local. Our Python
interpreter already installs to /usr/local and so should pip.

This way:
 * pip doesn't need to figure out which file can be touched,
 * we can detect cause of problems just by looking at traceback
   (right now the very first thing I do once someone sends me a
   traceback is to look for .egg files in there (thank you ez_install!);
   with pip installing/overwriting files in /usr instead of /usr/local
   it's not that easy, not to mention that it will be a lot harder to
   fix it after such install)
 * we'll be able to easily prove to our users that we're not insane
   and we did test our stuff (please rename
   /usr/local/pythonX.Y/dist-packages to something else for few minutes
   and try again)


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



Bug#770105: sed in wheezy doesn't have -z option

2014-11-18 Thread Piotr Ożarowski
sed in wheezy (v4.2.1) doesn't have -z (AKA --null-data).

removing this option and -0 from xargs call in
/usr/lib/php5/sessionclean fixed this for me, but I'm not sure if it's
the proper fix (can php5 session file names contain special characters?)


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



Bug#750255: lio-utils: FTBFS: chmod: cannot access '/«BUILDDIR»/lio-utils-3.1+git2.fd0b34fd/debian/lio-utils/usr/share/pyshared/*.py': No such file or directory

2014-09-19 Thread Piotr Ożarowski
[Ritesh Raj Sarraf, 2014-09-19]
 @Python Team: Can you please provide some guidance on this bug ? Earlier the
 python modules used to get installed into pyshared/ folder, from which I
 created symlinks to /usr/sbin/. Now, the modules get installed into python
 specific dist-packages/ folder. How do we add symlinks in this scenario ?

/usr/share/pyshared is implementation detail (changed recently)
which you shouldn't know about (and use it since you shouldn't know it
exists ;).

Symlinking to /usr/lib/python2.7/dist-packages/foo.py is not a good
idea as well (although there will be no Python 2.8, I hope - if you use
it, backporters will not be happy).

I suggest to use `python -m foo` or write a wrapper that uses this
command or Python script that imports foo and calls foo.main() (where
main() is whatever is called after if __name__ == '__main__': in this
file)
-- 
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl  www.griffith.cc   www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645


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



Bug#759981: sbuild?

2014-09-02 Thread Piotr Ożarowski
IMO it's a sbuild issue, but I'll investigate...


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



Bug#750312: flask: FTBFS: Tests failures

2014-06-12 Thread Piotr Ożarowski
reassign 750312 python-werkzeug 0.9.4+dfsg-1.1
fixed 750312 0.9.6+dfsg-1
thanks


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



Bug#739631: [Help] Bug#739631: python-pysam: FTBFS: ImportError: No module named pysam

2014-02-21 Thread Piotr Ożarowski
/me continues promoting pybuild:
-- 
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl  www.griffith.cc   www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645
diff --git a/debian/control b/debian/control
index 8699486..c9acaaf 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,7 @@ Section: python
 XS-Testsuite: autopkgtest
 Priority: optional
 Build-Depends: debhelper (= 9),
+   dh-python,
python-all-dev,
python-setuptools,
cython,
diff --git a/debian/rules b/debian/rules
index 50d4cad..aaf270f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,19 +1,12 @@
 #!/usr/bin/make -f
 
-# Hint:
-#   https://wiki.debian.org/Python/LibraryStyleGuide
-# suggests:
 export PYBUILD_NAME=pysam
-# which probably does not harm but due to the fact that there is
-# some additional binary package a debian/python-pysam.install
-# file is definitely needed.
 
 DEBPKGNAME := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
 TESTPKG:= $(DEBPKGNAME)-tests
-pybuilddir := $(CURDIR)/build/lib.$(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)-$(shell dpkg-architecture -qDEB_BUILD_GNU_CPU)
 
 %:
-	dh $@ --with python2
+	dh $@ --with python2 --buildsystem=pybuild
 
 # Cython is recreating some c-files.  To enable building twice in a row these
 # will be saved in advance and restored afterwards
@@ -33,14 +26,10 @@ override_dh_auto_build: debian/savefiles
 	dh_auto_build
 
 override_dh_auto_test:
-	dh_auto_test
-	chmod a+x tests/pysam_test_offline.py
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	set -e -x;\
-	for pyv in `pyversions -dv` ; do \
-	cd tests  env PYTHONPATH=$(pybuilddir)-$${pyv} ./pysam_test_offline.py ; \
-	done
-endif
+	dh_auto_test  # default tests
+	PYBUILD_SYSTEM=custom \
+	PYBUILD_TEST_ARGS=cd tests  PYTHONPATH={build_dir} {interpreter} ./pysam_test_offline.py \
+	dh_auto_test --buildsystem=pybuild
 
 override_dh_install-indep:
 	dh_install -p $(TESTPKG)


Bug#723070: dh-python: Incorrect python3:Depends generated

2013-09-16 Thread Piotr Ożarowski
Control: severity 723070 normal
Control: retitle 723070 please use python3:any to specify minimum required 
Python3 version (in arch:all packages)

[Scott Kitterman, 2013-09-16]
 Justification: renders package unusable
 
 I'm trying to update sip4 in experimental and building with the newest
 dh-python results in these depends for python3-sip-dev:
[...] 
 Depends: python3:any (= 3.2.3-3~), python3 (= 3.0) is the result of
 python3:Depends being expanded incorrectly.

python3:any is generated due to /usr/bin/py3compile used in maintainer
scripts (and .pyc files are architecture independent)

python3 (= 3.0) is generated due to X-Python3-Version: = 3.0
translated into py3compile's -V 3.0- option in maintainer scripts so
it should be python3:any as well.
python3 instead of python3:all is something we had before (and something
that still works) so I'm downgrading severity to normal.


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



Bug#715294: [Openstack-devel] Bug#715294: quantum: python-quantum: not installable in sid, depends on old python-sqlalchemy

2013-07-08 Thread Piotr Ożarowski
 In fact there are two dependencies on python-sqlalchemy:
 
 python-sqlalchemy (= 0.7~)
 python-sqlalchemy ( 0.8)
 
 The second one is at the very end of the Dependency line. It seems to 
 have been filled in by ${python:Depends}.

Both of them are generated by dh_python2 as I (python-sqlalchemy
maintainer) requested that by adding pydist file to the package
(see /usr/share/python/dist/python-sqlalchemy).

If you install python-sqlalchemy 0.8.X, rebuild your package, check if
it works fine with 0.8 and upload it, it will have:

 python-sqlalchemy (= 0.8~)
 python-sqlalchemy ( 0.9)


signature.asc
Description: Digital signature


Bug#714063: python-aeidon package

2013-06-26 Thread Piotr Ożarowski
Hi Stuart,

[Stuart Prescott, 2013-06-26]
 translate-toolkit currently makes use of python-aeidon both at build-time and 
 at runtime but I see that this package has now gone away. python3-aeidon is 
 not a replacement for python-aeidon for python 2.x programs. Is there any 
 chance of the python 2-compatible module coming back or was the 2→3 
 conversion 
 done in a non-backwards compatible fashion?

oh, I was sure I checked reverse dependencies before moving gaupol from
experimental to unstable, but it looks like I didn't.

Upstream switched to Python 3.X and I don't want to port it back to 2.X.
I can provide an older version of python-aeidon package (in a separate
source package) as a temporary solution, but I'd rather not release it
with Jessie. Long term solution (other than removing optional subtitles
support in translate-toolkit) is porting it to Python 3.X - I can help
with that. I checked how hard would it be to port it, see below.

translate-toolkit uses (optionally) these 3rd party packages:
* python-beautifulsoup (used in ./translate/storage/trados.py) -
  python3-beautifulsoup is missing, but Beautiful Soup 4 already
  supports Python 3.X and is available in Debian (python3-bs4).
  I could also port trados.py to lxml (as comment in the file suggests)
* python-chardet - I maintain this one and python3-chardet is in Debian
* python-enchant - I maintain this one and python3-enchant is in Debian
* python-iniparse - upstream supports Python 3.X, I can send Ludovico a
  patch that adds python3-iniparse if Python 3.X's configparser is not
  enough (porting translate-toolkit to use stdlib's one seems to be a
  way to go, though)
* python-levenshtein - there's no python3-levenshtein in Debian, but
  upstream already merged Python 3.X support in the git repo
  (needed changes are rather small) - I can add python3-levenshtein in
  DPMT's repo and ask Sandro to check/upload it.
* python-lxml - python3-lxml was one of the first python3-* packages
* python-simplejson - I maintain this one and python3-simplejson is in
  experimental, I will move it to unstable once pybuild is available
  there (and since I'm the author of pybuild, I don't have to wait for
  anyone, it's all up to me ;)
* python-utidylib - I don't see where it's used, docs mention
  translate/convert/po2html.py but it doesn't import it. Are you sure
  it's still needed?
* python-vobject - this one will need some work, python3-dateutil is
  available, but after 2to3 - vobject still needs some work (tests fail
  mostly while trying to decode strings, so it shouldn't be hard to port)
* python-xapian - Python 3 support is under development, but not yet
  fully functional - see ticket#346 for details:
  http://trac.xapian.org/ticket/346; - so this one could be a problem.
-- 
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl  www.griffith.cc   www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645


signature.asc
Description: Digital signature


Bug#713089: Processed: Re: [Python-modules-team] Bug#713089: flask-autoindex: FTBFS: pkg_resources.VersionConflict: (itsdangerous 0.17 (/usr/lib/python2.7/dist-packages), Requirement.parse('itsdangero

2013-06-22 Thread Piotr Ożarowski
  retitle -1 python-flask: requires python-itsdangerous = 0.21 not available 
  in the archive

huh? python-itsdangerous *is* available in the archive.
python-flask Build-Depends and Depends on it.


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



Bug#713089: Processed: Re: [Python-modules-team] Bug#713089: flask-autoindex: FTBFS: pkg_resources.VersionConflict: (itsdangerous 0.17 (/usr/lib/python2.7/dist-packages), Requirement.parse('itsdangero

2013-06-22 Thread Piotr Ożarowski
[Piotr Ożarowski, 2013-06-22]
   retitle -1 python-flask: requires python-itsdangerous = 0.21 not 
   available in the archive
 
 huh? python-itsdangerous *is* available in the archive.
 python-flask Build-Depends and Depends on it.

ah, it's about versioned dependency (I just read complete mail sent to control@)

I tested Flask with 0.17 before uploading, so it should be fine, but I
think I'll help Simon uploading new upstream version of itsdangerous
instead of touching requires.txt (which, as a part of ez_install crap,
disgust me ;)


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



Bug#644979: phatch-nautilus was temporary removed from phatch

2012-07-08 Thread Piotr Ożarowski
severity 644979 normal
thanks

phatch-nautilus binary package was removed in 0.2.7-3 (over a year ago).
The build dependency on python-nautilus is still in Build-Depends, but
does it really hurt that much? If yes, please bump the urgency of
this bug again and I'll upload a new revision without python-nautilus in
B-D


signature.asc
Description: Digital signature


Bug#652653: python-virtualenv: insecure /tmp file handling

2011-12-20 Thread Piotr Ożarowski
[Adam D. Barratt, 2011-12-19]
 I noticed that an upload which appears to fix this issue (although
 without reference the bug number) has appeared in p-u-NEW.  Whilst

sorry, I didn't notice a bug was reported

 that's an admirable turn-around :-) it really should have been discussed
 with the SRMs first, rather than simply uploading (I believe this is
 well documented enough by now - if not, please point out where and how
 we could make it clearer).

ups, I assumed someone from SRMs is in the thread

 Looking at the diff, and the equivalent code in the unstable package,
 there seems to be a missing component - namely, that the directory
 created via mkdtemp() is never cleaned up.  Am I missing something, or
 does fixing this issue result in orphaned temporary directories?

the old code didn't do it as well, I can update the patch to remove it
-- 
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl  www.griffith.cc   www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645



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



Bug#620469: [Python-modules-team] Bug#620469: Bug#620496

2011-06-08 Thread Piotr Ożarowski
[Clint Byrum, 2011-06-08]
 Excerpts from Piotr Ożarowski's message of Tue Apr 19 03:27:05 -0700 2011:
  FYI: if this package doesn't use setuptools/distribute's
  namespace_packages.txt, you can add --namespace gearman to
  dh_python2's call and let the helper handle namespace issue
 
 Hi Piotr.
 
 If I understand the suggestion correctly, we can use something in
 distutils/setuptools to extend the path in this file, without actually
 having this file in either package?

you can add namespace_packages=['gearman'] to setup.py if it uses
setuptools/distribute (pure distutils is not enough) and that's all,
dh_python2 will do the rest (remove __init__.py file and recreate it at
install time). If you don't want to patch upstream files you can pass
the namespace name to dh_python2 directly via --namespace
(dh_python2 --namespace gearman).
-- 
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl  www.griffith.cc   www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645



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



Bug#626414: python-dulwich: doesn't depend on python

2011-05-11 Thread Piotr Ożarowski
dh uses python-support by default, you're missing it in Build-Depends,
that's why python is missing in Depends. If you wanted to use dh_python2
(as changelog suggests), add --with python2 to the dh call in
debian/rules



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



Bug#626096: removes /usr/lib in debian/rules and thus makes package unusable

2011-05-08 Thread Piotr Ożarowski
Package: wikipediafs
Version: 0.4-2
Severity: serious
Tags: patch

please remove line rm -fr $(STAGING_DIR)/usr/lib from debian/rules -
dh_python2 creates symlinks there and without them this package is not
usable

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

Kernel: Linux 2.6.38-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



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



Bug#620469: [Python-modules-team] Bug#620469: Bug#620496

2011-04-19 Thread Piotr Ożarowski
FYI: if this package doesn't use setuptools/distribute's
namespace_packages.txt, you can add --namespace gearman to
dh_python2's call and let the helper handle namespace issue
-- 
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl  www.griffith.cc   www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645



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



Bug#607988: patch

2011-01-11 Thread Piotr Ożarowski
tag 607988 + patch
thanks

Attached patch should fix the problem. I'm not uploading yet, because 
I want to fix preinst-pycentral-clean template as well (.pkgremove files
are not generated in Lenny's pycentral)
-- 
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl  www.griffith.cc   www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645
diff -Nru python-defaults-2.6.6/debian/changelog python-defaults-2.6.6/debian/changelog
--- python-defaults-2.6.6/debian/changelog	2010-12-19 21:19:39.0 +0100
+++ python-defaults-2.6.6/debian/changelog	2011-01-11 23:07:28.0 +0100
@@ -1,3 +1,11 @@
+python-defaults (2.6.6-3+squeeze5) unstable; urgency=low
+
+  * dh_python2: fix moving files from old debug locations
+  * pycompile: skip dangling symlinks to fix upgrade problem introduced in
+-3+squeeze3 (closes: 607988)
+
+ -- Piotr Ożarowski pi...@debian.org  Tue, 11 Jan 2011 22:14:56 +0100
+
 python-defaults (2.6.6-3+squeeze4) unstable; urgency=medium
 
   * dh_python2: fix a crash in packages with private extension (closes: 607555)
diff -Nru python-defaults-2.6.6/dh_python2 python-defaults-2.6.6/dh_python2
--- python-defaults-2.6.6/dh_python2	2010-12-19 21:16:59.0 +0100
+++ python-defaults-2.6.6/dh_python2	2011-01-11 22:16:07.0 +0100
@@ -104,7 +104,7 @@
 dbg_to_check.append(usr/lib/debug/usr/lib/pyshared/python%s % ver)
 dstdir = sitedir(version, package, gdb=True)
 
-for location in to_check:
+for location in dbg_to_check:
 srcdir = debian/%s/%s % (package, location)
 if isdir(srcdir):
 if not isdir(dstdir):
diff -Nru python-defaults-2.6.6/pycompile python-defaults-2.6.6/pycompile
--- python-defaults-2.6.6/pycompile	2010-12-12 22:28:57.0 +0100
+++ python-defaults-2.6.6/pycompile	2011-01-11 22:54:09.0 +0100
@@ -29,7 +29,7 @@
 import os
 import sys
 from os import environ, listdir, walk
-from os.path import abspath, exists, isdir, isfile, join
+from os.path import abspath, exists, isdir, isfile, islink, join
 from subprocess import PIPE, STDOUT, Popen
 sys.path.insert(1, '/usr/share/python/')
 from debpython.version import SUPPORTED, debsorted, vrepr, \
@@ -191,6 +191,12 @@
 
 # byte compile files
 for fn, versions_to_compile in filter_files(files, e_patterns, versions):
+if not exists(fn):
+# pycentral's cleanup-pkgprepare-updates hook will clean it later
+if islink(fn):
+log.warn('dangling symlink skipped: %s (%s)', fn,
+  os.readlink(fn))
+continue
 cfn = fn + 'c' if (__debug__ or not optimize) else 'o'
 if exists(cfn) and not force:
 ftime = os.stat(fn).st_mtime


signature.asc
Description: Digital signature


Bug#607988: working on it

2011-01-10 Thread Piotr Ożarowski
tag 607988 + pending
tag 609510 + pending
thanks

the OSError (the one with dangling symlinks) is already fixed in
experimental, I didn't upload a fixed version for Squeeze yet because
there probably is another problem with pycentral's
cleanup-pkgprepare-updates trigger (and/or dh_python2's
/usr/share/debhelper/autoscripts/preinst-pycentral-clean script)



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



Bug#590463: Diff to fix this bug in testing

2010-10-31 Thread Piotr Ożarowski
[Enrico Tassi, 2010-10-31]
 Could you help me in identifying the problem so that I can propose a
 reasonable patch for squeeze?

Griffith 0.11 was written using SQLAlchemy 0.5.X and Squeeze has 0.6.X.
I (with my python-sqlalchemy's maintainer hat on), was prodding other
maintainers to switch to 0.6.X once I uploaded first betas to
experimental and the transition was complete before the freeze... well,
almost complete - no one was prodding me and thus Griffith 0.12 didn't
make it into Squeeze (I was busy with other Debian work).

Migration guide is here¹. You should start from checking changes in
lib/sql.py and lib/db/*.py files.

[¹] http://www.sqlalchemy.org/trac/wiki/06Migration

Since I have extra 2-3 hours every day now, I'm working on complete rewrite
of Griffith (AKA Griffith 2.0) as Griffith 0.X's code is really ugly and
it's hard to add new features (like built-in webserver or Qt interface).
-- 
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl  www.griffith.cc   www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645



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



Bug#600536: python2.7-minimal: fails to configure: E: pycompile:240: Requested versions are not installed

2010-10-18 Thread Piotr Ożarowski
IMHO this bug should be merged with 600529

[Matthias Klose, 2010-10-18]
 while this could be fixed by a dependency on the python-defaults in  
 experimental, I don't think this is the correct fix.  why does pycompile 
 have to complain about this?  this is called from python2.7 itself, so it 
 is part of the python2.7 installation.

I backported something I do in python3-defaults to python-defaults and
uploaded it to experimental yesterday. I will also backport it to
2.6.6-3squeeze1 and upload it today.

 E: pycompile:240: Requested versions are not installed

`pycompile -V 2.7 ...` complains bacause 2.7 is not in supported Python
versions yet (it will be in few more seconds, once python package will
be installed). I changed pycompile to ignore list of supported Python
versions if requested version (not a range!) is installed.
-- 
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl  www.griffith.cc   www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645



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



Bug#598432: python-apt: upgrade fails

2010-09-29 Thread Piotr Ożarowski
python-central doesn't support Python 3, please use dh_python3
-- 
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl  www.griffith.cc   www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645



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



Bug#598432: python-apt: upgrade fails

2010-09-29 Thread Piotr Ożarowski
[Julian Andres Klode, 2010-09-29]
 Dear debian-python subscribers, could someone please propose a fix for
 python-apt? I do not intent to drop Python 3 support, but considering
 that there is a new RC bug each month because python3 packaging changes
 I start to wonder whether this is worth the effort.

I'll try to send you a patch this evening
 
 Python maintainers: Breaking backward compatibility in unstable is not
 nice, especially not every (second) month. You should have thought about
 it while python3 was still in experimental, not afterwards.

Dear release team: please notify Debian developers and upstream authors
about freeze date at least 6 months in advance so that everything can be
planed in a sane way, TIA
-- 
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl  www.griffith.cc   www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645



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



Bug#598432: python-apt: upgrade fails

2010-09-29 Thread Piotr Ożarowski
[Piotr Ozarowski, 2010-09-29]
 attached

here's a version of the patch that also uses dh_python2 (so that
python-central is not needed anymore)
diff -Nru python-apt-0.7.98/debian/changelog python-apt-0.7.98+nmu1/debian/changelog
--- python-apt-0.7.98/debian/changelog	2010-09-28 15:47:51.0 +0200
+++ python-apt-0.7.98+nmu1/debian/changelog	2010-09-29 19:55:36.0 +0200
@@ -1,3 +1,13 @@
+python-apt (0.7.98+nmu1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Use dh_python3 to handle Python 3 files
+- bump minimum required versions of python-central and python3-all-dev
+- add new python3-apt, python3-apt-bdg and python-common binary packages
+  * Replace python-central with dh_python2
+
+ -- Piotr Ożarowski pi...@debian.org  Wed, 29 Sep 2010 19:53:36 +0200
+
 python-apt (0.7.98) unstable; urgency=low
 
   [ Michael Vogt ]
diff -Nru python-apt-0.7.98/debian/control python-apt-0.7.98+nmu1/debian/control
--- python-apt-0.7.98/debian/control	2010-09-07 14:03:20.0 +0200
+++ python-apt-0.7.98+nmu1/debian/control	2010-09-29 20:02:13.0 +0200
@@ -9,11 +9,10 @@
 Build-Depends: apt-utils,
debhelper (= 7.3.5),
libapt-pkg-dev (= 0.8),
-   python-all-dev,
+   python-all-dev (= 2.6.6-3~),
python-all-dbg,
-   python3-all-dev (= 3.1.2-6~),
+   python3-all-dev (= 3.1.2-10~),
python3-all-dbg (= 3.1.2-6~),
-   python-central (= 0.5),
python-distutils-extra (= 2.0),
python-sphinx (= 0.5),
python-debian
@@ -22,10 +21,10 @@
 
 Package: python-apt
 Architecture: any
-Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, python-apt-common
 Recommends: lsb-release, iso-codes, python2.6
-Breaks: debdelta ( 0.28~), packagekit-backend-apt (= 0.4.8-0ubuntu4)
-Provides: python3-apt, ${python:Provides}
+Breaks: debdelta ( 0.28~), packagekit-backend-apt (= 0.4.8-0ubuntu4), ${python:Breaks}
+Provides: ${python:Provides}
 Suggests: python-apt-dbg, python-gtk2, python-vte, python-apt-doc
 XB-Python-Version: ${python:Versions}
 Description: Python interface to libapt-pkg
@@ -82,3 +81,52 @@
  .
  This package contains the header files needed to use python-apt objects from
  C++ applications.
+
+Package: python-apt-common
+Priority: optional
+Architecture: all
+Depends: ${misc:Depends}, python | python3
+Enhances: python-apt, python3-apt
+Breaks: python-apt ( 0.7.98+nmu1)
+Description: Python interface to libapt-pkg (locales)
+ The apt_pkg Python interface will provide full access to the internal
+ libapt-pkg structures allowing Python programs to easily perform a
+ variety of functions.
+ .
+ This package contains locales.
+
+Package: python3-apt
+Architecture: any
+Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}, python-apt-common
+Recommends: lsb-release, iso-codes
+Provides: ${python3:Provides}
+Suggests: python3-apt-dbg, python-apt-doc
+Breaks: python-apt ( 0.7.98+nmu1)
+Replaces: python-apt ( 0.7.98+nmu1)
+Description: Python 3 interface to libapt-pkg
+ The apt_pkg Python 3 interface will provide full access to the internal
+ libapt-pkg structures allowing Python 3 programs to easily perform a
+ variety of functions, such as:
+ .
+  - Access to the APT configuration system
+  - Access to the APT package information database
+  - Parsing of Debian package control files, and other files with a
+similar structure
+ .
+ The included 'aptsources' Python interface provides an abstraction of
+ the sources.list configuration on the repository and the distro level.
+
+Package: python3-apt-dbg
+Priority: extra
+Architecture: any
+Section: debug
+Breaks: python-apt ( 0.7.98+nmu1)
+Depends: python3-dbg, python3-apt (= ${binary:Version}), ${shlibs:Depends},
+ ${misc:Depends}
+Description: Python 3 interface to libapt-pkg (debug extension)
+ The apt_pkg Python 3 interface will provide full access to the internal
+ libapt-pkg structures allowing Python 3 programs to easily perform a
+ variety of functions.
+ .
+ This package contains the extension built for the Python debug interpreter.
+
diff -Nru python-apt-0.7.98/debian/python3-apt-dbg.install python-apt-0.7.98+nmu1/debian/python3-apt-dbg.install
--- python-apt-0.7.98/debian/python3-apt-dbg.install	1970-01-01 01:00:00.0 +0100
+++ python-apt-0.7.98+nmu1/debian/python3-apt-dbg.install	2010-09-29 15:59:03.0 +0200
@@ -0,0 +1 @@
+usr/lib/python3*/*/*_d.so
diff -Nru python-apt-0.7.98/debian/python3-apt.install python-apt-0.7.98+nmu1/debian/python3-apt.install
--- python-apt-0.7.98/debian/python3-apt.install	1970-01-01 01:00:00.0 +0100
+++ python-apt-0.7.98+nmu1/debian/python3-apt.install	2010-09-29 16:17:19.0 +0200
@@ -0,0 +1,4 @@
+usr/lib/python3*/*/apt_pkg.so
+usr/lib/python3*/*/apt_inst.so
+usr/lib/python3*/*/*/
+usr/lib/python3*/*/*.egg-info
diff -Nru python

Bug#590463: griffith: Does not start due to missing module

2010-09-15 Thread Piotr Ożarowski
[Lucas Nussbaum, 2010-09-15]
 Any news on that? That bug is RC.

upstream_hat
Debian froze Squeeze without letting me know and now will not accept my
new upstream version so why should I bother with releasing one soon?
I care about Debian and if I knew there's a deadline, I'd work day and
night to provide a stable release. Now they tell my it's too late...
/upstream_hat

maintainer_hat
I spend all my time convincing upstream that Debian still cares about
quality and I'll do my best to notify him about Wheezy freeze 6 months
in advance.
/maintainer_hat



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



Bug#594814: gaupol: Fails to start

2010-08-29 Thread Piotr Ożarowski
severity 594814 normal
tags 594814 + unreproducible
thanks

[Krzysztof Sobolewski, 2010-08-29]
 jez...@zx-spectrum-1:~$ gaupol
 Traceback (most recent call last):
   File /usr/bin/gaupol, line 3, in module
 import gtk
   File /usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py, line 40, in 
 module
 from gtk import _gtk
 ImportError: No module named cairo

gaupol depends on python-gtk2 which depends on python-cairo, so
sometging's wrong with your system. Do you have python-cairo installed?
Can you paste the output of `ls -la /usr/lib/pymodules/python2.6/cairo`?
Does `update-python-modules -p` (invoked as root) help?


signature.asc
Description: Digital signature


Bug#594129: not a valid fix

2010-08-27 Thread Piotr Ożarowski
tags 594129 - patch
thanks

-XS-Python-Version: current
+XS-Python-Version: 2.6

please do not suggest something like that, current should be replaced
with = 2.6 (if 2.6 is really the minimum required one) and module
byte-compiled for all supported Python versions. If maintainer really
wants it to be compiled for one Python version only, he should move the
module to private directory (--install-lib=/usr/share/binary_package,
with XS-Python-Version set to = 2.6)

XS-Python-Version: 2.6 is even worse than XS-Python-Version: current
-- 
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl  www.griffith.cc   www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645



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



Bug#593936: pycompile: Could not import runpy module; IOError: [Errno 32] Broken pipe

2010-08-22 Thread Piotr Ożarowski
forcemerge 593936 593681
reassign 593936 python2.5 2.5.5-6
retitle 593936 please move runpy.py from python2.5 to python2.5-minimal
thanks

pycompile needs runpy module. Please follow changes in python2.6 and
python2.7 and move this module to python2.5-minimal binary package.

TIA


signature.asc
Description: Digital signature


Bug#584759: does not work with newer SQLAlchemy

2010-07-29 Thread Piotr Ożarowski
Hi Ana

[Ana Guerrero, 2010-07-29]
 On Sun, Jun 06, 2010 at 01:37:22PM +0200, Ana Guerrero wrote:
  zine does not work with SQLAlchemy = 0.6.0.
  You can see a log of the error at:
  http://zine.pocoo.org/community/mailinglist/archive/2010/05/20/zine-install-error
 
 
 So, besides this bug, I am wondering about the status of zine.
 Are you (Armin, Piotr) still interested in maintain it?

Armin will release new upstream release before Squeeze freeze

 The patch linked by Marian fixes the problem here, are you planning to apply
 it soon?  

The patch is not complete. IIRC, SQLAlchemy-migrate parts were missing

Armin: BTW, new Migrate is relased already

 Do you want I do a false NMU (will commit the stuff in python-apps's SVN)
 instead?

please wait a little bit longer
-- 
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl  www.griffith.cc   www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645



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



Bug#590224: python-sqlalchemy: sqlalchemy crashes on import

2010-07-25 Thread Piotr Ożarowski
reassign 590224 python-minimal
thanks

should be fixed in python-defaults 2.6.5-10


signature.asc
Description: Digital signature


Bug#586851: [Debian-med-packaging] Bug#586851: mgltools-vision: diff for NMU version 1.5.4.cvs.20090603-1.1

2010-07-10 Thread Piotr Ożarowski
[Steffen Möller, 2010-07-10]
  PPS binary package name should be python-vision
 
 No, it should either be vision or mgltools-vision. I know about the
 policy, but it does not fit here since the vision pakckage is truly
 for end users, not some library, and they don't care how it is
 implemented.

Can you at least provide python-vision?
-- 
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl  www.griffith.cc   www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645



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



Bug#586842: mgltools-networkeditor: diff for NMU version 1.5.4.cvs.20090603-1.1

2010-07-09 Thread Piotr Ożarowski
tags 586842 + patch
tags 586842 + pending
thanks

Dear maintainer,

I've prepared an NMU for mgltools-networkeditor (versioned as 
1.5.4.cvs.20090603-1.1) and
uploaded it to DELAYED/3. Please feel free to tell me if I
should delay it longer.

Regards.
diff -u mgltools-networkeditor-1.5.4.cvs.20090603/debian/control mgltools-networkeditor-1.5.4.cvs.20090603/debian/control
--- mgltools-networkeditor-1.5.4.cvs.20090603/debian/control
+++ mgltools-networkeditor-1.5.4.cvs.20090603/debian/control
@@ -5,9 +5,9 @@
 DM-Upload-Allowed: yes
 XS-Autobuild: yes
 Uploaders: Steffen Moeller moel...@debian.org, Sargis Dallakyan sar...@scripps.edu
-Build-Depends: debhelper (= 5.0.38), python-central (= 0.5.6), cdbs (= 0.4), python2.5-dev
+Build-Depends: debhelper (= 5.0.38), python-central (= 0.5.6), cdbs (= 0.4), python
 Standards-Version: 3.8.1
-XS-Python-Version: 2.5
+XS-Python-Version: = 2.5
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/mgltools/networkeditor/trunk/?rev=0sc=0
 Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/mgltools/networkeditor/trunk/
 Homepage: http://mgltools.scripps.edu/
diff -u mgltools-networkeditor-1.5.4.cvs.20090603/debian/changelog mgltools-networkeditor-1.5.4.cvs.20090603/debian/changelog
--- mgltools-networkeditor-1.5.4.cvs.20090603/debian/changelog
+++ mgltools-networkeditor-1.5.4.cvs.20090603/debian/changelog
@@ -1,3 +1,10 @@
+mgltools-networkeditor (1.5.4.cvs.20090603-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Allow byte-compilation for Python = 2.5 (closes: 586842)
+
+ -- Piotr Ożarowski pi...@debian.org  Sat, 10 Jul 2010 00:00:55 +0200
+
 mgltools-networkeditor (1.5.4.cvs.20090603-1) unstable; urgency=low
 
   * New upstream version.


signature.asc
Description: Digital signature


Bug#586842: lots of tests still fail

2010-07-09 Thread Piotr Ożarowski
FYI: lots of tests still fail, but the number of failures in Python 2.6
is exactly the same as in Python 2.5


signature.asc
Description: Digital signature


Bug#586851: mgltools-vision: diff for NMU version 1.5.4.cvs.20090603-1.1

2010-07-09 Thread Piotr Ożarowski
tags 586851 + patch
tags 586851 + pending
thanks

Dear maintainer,

I've prepared an NMU for mgltools-vision (versioned as 1.5.4.cvs.20090603-1.1) 
and
uploaded it to DELAYED/3. Please feel free to tell me if I
should delay it longer.

Regards.

PS some tests still fail (same number for Python 2.5 and Python 2.6)
PPS binary package name should be python-vision
diff -u mgltools-vision-1.5.4.cvs.20090603/debian/control mgltools-vision-1.5.4.cvs.20090603/debian/control
--- mgltools-vision-1.5.4.cvs.20090603/debian/control
+++ mgltools-vision-1.5.4.cvs.20090603/debian/control
@@ -5,9 +5,9 @@
 DM-Upload-Allowed: yes
 XS-Autobuild: yes
 Uploaders: Steffen Moeller moel...@debian.org, Sargis Dallakyan sar...@scripps.edu
-Build-Depends: debhelper (= 5.0.38), python-central (= 0.5.6), cdbs (= 0.4), python2.5-dev
+Build-Depends: debhelper (= 5.0.38), python-central (= 0.5.6), cdbs (= 0.4), python
 Standards-Version: 3.8.1
-XS-Python-Version: 2.5
+XS-Python-Version: = 2.5
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/mgltools/vision/trunk/?rev=0sc=0
 Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/mgltools/vision/trunk/
 Homepage: http://mgltools.scripps.edu/
diff -u mgltools-vision-1.5.4.cvs.20090603/debian/changelog mgltools-vision-1.5.4.cvs.20090603/debian/changelog
--- mgltools-vision-1.5.4.cvs.20090603/debian/changelog
+++ mgltools-vision-1.5.4.cvs.20090603/debian/changelog
@@ -1,3 +1,10 @@
+mgltools-vision (1.5.4.cvs.20090603-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Allow byte-compilation for Python = 2.5 (closes: 586851)
+
+ -- Piotr Ożarowski pi...@debian.org  Fri, 09 Jul 2010 23:55:58 +0200
+
 mgltools-vision (1.5.4.cvs.20090603-1) unstable; urgency=low
 
   * New upstream version.


signature.asc
Description: Digital signature


Bug#586852: patch

2010-07-01 Thread Piotr Ożarowski
tags 586852 + patch
thanks

NMU debdiff attached
diff -u mgltools-bhtree-1.5.4.cvs.20090603/debian/control mgltools-bhtree-1.5.4.cvs.20090603/debian/control
--- mgltools-bhtree-1.5.4.cvs.20090603/debian/control
+++ mgltools-bhtree-1.5.4.cvs.20090603/debian/control
@@ -5,9 +5,9 @@
 DM-Upload-Allowed: yes
 XS-Autobuild: yes
 Uploaders: Steffen Moeller moel...@debian.org, Sargis Dallakyan sar...@scripps.edu
-Build-Depends: debhelper (= 5.0.38), python-central (= 0.5.6), cdbs (= 0.4), python2.5-dev, python-numpy, swig (= 1.3.20)
+Build-Depends: debhelper (= 5.0.38), python-central (= 0.5.6), cdbs (= 0.4), python-all-dev, python-numpy, swig (= 1.3.20)
 Standards-Version: 3.8.1
-XS-Python-Version: 2.5
+XS-Python-Version: = 2.5
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/mgltools/bhtree/trunk/?rev=0sc=0
 Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/mgltools/bhtree/trunk/
 Homepage: http://mgltools.scripps.edu/
diff -u mgltools-bhtree-1.5.4.cvs.20090603/debian/changelog mgltools-bhtree-1.5.4.cvs.20090603/debian/changelog
--- mgltools-bhtree-1.5.4.cvs.20090603/debian/changelog
+++ mgltools-bhtree-1.5.4.cvs.20090603/debian/changelog
@@ -1,3 +1,10 @@
+mgltools-bhtree (1.5.4.cvs.20090603-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Allow byte-compilation for Python = 2.5 (closes: #586852)
+
+ -- Piotr Ożarowski pi...@debian.org  Wed, 30 Jun 2010 21:05:47 +0200
+
 mgltools-bhtree (1.5.4.cvs.20090603-1) unstable; urgency=low
 
   * New upstream version.


signature.asc
Description: Digital signature


Bug#586837: patch

2010-07-01 Thread Piotr Ożarowski
tags 586837 + patch
thanks

NMU debdiff attached
diff -u mgltools-dejavu-1.5.4.cvs.20090603/debian/control mgltools-dejavu-1.5.4.cvs.20090603/debian/control
--- mgltools-dejavu-1.5.4.cvs.20090603/debian/control
+++ mgltools-dejavu-1.5.4.cvs.20090603/debian/control
@@ -5,9 +5,9 @@
 DM-Upload-Allowed: yes
 XS-Autobuild: yes
 Uploaders: Steffen Moeller moel...@debian.org, Sargis Dallakyan sar...@scripps.edu
-Build-Depends: debhelper (= 5.0.38), python-central (= 0.5.6), cdbs (= 0.4), python2.5-dev, mesa-common-dev, x11proto-core-dev, libx11-dev, python-numpy
+Build-Depends: debhelper (= 5.0.38), python-central (= 0.5.6), cdbs (= 0.4), python, mesa-common-dev, x11proto-core-dev, libx11-dev, python-numpy
 Standards-Version: 3.8.1
-XS-Python-Version: 2.5
+XS-Python-Version: = 2.5
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/mgltools/dejavu/trunk/?rev=0sc=0
 Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/mgltools/dejavu/trunk/
 Homepage: http://mgltools.scripps.edu/
diff -u mgltools-dejavu-1.5.4.cvs.20090603/debian/changelog mgltools-dejavu-1.5.4.cvs.20090603/debian/changelog
--- mgltools-dejavu-1.5.4.cvs.20090603/debian/changelog
+++ mgltools-dejavu-1.5.4.cvs.20090603/debian/changelog
@@ -1,3 +1,10 @@
+mgltools-dejavu (1.5.4.cvs.20090603-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Allow byte-compilation for Python = 2.5 (closes: #586837)
+
+ -- Piotr Ożarowski pi...@debian.org  Wed, 30 Jun 2010 22:23:39 +0200
+
 mgltools-dejavu (1.5.4.cvs.20090603-1) unstable; urgency=low
 
   * New upstream version.


signature.asc
Description: Digital signature


Bug#586839: patch

2010-07-01 Thread Piotr Ożarowski
tags 586839 + patch
thanks

NMU debdiff attached
diff -u mgltools-gle-1.5.4.cvs.20090603/debian/control mgltools-gle-1.5.4.cvs.20090603/debian/control
--- mgltools-gle-1.5.4.cvs.20090603/debian/control
+++ mgltools-gle-1.5.4.cvs.20090603/debian/control
@@ -5,9 +5,9 @@
 DM-Upload-Allowed: yes
 XS-Autobuild: yes
 Uploaders: Steffen Moeller moel...@debian.org, Sargis Dallakyan sar...@scripps.edu
-Build-Depends: debhelper (= 5.0.38), python-central (= 0.5.6), cdbs (= 0.4), swig (= 1.3.20), python2.5-dev, python-numpy, libglu1-mesa-dev, mesa-common-dev
+Build-Depends: debhelper (= 5.0.38), python-central (= 0.5.6), cdbs (= 0.4), swig (= 1.3.20), python-all-dev, python-numpy, libglu1-mesa-dev, mesa-common-dev
 Standards-Version: 3.8.1
-XS-Python-Version: 2.5
+XS-Python-Version: = 2.5
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/mgltools/gle/trunk/?rev=0sc=0
 Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/mgltools/gle/trunk/
 Homepage: http://mgltools.scripps.edu/
diff -u mgltools-gle-1.5.4.cvs.20090603/debian/changelog mgltools-gle-1.5.4.cvs.20090603/debian/changelog
--- mgltools-gle-1.5.4.cvs.20090603/debian/changelog
+++ mgltools-gle-1.5.4.cvs.20090603/debian/changelog
@@ -1,3 +1,10 @@
+mgltools-gle (1.5.4.cvs.20090603-1.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Build extension for all supported Python versions (closes: #586839)
+
+ -- Piotr Ożarowski pi...@debian.org  Wed, 30 Jun 2010 21:50:08 +0200
+
 mgltools-gle (1.5.4.cvs.20090603-1.1) unstable; urgency=low
 
   * Non-maintainer upload.


signature.asc
Description: Digital signature


Bug#586840: patch

2010-07-01 Thread Piotr Ożarowski
tags 586840 + patch
thanks

NMU debdiff attached
reverted:
--- mgltools-mglutil-1.5.4.cvs.20090603/mglutil/TestUtil/publishPack.csh
+++ mgltools-mglutil-1.5.4.cvs.20090603.orig/mglutil/TestUtil/publishPack.csh
@@ -1,4 +1,4 @@
+#!/bin/tcsh
-#!/usr/bin/tcsh
 
 # 1) go to the mgl version of the packages
 # cd /mgl/python/share/lib/python2.5/site-packages/
diff -u mgltools-mglutil-1.5.4.cvs.20090603/debian/control mgltools-mglutil-1.5.4.cvs.20090603/debian/control
--- mgltools-mglutil-1.5.4.cvs.20090603/debian/control
+++ mgltools-mglutil-1.5.4.cvs.20090603/debian/control
@@ -5,9 +5,9 @@
 DM-Upload-Allowed: yes
 XS-Autobuild: yes
 Uploaders: Steffen Moeller moel...@debian.org, Sargis Dallakyan sar...@scripps.edu
-Build-Depends: debhelper (= 5.0.38), python-central (= 0.5.6), cdbs (= 0.4), python2.5-dev
+Build-Depends: debhelper (= 5.0.38), python-central (= 0.5.6), cdbs (= 0.4), python, quilt
 Standards-Version: 3.8.1
-XS-Python-Version: 2.5
+XS-Python-Version: = 2.5
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/mgltools/pybabel/trunk/?rev=0sc=0
 Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/mgltools/pybabel/trunk/
 Homepage: http://mgltools.scripps.edu/
diff -u mgltools-mglutil-1.5.4.cvs.20090603/debian/rules mgltools-mglutil-1.5.4.cvs.20090603/debian/rules
--- mgltools-mglutil-1.5.4.cvs.20090603/debian/rules
+++ mgltools-mglutil-1.5.4.cvs.20090603/debian/rules
@@ -14,10 +14,9 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/python-distutils.mk
-#include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 
 clean::
 	find . -name CVS -a -type d| xargs -r rm -r
 	find . -name *.gif | xargs -r chmod -x
-	find . -name *.csh | xargs -r sed -i -e 's%#!/bin/tcsh%#!/usr/bin/tcsh%'
 	find . -name *.csh -o -name getlatest | xargs -r chmod +x
 	rm -rf build build-stamp debian/Pmv
diff -u mgltools-mglutil-1.5.4.cvs.20090603/debian/changelog mgltools-mglutil-1.5.4.cvs.20090603/debian/changelog
--- mgltools-mglutil-1.5.4.cvs.20090603/debian/changelog
+++ mgltools-mglutil-1.5.4.cvs.20090603/debian/changelog
@@ -1,3 +1,13 @@
+mgltools-mglutil (1.5.4.cvs.20090603-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Add fix_shebangs.patch to drop hardcoded pythoh2.5 dependency
+  * Add fix_assertion.patch to fix compatibility with Python 2.6
+  * Allow byte-compilation for Python = 2.5
+(closes: 586840)
+
+ -- Piotr Ożarowski pi...@debian.org  Wed, 30 Jun 2010 20:35:25 +0200
+
 mgltools-mglutil (1.5.4.cvs.20090603-1) unstable; urgency=low
 
   * New upstream version.
only in patch2:
unchanged:
--- mgltools-mglutil-1.5.4.cvs.20090603.orig/debian/patches/fix_assertion.patch
+++ mgltools-mglutil-1.5.4.cvs.20090603/debian/patches/fix_assertion.patch
@@ -0,0 +1,13 @@
+Index: mgltools-mglutil-1.5.4.cvs.20090603/mglutil/math/Tests/test_matToAxis.py
+===
+--- mgltools-mglutil-1.5.4.cvs.20090603.orig/mglutil/math/Tests/test_matToAxis.py
 mgltools-mglutil-1.5.4.cvs.20090603/mglutil/math/Tests/test_matToAxis.py
+@@ -33,7 +33,7 @@ def rotateObject():
+ for i in range(len(m1)):
+ if fabs(m1[i]-m2[i])  1e-4:
+ bSame = False
+-assert (bSame, True)
++assert bSame, True
+ 
+ 
+ def test_rotateObject():
only in patch2:
unchanged:
--- mgltools-mglutil-1.5.4.cvs.20090603.orig/debian/patches/fix_shebangs.patch
+++ mgltools-mglutil-1.5.4.cvs.20090603/debian/patches/fix_shebangs.patch
@@ -0,0 +1,30 @@
+Index: mgltools-mglutil-1.5.4.cvs.20090603/mglutil/TestUtil/bin/publish
+===
+--- mgltools-mglutil-1.5.4.cvs.20090603.orig/mglutil/TestUtil/bin/publish
 mgltools-mglutil-1.5.4.cvs.20090603/mglutil/TestUtil/bin/publish
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python2.5
++#!/usr/bin/env python
+ #
+ from optparse import OptionParser
+ import time, sys, os, string
+Index: mgltools-mglutil-1.5.4.cvs.20090603/mglutil/TestUtil/bin/tester
+===
+--- mgltools-mglutil-1.5.4.cvs.20090603.orig/mglutil/TestUtil/bin/tester
 mgltools-mglutil-1.5.4.cvs.20090603/mglutil/TestUtil/bin/tester
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python2.5
++#!/usr/bin/env python
+ #
+ 
+ from optparse import OptionParser
+Index: mgltools-mglutil-1.5.4.cvs.20090603/mglutil/TestUtil/publishPack.csh
+===
+--- mgltools-mglutil-1.5.4.cvs.20090603.orig/mglutil/TestUtil/publishPack.csh
 mgltools-mglutil-1.5.4.cvs.20090603/mglutil/TestUtil/publishPack.csh
+@@ -1,4 +1,4 @@
+-#!/bin/tcsh
++#!/usr/bin/tcsh
+ 
+ # 1) go to the mgl version of the packages
+ # cd /mgl/python/share/lib/python2.5/site-packages/
only in patch2:
unchanged:
--- mgltools-mglutil-1.5.4.cvs.20090603.orig/debian/patches/series
+++ mgltools-mglutil-1.5.4.cvs.20090603/debian/patches/series
@@ -0,0 +1,2

Bug#586843: patch

2010-07-01 Thread Piotr Ożarowski
tags 586843 + patch
thanks

NMU debdiff attached
diff -u mgltools-opengltk-1.5.4.cvs.20090603/debian/control mgltools-opengltk-1.5.4.cvs.20090603/debian/control
--- mgltools-opengltk-1.5.4.cvs.20090603/debian/control
+++ mgltools-opengltk-1.5.4.cvs.20090603/debian/control
@@ -5,9 +5,9 @@
 DM-Upload-Allowed: yes
 XS-Autobuild: yes
 Uploaders: Steffen Moeller moel...@debian.org, Sargis Dallakyan sar...@scripps.edu
-Build-Depends: debhelper (= 5.0.38), python-central (= 0.5.6), cdbs (= 0.4), python2.5-dev, swig (= 1.3.20), libglu1-mesa-dev, mesa-common-dev, tk8.4-dev|tk8.5-dev|tk-dev, libxmu-dev, python-numpy
+Build-Depends: debhelper (= 5.0.38), python-central (= 0.5.6), cdbs (= 0.4), python-all-dev, swig (= 1.3.20), libglu1-mesa-dev, mesa-common-dev, tk8.4-dev|tk8.5-dev|tk-dev, libxmu-dev, python-numpy
 Standards-Version: 3.8.1
-XS-Python-Version: 2.5
+XS-Python-Version: = 2.5
 Homepage: http://mgltools.scripps.edu/
 
 Package: mgltools-opengltk
diff -u mgltools-opengltk-1.5.4.cvs.20090603/debian/rules mgltools-opengltk-1.5.4.cvs.20090603/debian/rules
--- mgltools-opengltk-1.5.4.cvs.20090603/debian/rules
+++ mgltools-opengltk-1.5.4.cvs.20090603/debian/rules
@@ -10,7 +10,6 @@
 #export DH_VERBOSE=1
 
 export DEB_PYTHON_SYSTEM=pycentral
-export DH_PYCENTRAL=nomove
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/python-distutils.mk
@@ -21,4 +20,4 @@
-export DH_PYCENTRAL=nomove
 clean::
 	find . -name CVS -a -type d| xargs -r rm -rf
 	rm -rf build build-stamp debian/Pmv
+	cd opengltk/extent/  rm -f gl_i.h.diff glext_mgltools_i.h.diff glextlib.py.diff glextlib_wrap.c.diff gllib.py.diff gllib_wrap.c.diff glu_i.h.diff glulib.py.diff glulib_wrap.c.diff glx_i.h.diff glxlib.py.diff glxlib_wrap.c.diff utillib.py.diff utillib_wrap.c.diff
diff -u mgltools-opengltk-1.5.4.cvs.20090603/debian/changelog mgltools-opengltk-1.5.4.cvs.20090603/debian/changelog
--- mgltools-opengltk-1.5.4.cvs.20090603/debian/changelog
+++ mgltools-opengltk-1.5.4.cvs.20090603/debian/changelog
@@ -1,3 +1,10 @@
+mgltools-opengltk (1.5.4.cvs.20090603-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Build extension for all supported Python versions (closes: #586843)
+
+ -- Piotr Ożarowski pi...@debian.org  Wed, 30 Jun 2010 21:21:01 +0200
+
 mgltools-opengltk (1.5.4.cvs.20090603-1) unstable; urgency=low
 
   * New upstream version.


signature.asc
Description: Digital signature


Bug#586846: patch

2010-07-01 Thread Piotr Ożarowski
tags 586846 + patch
thanks

NMU debdiff attached
diff -u mgltools-pyglf-1.5.4.cvs.20090603/debian/control mgltools-pyglf-1.5.4.cvs.20090603/debian/control
--- mgltools-pyglf-1.5.4.cvs.20090603/debian/control
+++ mgltools-pyglf-1.5.4.cvs.20090603/debian/control
@@ -5,9 +5,9 @@
 DM-Upload-Allowed: yes
 XS-Autobuild: yes
 Uploaders: Steffen Moeller moel...@debian.org, Sargis Dallakyan sar...@scripps.edu
-Build-Depends: debhelper (= 5.0.38), python-central (= 0.5.6), cdbs (= 0.4), python2.5-dev, libxi-dev, swig, libglu1-mesa-dev, libxmu-dev, mesa-common-dev, libglut3-dev, python-numpy
+Build-Depends: debhelper (= 5.0.38), python-central (= 0.5.6), cdbs (= 0.4), python-all-dev, libxi-dev, swig, libglu1-mesa-dev, libxmu-dev, mesa-common-dev, libglut3-dev, python-numpy
 Standards-Version: 3.8.1
-XS-Python-Version: 2.5
+XS-Python-Version: = 2.5
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/mgltools/pyglf/trunk/?rev=0sc=0
 Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/mgltools/pyglf/trunk/
 Homepage: http://mgltools.scripps.edu/
diff -u mgltools-pyglf-1.5.4.cvs.20090603/debian/changelog mgltools-pyglf-1.5.4.cvs.20090603/debian/changelog
--- mgltools-pyglf-1.5.4.cvs.20090603/debian/changelog
+++ mgltools-pyglf-1.5.4.cvs.20090603/debian/changelog
@@ -1,3 +1,10 @@
+mgltools-pyglf (1.5.4.cvs.20090603-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Build extension for all supported Python versions (closes: #586846)
+
+ -- Piotr Ożarowski pi...@debian.org  Wed, 30 Jun 2010 22:32:52 +0200
+
 mgltools-pyglf (1.5.4.cvs.20090603-1) unstable; urgency=low
 
   * New upstream version.


signature.asc
Description: Digital signature


Bug#586847: patch

2010-07-01 Thread Piotr Ożarowski
tags 586847 + patch
thanks

NMU debdiff attached
diff -u mgltools-sff-1.5.4.cvs.20090603/debian/control mgltools-sff-1.5.4.cvs.20090603/debian/control
--- mgltools-sff-1.5.4.cvs.20090603/debian/control
+++ mgltools-sff-1.5.4.cvs.20090603/debian/control
@@ -5,9 +5,9 @@
 DM-Upload-Allowed: yes
 XS-Autobuild: yes
 Uploaders: Steffen Moeller moel...@debian.org, Sargis Dallakyan sar...@scripps.edu
-Build-Depends: debhelper (= 5.0.38), python-central (= 0.5.6), cdbs (= 0.4), python2.5-dev, swig (= 1.3.20), python-numpy, mgltools-bhtree
+Build-Depends: debhelper (= 5.0.38), python-central (= 0.5.6), cdbs (= 0.4), python-all-dev, swig (= 1.3.20), python-numpy, mgltools-bhtree
 Standards-Version: 3.8.1
-XS-Python-Version: 2.5
+XS-Python-Version: = 2.5
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/mgltools/sff/trunk/?rev=0sc=0
 Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/mgltools/sff/trunk/
 Homepage: http://mgltools.scripps.edu/
diff -u mgltools-sff-1.5.4.cvs.20090603/debian/changelog mgltools-sff-1.5.4.cvs.20090603/debian/changelog
--- mgltools-sff-1.5.4.cvs.20090603/debian/changelog
+++ mgltools-sff-1.5.4.cvs.20090603/debian/changelog
@@ -1,3 +1,10 @@
+mgltools-sff (1.5.4.cvs.20090603-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Build extension for all supported Python versions (closes: #586847)
+
+ -- Piotr Ożarowski pi...@debian.org  Wed, 30 Jun 2010 21:11:05 +0200
+
 mgltools-sff (1.5.4.cvs.20090603-1) unstable; urgency=low
 
   * New upstream version.


signature.asc
Description: Digital signature


Bug#586850: patch

2010-07-01 Thread Piotr Ożarowski
tags 586850 + patch
thanks

NMU debdiff attached
diff -u mgltools-viewerframework-1.5.4.cvs.20090603/debian/control mgltools-viewerframework-1.5.4.cvs.20090603/debian/control
--- mgltools-viewerframework-1.5.4.cvs.20090603/debian/control
+++ mgltools-viewerframework-1.5.4.cvs.20090603/debian/control
@@ -5,9 +5,9 @@
 DM-Upload-Allowed: yes
 XS-Autobuild: yes
 Uploaders: Steffen Moeller moel...@debian.org, Sargis Dallakyan sar...@scripps.edu
-Build-Depends: debhelper (= 5.0.38), python-central (= 0.5.6), cdbs (= 0.4), python2.5-dev
+Build-Depends: debhelper (= 5.0.38), python-central (= 0.5.6), cdbs (= 0.4), python
 Standards-Version: 3.8.1
-XS-Python-Version: 2.5
+XS-Python-Version: = 2.5
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/mgltools/viewerframework/trunk/?rev=0sc=0
 Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/mgltools/viewerframework/trunk/
 Homepage: http://mgltools.scripps.edu/
diff -u mgltools-viewerframework-1.5.4.cvs.20090603/debian/changelog mgltools-viewerframework-1.5.4.cvs.20090603/debian/changelog
--- mgltools-viewerframework-1.5.4.cvs.20090603/debian/changelog
+++ mgltools-viewerframework-1.5.4.cvs.20090603/debian/changelog
@@ -1,3 +1,10 @@
+mgltools-viewerframework (1.5.4.cvs.20090603-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Allow byte-compilation for Python = 2.5 (closes: #586850)
+
+ -- Piotr Ożarowski pi...@debian.org  Wed, 30 Jun 2010 22:38:16 +0200
+
 mgltools-viewerframework (1.5.4.cvs.20090603-1) unstable; urgency=low
 
   * New upstream version.


signature.asc
Description: Digital signature


Bug#586844: patch

2010-07-01 Thread Piotr Ożarowski
tags 585252 + patch
tags 586844 + patch
thanks

NMU debdiff attached

Please note that /usr/bin/runPmv still doesn't work (it doesn't work
with python2.5 as well, BTW). It warns about some deprecation warnings,
opens a window with a message that AutoLigandCommand module cannot be
loaded and then segfaults. I didn't try to fix it as it doesn't seem to
be related to #585252.

PS site/dist-packages should be cleaned, it contains data files, docs,
   icons, ...
PPS Debian Python policy suggests python-pmv as binary package name
diff -u mgltools-pmv-1.5.4.cvs.20090603/debian/control mgltools-pmv-1.5.4.cvs.20090603/debian/control
--- mgltools-pmv-1.5.4.cvs.20090603/debian/control
+++ mgltools-pmv-1.5.4.cvs.20090603/debian/control
@@ -5,9 +5,9 @@
 DM-Upload-Allowed: yes
 XS-Autobuild: yes
 Uploaders: Steffen Moeller moel...@debian.org, Sargis Dallakyan sar...@scripps.edu
-Build-Depends: debhelper (= 5.0.38), python-central (= 0.5.6), cdbs (= 0.4), python2.5-dev
+Build-Depends: debhelper (= 5.0.38), python-central (= 0.5.6), cdbs (= 0.4), python, quilt
 Standards-Version: 3.8.1
-XS-Python-Version: 2.5
+XS-Python-Version: = 2.5
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/mgltools/pmv/trunk/?rev=0sc=0
 Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/mgltools/pmv/trunk/
 Homepage: http://mgltools.scripps.edu/
diff -u mgltools-pmv-1.5.4.cvs.20090603/debian/rules mgltools-pmv-1.5.4.cvs.20090603/debian/rules
--- mgltools-pmv-1.5.4.cvs.20090603/debian/rules
+++ mgltools-pmv-1.5.4.cvs.20090603/debian/rules
@@ -13,11 +13,11 @@
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/python-distutils.mk
-#include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 
 clean::
 	rm -rf build build-stamp debian/Pmv
-	find . -name runPmv -exec chmod 755 {} \;
+	find . -name runPmv -delete
 	find . -name CVS -a -type d | xargs -r rm -r
 	find . -name *.pdb -exec chmod 644 {} \;
 	sed -i -e 's/# update the widget entr.*$$/# update the widget entryfields/' Pmv/sdCommands.py
diff -u mgltools-pmv-1.5.4.cvs.20090603/debian/changelog mgltools-pmv-1.5.4.cvs.20090603/debian/changelog
--- mgltools-pmv-1.5.4.cvs.20090603/debian/changelog
+++ mgltools-pmv-1.5.4.cvs.20090603/debian/changelog
@@ -1,3 +1,13 @@
+mgltools-pmv (1.5.4.cvs.20090603-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Add fix_shebangs.patch and change XS-Python-Version to = 2.5
+(closes: #586844)
+  * Remove runPmv file in clean rule
+  * Add fix_string_exceptions.patch (closes: #585252)
+
+ -- Piotr Ożarowski pi...@debian.org  Wed, 30 Jun 2010 20:05:07 +0200
+
 mgltools-pmv (1.5.4.cvs.20090603-1) unstable; urgency=low
 
   * New upstream version.
only in patch2:
unchanged:
--- mgltools-pmv-1.5.4.cvs.20090603.orig/debian/patches/fix_string_exceptions.patch
+++ mgltools-pmv-1.5.4.cvs.20090603/debian/patches/fix_string_exceptions.patch
@@ -0,0 +1,22 @@
+Index: mgltools-pmv-1.5.4.cvs.20090603/Pmv/amberCommands.py
+===
+--- mgltools-pmv-1.5.4.cvs.20090603.orig/Pmv/amberCommands.py
 mgltools-pmv-1.5.4.cvs.20090603/Pmv/amberCommands.py
+@@ -1244,7 +1244,7 @@ class ConstrainAtomsAmber94(MVCommand):
+ print 'in updateLabels'
+ if numConstr==None:
+ print 'skipping update to None'
+-raise 'abc'
++raise Exception('abc')
+ return
+ cstr = 'Currently ' + str(numConstr) + ' constrained Atoms'
+ for c in [self.vf.minimize_Amber94, self.vf.md_Amber94, self]:
+@@ -2754,7 +2754,7 @@ class FixAmberResNamesAndOrderAtomsComma
+ else:
+ msg = res.name + ' has extra atoms '
+ #self.warningMsg(msg)
+-raise msg
++raise Exception(msg)
+ 
+ 
+ def doit(self, nodes):
only in patch2:
unchanged:
--- mgltools-pmv-1.5.4.cvs.20090603.orig/debian/patches/fix_shebangs.patch
+++ mgltools-pmv-1.5.4.cvs.20090603/debian/patches/fix_shebangs.patch
@@ -0,0 +1,23 @@
+Index: mgltools-pmv-1.5.4.cvs.20090603/Pmv/bin/pmv
+===
+--- mgltools-pmv-1.5.4.cvs.20090603.orig/Pmv/bin/pmv
 mgltools-pmv-1.5.4.cvs.20090603/Pmv/bin/pmv
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python2.5
++#!/usr/bin/env python
+ #
+ # $Header: /opt/cvs/python/packages/share1.5/Pmv/bin/pmv,v 1.12 2007/10/29 21:26:57 vareille Exp $
+ # $Id: pmv,v 1.12 2007/10/29 21:26:57 vareille Exp $
+Index: mgltools-pmv-1.5.4.cvs.20090603/setup.py
+===
+--- mgltools-pmv-1.5.4.cvs.20090603.orig/setup.py
 mgltools-pmv-1.5.4.cvs.20090603/setup.py
+@@ -43,7 +43,7 @@ class modified_build_scripts(build_scrip
+ forig = open(script+.py, r)
+ txt = forig.readlines()
+ forig.close()
+-fnew.write(#!/usr/bin/env python2.4\n)
++fnew.write(#!/usr/bin/env python\n

Bug#586830: [Debian-med-packaging] Bug#586830: marked as done (hardcodes Python 2.5)

2010-06-30 Thread Piotr Ożarowski
[Charles Plessy, 2010-06-30]
 What makes you think that autodocktools works with python 2.6 if upstream
 hardcoded it for 2.5. Have you tested the package before uploading?
 
 I understand that you may be disapointed that we have not answered your bug
 report, but please consider that people may be busy, and that the absence of
 answer does not mean that we were not thinking about the question (can 
 autodock
 run with python = 2.5?).
 
 I am still puzzled why a NMU with no consultation with the maintainer was
 chosen instead of simply removing the package from Testing.

yeah, I did some code reviewing and didn't spot anything that doesn't
work with 2.6. Could you point me to what is not working so that I can
fix it since you're busy?



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



Bug#586839: [Debian-med-packaging] Bug#586839: mgltools-gle: depends on python ( 2.6)

2010-06-30 Thread Piotr Ożarowski
[Steffen Möller, 2010-06-30]
 On 06/30/2010 09:27 AM, Ralf Treinen wrote:
  After the recent transition of phython-2.6 to testing, this makes 
  mgltools-gle also uninstallable in testing.

 Pjotr,

s/j/i/

 can you please address this one and all the other mgltool-*
 packages that are not autobuilt, too?

I will take a look, is this related to autodocktools?
-- 
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl  www.griffith.cc   www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645



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



Bug#586841: patch

2010-06-30 Thread Piotr Ożarowski
tags 586841 + patch
tags 585251 + patch
thanks

I will upload fixed package to DELAYED/7, please check attached debdiff
and do maintainer upload if you think my changes are ok.

I fixed all mgl* packages but some of them still have lintian errors,
do not clean itself after the build (i.e. when built twice in a row,
.diff.gz is different) or FTBFS in a non clean environment - I didn't
fix those.

Next patches will follow soon, if you don't want me to upload to
DELAYED, ping me on IRC.
-- 
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl  www.griffith.cc   www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645
diff -u mgltools-molkit-1.5.4.cvs.20090603/debian/control mgltools-molkit-1.5.4.cvs.20090603/debian/control
--- mgltools-molkit-1.5.4.cvs.20090603/debian/control
+++ mgltools-molkit-1.5.4.cvs.20090603/debian/control
@@ -5,16 +5,16 @@
 DM-Upload-Allowed: yes
 XS-Autobuild: yes
 Uploaders: Steffen Moeller moel...@debian.org, Sargis Dallakyan sar...@scripps.edu
-Build-Depends: debhelper (= 5.0.38), python-central (= 0.5.6), cdbs (= 0.4), python2.5-dev, python-numpy
+Build-Depends: debhelper (= 5.0.38), python-central (= 0.5.6), cdbs (= 0.4), python, python-numpy, quilt
 Standards-Version: 3.8.1
-XS-Python-Version: 2.5
+XS-Python-Version: = 2.5
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/mgltools/molkit/trunk/?rev=0sc=0
 Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/mgltools/molkit/trunk/
 Homepage: http://mgltools.scripps.edu/
 
 Package: mgltools-molkit
 XB-Python-Version: ${python:Versions}
-Architecture: any
+Architecture: all
 Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, mgltools-pybabel, mgltools-dejavu, mgltools-bhtree, mgltools-sff, python-numpy
 Recommends: mgltools-cmolkit
 Suggests: pdb2pqr
diff -u mgltools-molkit-1.5.4.cvs.20090603/debian/changelog mgltools-molkit-1.5.4.cvs.20090603/debian/changelog
--- mgltools-molkit-1.5.4.cvs.20090603/debian/changelog
+++ mgltools-molkit-1.5.4.cvs.20090603/debian/changelog
@@ -1,3 +1,13 @@
+mgltools-molkit (1.5.4.cvs.20090603-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Build for all supported Python versions, add fix_import_star.patch
+(closes: #586841)
+  * Add fix_string_exceptions.patch (closes: #585251)
+  * Architecture changed to all
+
+ -- Piotr Ożarowski pi...@debian.org  Wed, 30 Jun 2010 21:55:04 +0200
+
 mgltools-molkit (1.5.4.cvs.20090603-1) unstable; urgency=low
 
   * New upstream version.
only in patch2:
unchanged:
--- mgltools-molkit-1.5.4.cvs.20090603.orig/debian/patches/series
+++ mgltools-molkit-1.5.4.cvs.20090603/debian/patches/series
@@ -0,0 +1,2 @@
+fix_string_exceptions.patch
+fix_import_star.patch
only in patch2:
unchanged:
--- mgltools-molkit-1.5.4.cvs.20090603.orig/debian/patches/fix_string_exceptions.patch
+++ mgltools-molkit-1.5.4.cvs.20090603/debian/patches/fix_string_exceptions.patch
@@ -0,0 +1,103 @@
+Index: mgltools-molkit-1.5.4.cvs.20090603/MolKit/pdb2pqr/pdb2pka/NEWligand_topology.py
+===
+--- mgltools-molkit-1.5.4.cvs.20090603.orig/MolKit/pdb2pqr/pdb2pka/NEWligand_topology.py
 mgltools-molkit-1.5.4.cvs.20090603/MolKit/pdb2pqr/pdb2pka/NEWligand_topology.py
+@@ -405,7 +405,7 @@ class get_ligand_topology:
+ self.biglist.append(real_list)
+ return 
+ else:
+-raise 'this should not happen'
++raise Exception('this should not happen')
+ 
+ #
+ # -
+Index: mgltools-molkit-1.5.4.cvs.20090603/MolKit/pdb2pqr/pdb2pka/inputgen_pKa.py
+===
+--- mgltools-molkit-1.5.4.cvs.20090603.orig/MolKit/pdb2pqr/pdb2pka/inputgen_pKa.py
 mgltools-molkit-1.5.4.cvs.20090603/MolKit/pdb2pqr/pdb2pka/inputgen_pKa.py
+@@ -136,7 +136,9 @@ class inputGen:
+ #
+ # Not a known type
+ #
+-raise 'unknown type',type
++# TODO: Exception() is used here instead of TypeError for backwards compatibility, fix it once sure that no TypeError is fine
++#raise TypeError('unknown type',type)
++raise Exception('unknown type',type)
+ return
+ 
+ def getText_sub(self):
+@@ -165,7 +167,7 @@ class inputGen:
+ text += nlev 4\n
+ 
+ else:
+-raise 'unknown method'
++raise Exception('unknown method')
+ #
+ text += mol 1\n
+ text += lpbe\n 
+@@ -214,7 +216,7 @@ class inputGen:
+ #
+ # Eh?
+ #
+-raise 'type not set'
++raise Exception('type not set')
+ 
+ #
+ # --
+Index: mgltools-molkit-1.5.4.cvs.20090603/MolKit/pdb2pqr/pdb2pka/ligand_topology.py
+===
+--- mgltools

Bug#586841: patch

2010-06-30 Thread Piotr Ożarowski
ups, I forgot to update debian/rules, new patch attached
-- 
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl  www.griffith.cc   www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645
diff -u mgltools-molkit-1.5.4.cvs.20090603/debian/control mgltools-molkit-1.5.4.cvs.20090603/debian/control
--- mgltools-molkit-1.5.4.cvs.20090603/debian/control
+++ mgltools-molkit-1.5.4.cvs.20090603/debian/control
@@ -5,16 +5,16 @@
 DM-Upload-Allowed: yes
 XS-Autobuild: yes
 Uploaders: Steffen Moeller moel...@debian.org, Sargis Dallakyan sar...@scripps.edu
-Build-Depends: debhelper (= 5.0.38), python-central (= 0.5.6), cdbs (= 0.4), python2.5-dev, python-numpy
+Build-Depends: debhelper (= 5.0.38), python-central (= 0.5.6), cdbs (= 0.4), python, python-numpy, quilt
 Standards-Version: 3.8.1
-XS-Python-Version: 2.5
+XS-Python-Version: = 2.5
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/mgltools/molkit/trunk/?rev=0sc=0
 Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/mgltools/molkit/trunk/
 Homepage: http://mgltools.scripps.edu/
 
 Package: mgltools-molkit
 XB-Python-Version: ${python:Versions}
-Architecture: any
+Architecture: all
 Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, mgltools-pybabel, mgltools-dejavu, mgltools-bhtree, mgltools-sff, python-numpy
 Recommends: mgltools-cmolkit
 Suggests: pdb2pqr
diff -u mgltools-molkit-1.5.4.cvs.20090603/debian/rules mgltools-molkit-1.5.4.cvs.20090603/debian/rules
--- mgltools-molkit-1.5.4.cvs.20090603/debian/rules
+++ mgltools-molkit-1.5.4.cvs.20090603/debian/rules
@@ -13,7 +13,7 @@
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/python-distutils.mk
-#include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 
 clean::
 	find . -name CVS -a -type d| xargs -r rm -r
diff -u mgltools-molkit-1.5.4.cvs.20090603/debian/changelog mgltools-molkit-1.5.4.cvs.20090603/debian/changelog
--- mgltools-molkit-1.5.4.cvs.20090603/debian/changelog
+++ mgltools-molkit-1.5.4.cvs.20090603/debian/changelog
@@ -1,3 +1,13 @@
+mgltools-molkit (1.5.4.cvs.20090603-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Build for all supported Python versions, add fix_import_star.patch
+(closes: #586841)
+  * Add fix_string_exceptions.patch (closes: #585251)
+  * Architecture changed to all
+
+ -- Piotr Ożarowski pi...@debian.org  Wed, 30 Jun 2010 21:55:04 +0200
+
 mgltools-molkit (1.5.4.cvs.20090603-1) unstable; urgency=low
 
   * New upstream version.
only in patch2:
unchanged:
--- mgltools-molkit-1.5.4.cvs.20090603.orig/debian/patches/series
+++ mgltools-molkit-1.5.4.cvs.20090603/debian/patches/series
@@ -0,0 +1,2 @@
+fix_string_exceptions.patch
+fix_import_star.patch
only in patch2:
unchanged:
--- mgltools-molkit-1.5.4.cvs.20090603.orig/debian/patches/fix_string_exceptions.patch
+++ mgltools-molkit-1.5.4.cvs.20090603/debian/patches/fix_string_exceptions.patch
@@ -0,0 +1,103 @@
+Index: mgltools-molkit-1.5.4.cvs.20090603/MolKit/pdb2pqr/pdb2pka/NEWligand_topology.py
+===
+--- mgltools-molkit-1.5.4.cvs.20090603.orig/MolKit/pdb2pqr/pdb2pka/NEWligand_topology.py
 mgltools-molkit-1.5.4.cvs.20090603/MolKit/pdb2pqr/pdb2pka/NEWligand_topology.py
+@@ -405,7 +405,7 @@ class get_ligand_topology:
+ self.biglist.append(real_list)
+ return 
+ else:
+-raise 'this should not happen'
++raise Exception('this should not happen')
+ 
+ #
+ # -
+Index: mgltools-molkit-1.5.4.cvs.20090603/MolKit/pdb2pqr/pdb2pka/inputgen_pKa.py
+===
+--- mgltools-molkit-1.5.4.cvs.20090603.orig/MolKit/pdb2pqr/pdb2pka/inputgen_pKa.py
 mgltools-molkit-1.5.4.cvs.20090603/MolKit/pdb2pqr/pdb2pka/inputgen_pKa.py
+@@ -136,7 +136,9 @@ class inputGen:
+ #
+ # Not a known type
+ #
+-raise 'unknown type',type
++# TODO: Exception() is used here instead of TypeError for backwards compatibility, fix it once sure that no TypeError is fine
++#raise TypeError('unknown type',type)
++raise Exception('unknown type',type)
+ return
+ 
+ def getText_sub(self):
+@@ -165,7 +167,7 @@ class inputGen:
+ text += nlev 4\n
+ 
+ else:
+-raise 'unknown method'
++raise Exception('unknown method')
+ #
+ text += mol 1\n
+ text += lpbe\n 
+@@ -214,7 +216,7 @@ class inputGen:
+ #
+ # Eh?
+ #
+-raise 'type not set'
++raise Exception('type not set')
+ 
+ #
+ # --
+Index: mgltools-molkit-1.5.4.cvs.20090603/MolKit/pdb2pqr/pdb2pka/ligand_topology.py

Bug#586848: patch

2010-06-30 Thread Piotr Ożarowski
tags 586848 + patch
thanks

NMU diff attached
diff -u mgltools-support-1.5.4.cvs.20090603/debian/control mgltools-support-1.5.4.cvs.20090603/debian/control
--- mgltools-support-1.5.4.cvs.20090603/debian/control
+++ mgltools-support-1.5.4.cvs.20090603/debian/control
@@ -7,7 +7,7 @@
 Uploaders: Steffen Moeller moel...@debian.org, Sargis Dallakyan sar...@scripps.edu
 Build-Depends: debhelper (= 5.0.38), python-central (= 0.5.6), cdbs (= 0.4), python2.5-dev
 Standards-Version: 3.8.1
-XS-Python-Version: 2.5
+XS-Python-Version: = 2.5
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/mgltools/pyglf/support/?rev=0sc=0
 Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/mgltools/support/trunk/
 Homepage: http://mgltools.scripps.edu/
diff -u mgltools-support-1.5.4.cvs.20090603/debian/changelog mgltools-support-1.5.4.cvs.20090603/debian/changelog
--- mgltools-support-1.5.4.cvs.20090603/debian/changelog
+++ mgltools-support-1.5.4.cvs.20090603/debian/changelog
@@ -1,3 +1,10 @@
+mgltools-support (1.5.4.cvs.20090603-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Allow byte-compilation for Python = 2.5 (closes: #586848)
+
+ -- Piotr Ożarowski pi...@debian.org  Wed, 30 Jun 2010 21:13:47 +0200
+
 mgltools-support (1.5.4.cvs.20090603-1) unstable; urgency=low
 
   * New upstream version.


signature.asc
Description: Digital signature


Bug#586845: patch

2010-06-30 Thread Piotr Ożarowski
tags 586845 + patch
thanks

NMU diff attached

BTW: all mgl* packages have wrong binary name, Debian Python policy
suggests python-modulename schema (so python-pybabel in case of this
package)
diff -u mgltools-pybabel-1.5.4.cvs.20090603/debian/control mgltools-pybabel-1.5.4.cvs.20090603/debian/control
--- mgltools-pybabel-1.5.4.cvs.20090603/debian/control
+++ mgltools-pybabel-1.5.4.cvs.20090603/debian/control
@@ -5,7 +5,7 @@
 DM-Upload-Allowed: yes
 XS-Autobuild: yes
 Uploaders: Steffen Moeller moel...@debian.org, Sargis Dallakyan sar...@scripps.edu
-Build-Depends: debhelper (= 5.0.38), python-central (= 0.5.6), cdbs (= 0.4), python2.5-dev
+Build-Depends: debhelper (= 5.0.38), python-central (= 0.5.6), cdbs (= 0.4), python-all
 Standards-Version: 3.8.1
 XS-Python-Version: 2.5
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/mgltools/pybabel/trunk/?rev=0sc=0
diff -u mgltools-pybabel-1.5.4.cvs.20090603/debian/changelog mgltools-pybabel-1.5.4.cvs.20090603/debian/changelog
--- mgltools-pybabel-1.5.4.cvs.20090603/debian/changelog
+++ mgltools-pybabel-1.5.4.cvs.20090603/debian/changelog
@@ -1,3 +1,10 @@
+mgltools-pybabel (1.5.4.cvs.20090603-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Allow byte-compilation for Python = 2.5 (closes: #586845)
+
+ -- Piotr Ożarowski pi...@debian.org  Wed, 30 Jun 2010 22:17:42 +0200
+
 mgltools-pybabel (1.5.4.cvs.20090603-1) unstable; urgency=low
 
   * New upstream version.


signature.asc
Description: Digital signature


Bug#586845: patch

2010-06-30 Thread Piotr Ożarowski
ups, wrong patch again
-- 
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl  www.griffith.cc   www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645
diff -u mgltools-pybabel-1.5.4.cvs.20090603/debian/control mgltools-pybabel-1.5.4.cvs.20090603/debian/control
--- mgltools-pybabel-1.5.4.cvs.20090603/debian/control
+++ mgltools-pybabel-1.5.4.cvs.20090603/debian/control
@@ -5,9 +5,9 @@
 DM-Upload-Allowed: yes
 XS-Autobuild: yes
 Uploaders: Steffen Moeller moel...@debian.org, Sargis Dallakyan sar...@scripps.edu
-Build-Depends: debhelper (= 5.0.38), python-central (= 0.5.6), cdbs (= 0.4), python2.5-dev
+Build-Depends: debhelper (= 5.0.38), python-central (= 0.5.6), cdbs (= 0.4), python
 Standards-Version: 3.8.1
-XS-Python-Version: 2.5
+XS-Python-Version: = 2.5
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/mgltools/pybabel/trunk/?rev=0sc=0
 Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/mgltools/pybabel/trunk/
 Homepage: http://mgltools.scripps.edu/
diff -u mgltools-pybabel-1.5.4.cvs.20090603/debian/changelog mgltools-pybabel-1.5.4.cvs.20090603/debian/changelog
--- mgltools-pybabel-1.5.4.cvs.20090603/debian/changelog
+++ mgltools-pybabel-1.5.4.cvs.20090603/debian/changelog
@@ -1,3 +1,10 @@
+mgltools-pybabel (1.5.4.cvs.20090603-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Allow byte-compilation for Python = 2.5 (closes: #586845)
+
+ -- Piotr Ożarowski pi...@debian.org  Wed, 30 Jun 2010 22:17:42 +0200
+
 mgltools-pybabel (1.5.4.cvs.20090603-1) unstable; urgency=low
 
   * New upstream version.


signature.asc
Description: Digital signature


Bug#586894: python-minimal: Fails to set up: ImportError: No module named logging

2010-06-23 Thread Piotr Ożarowski
Please install python2.6 package before upgrading. Maintainer scripts in
-4 were broken and I cannot fix it now (other than removing -minimal
from archive). Sorry



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



Bug#586824: uninstallable with python2.6 set as default

2010-06-22 Thread Piotr Ożarowski
Package: spyder
Version: 1.0.3-1
Severity: serious
Tags: patch
User: debian-pyt...@lists.debian.org
Usertags: python2.6

current is replaced by pysupport with Python version that is default
at build time (contrary to what pycentral does) and thus spyder is not
installable now (due to python = 2.6 dependency). Please replace
current with = 2.5 or at least rebuild the package.

PS I'd use private directory for spyderlib
   (--install-lib=/usr/share/spyder)
diff -Nru spyder-1.0.3/debian/changelog spyder-1.0.3/debian/changelog
--- spyder-1.0.3/debian/changelog	2010-04-07 16:56:37.0 +0200
+++ spyder-1.0.3/debian/changelog	2010-06-22 22:27:07.0 +0200
@@ -1,3 +1,10 @@
+spyder (1.0.3-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Change XS-Python-Version from current to = 2.5
+ 
+ -- Piotr Ożarowski pi...@debian.org  Tue, 22 Jun 2010 22:24:57 +0200
+
 spyder (1.0.3-1) unstable; urgency=low
 
   * Initial release (Closes: #553400)
diff -Nru spyder-1.0.3/debian/control spyder-1.0.3/debian/control
--- spyder-1.0.3/debian/control	2010-04-09 18:02:08.0 +0200
+++ spyder-1.0.3/debian/control	2010-06-22 22:26:50.0 +0200
@@ -6,7 +6,7 @@
 Build-Depends: debhelper (= 7.0.50), python-qscintilla2, python, python-support (= 0.5.3)
 Build-Depends-Indep: python-sphinx, xsltproc
 Standards-Version: 3.8.4
-XS-Python-Version: current
+XS-Python-Version: = 2.5
 Homepage: http://code.google.com/p/spyderlib/
 
 Package: spyder


Bug#586830: hardcodes Python 2.5

2010-06-22 Thread Piotr Ożarowski
Package: autodocktools
Version: 1.5.4.cvs.20090603-1
Severity: serious
Tags: patch
User: debian-pyt...@lists.debian.org
Usertags: python2.6

autodocktools package is uninstallable due to hardcoded Python version,
attached patch fixes it.

PS consider using priveate directory for AutoDockTools module
   (--install-lib=/usr/share/autodocktools/)
diff -u autodocktools-1.5.4.cvs.20090603/debian/control autodocktools-1.5.4.cvs.20090603/debian/control
--- autodocktools-1.5.4.cvs.20090603/debian/control
+++ autodocktools-1.5.4.cvs.20090603/debian/control
@@ -5,9 +5,9 @@
 DM-Upload-Allowed: yes
 XS-Autobuild: yes
 Uploaders: Steffen Moeller moel...@debian.org, Sargis Dallakyan sar...@scripps.edu
-Build-Depends: debhelper (= 5.0.38), python-central (= 0.5.6), cdbs (= 0.4), python2.5-dev
+Build-Depends: debhelper (= 5.0.38), python-central (= 0.5.6), cdbs (= 0.4), python, quilt
 Standards-Version: 3.8.1
-XS-Python-Version: 2.5
+XS-Python-Version: = 2.5
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/mgltools/autodocktools/trunk/?rev=0sc=0
 Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/mgltools/autodocktools/trunk/
 Homepage: http://autodock.scripps.edu/
diff -u autodocktools-1.5.4.cvs.20090603/debian/rules autodocktools-1.5.4.cvs.20090603/debian/rules
--- autodocktools-1.5.4.cvs.20090603/debian/rules
+++ autodocktools-1.5.4.cvs.20090603/debian/rules
@@ -8,7 +8,7 @@
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/python-distutils.mk
-#include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 
 install::
 	find . -name runAdt | xargs -r chmod +x 
diff -u autodocktools-1.5.4.cvs.20090603/debian/changelog autodocktools-1.5.4.cvs.20090603/debian/changelog
--- autodocktools-1.5.4.cvs.20090603/debian/changelog
+++ autodocktools-1.5.4.cvs.20090603/debian/changelog
@@ -1,3 +1,14 @@
+autodocktools (1.5.4.cvs.20090603-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Change XS-Python-Version from 2.5 to = 2.5 to enable byte-compilation
+for other Python versions
+  * Replace python2.5-dev with python in Build-Depends
+  * Add fix_shebangs.patch to fix wrong dependencies generated by pycentral
+(quilt added to build dependencies)
+
+ -- Piotr Ożarowski pi...@debian.org  Tue, 22 Jun 2010 23:01:28 +0200
+
 autodocktools (1.5.4.cvs.20090603-1) unstable; urgency=low
 
   * New upstream version.
only in patch2:
unchanged:
--- autodocktools-1.5.4.cvs.20090603.orig/debian/patches/fix_shebangs.patch
+++ autodocktools-1.5.4.cvs.20090603/debian/patches/fix_shebangs.patch
@@ -0,0 +1,30 @@
+Index: autodocktools-1.5.4.cvs.20090603/AutoDockTools/bin/adt
+===
+--- autodocktools-1.5.4.cvs.20090603.orig/AutoDockTools/bin/adt
 autodocktools-1.5.4.cvs.20090603/AutoDockTools/bin/adt
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python2.5
++#!/usr/bin/env python
+ #
+ 
+ import sys
+Index: autodocktools-1.5.4.cvs.20090603/AutoDockTools/bin/adt3
+===
+--- autodocktools-1.5.4.cvs.20090603.orig/AutoDockTools/bin/adt3
 autodocktools-1.5.4.cvs.20090603/AutoDockTools/bin/adt3
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python2.5
++#!/usr/bin/env python
+ #
+ import sys, getopt
+ 
+Index: autodocktools-1.5.4.cvs.20090603/AutoDockTools/bin/adt4
+===
+--- autodocktools-1.5.4.cvs.20090603.orig/AutoDockTools/bin/adt4
 autodocktools-1.5.4.cvs.20090603/AutoDockTools/bin/adt4
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python2.5
++#!/usr/bin/env python
+ #
+ import sys, getopt
+ 
only in patch2:
unchanged:
--- autodocktools-1.5.4.cvs.20090603.orig/debian/patches/series
+++ autodocktools-1.5.4.cvs.20090603/debian/patches/series
@@ -0,0 +1 @@
+fix_shebangs.patch


Bug#577399: python-central: Uses dlocate to locate files

2010-04-11 Thread Piotr Ożarowski
It was my idea to use dlocate to speed up the trigger.

Dangling symlinks are leftovers from packages built with python-central
 0.6.8 and these packages don't ship these symlinks in the package, so
old dlocate database doesn't hurt (actually, it makes the trigger work
even better, see below).

The only problem I see with old database are situations where one
installed Lenny and immediately upgraded it to Squeeze (without
generating dlocate database first), we can invoke update-dlocatedb to
fix that, but...

To be honest, I would not check if symlink belongs to a package at all.
I'd simply remove all of them as all dangling symlinks in site-packages
are either generated by pycentral or come from a broken package anyway.

I'd use dpkg -S or dlocate to check *valid* symlinks (generated by
pycentral and now valid due to the fact that pysupport is using
/usr/share/pyshared as well) but since all (TODO: check it :) packages
converted to python-support have appropriate preinst maintainer script,
I guess we can ignore it.
-- 
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl  www.griffith.cc   www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645


signature.asc
Description: Digital signature


Bug#552595: please remove dangling symlinks at upgrade

2010-03-31 Thread Piotr Ożarowski
[Matthias Klose, 2010-03-31]
 uploaded to experimental, while uploads are not working, the package can 
 be found here at http://people.debian.org/~doko/tmp/

after some tests, you will add this trigger in 0.6.8 (i.e. version in
Lenny), right?



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



Bug#552595: please remove dangling symlinks at upgrade

2010-03-31 Thread Piotr Ożarowski
[Matthias Klose, 2010-03-31]
 On 31.03.2010 09:21, Piotr Ożarowski wrote:
 after some tests, you will add this trigger in 0.6.8 (i.e. version in
 Lenny), right?

 not before it's in testing

yeah, that's what I meant, thanks.

I can test updated package on my Lenny servers if you will provide one
somewhere (unless you want to upload 0.6.15 to Lenny, if not, please
consider backporting fixes for python2.6 (for python2.6 backporters)).



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



Bug#574640: patch

2010-03-19 Thread Piotr Ożarowski
tags 574640 + patch
thanks

# Routes = 1.12 disables minimization by default, this patch enabled it in
# TurboGears (since TG depends on this functionality)
Index: turbogears2-2.0.3/tg/configuration.py
===
--- turbogears2-2.0.3.orig/tg/configuration.py
+++ turbogears2-2.0.3/tg/configuration.py
@@ -211,6 +211,7 @@ class AppConfig(Bunch):
 
 map = Mapper(directory=config['pylons.paths']['controllers'],
 always_scan=config['debug'])
+map.minimization = True
 
 # Setup a default route for the root of object dispatch
 map.connect('*url', controller='root', action='routes_placeholder')
-- 
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl  www.griffith.cc   www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645


signature.asc
Description: Digital signature


Bug#571016: can't reproduce / lacks detail

2010-02-25 Thread Piotr Ożarowski
tags 571016 + patch
thanks

I can reproduce it as well by just installing python-moinmoin and
following /usr/share/doc/python-moinmoin/README.Debian.gz instructions
(with python-flup installed, using CGI)

Here's what fixed the problem for me (see IRC logs from my previous mail
for more details):

| diff -r 1ecb884c0deb MoinMoin/web/contexts.py
| --- a/MoinMoin/web/contexts.pyTue Jan 19 00:35:00 2010 +0100
| +++ b/MoinMoin/web/contexts.pyThu Feb 25 00:25:06 2010 +0100
| @@ -273,7 +273,7 @@
|  # the output related methods
|  def write(self, *data):
|   Write to output stream. 
| -self.request.stream.writelines(data)
| +self.request.out_stream.writelines(data)
|  
|  def redirectedOutput(self, function, *args, **kw):
|   Redirect output during function, return redirected output 
| diff -r 1ecb884c0deb MoinMoin/web/request.py
| --- a/MoinMoin/web/request.py Tue Jan 19 00:35:00 2010 +0100
| +++ b/MoinMoin/web/request.py Thu Feb 25 00:25:06 2010 +0100
| @@ -47,7 +47,8 @@
|  self.response = []
|  self.status_code = 200
|  
| -in_stream = RequestBase.stream
| +in_stream = cached_property(RequestBase.stream.func, 'in_stream')
| +out_stream = cached_property(ResponseBase.stream.func, 'out_stream')
|  
|  @cached_property
|  def in_data(self):

and upsteram fixed it with this patch (which is compatible with Werkzeug 0.5):
http://hg.moinmo.in/moin/1.9/rev/ca98db50efac
-- 
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl  www.griffith.cc   www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645



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



Bug#571016: (no subject)

2010-02-24 Thread Piotr Ożarowski
reassign 571016 python-moinmoin 1.9.1-1
thanks

Armin Ronacher (Werkzeug author) wrote:
mitsuhiko so the problem is that moin inherits it's request both from Request 
and Response
mitsuhiko and both request and response have stream attributes, just doing the 
opposite
mitsuhiko POX: there is no way i can fix that from werkzeug 

Thomas Waldmann (MoinMoin core team member) wrote:
ThomasWaldmann POX: i plan to do a 1.9.2 asap (just wanted to give it enough 
testing, but it is rather urgent because of security fixes)
POX and 1.9.2 will work with Werkzeug 0.6.x, right?
ThomasWaldmann currently, it has werkzeug 0.5.1 bundled overrides session code 
with stuff taken from 0.6.1
ThomasWaldmann I am not sure whether I shall put 0.6.1 into it.
ThomasWaldmann or when 0.6.1 will get released.
POX but does it still inherit from Request and Response?
ThomasWaldmann i can do some testing whether it works, until now moin 1.9 was 
not tested with wz 0.6.x
POX we don't care about bundled version anyway
ThomasWaldmann well, if I can be rather sure everything works, I could bundle 
0.6.1 and you could use the 0.6.1 package, if there is one
ThomasWaldmann (we didn't change the request processing recently, except bug 
fixes. iirc it inherits from Request and Response, yes)

full IRC logs: http://dev.pocoo.org/irclogs/%23pocoo.2010-02-24.log



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



Bug#565973: closed by Jonas Smedegaard d...@jones.dk (Re: [Build-common-hackers] Bug#565973: cdbs should not use --prefix, but --install-layout=deb)

2010-02-10 Thread Piotr Ożarowski
[Matthias Klose, 2010-02-10]
 On 09.02.2010 22:58, Piotr Ożarowski wrote:
  --install-{pure,lib} is used later anyway, so --install-layout=deb
  will not change much (and please don't mention tarball workaround used in
  Ubuntu).
 
  both dh_pycentral and dh_pysupport move files from site-packages to
  dist-packages, so #567745 is not relevant.

 as I did mention in the original report, it does make a difference. please 
 fix this appropriately. If --install-{pure,lib} isn't doing the right 
 thing, it should be fixed.

the bug you mentioned was caused by python-central (which wasn't moving
files from site- to dist-packages for a very long time), not by cdbs.

 I don't know how the rant about the tarball workaround belong in this report.

cdbs in Ubuntu was doing what --install-platlib and --install-purelib
does but they used tar to achieve that

Anyway, --install-layout=deb will be overridden later with
--install-{pure,plat}lib and that's what you want to be changed, not
--prefix=/usr, right?. I understand that it's better to use the final
location (BTW, can you point me to any other package than numpy that
needs that?) but right now there are too many packages depending on
site-packages so it a way easier to let package(s?) like numpy
override the default location.

What do you think about adding DEB_PYTHON_INSTALL_FOO variable that will
tell cdbs to use dist-packages by default?



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



Bug#565973: cdbs should not use --prefix, but --install-layout=deb

2010-02-09 Thread Piotr Ożarowski
--install-{pure,lib} is used later anyway, so --install-layout=deb
will not change much (and please don't mention tarball workaround used in
Ubuntu).

both dh_pycentral and dh_pysupport move files from site-packages to
dist-packages, so #567745 is not relevant.


signature.asc
Description: Digital signature


Bug#552595: please remove dangling symlinks at upgrade

2010-01-12 Thread Piotr Ożarowski
[Matthias Klose, 2010-01-12]
 please could you point to a specifc package where you did see this behaviour?

I can give you hundrets of such packages (if not more) but instead I
will give you one of your own: python-reportlab:

| $ mkdir /dane/lenny_chroot
| $ su -c debootstrap lenny /dane/lenny_chroot
| [...]
| I: Base system installed successfully.
| $ su - -c chroot /dane/lenny_chroot
| # aptitude install python-reportlab
| [...]
| # echo 'deb http://ftp.us.debian.org/debian squeeze main'  
/etc/apt/sources.list
| # aptitude update
| # aptitude install python-central
| # # apt-cache policy python-central
| python-central:
|   Installed: 0.6.14+nmu2
|   Candidate: 0.6.14+nmu2
|   Version table:
|  *** 0.6.14+nmu2 0
| 500 http://ftp.us.debian.org squeeze/main Packages
| 100 /var/lib/dpkg/status
|  0.6.8 0
| 500 http://ftp.us.debian.org lenny/main Packages
| # find /usr/lib/python2.[345] -follow -lname '*' | wc -l
| 0
| # aptitude install python-reportlab
| # find /usr/lib/python2.[345] -follow -lname '*' | wc -l
| 40

again, this is extremely serious problem IMO


signature.asc
Description: Digital signature


Bug#552595: please remove dangling symlinks at upgrade

2009-10-27 Thread Piotr Ożarowski
Package: python-central
Version: 0.6.8
Severity: serious

Lenny's version of python-central doesn't remove old symlinks at upgrade
(it's fixed in 0.6.10) so if upstream author decides to rename one file
(or worse: directory), python-central leaves dangling symlinks and
doesn't remove associated .pyc files.

Please use something like:

  find /usr/lib/python2.[345] -follow -lname '*'

to find dangling symlinks and remove associated .pyc files, symlinks and
directories (if they're empty after removing symlinks/pyc files).

Please note that this operation has to be done before new package will
unpack its files as otherwise above command will not find all files that
have to be removed.

[Severity: serious due to the fact that leaving pyc files will break a lot of
packages after Lenny-Squeeze upgrade]

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-central depends on:
ii  python2.5.2-3An interactive high-level object-o

python-central recommends no packages.

python-central 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#549751: patch

2009-10-08 Thread Piotr Ożarowski
Hi,

This bug was introduced in cdbs 0.4.61+nmu1: --install-lib has higher
priority than --install-purelib so please use the first one in
debian/rules (line 10) at least for now (this package is arch:all so
it's safe to use --install-lib)



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



Bug#549801: [Build-common-hackers] Processed: Re: [Python-modules-team] Bug#549801: python-markdown: FTBFS: chmod: cannot access `debian/python-markdown/usr/lib/python2.5/site-packages/markdown.py' :

2009-10-07 Thread Piotr Ożarowski
[Jonas Smedegaard, 2009-10-07]
 Please elaborate on the reassignment.  Why do you believe this bug to be  
 in CDBS?

it's explained after thanks line (sorry forgot to Cc: the bug)

from http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=7;bug=549801:
| python-distutils.mk.in, line 150 has to be changed to use default
| Python version if it's available in requested versions otherwise
| packages that use `pyversions -d` in debian/rules will fail. I will fix
| it this evening.



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



  1   2   >