Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   EPEL Development (http://www.linux-archive.org/epel-development/)
-   -   duplicity on EPEL4 (http://www.linux-archive.org/epel-development/588993-duplicity-epel4.html)

Jérôme Benoit 10-18-2011 11:42 PM

duplicity on EPEL4
 
On Tue, 18 Oct 2011 15:04:26 -0700
Toshio Kuratomi <a.badger@gmail.com> wrote:


> > How other python package in EPEL 4 handle subprocess requirement ?
> > So I can jump on my bug and fix the .spec file.
> >
> You can either make do without duplicity on EPEL4

Well ... is EPEL policy include : We can ship borken package, user just
have to not use them.

I don't think so.

> change the code to
> not use subprocess,

Not a good idea.

> or change the code to use a replacement -- for
> instance pyhton-kitchen provides a compat subprocess module.
>
> Something like:
> try:
> import subprocess
> except ImportError:
> from kitchen.pycompat27 import subprocess
>
> will likely work for you.

Sound great, a conditional patch to apply in the .spec file.
Will work on it ASAP.

Thks.

--
Jérôme Benoit aka fraggle
La Météo du Net - http://grenouille.com
OpenPGP Key ID : 9FE9161D
Key fingerprint : 9CA4 0249 AF57 A35B 34B3 AC15 FAA0 CB50 9FE9 161D
_______________________________________________
epel-devel-list mailing list
epel-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/epel-devel-list


All times are GMT. The time now is 06:57 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.