# $Id$ PortSystem 1.0 PortGroup python 1.0 name py-readline version 6.2.2 platforms darwin license GPL-3+ PSF maintainers nomaintainer description GNU readline extension for Python long_description ${description} homepage http://www.python.org/ master_sites http://pypi.python.org/packages/source/r/readline/ distname readline-${version} checksums md5 ad9d4a5a3af37d31daf36ea917b08c77 \ sha256 b9d30e8928530791944ab40c76aebcd4c8a7d6bc8cda05f3b521446fa3782b6d python.versions 24 25 26 27 31 32 if {$subport != $name} { patchfiles build.sh.patch setup.py.patch depends_build port:py${python.version}-distribute post-destroot { copy -force ${filespath}/readline.pth ${filespath}/readline_path.py \ ${destroot}${python.pkgd} reinplace "s|__LIBDIR__|${python.libdir}|" ${destroot}${python.pkgd}/readline_path.py } }