source: trunk/dports/python/py-ebay/Portfile @ 61486

Last change on this file since 61486 was 30958, checked in by mww@…, 12 years ago

remove to-be-deprecated 'cd' command

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1# $Id: Portfile 30958 2007-11-12 10:58:58Z mww@macports.org $
2
3PortSystem 1.0
4PortGroup python24 1.0
5
6name                    py-ebay
7version                 0.1.4
8revision                1
9categories              python
10platforms               darwin
11maintainers             nomaintainer
12description             Python library encapsulating the eBay API
13long_description        pyeBay is a Python library that encapsulates the eBay API. \
14                                        It is intended to make it very simple to create eBay \
15                                        applications on any platform.
16
17homepage                http://ebaydeveloper.typepad.com/pyebay.html
18master_sites    http://ebaydeveloper.typepad.com/
19distname                pyeBay-${version}
20checksums               md5 9092948a4bfdad76652bdc9d4ee0a314
21use_zip                 yes
22
23worksrcdir
24
25post-extract    {
26        file rename ${workpath}/${distname} ${workpath}/eBay
27        file copy ${filespath}/setup.py ${workpath}
28        file copy ${filespath}/__init__.py ${workpath}/eBay
29        reinplace "s|__VERSION__|${version}|g" ${workpath}/eBay/__init__.py ${workpath}/setup.py
30        reinplace "s|__DOC__|${description}|g" ${workpath}/eBay/__init__.py
31}
32
33post-destroot   {
34        xinstall -m 644 -W ${workpath}/eBay LICENSE.TXT README.TXT ebay.ini \
35                ${destroot}${prefix}/share/doc/${name}
36}
Note: See TracBrowser for help on using the repository browser.