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


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

Can't exec "pyversions"

Started byOndrej Tuma <konference@webjet.cz>
First post2017-10-26 22:50 +0200
Last post2017-10-27 09:10 +0200
Articles 4 — 3 participants

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


Contents

  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

#9959 — Can't exec "pyversions"

FromOndrej Tuma <konference@webjet.cz>
Date2017-10-26 22:50 +0200
SubjectCan't exec "pyversions"
Message-ID<uEXgd-1Ma-5@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#9960

FromScott Kitterman <debian@kitterman.com>
Date2017-10-27 02:40 +0200
Message-ID<uF0QN-4cP-5@gated-at.bofh.it>
In reply to#9959
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.

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


#9961

FromOndrej Tuma <konference@webjet.cz>
Date2017-10-27 08:20 +0200
Message-ID<uF69Q-7WE-9@gated-at.bofh.it>
In reply to#9960
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

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


#9962

FromDmitry Shachnev <mitya57@debian.org>
Date2017-10-27 09:10 +0200
Message-ID<uF6We-8wn-5@gated-at.bofh.it>
In reply to#9961

[Multipart message — attachments visible in raw view] — view raw

Hi Ondrej!

On Fri, Oct 27, 2017 at 08:18:43AM +0200, Ondrej Tuma wrote:
> Yes, 
>
> but how can I tell to dh_ to use py3versions instead of pyversions ?

Use pybuild buildsystem:

  dh $@ --with python3 --buildsystem=pybuild

And make sure you have dh-python in build-depends.
See pybuild(1) man page for details.

--
Dmitry Shachnev

[toc] | [prev] | [standalone]


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


csiph-web