Info2: << Package: backports.ssl-match-hostname-py%type_pkg[python] Version: 3.2a3 Revision: 1 Type: python (2.5 2.6 2.7 3.1) Description: Backport of py32's ssl.match_hostname() DescDetail: << See http://docs.python.org/3.2/library/ssl.html#ssl.match_hostname for documentaion. << DescPackaging: << This is the ssl.match_hostname() function lifted verbatim from Python 3.2. << Maintainer: Daniel Johnson License: BSD Homepage: https://pypi.python.org/pypi/backports.ssl_match_hostname Source: https://pypi.python.org/packages/source/b/backports.ssl_match_hostname/backports.ssl_match_hostname-%v.tar.gz Source-MD5: 42adbd3c15d78eb6b7b7c654ec5c717c Depends: python%type_pkg[python], backports-py%type_pkg[python] BuildDepends: fink (>= 0.24.12), setuptools-tng-py%type_pkg[python] PatchScript: << #!/bin/bash -ev if [ %type_pkg[python] -gt 30 ]; then perl -pi -e "s/u'/'/" setup.py fi << CompileScript: %p/bin/python%type_raw[python] setup.py build InstallScript: << %p/bin/python%type_raw[python] setup.py install --root=%d # We must use the __init__.py from the backports-py package. rm %i/lib/python%type_raw[python]/site-packages/backports/__init__.{py,pyc} << <<