Commit 94ad1e3a authored by jim's avatar jim

Added test of specifying version to build.


git-svn-id: http://svn.zope.org/repos/main/zc.buildout/trunk@73398 62d5b8a3-27da-0310-9561-8e5933582275
parent eca5fb0a
......@@ -1678,7 +1678,26 @@ def install_source_dist_with_bad_py():
- bo
- buildout
"""
def version_requirements_in_build_honored():
'''
>>> update_extdemo()
>>> dest = tmpdir('sample-install')
>>> mkdir('include')
>>> write('include', 'extdemo.h',
... """
... #define EXTDEMO 42
... """)
>>> zc.buildout.easy_install.build(
... 'extdemo ==1.4', dest,
... {'include-dirs': os.path.join(sample_buildout, 'include')},
... links=[link_server], index=link_server+'index/',
... newest=False)
['/sample-install/extdemo-1.4-py2.4-linux-i686.egg']
'''
######################################################################
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment