Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #8822 > unrolled thread

Packaging pytango 9.2.0

Started byPICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>
First post2016-08-30 09:00 +0200
Last post2016-08-30 10:10 +0200
Articles 4 — 2 participants

Back to article view | Back to linux.debian.maint.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Packaging pytango 9.2.0 PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2016-08-30 09:00 +0200
    Re: Packaging pytango 9.2.0 Piotr Ożarowski <piotr@debian.org> - 2016-08-30 09:20 +0200
      RE:Packaging pytango 9.2.0 PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2016-08-30 09:40 +0200
        Re: Packaging pytango 9.2.0 Piotr Ożarowski <piotr@debian.org> - 2016-08-30 10:10 +0200

#8822 — Packaging pytango 9.2.0

FromPICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>
Date2016-08-30 09:00 +0200
SubjectPackaging pytango 9.2.0
Message-ID<sbLbA-1lv-9@gated-at.bofh.it>
Hello Guyes,

I am working with Sandor (CC) in order to upgrade the pytango package.
With this new version, the upstream decided to rename the module from PyTango to tango

import PyTango -> import tango

The previous package provided these binary packages

python-pytango
python3-pytango

now it seems that we must rename them

python-tango.
python3-tango

now the problem is that in the setup file the project is still pytango

        name='pytango',

so when we build a package depending on python-tango (the itango package in preparation)

dh_python add a dependency to python-pytango and not python-tango

so my question is what is the proper way to fix this issue ?


Another question about the package, the upstream provide a PyTango.py files which allow to still 
import PyTango (for retro compatibility).

when should we put this file ? in the python-tango or in the transition package python-pytango or in a python-pytango-legacy ???

does a Provides python-pytango necessary in the python-tango in that case ? 

thanks for your help.

Frederic

[toc] | [next] | [standalone]


#8823

FromPiotr Ożarowski <piotr@debian.org>
Date2016-08-30 09:20 +0200
Message-ID<sbLuV-1Hg-9@gated-at.bofh.it>
In reply to#8822
[PICCA Frederic-Emmanuel, 2016-08-30]
> dh_python add a dependency to python-pytango and not python-tango

Did you add dh-python to Build-Depends of that package?
Did you add python{,3}-tango to Build-Depends?

.oO( did you try to turn it off and on 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

[toc] | [prev] | [next] | [standalone]


#8824

FromPICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>
Date2016-08-30 09:40 +0200
Message-ID<sbLOi-1No-17@gated-at.bofh.it>
In reply to#8823
Here for itango

Build-Depends: debhelper (>= 9),
               dh-python,
               python-all-dev,
               python-setuptools,
               python-tango,
               python3-all-dev,
               python3-setuptools,
               python3-tango

Package: python3-itango
Architecture: any
Section: python
Depends: ${shlibs:Depends},
         ${misc:Depends},
         ${python3:Depends}
Provides: ${python3:Provides}
Description: An interactive Tango client (Python 3)
 ITango works like a normal python console, but it provides a nice set of
 features from IPython. It also adds set of PyTango specific features:
 .
  * automatic import of Tango objects
  * device and attribute name completion
  * list tango devices, classes, servers
  * customized tango error message
  * database utilities
 .
 This is the Python 3 version of the package.


the generated dependencies are

Package: python3-itango
Source: itango
Version: 0.1.3-1
Architecture: i386
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Installed-Size: 212
Depends: ipython3, python3-pytango, python3:any (>= 3.3.2-2~)
Section: python
Priority: extra
Homepage: http://www.tango-controls.org/static/PyTango/latest/doc/html/
Description: An interactive Tango client (Python 3)
 ITango works like a normal python console, but it provides a nice set of
 features from IPython. It also adds set of PyTango specific features:
 .
  * automatic import of Tango objects
  * device and attribute name completion
  * list tango devices, classes, servers
  * customized tango error message
  * database utilities
 .
 This is the Python 3 version of the package.

[toc] | [prev] | [next] | [standalone]


#8826

FromPiotr Ożarowski <piotr@debian.org>
Date2016-08-30 10:10 +0200
Message-ID<sbMhk-2cK-19@gated-at.bofh.it>
In reply to#8824
Ah, right, `dpkg -S foo.egg-info` (i.e. search for locally installed
eggs) has lower priority than fallback files. I will give fallback files
provided by dh-python package (those without versioned dependency) a
lower priority in next upload. Until then, please use
debian/py3dist-overrides to fix it (with "pytango pytohn3-tango" inside)
in all packages that build depend on python3-tango or ship "pytango
python3-tango" in debian/python3-tango.pydist (in pytango source package
only). If upstream is sane WRT versioning, you can use "pytango
python3-tango; PEP386"
-- 
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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web