* Re: [devel] [SCM] packages/python3-module-pygobject: heads/sisyphus @ 2013-04-09 6:15 ` Dmitry V. Levin 2013-04-09 6:20 ` REAL 2013-04-09 6:33 ` REAL 0 siblings, 2 replies; 7+ messages in thread From: Dmitry V. Levin @ 2013-04-09 6:15 UTC (permalink / raw) To: Eugeny A. Rostovtsev; +Cc: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 574 bytes --] Hi, On Tue, Apr 09, 2013 at 02:48:08AM +0000, Eugeny A. Rostovtsev wrote: > Update of /people/real/packages/python3-module-pygobject.git [...] > +for i in $(find %buildroot -name '*.py'); do > + 2to3 -w $i ||: > +done Зачем здесь игнорирование кода возврата 2to3? Если 2to3 не справилась, это же фатальная ошибка? И вообще, я не понимаю, почему в этом и десятках аналогичных пакетов не написать просто find %buildroot -type f -name '*.py' -exec echo 2to3 -w '{}' + - оно будет работать на порядок быстрее, а на arm'е - на 2 порядка быстрее. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] [SCM] packages/python3-module-pygobject: heads/sisyphus 2013-04-09 6:15 ` [devel] [SCM] packages/python3-module-pygobject: heads/sisyphus Dmitry V. Levin @ 2013-04-09 6:20 ` REAL 2013-04-09 6:22 ` REAL 2013-04-09 6:27 ` Dmitry V. Levin 2013-04-09 6:33 ` REAL 1 sibling, 2 replies; 7+ messages in thread From: REAL @ 2013-04-09 6:20 UTC (permalink / raw) To: ALT Linux Team development discussions 09.04.2013 13:15, Dmitry V. Levin пишет: > Зачем здесь игнорирование кода возврата 2to3? > Если 2to3 не справилась, это же фатальная ошибка? Фатальная ошибка самого 2to3, и я не знаю, как её победить. > И вообще, я не понимаю, почему в этом и десятках аналогичных пакетов > не написать просто > find %buildroot -type f -name '*.py' -exec echo 2to3 -w '{}' + > - оно будет работать на порядок быстрее, а на arm'е - на 2 порядка быстрее. Я просто не разбираюсь в таком синтаксисе, поэтому делаю как привык. -- REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] [SCM] packages/python3-module-pygobject: heads/sisyphus 2013-04-09 6:20 ` REAL @ 2013-04-09 6:22 ` REAL 2013-04-09 6:27 ` Dmitry V. Levin 1 sibling, 0 replies; 7+ messages in thread From: REAL @ 2013-04-09 6:22 UTC (permalink / raw) To: ALT Linux Team development discussions 09.04.2013 13:20, REAL пишет: >> Зачем здесь игнорирование кода возврата 2to3? >> Если 2to3 не справилась, это же фатальная ошибка? > > Фатальная ошибка самого 2to3, и я не знаю, как её победить. Впрочем, сейчас уже не воспроизводится (знать бы ещё, в чём дело...). -- REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] [SCM] packages/python3-module-pygobject: heads/sisyphus 2013-04-09 6:20 ` REAL 2013-04-09 6:22 ` REAL @ 2013-04-09 6:27 ` Dmitry V. Levin 1 sibling, 0 replies; 7+ messages in thread From: Dmitry V. Levin @ 2013-04-09 6:27 UTC (permalink / raw) To: ALT Linux Team development discussions [-- Attachment #1: Type: text/plain, Size: 733 bytes --] On Tue, Apr 09, 2013 at 01:20:14PM +0700, REAL wrote: > 09.04.2013 13:15, Dmitry V. Levin пишет: > >Зачем здесь игнорирование кода возврата > >2to3? > >Если 2to3 не справилась, это же фатальная > >ошибка? > > Фатальная ошибка самого 2to3, и я не знаю, > как её победить. В этом пакете не наблюдается. > >И вообще, я не понимаю, почему в этом и > >десятках аналогичных пакетов > >не написать просто > >find %buildroot -type f -name '*.py' -exec echo 2to3 -w '{}' + > >- оно будет работать на порядок быстрее, > >а на arm'е - на 2 порядка быстрее. > > Я просто не разбираюсь в таком > синтаксисе, поэтому делаю как привык. Пожалуйста, разберитесь и примените, это даже проще чем python. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] [SCM] packages/python3-module-pygobject: heads/sisyphus 2013-04-09 6:15 ` [devel] [SCM] packages/python3-module-pygobject: heads/sisyphus Dmitry V. Levin 2013-04-09 6:20 ` REAL @ 2013-04-09 6:33 ` REAL 2013-04-09 6:36 ` Dmitry V. Levin 1 sibling, 1 reply; 7+ messages in thread From: REAL @ 2013-04-09 6:33 UTC (permalink / raw) To: ALT Devel discussion list 09.04.2013 13:15, Dmitry V. Levin пишет: > И вообще, я не понимаю, почему в этом и десятках аналогичных пакетов > не написать просто > find %buildroot -type f -name '*.py' -exec echo 2to3 -w '{}' + > - оно будет работать на порядок быстрее, а на arm'е - на 2 порядка быстрее. Оно работает неправильно. -- REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] [SCM] packages/python3-module-pygobject: heads/sisyphus 2013-04-09 6:33 ` REAL @ 2013-04-09 6:36 ` Dmitry V. Levin 2013-04-09 6:39 ` REAL 0 siblings, 1 reply; 7+ messages in thread From: Dmitry V. Levin @ 2013-04-09 6:36 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 462 bytes --] On Tue, Apr 09, 2013 at 01:33:54PM +0700, REAL wrote: > 09.04.2013 13:15, Dmitry V. Levin пишет: > >И вообще, я не понимаю, почему в этом и > >десятках аналогичных пакетов > >не написать просто > >find %buildroot -type f -name '*.py' -exec echo 2to3 -w '{}' + > >- оно будет работать на порядок быстрее, > >а на arm'е - на 2 порядка быстрее. > > Оно работает неправильно. Ну, тогда уберите из него "echo", которое я там оставил. ;) -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] [SCM] packages/python3-module-pygobject: heads/sisyphus 2013-04-09 6:36 ` Dmitry V. Levin @ 2013-04-09 6:39 ` REAL 0 siblings, 0 replies; 7+ messages in thread From: REAL @ 2013-04-09 6:39 UTC (permalink / raw) To: ALT Linux Team development discussions 09.04.2013 13:36, Dmitry V. Levin пишет: >>> find %buildroot -type f -name '*.py' -exec echo 2to3 -w '{}' + >>> - оно будет работать на порядок быстрее, >>> а на arm'е - на 2 порядка быстрее. >> >> Оно работает неправильно. > > Ну, тогда уберите из него "echo", которое я там оставил. ;) Заработало. -- REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2013-04-09 6:39 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2013-04-09 6:15 ` [devel] [SCM] packages/python3-module-pygobject: heads/sisyphus Dmitry V. Levin 2013-04-09 6:20 ` REAL 2013-04-09 6:22 ` REAL 2013-04-09 6:27 ` Dmitry V. Levin 2013-04-09 6:33 ` REAL 2013-04-09 6:36 ` Dmitry V. Levin 2013-04-09 6:39 ` REAL
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git