New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82932


Ignore:
Timestamp:
08/21/11 20:49:14 (4 years ago)
Author:
blb@…
Message:

python/py-tweepy: move from py26-tweepy and add a 2.7 subport; fix homepage

Location:
trunk/dports/python/py-tweepy
Files:
1 edited
1 moved

Legend:

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

    r81249 r82932  
    22 
    33PortSystem          1.0 
    4 PortGroup           python26 1.0 
     4PortGroup           python 1.0 
    55set pymodname       tweepy 
    6 name                py26-${pymodname} 
     6name                py-${pymodname} 
    77version             1.7.1 
    88revision            1 
     
    1717supported_archs     noarch 
    1818 
    19 homepage            http://github.com/joshthecoder/${pymodname} 
     19homepage            http://${pymodname}.github.com/ 
    2020master_sites        http://pypi.python.org/packages/source/t/${pymodname}/ 
    2121distname            ${pymodname}-${version} 
     
    2525                    rmd160  3741c895d7352644d463218fd5fd2e492bd457b9 
    2626 
    27 post-destroot { 
    28    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} 
    29    xinstall -m 644 -W ${worksrcpath} README \ 
    30       ${destroot}${prefix}/share/doc/${name} 
     27if {${name} != ${subport}} { 
     28   post-destroot { 
     29      xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} 
     30      xinstall -m 644 -W ${worksrcpath} README \ 
     31         ${destroot}${prefix}/share/doc/${subport} 
     32   } 
    3133} 
     34 
     35python.default_version   27 
     36python.versions     26 27 
    3237 
    3338livecheck.type      regex 
Note: See TracChangeset for help on using the changeset viewer.