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


Groups > linux.debian.maint.python > #9961

Re: Can't exec "pyversions"

Path csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod
From Ondrej Tuma <konference@webjet.cz>
Newsgroups linux.debian.maint.python
Subject Re: Can't exec "pyversions"
Date Fri, 27 Oct 2017 08:20:02 +0200
Message-ID <uF69Q-7WE-9@gated-at.bofh.it> (permalink)
References <uEXgd-1Ma-5@gated-at.bofh.it> <uF0QN-4cP-5@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Fri Oct 27 06:18:57 2017
Old-Return-Path <konference@webjet.cz>
X-Amavis-Spam-Status No, score=-7.01 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -6.1
Organization Blackmouse
X-Mailer Claws Mail 3.15.1-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu)
MIME-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
X-Mailing-List <debian-python@lists.debian.org> archive/latest/15344
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20171027081843.5d8ff516@dell.kancelar.seznam.cz
Approved robomod@news.nic.it
Lines 46
Sender robomod@news.nic.it
X-Original-Date Fri, 27 Oct 2017 08:18:43 +0200
X-Original-Message-ID <20171027081843.5d8ff516@dell.kancelar.seznam.cz>
X-Original-References <20171026224656.583df128@dell.kancelar.seznam.cz> <6497AE67-71AD-4C41-81BC-51E4CE202C2B@kitterman.com>
Xref csiph.com linux.debian.maint.python:9961

Show key headers only | View raw


Yes, 

but how can I tell to dh_ to use py3versions instead of pyversions ?

I only found discussion for bug #597105 from 2010. One solution is
define own rules to use py3versions. So, is there another clearer and
simple solution, like variable in deian control, or set some
environment variable in debian/rules, like PYVERSIONS=py3versions?

Ondrej T

V Fri, 27 Oct 2017 00:23:02 +0000
Scott Kitterman <debian@kitterman.com> napsáno:

> Use py3versions for Python3.
> 
> Scott K
> 
> On October 26, 2017 4:46:56 PM EDT, Ondrej Tuma
> <konference@webjet.cz> wrote:
> >Hi there,
> >
> >i try to create my first official debian package of my Formiko
> >application. So Formiko is gui application, and i want to create
> >package with python3. But when i try build package with sbuild, I got
> >error:
> > 
> >Can't exec "pyversions": No such file or directory ...
> >
> >What i see, pyversions is in python-minimal package, but in control I
> >have Build-Depends only on python3. I know, that i solve the problem
> >simple adding python or python-all etc. But Is there another better
> >way how create python3 application package without python2x?
> >
> >I set X-Python3-Version: >= 3.2 in debian/control and in
> >debian/rules I have:
> >	dh $@ --with python3
> >
> >Thanks a lot for your help.  
> 



-- 
Ondřej Tůma <mcbig@zeropage.cz>
www: http://ipv6.mcbig.cz   jabber: mcbig@jabber.cz   twitter: mcbig_cz

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Can't exec "pyversions" Ondrej Tuma <konference@webjet.cz> - 2017-10-26 22:50 +0200
  Re: Can't exec "pyversions" Scott Kitterman <debian@kitterman.com> - 2017-10-27 02:40 +0200
    Re: Can't exec "pyversions" Ondrej Tuma <konference@webjet.cz> - 2017-10-27 08:20 +0200
      Re: Can't exec "pyversions" Dmitry Shachnev <mitya57@debian.org> - 2017-10-27 09:10 +0200

csiph-web