Re: Need help to port www/py-falcon

2013-02-23 Thread Gary J. Hayers

On 23/02/2013 21:23, Zhihao Yuan wrote:

On Fri, Feb 22, 2013 at 9:51 AM, Zhihao Yuan  wrote:

If I set

   USE_PYDISTUTILS=easy_install

then I got

   ===>   Generating temporary packing list
   running easy_install
   Creating /tmp/falcon/lib/python2.7/site-packages/site.py
   error: Not a URL, existing file, or requirement spec:
'/home/lichray/devel/ports/www/py-falcon/work/falcon-0.1.1/dist/falcon-0.1.1-py2.7.egg'

while my egg should be named

   falcon-0.1.1-py2.7-freebsd-8.3-STABLE-amd64.egg


Solved.

   PYEASYINSTALL_ARCHDEP=  yes



Interesting, I tried that, but glad you got it working.

--

regards,
gary J. Hayers
g...@hayers.org

PGP Signature
http://www.hayers.org/pgp
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Need help to port www/py-falcon

2013-02-23 Thread Zhihao Yuan
On Fri, Feb 22, 2013 at 9:51 AM, Zhihao Yuan  wrote:
> If I set
>
>   USE_PYDISTUTILS=easy_install
>
> then I got
>
>   ===>   Generating temporary packing list
>   running easy_install
>   Creating /tmp/falcon/lib/python2.7/site-packages/site.py
>   error: Not a URL, existing file, or requirement spec:
> '/home/lichray/devel/ports/www/py-falcon/work/falcon-0.1.1/dist/falcon-0.1.1-py2.7.egg'
>
> while my egg should be named
>
>   falcon-0.1.1-py2.7-freebsd-8.3-STABLE-amd64.egg

Solved.

  PYEASYINSTALL_ARCHDEP=  yes

-- 
Zhihao Yuan, ID lichray
The best way to predict the future is to invent it.
___
4BSD -- http://4bsd.biz/
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Need help to port www/py-falcon

2013-02-22 Thread Zhihao Yuan
On Feb 22, 2013 2:09 PM, "Gary J. Hayers"  wrote:
> Using /usr/local/lib/python2.7/site-packages/six-1.2.0-py2.7.egg

I'remove this dependence.  But my execution with genplist did not get me
there.

> Finished processing dependencies for falcon==0.1.1
> ===>   Registering installation for py27-falcon-0.1.1
> pkg:
lstat(/usr/local/lib/python2.7/site-packages/falcon-0.1.1-py2.7.egg-info):
No such file or directory
> Installing py27-falcon-0.1.1... done
>
> You are running make install as root right?

Yes, with genplist.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Need help to port www/py-falcon

2013-02-22 Thread Gary J. Hayers

On 22/02/2013 14:51, Zhihao Yuan wrote:

Hi, hackers:

I'm porting falcon http://falconframework.org/ ,
but I found a problem with installation.

If I set

   USE_PYDISTUTILS=easy_install

then I got

   ===>   Generating temporary packing list
   running easy_install
   Creating /tmp/falcon/lib/python2.7/site-packages/site.py
   error: Not a URL, existing file, or requirement spec:
'/home/lichray/devel/ports/www/py-falcon/work/falcon-0.1.1/dist/falcon-0.1.1-py2.7.egg'

while my egg should be named

   falcon-0.1.1-py2.7-freebsd-8.3-STABLE-amd64.egg

And if I set

   USE_PYDISTUTILS=easy_install

I got

   ===>   Generating temporary packing list
   running install
   Checking .pth file support in /tmp/falcon/lib/python2.7/site-packages/
   error: can't create or remove files in install directory

   The following error occurred while trying to add or remove files in the
installation directory:

   [Errno 2] No such file or directory:
'/tmp/falcon/lib/python2.7/site-packages/test-easy-install-26039.pth'

I don't get it, since I have no problem to install it through `pip` or
manually run `python setup.py install` under the source tree.  I need
some help.




Right going by your Makefile the error I get is slightly different:-

Using /usr/local/lib/python2.7/site-packages/six-1.2.0-py2.7.egg
Finished processing dependencies for falcon==0.1.1
===>   Registering installation for py27-falcon-0.1.1
pkg: 
lstat(/usr/local/lib/python2.7/site-packages/falcon-0.1.1-py2.7.egg-info): 
No such file or directory

Installing py27-falcon-0.1.1... done

You are running make install as root right?


--
Regards,
Gary J. Hayers
g...@hayers.org

PGP Signature
http://www.hayers.org/pgp
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Need help to port www/py-falcon

2013-02-22 Thread Zhihao Yuan
On Fri, Feb 22, 2013 at 12:28 PM, Gary J. Hayers  wrote:
> Would need to see the rest of the Makefile to help really.

The Makefile is attached.

The PYDISTUTILS_NOEGGINFO=  yes line has no use, currently.

-- 
Zhihao Yuan, ID lichray
The best way to predict the future is to invent it.
___
4BSD -- http://4bsd.biz/


Makefile
Description: Binary data
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Re: Need help to port www/py-falcon

2013-02-22 Thread Gary J. Hayers

On 22/02/2013 14:51, Zhihao Yuan wrote:

Hi, hackers:

I'm porting falcon http://falconframework.org/ ,
but I found a problem with installation.

If I set

   USE_PYDISTUTILS=easy_install

then I got

   ===>   Generating temporary packing list
   running easy_install
   Creating /tmp/falcon/lib/python2.7/site-packages/site.py
   error: Not a URL, existing file, or requirement spec:
'/home/lichray/devel/ports/www/py-falcon/work/falcon-0.1.1/dist/falcon-0.1.1-py2.7.egg'

while my egg should be named

   falcon-0.1.1-py2.7-freebsd-8.3-STABLE-amd64.egg

And if I set

   USE_PYDISTUTILS=easy_install

I got

   ===>   Generating temporary packing list
   running install
   Checking .pth file support in /tmp/falcon/lib/python2.7/site-packages/
   error: can't create or remove files in install directory

   The following error occurred while trying to add or remove files in the
installation directory:

   [Errno 2] No such file or directory:
'/tmp/falcon/lib/python2.7/site-packages/test-easy-install-26039.pth'

I don't get it, since I have no problem to install it through `pip` or
manually run `python setup.py install` under the source tree.  I need
some help.




Would need to see the rest of the Makefile to help really.

--
Regards,
Gary J. Hayers
g...@hayers.org

PGP Signature
http://www.hayers.org/pgp
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Need help to port www/py-falcon

2013-02-22 Thread Zhihao Yuan
Hi, hackers:

I'm porting falcon http://falconframework.org/ ,
but I found a problem with installation.

If I set

  USE_PYDISTUTILS=easy_install

then I got

  ===>   Generating temporary packing list
  running easy_install
  Creating /tmp/falcon/lib/python2.7/site-packages/site.py
  error: Not a URL, existing file, or requirement spec:
'/home/lichray/devel/ports/www/py-falcon/work/falcon-0.1.1/dist/falcon-0.1.1-py2.7.egg'

while my egg should be named

  falcon-0.1.1-py2.7-freebsd-8.3-STABLE-amd64.egg

And if I set

  USE_PYDISTUTILS=easy_install

I got

  ===>   Generating temporary packing list
  running install
  Checking .pth file support in /tmp/falcon/lib/python2.7/site-packages/
  error: can't create or remove files in install directory

  The following error occurred while trying to add or remove files in the
installation directory:

  [Errno 2] No such file or directory:
'/tmp/falcon/lib/python2.7/site-packages/test-easy-install-26039.pth'

I don't get it, since I have no problem to install it through `pip` or
manually run `python setup.py install` under the source tree.  I need
some help.


-- 
Zhihao Yuan, ID lichray
The best way to predict the future is to invent it.
___
4BSD -- http://4bsd.biz/
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"