# $Id$ PortSystem 1.0 PortGroup python 1.0 name py-ebay version 0.1.4 revision 1 license MIT platforms darwin supported_archs noarch maintainers nomaintainer description Python library encapsulating the eBay API long_description pyeBay is a Python library that encapsulates the eBay API. \ It is intended to make it very simple to create eBay \ applications on any platform. homepage http://ebaydeveloper.typepad.com/pyebay.html master_sites http://ebaydeveloper.typepad.com/ distname pyeBay-${version} checksums md5 9092948a4bfdad76652bdc9d4ee0a314 python.versions 24 if {$subport != $name} { use_zip yes post-extract { file mkdir ${worksrcpath}/eBay eval file rename [glob -directory ${worksrcpath} *.py] ${worksrcpath}/eBay/ file copy ${filespath}/setup.py ${worksrcpath} file copy ${filespath}/__init__.py ${worksrcpath}/eBay/ reinplace "s|__VERSION__|${version}|g" ${worksrcpath}/eBay/__init__.py ${worksrcpath}/setup.py reinplace "s|__DOC__|${description}|g" ${worksrcpath}/eBay/__init__.py } post-destroot { xinstall -m 644 -W ${worksrcpath} LICENSE.TXT README.TXT ebay.ini \ ${destroot}${prefix}/share/doc/${subport} } }