[Debian-hebrew-package] [Bug 191241] Re: New upstream version 0.19.2

kobi zamir kobi.zamir at gmail.com
Wed Feb 3 16:49:39 UTC 2010


in the setup.py script change the lines:
setup (name = "pyfribidi2", .. => setup (name = "pyfribidi"

in the file pyfribidi.c change the lines:
PyMODINIT_FUNC
initpyfribidi2 (void) => initpyfribidi (void)
...
module = Py_InitModule3 ("pyfribidi2", PyfribidiMethods, .. => module
= Py_InitModule3 ("pyfribidi", PyfribidiMethods,

in the file pyfribidi.h change the lines:
PyMODINIT_FUNC
initpyfribidi (void) => initpyfribidi (void)

you can also change the lines in Makefile.am and in the test files


On Wed, Feb 3, 2010 at 6:20 PM, أحمد المحمودي
<aelmahmoudy at users.sourceforge.net> wrote:
> On Wed, Feb 03, 2010 at 05:40:55PM +0200, kobi zamir wrote:
>> > Is there a way to make pyfribidi some sort of alias to pyfribidi2 ?
>>
>> no need :-) just change the name of the package to pyfribidi.
> ---end quoted text---
>
> I was not talking about the name of the Debian package, but rather the
> python module.
>
> Suppose I got some python scripts that uses the old pyfribidi. So they will
> have this line:
>
> import pyfribidi
>
> If I install the new pyfribidi (version 0.8), I will have change those
> scripts as follows:
>
> import pyfribidi2
>
> am I right ? The question is: is there a way such that I won't have to
> change those scripts yet still use the new pyfribidi ?
>
> --
>  ‎أحمد المحمودي (Ahmed El-Mahmoudy)
>  Digital design engineer
>  GPG KeyID: 0xEDDDA1B7 (@ subkeys.pgp.net)
>  GPG Fingerprint: 8206 A196 2084 7E6D 0DF8  B176 BC19 6A94 EDDD A1B7
>



More information about the Debian-hebrew-package mailing list