Solved devel/py-Jinja2 buid failed

Hi,

I have upgraded to 10.1. In order to upgrade dri-9.1.7_5,2 to dri-10.3.2,2 , devel/py-Jinja2 must be installed. But I have got this output:
Code:
===>  Staging for py27-Jinja2-2.7.3
===>  Generating temporary packing list
/usr/local/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'entry_points'
  warnings.warn(msg)
/usr/local/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'extras_require'
  warnings.warn(msg)
/usr/local/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'include_package_data'
  warnings.warn(msg)
/usr/local/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'zip_safe'
  warnings.warn(msg)
/usr/local/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
  warnings.warn(msg)
/usr/local/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'test_suite'
  warnings.warn(msg)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
  or: setup.py --help [cmd1 cmd2 ...]
  or: setup.py --help-commands
  or: setup.py cmd --help

error: option --single-version-externally-managed not recognized
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/devel/py-Jinja2
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/py-Jinja2

===>>> make stage failed for devel/py-Jinja2
===>>> Aborting update
I don't understand what I have to do.

Thanks
pierre
 

Attachments

  • py-babel.png
    py-babel.png
    33.6 KB · Views: 767
  • py-MarkupSafe.png
    py-MarkupSafe.png
    66.5 KB · Views: 534
Installation is successful: I downloaded the tarballs (py-babel, py-MarkupSafe, Py-Jinja2), unpacked them, then ran python setup.py install.
 
This will cause you trouble later on. The dependencies will not be tracked, you will not get notices if there are security problems or upgrades. Deinstalling them may not remove all the files.
 
Helped following steps, suggested by note 20140413 in /usr/ports/UPDATING:

Code:
rm -rf /usr/local/lib/python2.7/site-packages/*
cd /usr/ports/devel/py-setuptools27/ && make reinstall
cd ../../lang/python27/ && make reinstall
 
Back
Top