From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 14 Mar 2007 13:13:40 +0300 From: Alexey Tourbin To: ALT Devel discussion list Message-ID: <20070314101340.GI6039@solemn.turbinal> Mail-Followup-To: ALT Devel discussion list References: <20070312123630.GB7403@localhost.localdomain> <20070312214952.GB7878@basalt.office.altlinux.org> <20070313221239.GE6039@solemn.turbinal> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jQIvE3yXcK9X9HBh" Content-Disposition: inline In-Reply-To: <20070313221239.GE6039@solemn.turbinal> Subject: [devel] python problems X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Mar 2007 10:13:37 -0000 Archived-At: List-Archive: List-Post: --jQIvE3yXcK9X9HBh Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 14, 2007 at 01:12:39AM +0300, Alexey Tourbin wrote: > > > =EB=D2=CF=CD=C5 =D4=CF=C7=CF, =C2=D5=C4=D5=D4 =D0=D2=CF=C2=CC=C5=CD= =D9 =D3 =D0=C9=D4=CF=CE=CF=CD, =D0=CF=D4=CF=CD=D5 =DE=D4=CF `#!/usr/bin/env= python' > > > =D4=C5=D0=C5=D2=D8 =CF=D4=D9=D3=CB=C9=D7=C1=C0=D4=D3=D1 =D3=CC=C9=DB= =CB=CF=CD =C8=CF=D2=CF=DB=CF. > >=20 > > =FE=D4=CF =DA=CE=C1=DE=C9=D4 "=D3=CC=C9=DB=CB=CF=CD =C8=CF=D2=CF=DB=CF"= =C9 =DE=D4=CF =DA=CE=C1=DE=C9=D4 "=C2=D5=C4=D5=D4 =D0=D2=CF=C2=CC=C5=CD=D9= =D3 =D0=C9=D4=CF=CE=CF=CD"? >=20 > =F3=CC=C9=DB=CB=CF=CD =C8=CF=D2=CF=DB=CF =CF=DA=CE=C1=DE=C1=C5=D4 =DE=D4= =CF =C4=CC=D1 #!/usr/bin/env python =C2=D5=C4=C5=D4 =D7=D9=DA=D7=C1=CE > FindPackage "$f" /usr/bin/env python. >=20 > $ /usr/lib/rpm/shebang.req -v /usr/lib/rpm/python.req.py=20 > shebang.req: /usr/lib/rpm/python.req.py: /usr/bin/env -> coreutils (via r= pmdb) > coreutils > shebang.req: /usr/lib/rpm/python.req.py: python -> /usr/bin/python -> ...= (via which) > shebang.req: /usr/lib/rpm/python.req.py: /usr/bin/python -> python-strict= (via rpmdb) > python-strict > $ >=20 > =E1 =D0=C1=CB=C5=D4 python-strict, =C7=D2=D5=C2=CF =C7=CF=D7=CF=D2=D1, = =D4=D2=C5=C2=D5=C5=D4 =D7=D3=C5 =CF=D3=D4=C1=CC=D8=CE=D9=C5 =D0=C1=CB=C5=D4= =D9, =CE=C1 > =CB=CF=D4=CF=D2=D9=C5 =D2=C1=D3=D0=C9=CC=C5=CE =D0=C9=D4=CF=CE. =F0=CF= =D3=CC=C5=C4=CE=C5=C5 =D1=D7=CE=CF =CE=C5=D0=D2=C9=C5=CD=CC=C5=CD=CF =C4=CC= =D1 =C2=C1=DA=CF=D7=CF=CA > =D3=C2=CF=D2=CF=DE=CE=CF=CA =D3=C9=D3=D4=C5=CD=D9 (=D4=CF=C7=C4=C1 =CB=C1= =CB =D7=CE=C5=D3=C5=CE=C9=C5 python-base =D7 =C2=C1=DA=CF=D7=D5=C0 =D3=C9= =D3=D4=C5=CD=D5 > =CB=C1=D6=C5=D4=D3=D1 =CD=CE=C5 =D0=D2=C9=C5=CD=CC=C5=CD=D9=CD). >=20 > =F5 =D0=C1=CB=C5=D4=C1 rpm-build-python =D7=CF=CF=C2=DD=C5 =CE=C9=CB=C1= =CB=CF=CA =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4=C9 =CE=C1 python =CE=C5=D4=D5, > =D4.=C5. =DC=D4=CF =D4=C1=CB=CF=CA =C4=CF=C8=CC=D1=CB, =CB=CF=D4=CF=D2=D9= =CA =D0=D2=D1=CD=CF =CE=C1=DE=C9=CE=C1=D1 =D3 #! =CD=CF=D6=C5=D4 =CE=C5 =DA= =C1=D0=D5=D3=D4=C9=D4=D8=D3=D1 > =C9 =CF=D4=D7=C1=CC=C9=D4=D8, =C1 =DC=D4=CF =D0=D2=CF=D4=C9=D7=CF=D2=C5= =DE=C9=D4 =CE=C1=DB=C5=CD=D5 =D0=D2=C9=CE=C3=C9=D0=D5 =DE=D4=CF =D7=D3=A3 = =C2=CF=CC=C5=C5-=CD=C5=CE=C5=C5 > =C4=CF=CC=D6=CE=CF =D2=C1=C2=CF=D4=C1=D4=D8 =C9=DA =CB=CF=D2=CF=C2=CB=C9 = =C2=C5=DA =D7=D3=D1=CB=C9=C8 =D4=C1=CD =C7=D2=D5=C2=D9=C8 =D0=CF=D3=D9=CC= =C1=CE=C9=CA =C9 =C4=CF=D5=D3=D4=C1=CE=CF=D7=CF=CB. >=20 > =E8=D5=D6=C5 =D4=CF=C7=CF, =C5=D3=CC=C9 =D1 =D0=D2=C1=D7=C9=CC=D8=CE=CF = =D0=CF=CE=C9=CD=C1=C0, =D4=CF =D3=CB=D2=C9=D0=D4=D9 =C9=DA rpm-build-python > =D7=D3=D1=DE=C5=D3=CB=C9 =D3=CB=D2=D9=D7=C1=C0=D4 =D3=D7=CF=C9 =DA=C1=D7= =C9=D3=C9=CD=CF=D3=D4=C9, =C9 =C5=D3=CC=C9 =C9=CD =DE=C5=C7=CF-=D4=CF =CE= =C5 =C8=D7=C1=D4=C1=C5=D4, =D4=CF =CF=CE=C9 > =CF=D4=D7=C1=CC=C9=D7=C1=C0=D4 =C1=C2=D3=CF=CC=C0=D4=CE=CF =D4=C9=C8=CF, = =D0=CF-=D0=CF=C4=CC=CF=CD=D5. >=20 > python.req: > 35 try : > 36 import sys, os > 37 import parser, symbol, token, types > 38 except : > 39 pass =20 > 40 else : =20 >=20 >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C1=D7=C1=D4=D8 =D2= =C1=C2=CF=D4=C1=C0=DD=C9=CA > /usr/bin/python =C9 =C4=CF=D3=D4=C1=D4=CF=DE=CE=CF =CD=CF=C4=D5=CC=C5=CA = =C4=CC=D1 =D2=C1=C2=CF=D4=D9 rpm-build-python. =F4=CF=C7=C4=C1 > =CD=CF=D6=CE=CF =D2=C1=D3=CB=D2=D9=D4=D8 =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4= =C9 =D7 rpm-build-python =C9 =D7=CE=C5=D3=D4=C9 python-base =D7 > =C2=C1=DA=CF=D7=D5=C0 =D3=C2=CF=D2=CF=DE=CE=D5=C0 =D3=C9=D3=D4=C5=CD=D5. >=20 > 2) =E9=DA=CD=C5=CE=C9=D4=D8 rpm-build-python =DE=D4=CF=C2=D9 =C5=D3=CC=C9= =D4=C1=CD =DE=C5=D7=CF-=D4=CF =CF=D4=D7=C1=CC=C9=D7=C1=C5=D4 =D4=CF =DE=D4= =CF=C2=D9 > =C8=CF=D4=D1 =C2=D9 =D3=CF=CF=C2=DD=C1=CC, =DE=D4=CF, =CD=CF=CC, =CF=D4= =D7=C1=CC=C9=D7=C1=C0, =C9 =DE=C5=D7=CF =CE=C5 =C8=D7=C1=D4=C1=C5=D4. =E1 = =C5=DD=A3 =CC=D5=DE=DB=C5 > =DE=D4=CF=C2=D9 =D0=D2=CF=D3=D4=CF =CF=D4=D7=C1=CC=C9=D7=C1=CC, =CB=C1=CB= =D3=CC=C5=C4=D5=C5=D4. =EE=D5 =DE=D4=CF, =D3=D0=C5=C3=C9=C1=CC=C9=D3=D4=D9 =D0=CF =D0=C9=D4=CF=CE= =D5 =C5=D3=D4=D8, =C9=CC=C9 =CD=CE=C5 =D0=D2=C9=C4=C5=D4=D3=D1 =D7=DA=D1=D4= =D8 =C2=D9=CB=C1 =DA=C1 =D2=CF=C7=C1? --jQIvE3yXcK9X9HBh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFF98rUfBKgtDjnu0YRAjrmAKDVyVDpd5KQ9JE64aQKv+iVhfml6QCgpg1/ 9QfbpRRmwf9NZCmxXcbmDzA= =ghKk -----END PGP SIGNATURE----- --jQIvE3yXcK9X9HBh--