New package, pyqt-qwt

2018-04-09 Thread Guðjón Guðjónsson
Hi list

I have made a new package that I want to get into Debian.

dget http://gudjon.org/debian/source/pyqt-qwt_1.00.00-1.dsc

It builds on Qt5, python3 and Qwt6 and I hope it will replace
pyqwt5 which only supports Qt4, Qwt5.

Any comments on upstream/packaging are welcome but I would
like to upload it to DPMT asap.

Regards
Gudjon


Re: Several questions regarding package tifffile

2018-04-09 Thread Andrey Rahmatullin
On Mon, Apr 09, 2018 at 01:01:20PM +0200, Andreas Tille wrote:
> > > As per [2] I added dh-python to the Build-Depends but it seems I would
> > > need python-minimal in addition to get /usr/bin/pyversions.  For me it
> > > is a bit strange to realise that this basic functionality is not provided
> > > by dh-python "Depends: python-minimal".  Am I missing something?
> > python-minimal is 2.x, you don't need it.
> > As the auto-detected python_distutils system assumes python2 you need to
> > move to pybuild or manual setup.py calls.
> > 
> > > It also seems that a Build-Depends: python3-distutils and if I add it it
> > > tries to do "python setup.py clean -a" which is stupid since there is no
> > > setup.py
> > Wrong: debian/patches/setuppy.patch adds it.
> 
> A, thanks for opening my eyes. ;-)
> 
> May be the clue is to make this python3-ish ...
I'd expect it to already support python3, you just need to change d/rules.

-- 
WBR, wRAR


signature.asc
Description: PGP signature


Re: Several questions regarding package tifffile

2018-04-09 Thread Andreas Tille
Hi,

On Mon, Apr 09, 2018 at 01:09:55PM +0500, Andrey Rahmatullin wrote:
> On Mon, Apr 09, 2018 at 09:45:52AM +0200, Andreas Tille wrote:
> > As per [2] I added dh-python to the Build-Depends but it seems I would
> > need python-minimal in addition to get /usr/bin/pyversions.  For me it
> > is a bit strange to realise that this basic functionality is not provided
> > by dh-python "Depends: python-minimal".  Am I missing something?
> python-minimal is 2.x, you don't need it.
> As the auto-detected python_distutils system assumes python2 you need to
> move to pybuild or manual setup.py calls.
> 
> > It also seems that a Build-Depends: python3-distutils and if I add it it
> > tries to do "python setup.py clean -a" which is stupid since there is no
> > setup.py
> Wrong: debian/patches/setuppy.patch adds it.

A, thanks for opening my eyes. ;-)

May be the clue is to make this python3-ish ...

On the other hand, this might mean that the original packager Mathieu
Malaterre intentionally had created a module.  Mathieu, can you please
enlighten us about your intention?  The package has a few users
according to popcon but my capacity to keep your leftovers alife is
limited and without some clear statement about your packaging intentions
it is a bit hard to do a sensible Python3 move.

Kind regards

Andreas.

-- 
http://fam-tille.de



Re: Several questions regarding package tifffile

2018-04-09 Thread Andreas Tille
On Mon, Apr 09, 2018 at 08:39:00AM +, Ghislain Vaillant wrote:
> 
> I could have a look at it. Do you reckon why the package was needed
> originally? I am surprised it landed in d-med, so perhaps there is another
> package needing it?

$ apt-cache rdepends python-tifffile
python-tifffile
Reverse Depends:
  med-imaging
  med-imaging-dev

The former maintainer has just put it in Debian Med without any
explanation.  It is also mentioned in the med-imaging tasks but no
other dependant packages I'm aware of.

Kind regards

   Andreas.

-- 
http://fam-tille.de



Re: Several questions regarding package tifffile

2018-04-09 Thread Piotr Ożarowski
[Ghislain Vaillant, 2018-04-09]
> > I realised that upstream of tifffile[1] switched to Python3.  When
> > inspecting the package I somehow think that its main purpose is rather a
> > user application than a Python module and thus I would rather rename the
> > binary from python-tifffile to tifffile than python3-tifffile.  What do
> > you think?

please also move the module to private dir by passing this option to
setup.py:

  --install-lib=/usr/lib/tifffile

or if you decide to use pybuild:

  export PYBUILD_INSTALL_ARGS=--install-lib=/usr/lib/tifffile


if you don't want to mess with PYTHONPATH, install script there as well
(--install-scripts=/usr/lib/tifffile) and symlink /usr/bin/foo to
/usr/lib/tifffile/yourscript
-- 
GPG: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645



Re: Several questions regarding package tifffile

2018-04-09 Thread Ghislain Vaillant
Le lun. 9 avr. 2018 à 08:46, Andreas Tille  a écrit :

> Hi,
>
> I realised that upstream of tifffile[1] switched to Python3.  When
> inspecting the package I somehow think that its main purpose is rather a
> user application than a Python module and thus I would rather rename the
> binary from python-tifffile to tifffile than python3-tifffile.  What do
> you think?
>
> As per [2] I added dh-python to the Build-Depends but it seems I would
> need python-minimal in addition to get /usr/bin/pyversions.  For me it
> is a bit strange to realise that this basic functionality is not provided
> by dh-python "Depends: python-minimal".  Am I missing something?
>
> It also seems that a Build-Depends: python3-distutils and if I add it it
> tries to do "python setup.py clean -a" which is stupid since there is no
> setup.py (and also no python but only python3).  I wonder whether I'm
> missing something here as well in this very simple package which does
> not seem to work well with dh-python.
>
> BTW, I'd be *really* happy if somebody from Python team would take over
> this package into Python packaging team.  I just adopted it from a
> former Debian Med team member but it is not Debian Med specific at all
> and I have no real interest in this package.
>

I could have a look at it. Do you reckon why the package was needed
originally? I am surprised it landed in d-med, so perhaps there is another
package needing it?


> Kind regards
>
>Andreas.
>
> PS: Please CC me, I'm not subscribed to this list.
>
> [1] https://salsa.debian.org/med-team/tifffile
> [2] https://people.debian.org/~piotr/dh_python2_without_dh-python.ddlist
>
> --
> http://fam-tille.d e
>

Cheers,
Ghis

>


Re: Several questions regarding package tifffile

2018-04-09 Thread Andrey Rahmatullin
On Mon, Apr 09, 2018 at 09:45:52AM +0200, Andreas Tille wrote:
> As per [2] I added dh-python to the Build-Depends but it seems I would
> need python-minimal in addition to get /usr/bin/pyversions.  For me it
> is a bit strange to realise that this basic functionality is not provided
> by dh-python "Depends: python-minimal".  Am I missing something?
python-minimal is 2.x, you don't need it.
As the auto-detected python_distutils system assumes python2 you need to
move to pybuild or manual setup.py calls.

> It also seems that a Build-Depends: python3-distutils and if I add it it
> tries to do "python setup.py clean -a" which is stupid since there is no
> setup.py
Wrong: debian/patches/setuppy.patch adds it.

-- 
WBR, wRAR


signature.asc
Description: PGP signature


Several questions regarding package tifffile

2018-04-09 Thread Andreas Tille
Hi,

I realised that upstream of tifffile[1] switched to Python3.  When
inspecting the package I somehow think that its main purpose is rather a
user application than a Python module and thus I would rather rename the
binary from python-tifffile to tifffile than python3-tifffile.  What do
you think?

As per [2] I added dh-python to the Build-Depends but it seems I would
need python-minimal in addition to get /usr/bin/pyversions.  For me it
is a bit strange to realise that this basic functionality is not provided
by dh-python "Depends: python-minimal".  Am I missing something?

It also seems that a Build-Depends: python3-distutils and if I add it it
tries to do "python setup.py clean -a" which is stupid since there is no
setup.py (and also no python but only python3).  I wonder whether I'm
missing something here as well in this very simple package which does
not seem to work well with dh-python.

BTW, I'd be *really* happy if somebody from Python team would take over
this package into Python packaging team.  I just adopted it from a
former Debian Med team member but it is not Debian Med specific at all
and I have no real interest in this package.

Kind regards

   Andreas.

PS: Please CC me, I'm not subscribed to this list.

[1] https://salsa.debian.org/med-team/tifffile
[2] https://people.debian.org/~piotr/dh_python2_without_dh-python.ddlist

-- 
http://fam-tille.de