# $Id$ PortSystem 1.0 PortGroup python24 1.0 name py-readline version 2.4.6 categories python platforms darwin maintainers mww description readline extension for Python long_description ${description} homepage http://www.python.org/ master_sites http://www.python.org/ftp/python/${version}/ distname Python-${version} dist_subdir python24 checksums sha1 cb1972a554a458f6a26d3e047b359251865d7c96 use_bzip2 yes depends_lib-append port:readline worksrcdir ${worksrcdir}/Modules extract.post_args "| tar -xf - ${distname}/Modules/readline.c" post-extract { file copy ${filespath}/setup.py ${worksrcpath} } configure { reinplace "s|__VERSION__|${version}|g" ${worksrcpath}/setup.py reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/setup.py } livecheck.check regex livecheck.url http://www.python.org/download/releases/ livecheck.regex Python (2.4.\[0-9\]+)