pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/42755: [math/py-mpmath]update to 0.14



The following reply was made to PR pkg/42755; it has been noted by GNATS.

From: wen heping <wenheping%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/42755: [math/py-mpmath]update to 0.14
Date: Sun, 7 Feb 2010 22:15:33 +0800

 --00504502c53956c94d047f035101
 Content-Type: text/plain; charset=ISO-8859-1
 
 On Sun, Feb 7, 2010 at 9:50 PM, OBATA Akio <obache%netbsd.org@localhost> wrote:
 
 > The following reply was made to PR pkg/42755; it has been noted by GNATS.
 >
 > From: "OBATA Akio" <obache%netbsd.org@localhost>
 > To: gnats-bugs%netbsd.org@localhost
 > Cc:
 > Subject: Re: pkg/42755: [math/py-mpmath]update to 0.14
 > Date: Sun, 07 Feb 2010 22:44:30 +0900
 >
 >  On Sun, 07 Feb 2010 00:15:03 +0900, wen heping 
 > <wenheping%gmail.com@localhost>
 > wrote:
 >
 >  >  >  And this project only focus to Windows?
 >  >  >  All text files contains both .tar.gz and .zip archives provided by
 > the
 >  >  > project
 >  >  >  are DOS style EOL.  Furthermore, in .zip file, all files are marked
 > as
 >  >  > binary,
 >  >  >  so even if extract "unzip -a", EOL style is still DOS.
 >  >  >  Then, installed files also...it should be fixed.
 >  >  >
 >  > In FreeBSD, I should only set "USE DOS2UNIX=yes" could resolve it.
 >  >  Here I can resole it by adding these lines to the Makefile:
 >  > USE_TOOLS+=perl
 >  > post-extract:
 >  >          @cd ${WRKSRC} && find . -type f | xargs perl -p -i -e
 > 's/\r\n/\n/g'
 >  > But I am not sure whether or not it is NetBSD way.
 >
 >  It may break binary files, and equivalent with "unzip -aa".
 >
 
 Here binary files you mean .pyo and .pyc files ?
 
 wen
 
 --00504502c53956c94d047f035101
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 <br><br><div class=3D"gmail_quote">On Sun, Feb 7, 2010 at 9:50 PM, OBATA Ak=
 io <span dir=3D"ltr">&lt;<a 
href=3D"mailto:obache%netbsd.org@localhost";>obache@netbsd=
 .org</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"ma=
 rgin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding=
 -left: 1ex;">
 <div class=3D"im">The following reply was made to PR pkg/42755; it has been=
  noted by GNATS.<br>
 <br>
 From: &quot;OBATA Akio&quot; &lt;<a 
href=3D"mailto:obache%netbsd.org@localhost";>obach=
 e%netbsd.org@localhost</a>&gt;<br>
 To: <a 
href=3D"mailto:gnats-bugs%netbsd.org@localhost";>gnats-bugs%netbsd.org@localhost</a><br>
 Cc:<br>
 Subject: Re: pkg/42755: [math/py-mpmath]update to 0.14<br>
 </div>Date: Sun, 07 Feb 2010 22:44:30 +0900<br>
 <div class=3D"im"><br>
 =A0On Sun, 07 Feb 2010 00:15:03 +0900, wen heping &lt;<a href=3D"mailto:wen=
 heping%gmail.com@localhost">wenheping%gmail.com@localhost</a>&gt; wrote:<br>
 <br>
 =A0&gt; =A0&gt; =A0And this project only focus to Windows?<br>
 =A0&gt; =A0&gt; =A0All text files contains both .tar.gz and .zip archives p=
 rovided by the<br>
 =A0&gt; =A0&gt; project<br>
 =A0&gt; =A0&gt; =A0are DOS style EOL. =A0Furthermore, in .zip file, all fil=
 es are marked as<br>
 =A0&gt; =A0&gt; binary,<br>
 =A0&gt; =A0&gt; =A0so even if extract &quot;unzip -a&quot;, EOL style is st=
 ill DOS.<br>
 =A0&gt; =A0&gt; =A0Then, installed files also...it should be fixed.<br>
 =A0&gt; =A0&gt;<br>
 =A0&gt; In FreeBSD, I should only set &quot;USE DOS2UNIX=3Dyes&quot; could =
 resolve it.<br>
 =A0&gt; =A0Here I can resole it by adding these lines to the Makefile:<br>
 =A0&gt; USE_TOOLS+=3Dperl<br>
 =A0&gt; post-extract:<br>
 =A0&gt; =A0 =A0 =A0 =A0 =A0@cd ${WRKSRC} &amp;&amp; find . -type f | xargs =
 perl -p -i -e &#39;s/\r\n/\n/g&#39;<br>
 =A0&gt; But I am not sure whether or not it is NetBSD way.<br>
 <br>
 </div>=A0It may break binary files, and equivalent with &quot;unzip -aa&quo=
 t;.<br></blockquote><div><br>Here binary files you mean .pyo and .pyc files=
  ?<br><br>wen <br></div></div><br>
 
 --00504502c53956c94d047f035101--
 


Home | Main Index | Thread Index | Old Index