source: trunk/dports/python/py-async/Portfile @ 20374

Last change on this file since 20374 was 20374, checked in by blair@…, 13 years ago

Set the svn:keywords property to 'Id' for all Portfile's. This
re-enables the Id keyword substitution that was present in the CVS
repository.

See this thread for more information:
http://lists.macosforge.org/pipermail/macports-dev/2006-October/000180.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
RevLine 
[20374]1# $Id: Portfile 20374 2006-11-02 19:37:36Z blair@macports.org $
[7517]2
3PortSystem 1.0
[10079]4PortGroup python24 1.0
[7517]5
[10079]6name                    py-async
7version                 0.1.0
8revision                1
9categories              python net
10platforms               darwin
11maintainers             mww@opendarwin.org
12description             asynchronous TCP server python module
[7517]13long_description        PyAsync is a Python module that implements an \
[10079]14                                asynchronous TCP server, with some TCP client \
15                                functionality too. Features include usage simplicity \
16                                and DNS caching.
[7517]17
[10079]18homepage                http://www.softlab.ece.ntua.gr/~ckotso/PyAsync/
[7517]19master_sites    ${homepage}
[10079]20distname                PyAsync-${version}
21checksums               md5 fb2c37a7b913df8b6effc27cfaf2fe38
[7517]22
23patch   {
24        file mkdir ${worksrcpath}/PyAsync
25        cd ${worksrcpath}
26        file rename dnsthread.py PyAsync
27        file rename error_object.py PyAsync
28        file rename name_services.py PyAsync
29        file rename network_engine.py PyAsync
30        system "touch ${worksrcpath}/PyAsync/__init__.py"
31        file copy ${filespath}/setup.py ${worksrcpath}
32        reinplace "s|VERSION|${version}|g" ${worksrcpath}/setup.py
33}
34
35post-destroot   {
36        xinstall -m 644 -W ${worksrcpath} README COPYING \
37                ${destroot}${prefix}/share/doc/${name}
38        xinstall -m 644 -W ${worksrcpath}/example handler.py main.py \
39                ${destroot}${prefix}/share/doc/${name}/examples
40}
Note: See TracBrowser for help on using the repository browser.