Changeset 101282


Ignore:
Timestamp:
Jan 7, 2013, 4:18:42 PM (8 years ago)
Author:
jmr@…
Message:

py-ro, py26-pyro: unify

Location:
trunk/dports/python
Files:
1 deleted
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py-pyro/Portfile

    r71974 r101282  
    33
    44PortSystem          1.0
    5 PortGroup           python26 1.0
     5PortGroup           python 1.0
    66
    7 name                py26-pyro
     7name                py-pyro
    88description         PYthon Remote Objects
    99long_description    Pyro is short for PYthon Remote Objects. It is an \
     
    1212                    be very easy to use.
    1313version             3.10
     14license             MIT
    1415platforms           darwin
    1516supported_archs     noarch
    16 depends_lib         port:py26-distribute
    17 maintainers         node99.org:sean
     17maintainers         node99.org:sean openmaintainer
    1818
    1919homepage            http://www.xs4all.nl/~irmen/pyro3/
    20 master_sites        ${homepage}download/
     20master_sites        http://pypi.python.org/packages/source/P/Pyro/
    2121distname            Pyro-${version}
    2222checksums           md5    7fc6b8b939073d4adb0e8939c59aaf1e \
    2323                    sha1   d99b2786d9ebe21f0585bc7317720cbba01e1d03 \
    2424                    rmd160 29977840daa7d91be40657c48cab8431ce490934
     25
     26python.versions     24 25 26
     27
     28if {$subport != $name} {
     29    depends_lib     port:py${python.version}-distribute
     30}
  • trunk/dports/python/py-ro/Portfile

    r30957 r101282  
    22
    33PortSystem 1.0
    4 PortGroup python24 1.0
     4replaced_by             py24-pyro
     5PortGroup obsolete 1.0
    56
    67name                    py-ro
     8
    79version                 3.7
     10revision                1
    811categories              python devel
    9 maintainers             nomaintainer
    10 platforms               darwin
    11 description             advanced Distributed Object Technology for python
    12 long_description        Pyro is an acronym for PYthon Remote Objects. It is \
    13                                 an advanced and powerful Distributed Object Technology system \
    14                                 written entirely in Python, that is designed to be very easy \
    15                                 to use. It resembles Java's Remote Method Invocation (RMI). It \
    16                                 is less similar to CORBA - which is a system- and language \
    17                                 independent Distributed Object Technology and has much more to \
    18                                 offer than Pyro or RMI. But Pyro is small, simple and free \
    19                                 (MIT software license).
    20 
    21 homepage                http://pyro.sourceforge.net/
    22 master_sites    sourceforge:pyro
    23 distname                Pyro-${version}
    24 checksums               sha1 f5c42e451950b9b6c05f0769ced576ed18cad3c0
    25 patchfiles              patch-setup.cfg.diff
    26 
    27 post-patch      {
    28         reinplace "s|__BINDIR__|${prefix}/bin|g" ${worksrcpath}/setup.cfg
    29 }
    30 
    31 post-build      {
    32         foreach f [glob -directory ${worksrcpath}/bin *] {
    33                 reinplace "s|python|${python.bin}|g" ${f}
    34         }
    35 }
    36 
    37 post-destroot   {
    38         xinstall -m 644 -W ${worksrcpath}/docs 1-intro.html 10-errors.html \
    39                 11-implementation.html 12-changes-archive.html 12-changes.html \
    40                 2-concepts.html 3-install.html 4-usage.html 5-nameserver.html \
    41                 6-eventserver.html 7-features.html 8-example.html index.html \
    42                 9-security.html LICENSE PyroManual.html ../README.txt \
    43                 ${destroot}${prefix}/share/doc/${name}
    44 }
Note: See TracChangeset for help on using the changeset viewer.